


      TTY(7)                     (Bull-SPS9)                     TTY(7)



      NAME
           tty - controlling terminal interface

      DESCRIPTION
           The file /dev/tty is, in each process, a synonym for the
           control terminal associated with the process group of that
           process, if any.  It typically refers to the current user's
           terminal, which may be /dev/tty* or /dev/disp*.  It is
           useful for programs or shell sequences that wish to be sure
           of writing messages on the terminal no matter how output has
           been redirected. It can also be used for programs that
           demand the name of a file for output, when typed output is
           desired and it is tiresome to find out what terminal is
           currently in use.

           /dev/tty* refers to RS-232 asynchronous terminal ports (see
           termio(7)), provided by the J connectors on the Bull-SPS9
           backpanel.  By convention, tty0 corresponds to J1, tty1 to
           J2, and so on.  Each FDLP controller in a system supports 4
           ports, while each CIO (or SAS) controller supports 8 ports.
           The major and minor device numbers to be used for terminals
           depends on the device driver (/drivers/fdlp for FDLP
           controllers, /drivers/ciotty for CIO controllers and
           /drivers/asyn for SAS controllers).  Each type of driver
           uses a different major number, while the minor numbers for
           each type of driver must be a contiguous sequence starting
           from 0.


      DEVICE CODE
                                    block-type or  standard
           device type         major     minor     character-type file name

           current user terminal     1   1    char      /dev/tty
           FDLP RS-232 ports    2   0..x char      /dev/tty0..ttyi
           CIO  RS-232 ports    12  0..x char      /dev/tty0..ttyx
           SAS  RS-232 ports    130 0..x char      /dev/ttyj..ttyx
               or RS-422 ports                     where j = 0 or i+1 depending on
                                              you don't have (or you have) a
                                              FDLP board.

      FILES
           /dev/tty      (this terminal)
           /dev/tty*
           /dev/disp*

           /drivers/disp      device driver for disp's
           /drivers/fdlp      device driver for FDLP tty's
           /drivers/ciotty    device driver for CIO tty's
           /drivers/asyn      device driver for SAS  tty's





      Page 1                                         (73 A2 02MTA REV1)






      TTY(7)                     (Bull-SPS9)                     TTY(7)























































      Page 2                                         (73 A2 02MTA REV1)






