1 GETTERM
 The function of this program is to fetch information about the
 specified terminal and return it in local symbols.

 Syntax:

         $ GETTERM := $SYS$COM:GETTERM
         $ GETTERM [terminal_name]

2 Parameter
 terminal_name - is the optional name of a terminal device that the
    terminal information is desired for.  By default the logical
    name SYS$COMMAND: is translated to obtain the terminal name.
    Privilege is required to obtain information about terminal not
    owned by the current process.

2 Qualifiers
/LOWERCASE=symbol
 will return 'LOWERCASE' if terminal supports lowercase letters or
 'UPPERCASE' if only upper case is supported. The string will be
 returned in the local 'symbol' supplied.

/PAGE=symbol
 will return the terminals page length in the 'symbol' supplied.

/PHONE=symbol
 will return 'PHONE' if the terminal is connected via a dial-in phone
 line or 'LOCAL' if the terminal is hardwired directly into the
 system.  The string is returned in the local 'symbol' supplied.

/SCOPE=symbol
 will return 'SCOPE' if the terminal is a CRT type terminal or
 'HARDCOPY' if the terminal is a hardcopy type terminal.  The string
 is returned in the local 'symbol' supplied.

/SPEED=symbol
 will return the baud rate being used to communicate with the
 terminal (50, 75, 110, 134, 150, 300, 600, 1200, 1800, 2000, 2400,
 3600, 4800, 7200, 9600).  The value will be returned in the local
 'symbol' supplied.

/TERMINAL=symbol
 will return the terminal device name in the local 'symbol' supplied.
 If the terminal name was supplied as a parameter then this will be
 the terminal name after logical name translation.  If the terminal
 name was defaulted then this will be SYS$COMMAND: after logical name
 translation (ie. the physical device assigned to SYS$COMMAND:)

/TYPE=symbol
 will return the type of terminal (FT1, FT2, FT3, FT4, FT5, FT6, FT7,
 FT8, LA36, LA120, VT05, VT52, VT55, VT100) in the local 'symbol'
 supplied.

/WIDTH=symbol
 will return the width of the terminal in the local 'symbol'
 supplied.

