Configuring IRAF to use gterm is very simple. The following command does the job. This is normally executed by the login.cl or loginuser.cl file at login time.
cl> stty gtermA number of function keys are recognized by gterm which one should be aware of. Some of these are built into gterm itself, others are defined in the default
.ttyswrc file.
The text window may also be manually resized using the mouse but the
function keys are most convenient for rapid changes to the window height.
The IRAF software will automatically sense that the window size has
changed whenever a screen oriented program is run. The current window size
can be printed with stty show, or updated with stty resize.
There is a frame menu which may be used to access a number of useful functions, e.g., logging of all output to the terminal, or bitmap hardcopies of the text or graphics windows or the full screen. Control over the terminal setup is provided by a setup panel.
Note that the graphics window may also be resized and moved about on the screen. A number of predefined standard window sizes are provided via the gterm setup panel, ranging from pretty small to the full screen. The graphics window may also be interactively adjusted with the mouse to some arbitrary size, but the advantage of the predefined window sizes is that they all have the same standard aspect ratio and size in characters (35x80). Multiple IRAF sessions running in multiple gterm windows are possible; using different colors makes it easier to remember which window is which.
Aside from the dynamic nature of windows in the SunView environment, operation of IRAF from a gterm window is straightforward and should present no problems for someone already familiar with the use of IRAF on a conventional graphics terminal. Further information is given in the gterm manual page, gterm(l) (a UNIX level manpage).