Pigi
) is a design editor for Ptolemy applications. It is based on tools from the Berkeley CAD framework. In it, 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). There are three versions of the user interface (pigi, ptrim, ptiny
). You should use ptiny
, the smallest, but we will refer to any of the three generically as "Pigi
."
.cshrc
file:
PTOLEMY
is the full path name of the Ptolemy installation, and
PTARCH
is the type of computer on which you are running Ptolemy.
.cshrc
file follow, along with how to update your path variable:
.cshrc
file, you will need to reevaluate the file:
$PTOLEMY
.The user interface requires the MIT X Window System. 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
pigi
with 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 .Xdefaults
file is:
olwm
, the line is:
olwm
with the option -follow
. Typically, the window manager is started in a file called .xinitrc
in your home directory.