The SET command is used to change several options including: The characteristics of a particular field. The automatic positioning of windows. The function of the arrow keys. The number of seconds between display updates. The number of columns used by the display. Format: SET option
1 – Field
Changes the characteristics of a particular field. Format: SET field-name[,...] [/qualifier,...] NOTE: For a complete list of field names, type HELP FIELDS from the command prompt. If the list of fields scrolls off your terminal, enter SET SCREEN=132 or refer to the OpenVMS System Management Utilities Reference Manual. For a list of field names in a particular class, type HELP CLASSES class-name from the command prompt.
1.1 – Qualifiers
1.1.1 /FORMAT
Sets the radix to be used to display a particular field. FORMAT applies only to decimal and hexadecimal fields. Ascii fields can not be changed. Format: SET field-name[,...] /FORMAT=radix [/qualifier,...] Note: The HW_VERS field can be displayed in hexidecimal only.
1.1.2 /WIDTH
Sets the number of columns to use to display a particular field. Specifying a value less than the minimum allowed for a particular field will set the number of columns for that field to the minimum value. Specifying a value greater than the maximum number of columns allowed for a particular field will set the number of columns for that field to the maximum value. Format: SET field-name[,...] /WIDTH=value [/qualifier,...]
2 – AUTO_POSITIONING
Enables or disables automatic positioning of windows on the screen. By default, AUTO_POSITIONING is ON and windows are automatically positioned based on their size and the order in which they were added. Windows will be positioned so that they do not overlap, but they can extend, fully or in part, beyond the physical limits of the screen. Attempting to MOVE a window sets AUTO_POSITIONING to OFF and allows windows to be positioned manually. To reposition a window, you must first SELECT the window to be moved if more than one window is being displayed and then MOVE the window to its new position. When you position windows manually, windows are allowed to overlap. For more information on moving windows manually, see help on SELECT and MOVE. Format: SET AUTO_POSITIONING ON SET AUTO_POSITIONING OFF Note: The SET FUNCTION MOVE command and the MOVE command implicitly set auto-positioning to off.
3 – FUNCTION
By default, the arrow keys function as editing keys to provide command line recall and line editing. The SET FUNCTION command redefines the function of the arrow keys on the terminal to one of three additional functions: PAN, SCROLL or MOVE. For example, by entering the SET FUNCTION PAN command, the left arrow, right arrow, up arrow, and down arrow keys, are defined as PAN LEFT 1, PAN RIGHT 1, PAN UP 1, and PAN DOWN 1. The SET FUNCTION SCROLL and SET FUNCTION MOVE commands redefine the arrow keys in a similar manner. Command line recall and line editing can be restored by entering the SET FUNCTION EDIT command. Format: SET FUNCTION function-name Note: The SET FUNCTION MOVE command implicitly turns auto-positioning off.
4 – INTERVAL
Specifies the amount of time to wait between display updates expressed in seconds. Using the SET INTERVAL commands overrides the /INTERVAL qualifier used at the DCL level. Format: SET INTERVAL = seconds
5 – SCREEN
Sets the maximum number of columns to be used by the display. Accepted range is 1 to 511. Note: For certain types of terminals, character size is dependent on the number of columns per line and will change as the number of columns is increased or decreased. Format: SET SCREEN = width