ggeettttyy -- System Administration

Terminal initialization
/eettcc/ggeettttyy _t_y_p_e

The initialization process iinniitt  invokes ggeettttyy for each device indicated in
the file /eettcc/ttttyyss. ggeettttyy tries to read a user name from the terminal which
is the standard input,  adapting its mode settings accordingly.  Then ggeettttyy
invokes llooggiinn with the name read.   This process may set delays, mapping of
upper to lower case, speed, and whether the terminal normally uses carriage
return or linefeed to terminate input.

If the terminal baud rate is wrong, the login message printed by ggeettttyy will
appear  garbled.   If  the specified  _t_y_p_e  indicates  variable speeds,  as
described below, hitting BREAK will try the next speed.

iinniitt passes the third character in a line of the file /eettcc/ttttyyss as the _t_y_p_e
argument to  ggeettttyy. _t_y_p_e conveys  information about the  terminal port.  An
upper-case letter in the range AA  to SS specifies a hard-wired baud rate, as
indicated in the header file <ssggttttyy.hh>. Other characters specify a range of
speeds suitable to  a dial-in modem.  The following variable-speed settings
are recognized:

00  Cycles through speeds 300, 1200, 150, and 110 baud, in that order.  This
   is a good default setting for dial-in ports.

-  Teletype model 33, fixed at 110 baud.

11  Teletype model 37, fixed at 150 baud.

22  9600 baud with delays (e.g., Tektronix 4104).

33  Cycles between  2400, 1200,  and 300 baud.   This is used  with 2400-bps
   modems.

44  DECwriter (LA36) with delays.

55  Like 33, but starts at 300 baud.

ggeettttyy  recognizes  the   following  fixed-speed  settings,  for  hard-wired
terminals:

    AA   50 baud
    BB   75 baud
    CC   110 baud
    DD   134 baud
    EE   150 baud
    FF   200 baud
    GG   300 baud
    HH   600 baud
    II   1200 baud
    JJ   1800 baud
    KK   2000 baud
    LL   2400 baud
    MM   3600 baud
    NN   4800 baud
    OO   7200 baud
    PP   9600 baud
    QQ   19200 baud
    RR   EXT
    SS   EXT

_F_i_l_e_s
/eettcc/ttttyy
<ssggttttyy.hh>

_S_e_e _A_l_s_o
AAddmmiinniisstteerriinngg CCOOHHEERREENNTT, iinniitt, iiooccttll(), llooggiinn, ssggttttyy.hh, ssttttyy, ttttyyss
