TFET(1)

๐Ÿ’– TFET(1) ๐Ÿ’–

okay bestie, sit DOWN, because today we're learning about tfet โ€” the Tool for Function Entity-type Tables, from the General Commands Manual section of your local man pages. she's an icon, she's a legend, and she draws tables. let's get into it ๐ŸŽ€


โœจ NAME โœจ

tfet โ€” Tool for Function Entity-type Tables. that's it, that's the name, and she EARNED it ๐Ÿ’…


๐ŸŒธ SYNOPSIS ๐ŸŒธ

tfet [options] [document]

like. options go here, document goes there. simple as. periodt โœจ


๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

okay so tfet is an X11/Motif based graphical editor for drawing function entity-type tables. it's giving artist studio but for structured diagrams ๐ŸŽจ

you can load documents from a file and store documents to a file. no cap.

she can also print documents to a PostScript printer, or save as PostScript to a file โ€” so you've got options, bestie ๐Ÿ–จ๏ธ

and the lore?? tfet is part of The Toolkit for Conceptual Modeling (TCM). so she's not alone, she's got a whole squad ๐Ÿ’–


๐ŸŒˆ ARGUMENTS ๐ŸŒˆ

so here's the vibe: you can call tfet with a single document name as an argument. one (1) document. don't get greedy.

  • if that argument is an existing file, tfet tries to load a document from it ๐Ÿซถ
  • if it does not exist, a new document is created with the argument as its document name โœจ
  • tfet files should have the suffix *.fet โ€” that's the signature look, iykyk

if you pass no document name at all? tfet creates a new function entity-type document named untitled.fet. classic untitled behavior, honestly kinda relatable ๐Ÿ™ˆ

on top of the standard X11 toolkit options (go read X11(7) if you want the whole story), tfet accepts the options listed below. and yes, we're listing ALL of them, we do not skip ๐Ÿ’€

  • -cell widthxheight โ€” sets the minimal cell size of the editor to width pixels wide and height pixels high. the cells in the initial table get the minimal size. so like, the floor for how small a cell can be ๐Ÿ“
  • -drawing widthxheight โ€” creates a drawing area that's width pixels wide and height pixels high. build her a canvas, bestie ๐ŸŽจ
  • -help โ€” writes all available options to standard output and quits. it's the "just tell me what you can do" button ๐Ÿซถ
  • -maxdrawing widthxheight โ€” the drawing area can not be larger than width pixels wide and height pixels high. it's a boundary, not a suggestion โš ๏ธ
  • -priv_cmap โ€” starts the editor with a private colormap. fancy colors, just for her ๐Ÿ‘‘
  • -projdir directory โ€” sets the project directory (aka the current working directory) to directory. ๐Ÿ“
  • -table rowsxcolumns โ€” the table editor gets initialized with a table having rows rows and columns columns. by default the initial table has 7 rows and 7 columns. seven by seven, no notes โœจ
  • -toEPS [file.eps] โ€” generates EPS (to file.eps, or to stdout when no file name was given) and quits. ๐Ÿ“„
  • -toFig [file.fig] [-latex] โ€” generates Fig format (to file.fig, or to stdout when no file name was given) and quits. when the -latex option is given, LaTeX fonts are generated; otherwise normal PostScript fonts are generated. the Fig format can be read by xfig(1) and fig2dev(1). collab era ๐Ÿค
  • -toPNG file.png โ€” generates PNG format to file.png and quits. png girlies rise ๐Ÿ–ผ๏ธ
  • -toPS [file.ps] โ€” generates PostScript (to file.ps, or to stdout when no file name was given) and quits. ๐Ÿ–จ๏ธ
  • -version โ€” writes the TCM version to standard output and quits. just checking in on her age, respectfully ๐Ÿ’–

๐Ÿ’œ ENVIRONMENT ๐Ÿ’œ

these are the vibes your shell needs to set for tfet to thrive:

  • TCM_HOME โ€” should be the directory where the TCM files are installed. this is home base ๐Ÿ 
  • PATH โ€” should include $TCM_HOME/bin ๐Ÿ›ฃ๏ธ
  • MANPATH โ€” should include $TCM_HOME/man ๐Ÿ“š
  • PRINTER โ€” the name of the default printer that is used by tfet ๐Ÿ–จ๏ธ
  • LD_LIBRARY_PATH โ€” should include $TCM_HOME/lib when the distribution contains shared object libraries in $TCM_HOME/lib ๐Ÿงš

๐ŸŽ€ FILES ๐ŸŽ€

heads up: the following relative files are relative to $TCM_HOME. so like, mentally prepend that, bestie ๐Ÿซถ

  • bin/tfet โ€” the function entity-type table editor. that's her ๐Ÿ’…
  • bin/psf โ€” a program to filter PostScript output ๐ŸŒŠ
  • lib/banner.ps โ€” PostScript banner page that can be used when the printer does not print a banner page ๐ŸŽ
  • lib/help/* โ€” the help directory contains a collection of text files for the on-line help. she's helpful AND pretty ๐Ÿ’–
  • lib/TCM โ€” X Resources (the same as the ones that are built-in). you can customize the fonts and colors by setting resources in your X defaults database. each string of the form TCM.resource:definition sets a resource. aesthetic customization unlocked ๐ŸŽจ
  • /tmp/tcmXXXXXX โ€” pseudo random temporary file, for PostScript output. random name, very mysterious of her ๐Ÿ”ฎ
  • lib/tcm.conf โ€” the TCM editor configuration file. this file contains values for some of the editor defaults, like the page size, the default fonts, etc. this file is read by each editor upon startup โš™๏ธ
  • $HOME/.tcmrc โ€” each user of TCM can override some of the options of tcm.conf with their own configuration file, installed in $HOME/.tcmrc. personalized, as she should be ๐Ÿ‘‘

๐ŸŒŸ SEE ALSO ๐ŸŒŸ

Frank Dehne, Roel Wieringa and Henk van de Zandschulp -- TCM (Toolkit for Conceptual Modeling), User's Guide and Reference. this document is available as PostScript and HTML in $TCM_HOME/doc or as HTML via the URL http://www.cs.utwente.nl/~tcm/tcm-usersguide.html.

also go say hi to: tcm(1), X11(7), xfig(1), fig2dev(1) ๐Ÿซถ


๐Ÿ‘‘ AUTHOR ๐Ÿ‘‘

Frank Dehne (frank@cs.vu.nl). thank you for your service, king ๐Ÿซก


๐Ÿ’€ BUGS ๐Ÿ’€

found a bug? first of all, relatable. second of all, please send bug reports to tcm@cs.utwente.nl. they want to know, fr fr ๐Ÿ›


quick vibe check, bestie: the drawing area has a max size with -maxdrawing, and the initial table is 7 rows and 7 columns unless you say otherwise. don't forget it. that's the whole test. ๐Ÿ’…

and that's the whole page, gorgeous โœจ this was the TFET(1) page from the General Commands Manual, dated 9 January 2000 โ€” the TCM version lives behind -version if you ever wanna check in on her ๐Ÿ’– ๐Ÿฆ‹๐ŸŒธ๐ŸŽ€