pigi) is a design editor for Ptolemy applications. It is based on tools from the Berkeley CAD framework. In
pigi, Ptolemy applications are constructed graphically, by connecting icons. Hierarchy is used to manage complexity, to abstract subsystem designs, and to mix domains (models of computation).
PTOLEMYis the full path name of the Ptolemy installation, and
PTARCHis the type of computer on which you are running Ptolemy.
.cshrcfile follow, along with how to update your path variable:
setenv PTOLEMY ~ptolemy
setenv PTARCH `$PTOLEMY/bin/ptarch`
set path = ($PTOLEMY/bin $PTOLEMY/bin.$PTARCH $path)When Ptolemy was installed, a fictitious user named `
ptolemy' may have been created whose home directory is the Ptolemy installation. If Ptolemy has been installed without creating a `
ptolemy' user, then use the appropriate path name of the Ptolemy installation for the value of the
PTOLEMYenvironment variable, such as
/usr/eesww/share/ptolemy0.7, for example. Once you make the appropriate changes to your
.cshrcfile, you will need to reevaluate the file:
source ~/.cshrcIn the documentation, we will generally refer to the home directory of the Ptolemy installation as
$PTOLEMY, but sometimes we forget and use
Pigirequires the MIT X Window System. If you are not familiar with this system, see the appendix, "Introduction to the X Window System" on page B-1. Some X window managers are configured to require that you click in a window before the "focus" moves to that window. This means that the window will not respond to input just because you have placed the mouse cursor inside it. You must first click a mouse button in the window. While it is possible to use
pigiwith this configuration, it is extremely unpleasant. In fact, it will be rather unpleasant to use any modern program that makes use of the window system. You will want to change the mode of the window manager so that the focus follows the mouse. The precise mechanism for doing this depends on the window manager. For the Motif window manager,
mwm, the appropriate line in the
For the open-look window manager,
olwm, the line is:
Alternatively, you can invoke
olwm with the option
-follow. Typically, the window manager is started in a file called
.xinitrc in your home directory.
pigi will not run without them. See the installation instructions in the appendix. For more information on using
pigi with OpenWindows, see
"Introduction to the X Window System" on page B-1.