Previous: utiti Up: ../plot79_u.html Next: utlfa


UTITTY

       SUBROUTINE  UTITTY (NTTIN,NTTOUT)
 C$    (Inquire Terminal Units)
 C$    Return input  and  output  terminal  unit  numbers.   These
 C$    should correspond  to open  units and  be directed  to  the
 C$    interactive terminal or batch job log, if at all  possible.
 C$    On non-interactive systems where this is not possible, then
 C$    they should point to the  standard input and output  files,
 C$    preferably those  known  to PLTIO.   If  even this  is  not
 C$    possible, then  they should  be returned  as 0,  which  the
 C$    caller should interpret  to mean input  and output must  be
 C$    suppressed.  Negative values are acceptable, since on  some
 C$    machines (e.g.   DEC-10, -20,  VAX-11, PDP-11),  these  are
 C$    automatically always available.
 C$
 C$    Ideally, these  numbers should  be obtained  from the  PORT
 C$    Library Framework  routine  I1MACH.   However,  since  this
 C$    would require extending the definition of I1MACH, this  has
 C$    not been done.
 C$    (21-AUG-84)