TRPG(1)

πŸ’– TRPG β€” the Tool for Recursive Process Graphs, bestie πŸ’–

Like, this is the manual page for trpg, living in section 1 of the General Commands Manual. Yes she's an icon, yes she's been here since 2000, we stan. πŸ‘‘


✨ NAME ✨

trpg β€” Tool for Recursive Process Graphs πŸ¦‹


✨ SYNOPSIS ✨

trpg [options] [diagram]

✨ DESCRIPTION ✨

Okay so trpg is an X11/Motif based graphical editor for drawing recursive process graphs. Like, you literally draw them. On a screen. With a mouse. Main character energy fr fr. πŸŽ€

Diagrams can be loaded from and stored to a file. She can also print diagrams to a PostScript printer, or save them as PostScript straight to a file. Flexible queen. πŸ’…

And plot twist: trpg is part of The Toolkit for Conceptual Modeling (TCM). It's giving "I have a whole extended universe." 🌈


✨ ARGUMENTS ✨

You can call trpg with a single diagram name as an argument. Here's the vibe check:

  • If this argument is an existing file, then trpg tries to load a diagram from it. 🫢
  • If it does not exist, a new diagram is created with the argument as the diagram name.
Heads up bestie: trpg files should have the suffix *.rpg. Not optional-cute, just correct. 😭

Without a diagram argument, trpg creates a new empty recursive process graph with the name untitled.rpg. She's born nameless and she's thriving. ✨

On top of the standard X11 toolkit options (peep X11(7) for those), trpg also accepts the options listed below. And yes, we're listing all of them, no skipping, no cap. πŸ’―

πŸŽ€ OPTIONS πŸŽ€

  • -drawing widthxheight β€” Create a drawing area of width pixels wide and height pixels high. Your canvas, your rules, your size. πŸ–ΌοΈ
  • -help β€” Write all available options to standard output and quit. She tells you everything and then leaves. Iconic. πŸ’…
  • -maxdrawing widthxheight β€” The drawing area can not be larger than width pixels wide and height pixels high. It's a boundary, bestie, respect it. 🚧
  • -priv_cmap β€” Start the editor with a private colormap. Fancy colors, just for her. 🌈
  • -projdir directory β€” Set the project directory (current working directory) to directory. Home is wherever you say it is. 🏑
  • -toEPS [file.eps] β€” Generate EPS (to file.eps, or to stdout when no file name was given) and quit. πŸ–¨οΈ
  • -toFig [file.fig] [-latex] β€” Generate Fig format (to file.fig, or to stdout when no file name was given) and quit. 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). Crossover episode fr. 🀝
  • -toPNG file.png β€” Generate PNG format to file.png and quit. Pixels. Beautiful. πŸ–ΌοΈ
  • -toPS [file.ps] β€” Generate PostScript (to file.ps, or to stdout when no file name was given) and quit. πŸ“„
  • -version β€” Write the TCM version to standard output and quit. Tell me who you are, queen. πŸ‘‘

✨ ENVIRONMENT ✨

The TCM_HOME environment variable should be the directory where the TCM files are installed. Like her home address, lowkey essential. 🏠

  • PATH β€” Should include $TCM_HOME/bin
  • MANPATH β€” Should include $TCM_HOME/man
  • PRINTER β€” Name of the default printer that is used by trpg. πŸ–¨οΈ
  • LD_LIBRARY_PATH β€” Should include $TCM_HOME/lib when the distribution contains shared object libraries in $TCM_HOME/lib.

✨ FILES ✨

Real talk: the following relative files are relative to $TCM_HOME. Keep that in mind, bestie. 🧚

  • bin/trpg β€” the recursive process graph editor. That's her!! That's the girl!! πŸ‘‘
  • 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. Self-help era. πŸ“š
  • 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, customize the aesthetic. 🎨
  • /tmp/tcmXXXXXX β€” Pseudo random temporary file, for PostScript output. She's random, she's temporary, she's doing her best. πŸ™ˆ
  • 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. Every single one of them reads it. Periodt. πŸ“–
  • $HOME/.tcmrc β€” Each user of TCM can override some of the options of tcm.conf by its own configuration file, installed in $HOME/.tcmrc. Your personal touch. 🫢

✨ 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, the whole friend group: tcm(1), X11(7), xfig(1), fig2dev(1) πŸ’œ


✨ AUTHOR ✨

Frank Dehne (frank@cs.vu.nl). Thank you for your service, king. 🫑


✨ BUGS ✨

Please send bug reports to tcm@cs.utwente.nl. Spill the tea, they'll fix it. πŸ›πŸ’Œ


And that's the whole page, bestie!! This version of the manpage is dated 9 January 2000, and it ships with the source as TRPG(1) β€” same title, same date, just with way more sparkle. Stay recursive, stay iconic, and go draw some process graphs. πŸ’–βœ¨πŸ¦‹πŸŽ€πŸ’