|
|
coherent
getty System Maintenance getty
Terminal initialization
/eettcc/ggeettttyy _t_y_p_e
The initialization process init invokes getty for each terminal
indicated in the file /etc/ttys. getty tries to read a user name
from the terminal which is the standard input, adapting its mode
settings accordingly. Then getty invokes login 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
getty will appear garbled. If the specified type indicates vari-
able speeds, as described below, hitting BREAK will try the next
speed.
init passes the third character in a line of the file /etc/ttys
as the type argument to getty. type conveys information about
the terminal port. An upper-case letter in the range A to S
specifies a hard-wired baud rate, as indicated in the header file
<sgtty.h>. Other characters specify a range of speeds suitable
to a dial-in modem. The following variable-speed settings are
recognized:
00 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.
11 Teletype model 37, fixed at 150 baud.
22 9600 baud with delays (e.g., Tektronix 4104).
33 Cycles between 2400, 1200, and 300 baud. This is used with
2400-bps modems.
44 DECwriter (LA36) with delays.
55 Like 3, but starts at 300 baud.
getty recognizes the following fixed-speed settings, for hard-
wired terminals:
AA 50 baud
BB 75 baud
CC 110 baud
DD 134 baud
EE 150 baud
FF 200 baud
GG 300 baud
HH 600 baud
II 1200 baud
JJ 1800 baud
COHERENT Lexicon Page 1
getty System Maintenance getty
KK 2000 baud
LL 2400 baud
MM 3600 baud
NN 4800 baud
OO 7200 baud
PP 9600 baud
QQ 19200 baud
RR EXT
SS EXT
***** Files *****
/etc/tty
<sgtty.h>
***** See Also *****
init, ioctl(), login, sgtty.h, system maintenance, stty, ttys
COHERENT Lexicon Page 2
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.