VMS/IRAF Installation and Site Manager's Guide

VMS/IRAF Installation and Site Manager's Guide

4.1. [IRAF.VMS.HLIB]ZZSETENV.DEF

The zzsetenv.def file contains a number of environment definitions. Many of these define IRAF logical directories and should be left alone. Only those definitions in the header area of the file should need to be edited to customize the file for a site. It is the default editor, default device, etc., definitions in this file which are most likely to require modification for a site.

If the name of a default device is modified, the named device must also have an entry in the dev$termcap file (terminals and printers) or the dev$graphcap file (graphics terminals and image displays). There must also be an editor.ed file in dev for each supported editor; edt, emacs, and vi are examples of currently supported editors.

Sample values of those variables most likely to require modification for a site are shown below.
set editor      = "vi"
set printer     = "versatec"
set stdplot     = "lw5"
set stdimage    = "imt512"
For example, you may wish to change the default editor to "emacs", the default printer to "vmsprint", or the default image display to "imt800". Note that the values of terminal and stdgraph, which also appear in the zzsetenv.def file, have little meaning except for debugging processes run standalone, as the values of the environment variables are reset automatically by the IRAF stty task at login time. The default stty setting in VMS/IRAF V2.10 is "xterm". This is consistent with the default values of terminal and stdgraph defined in zzsetenv.def to be "xterm" and would be appropriate for users with workstations running X based DECwindows/VMS or Motif/VMS. The issues of interfacing new graphics and image display devices are discussed further in §7.5.