TFRT(1)
π TFRT(1) β the cutest little function-refinement-tree editor in the whole General Commands Manual, no cap β¨
okay bestie, sit DOWN because we're about to talk about tfrt, and she is genuinely iconic. this page lives in the General Commands Manual section, which is giving very much "we're a real tool, not a toy" energy. π
πΈ NAME πΈ
tfrt β Tool for Function Refinement Trees π
she's exactly what she says on the tin, and honestly? that's the vibe.
π¦ SYNOPSIS π¦
tfrt [options] [tree]
literally just that. options, and maybe a tree if you're feeling generous. π«Ά
β¨ DESCRIPTION β¨
so tfrt is an X11/Motif based graphical editor for drawing function decomposition trees. it's got a whole GUI and everything, very main character.
trees can be loaded from and stored to a file. π she can also print trees to a PostScript printer, or save them as PostScript to a file β whichever fits the moment.
and bestie, she's not out here alone: tfrt is part of The Toolkit for Conceptual Modeling (TCM). we love a collaborative queen. π
π ARGUMENTS π
you can call tfrt with a single tree name as argument. one. that's the limit. she's not greedy. π
here's the tea on what happens:
- if that argument is an existing file, then
tfrttries to load a tree from it. easy. - if it does not exist, a new tree is created with the argument as tree name. cute, she just made it up on the spot.
tfrtfiles should have suffix*.frt. that's the moment. that's the extension. iykyk. π
and if you pass no tree argument at all? no worries, she creates a new empty function decomposition tree with the name untitled.frt. everyone starts somewhere bestie. π±
β OPTIONS β
okay so in addition to the standard X11 toolkit options (go read X11(7) if you want those, not my problem today), tfrt accepts the options listed below. and yes, we're doing all of them. every single one. periodt.
-drawing widthxheightβ create a drawing area of width pixels wide and height pixels high. size matters, and she's letting you pick. π-helpβ write all available options to standard output and quit. the "just tell me what you can do" button. so valid. π₯Ί-maxdrawing widthxheightβ the drawing area can not be larger than width pixels wide and height pixels high. she has boundaries. we respect them. π§-priv_cmapβ start the editor with a private colormap. fancy. exclusive. a little selfish in the best way. π-projdir directoryβ set the project directory (current working directory) to directory. like, we're relocating, and we're thriving. π-toEPS [file.eps]β generate EPS (tofile.eps, or to stdout when no file name was given) and quit. oh and she quits after. dramatic exit, love that for her. β¨-toFig [file.fig] [-latex]β generate Fig format (tofile.fig, or to stdout when no file name was given) and quit. when the-latexoption is given, LaTeX fonts are generated, otherwise normal PostScript fonts are generated. and get this β the Fig format can be read byxfig(1)andfig2dev(1). networking! π€-toPNG file.pngβ generate PNG format tofile.pngand quit. png for the girlies who need a screenshot. πΌοΈ-toPS [file.ps]β generate PostScript (tofile.ps, or to stdout when no file name was given) and quit. old school, still slays. π¨οΈ-versionβ write the TCM version to standard output and quit. know your roots. π
π ENVIRONMENT π
environment variables, bestie. she reads them. she needs them. let's go:
TCM_HOMEβ should be the directory where the TCM files are installed. her home base. πPATHβ should include$TCM_HOME/binMANPATHβ should include$TCM_HOME/manPRINTERβ name of the default printer that is used bytfrt. πLD_LIBRARY_PATHβ should include$TCM_HOME/libwhen the distribution contains shared object libraries in$TCM_HOME/lib. shared libs need love too. π§
π FILES π
the following relative files are relative to $TCM_HOME. noted. important. don't forget.
bin/tfrtβ the function decomposition tree editor. that's her. the icon herself. πbin/psfβ a program to filter PostScript output. the little helper. π«Άlib/banner.psβ PostScript banner page that can be used when the printer does not print a banner page. because sometimes the printer is lazy and we pick up the slack. π³οΈlib/help/*β the help directory contains a collection of text files for the on-line help. self-explanatory, but we love her for it. π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. make it yours. π¨/tmp/tcmXXXXXXβ pseudo random temporary file, for PostScript output. temporary, but make an impact. π«lib/tcm.confβ 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. the group chat settings, basically. π¬$HOME/.tcmrcβ each user of TCM can override some of the options oftcm.confby its own configuration file, installed in$HOME/.tcmrc. your personal touches. your era. πΈ
π«Ά SEE ALSO π«Ά
go read this, it's giving required reading:
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.
and the friend group:
tcm(1), X11(7), xfig(1), fig2dev(1)
π AUTHOR π
Frank Dehne (frank@cs.vu.nl). thank you for your service, king. π«‘
π BUGS π
bestie, if something's broken, please send bug reports to tcm@cs.utwente.nl. don't suffer in silence, that's not the vibe. π
that's the whole page, and honestly? she ate. no notes. π
cute little sign-off moment: this whole thing is from 9 January 2000, and it belongs to TFRT(1) in the General Commands Manual. old but gold, fr fr. πβ¨
π¦ where this page comes from
- debian bookworm: tcm 2.20+TSQD-7+b1
- debian trixie: tcm 2.20+TSQD-8
- ubuntu jammy: tcm 2.20+TSQD-7
- ubuntu noble: tcm 2.20+TSQD-7build2
- ubuntu questing: tcm 2.20+TSQD-8
- ubuntu resolute: tcm 2.20+TSQD-9
- ubuntu stonking: tcm 2.20+TSQD-10
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms