N.B.: Image display not possible on SUN 3/75 or 3/50 machines.
To initiate IRAF , create a directory ( e.g. myiraf) from which IRAF will be run, then run mkiraf in that directory.
cfa#: cd # To the home directory cfa#: mkdir myiraf # Make the directory where IRAF setup will reside cfa#: cd myiraf # Go into it cfa#: mkiraf # Run mkiraf -- creating a new uparm directory -- creating /dev personal pipe directory Terminal types: automatic for SUNVIEW (gterm) and XWINDOW (xterm) users --- REQUIRED for terminals, etg. vt100 Enter terminal type: A new LOGIN.CL file has been created in the current directory. You may wish to review and edit this file to change the defaults. cfa#: cfa#: mkdir visitor # Create the image directory cfa#: cd # Back home cfa#: cd myiraf # Here to start IRAF
For details relative to the SAO SUN workstation system, see SAO-HEAD IRAF Users Site Guide , by B. Wilkes.
In the sunview environment: To use the graphics facilities in IRAF, open a gterm window; in the gterm window, move to the `myiraf' directory and type:
cfa#: cl # To start IRAF
To display the images, open an imtool window in background from any other window:
cfa# imtool & # From any window for displaying images
In the Xwindows environment: To use the graphics facilities in IRAF, open an xterm window; in the xterm window, move to the `myiraf' directory and type:
cfa#: cl # To start IRAF
To display the images, open SAOimage :
cl> xray xr> xplot xp> imtool xdisplay node (:0): xp>
N.B.: Imtool and SAOimage are windows independent of IRAF. They must be opened explicitly before an image can be displayed.
N.B.: Since the xterm windows are not properly interfaced with IRAF, text will often scroll outside the window boundary. To prevent this IRAF can be given explicit reference to the window size in the loginuser.cl file. The instruction is ``set ttynlines=35'' for a window of dimension 7535.