Previous: prstpr Up: ../plot79_p.html Next: prstty


PRSTRM

       INTEGER FUNCTION  PRSTRM (STATUS)
 C$    (Parse Support - TERMINAL subcommands)
 C$    Since it may be necessary on some host systems for the user
 C$    to inform the program of the terminal type, this routine is
 C$    provided to  handle the  parsing  of subcommands  once  the
 C$    invoking keyword and noise (usually TERMINAL (mode is)) has
 C$    been parsed.  The subcommands may  be a terminal type or  a
 C$    width definition.  On return, STATUS and the function value
 C$    are set to  the final parsing  code.  The complete  command
 C$    parsed is one of
 C$
 C$    TERMINAL (mode is) ANSI
 C$                       GLASS
 C$                       HARDCOPY
 C$                       HAZELTINE-1500
 C$                       TELEVIDEO
 C$                       UNKNOWN
 C$                       VT100
 C$                       VT52
 C$                       WIDTH (of line is) nn
 C$
 C$    Terminal types ANSI and VT100 are actually equivalent since
 C$    the DEC VT100 commands are a superset of the ANSI Standard,
 C$    and we require only a  small common command set.   Terminal
 C$    types GLASS and HARDCOPY are also equivalent, since neither
 C$    offers cursor positioning  or editing functions.   Terminal
 C$    type  UNKNOWN  means  that  the  file  is  not  actually  a
 C$    terminal.
 C$
 C$    A bare  TERMINAL command  with no  options results  in  the
 C$    display of the current terminal type and width.  Because of
 C$    the type equivalences,  setting of type  HARDCOPY or  VT100
 C$    followed by  an inquiry  by a  bare terminal  command  will
 C$    display respectively GLASS and ANSI.
 C$    (10-AUG-85)