trpg(1) Tool for Recursive Process Graphs


trpg [options] [diagram]


trpg is an X11/Motif based graphical editor for drawing recursive process graphs. Diagrams can be loaded from and stored to a file. It can print diagrams to a PostScript printer or save as PostScript to a file.

trpg is part of The Toolkit for Conceptual Modeling (TCM).


You can call trpg with a single diagram name as argument. 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 diagram name. trpg files should have suffix '*.rpg'.

Without a diagram argument, trpg creates a new empty recursive process graph with the name 'untitled.rpg'.

In addition to the standard X11 toolkit options (see X11(7)) trpg accepts the options listed below:

-drawing widthxheight
Create a drawing area of width pixels wide and height pixels high.
Write all available options to standard output and quit.
-maxdrawing widthxheight
The drawing area can not be larger than width pixels wide and height pixels high.
Start the editor with a private colormap.
-projdir directory
Set the project directory (current working directory) to directory.
-toEPS [file.eps]
Generate EPS (to file.eps or stdout when no file name was given) and quit.
-toFig [file.fig] [-latex]
Generate Fig format (to file.fig or 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).
-toPNG file.png
Generate PNG format to file.png and quit.
-toPS []
Generate PostScript (to or stdout when no file name was given) and quit.
Write the TCM version to standard output and quit.


The TCM_HOME environment variable should be the directory where the TCM files are installed.
Should include $TCM_HOME/bin
Should include $TCM_HOME/man
Name of the default printer that is used by trpg.
Should include $TCM_HOME/lib when the distribution contains shared object libraries in $TCM_HOME/lib.


The following relative files are relative to $TCM_HOME.
the recursive process graph editor.
a program to filter PostScript output.
PostScript banner page that can be used when the printer does not print a banner page.
The help directory contains a collection of text files for the on-line help.
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.
Pseudo random temporary file, for PostScript output.
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.
Each user of TCM can override some of the options of tcm.conf by its own configuration file, installed in $HOME/.tcmrc.


Frank Dehne ([email protected]).


Please send bug reports to [email protected].