2 # from: @(#)gettytab 5.14 (Berkeley) 3/27/91
4 # Most of the table entries here are just copies of the old getty table,
5 # it is by no means certain, or even likely, that any of them are optimal
6 # for any purpose whatever. Nor is it likely that more than a couple are
9 # The default gettytab entry, used to set defaults for all other
10 # entries, and in cases where getty is called with no table name.
12 # cb, ce and ck are desirable on most crt's. The non-crt entries need to
13 # be changed to turn them off (:cb@:ce@:ck@:).
15 # lc should always be on; it's a remainder of some stone age when there
16 # have been terminals around not being able of handling lower-case
17 # characters. Those terminals aren't supported any longer, but getty is
18 # `smart' about them by default.
20 # Parity defaults to even, but the Pc entry and all the `std' entries
21 # specify no parity. The different parities are:
22 # (none): same as even except -inpck instead of inpck for login.
23 # ep: getty will use raw mode (cs8 -parenb) (unless rw is set) and
24 # fake parity. login will use even parity (cs7 parenb -parodd).
25 # op: same as ep except odd parity (cs7 parenb parodd) for login.
27 # ap: same as ep except -inpck instead of inpck for login.
28 # ap overrides op and ep.
29 # np: 1. don't fake parity in getty. The fake parity garbles
30 # characters on non-terminals (like pccons) that don't
31 # support parity. It would probably better for getty not to
32 # try to fake parity. It could just use cbreak mode so as
33 # not to force cs8 and let the hardware handle the parity.
34 # login has to be rely on the hardware anyway.
35 # 2. set PASS8, giving cs8 -parenb -istrip -inpck.
36 # np:ep: same as np except inpck.
37 # np:op: same as np:ep except for parodd (but parodd is overridden).
38 # np:ap: same as np except istrip.
41 :cb:ce:ck:lc:fd#1000:im=\r\n%s/%m (%h) (%t)\r\n\r\n:sp#1200:\
47 # The "std.NNN" names are known to the special case
48 # portselector code in getty, however they can
49 # be assigned to any table desired.
50 # The "NNN-baud" names are known to the special case
51 # autobaud code in getty, and likewise can
52 # be assigned to any table desired (hopefully the same speed).
55 :np:nd#1:cd#1:uc:sp#110:
56 b|std.134|134.5-baud:\
57 :np:nd#1:cd#2:ff#1:td#1:sp#134:ht:nl:
59 :np:nd#1:cd#2:td#1:fd#1:sp#150:ht:nl:lm=\E\72\6\6\17login\72 :
64 f|std.1200|1200-baud:\
66 6|std.2400|2400-baud:\
68 7|std.4800|4800-baud:\
70 2|std.9600|9600-baud:\
72 g|std.19200|19200-baud:\
74 std.38400|38400-baud:\
76 std.57600|57600-baud:\
78 std.115200|115200-baud:\
80 std.230400|230400-baud:\
84 # Entry specifying explicit device settings. See termios(4) and
85 # /usr/include/termios.h, too. The entry forces the tty into
86 # CLOCAL mode (so no DCD is required), and uses Xon/Xoff flow control.
88 # cflags: CLOCAL | HUPCL | CREAD | CS8
89 # oflags: OPOST | ONLCR | OXTABS
90 # iflags: IXOFF | IXON | ICRNL | IGNPAR
91 # lflags: IEXTEN | ICANON | ISIG | ECHOCTL | ECHO | ECHOK | ECHOE | ECHOKE
93 # The `0' flags don't have input enabled. The `1' flags don't echo.
94 # (Echoing is done inside getty itself.)
96 local.9600|CLOCAL tty @ 9600 Bd:\
97 :c0#0x0000c300:c1#0x0000cb00:c2#0x0000cb00:\
98 :o0#0x00000007:o1#0x00000002:o2#0x00000007:\
99 :i0#0x00000704:i1#0x00000000:i2#0x00000704:\
100 :l0#0x000005cf:l1#0x00000000:l2#0x000005cf:\
104 # Dial in rotary tables, speed selection via 'break'
107 :nx=d1200:cd#2:sp#300:
109 :nx=d150:fd#1:sp#1200:
111 :nx=d110:lm@:tc=150-baud:
113 :nx=d300:tc=300-baud:
116 # Fast dialup terminals, 2400/1200/300 rotary (can start either way)
118 D2400|d2400|Fast-Dial-2400:\
119 :nx=D1200:tc=2400-baud:
120 3|D1200|Fast-Dial-1200:\
121 :nx=D300:tc=1200-baud:
122 5|D300|Fast-Dial-300:\
123 :nx=D2400:tc=300-baud:
129 :nx=t2400:tc=19200-baud:
131 :nx=t1200:tc=2400-baud:
133 :nx=t19200:tc=1200-baud:
139 :nx=t2400a:tc=9600-baud:
141 :nx=t1200a:tc=2400-baud:
143 :nx=t9600:tc=1200-baud:
146 # Odd special case terminals
148 -|tty33|asr33|Pity the poor user of this beast:\
151 4|Console|Console Decwriter II:\
152 :nd@:cd@:rw:tc=300-baud:
154 e|Console-1200|Console Decwriter III:\
155 :fd@:nd@:cd@:rw:tc=1200-baud:
157 i|Interdata console:\
160 l|lsi chess terminal:\
163 X|Xwindow|X window system:\
164 :fd@:nd@:cd@:rw:sp#9600:
170 # Wierdo special case for fast crt's with hardcopy devices
172 8|T9600|CRT with hardcopy:\
173 :nx=T300:tc=9600-baud:
174 9|T300|CRT with hardcopy (300):\
175 :nx=T9600:tc=300-baud:
178 # Plugboard, and misc other terminals
180 plug-9600|Plugboard-9600:\
182 p|P9600|Plugboard-9600-rotary:\
183 :pf#1:nx=P300:tc=9600-baud:
184 q|P300|Plugboard-300:\
185 :pf#1:nx=P1200:tc=300-baud:
186 r|P1200|Plugboard-1200:\
187 :pf#1:nx=P9600:tc=1200-baud:
192 s|DSW|Port Selector:\
196 # Auto-baud speed detect entry for Micom 600.
197 # Special code in getty will switch this out
198 # to one of the NNN-baud entries.
204 # autologin - automatically log in as root
208 :al=root:tc=std.9600: