1 # Most of the table entries here are just copies of the old getty table,
2 # it is by no means certain, or even likely, that any of them are optimal
3 # for any purpose whatever. Nor is it likely that more than a couple are
6 # The default gettytab entry, used to set defaults for all other
7 # entries, and in cases where getty is called with no table name.
9 # cb, ce and ck are desirable on most crt's. The non-crt entries need to
10 # be changed to turn them off (:cb@:ce@:ck@:).
12 # lc should always be on; it's a remainder of some stone age when there
13 # have been terminals around not being able of handling lower-case
14 # characters. Those terminals aren't supported any longer, but getty is
15 # `smart' about them by default.
17 # Parity defaults to even, but the Pc entry and all the `std' entries
18 # specify no parity. The different parities are:
19 # (none): same as ep for getty. login will use terminal as is.
20 # ep: getty will use raw mode (cs8 -parenb) (unless rw is set) and
21 # fake parity. login will use even parity (cs7 parenb -parodd).
22 # op: same as ep except odd parity (cs7 parenb parodd) for login.
23 # getty will fake odd parity as well.
24 # ap: same as ep except -inpck instead of inpck for login.
25 # ap overrides op and ep.
26 # np: 1. don't fake parity in getty. The fake parity garbles
27 # characters on non-terminals (like pccons) that don't
28 # support parity. It would probably better for getty not to
29 # try to fake parity. It could just use cbreak mode so as
30 # not to force cs8 and let the hardware handle the parity.
31 # login has to be rely on the hardware anyway.
32 # 2. set cs8 -parenb -istrip -inpck.
36 :cb:ce:ck:lc:fd#1000:im=\r\n%s/%m (%h) (%t)\r\n\r\n:sp#1200:\
42 # The "std.NNN" names are known to the special case
43 # portselector code in getty, however they can
44 # be assigned to any table desired.
45 # The "NNN-baud" names are known to the special case
46 # autobaud code in getty, and likewise can
47 # be assigned to any table desired (hopefully the same speed).
52 :np:nd#1:cd#1:uc:sp#110:
53 b|std.134|134.5-baud:\
54 :np:nd#1:cd#2:ff#1:td#1:sp#134:ht:nl:
56 :np:nd#1:cd#2:td#1:fd#1:sp#150:ht:nl:lm=\E\72\6\6\17login\72 :
61 f|std.1200|1200-baud:\
63 6|std.2400|2400-baud:\
65 7|std.4800|4800-baud:\
67 2|std.9600|9600-baud:\
69 g|std.19200|19200-baud:\
71 std.38400|38400-baud:\
73 std.57600|57600-baud:\
75 std.115200|115200-baud:\
77 std.230400|230400-baud:\
81 # Entry specifying explicit device settings. See termios(4) and
82 # /usr/include/termios.h, too. The entry forces the tty into
83 # CLOCAL mode (so no DCD is required), and uses Xon/Xoff flow control.
85 # cflags: CLOCAL | HUPCL | CREAD | CS8
86 # oflags: OPOST | ONLCR | OXTABS
87 # iflags: IXOFF | IXON | ICRNL | IGNPAR
88 # lflags: IEXTEN | ICANON | ISIG | ECHOCTL | ECHO | ECHOK | ECHOE | ECHOKE
90 # The `0' flags don't have input enabled. The `1' flags don't echo.
91 # (Echoing is done inside getty itself.)
93 local.9600|CLOCAL tty @ 9600 Bd:\
94 :c0#0x0000c300:c1#0x0000cb00:c2#0x0000cb00:\
95 :o0#0x00000007:o1#0x00000002:o2#0x00000007:\
96 :i0#0x00000704:i1#0x00000000:i2#0x00000704:\
97 :l0#0x000005cf:l1#0x00000000:l2#0x000005cf:\
101 # Dial in rotary tables, speed selection via 'break'
104 :nx=d1200:cd#2:sp#300:
106 :nx=d150:fd#1:sp#1200:
108 :nx=d110:lm@:tc=150-baud:
110 :nx=d300:tc=300-baud:
113 # Fast dialup terminals, 2400/1200/300 rotary (can start either way)
115 D2400|d2400|Fast-Dial-2400:\
116 :nx=D1200:tc=2400-baud:
117 3|D1200|Fast-Dial-1200:\
118 :nx=D300:tc=1200-baud:
119 5|D300|Fast-Dial-300:\
120 :nx=D2400:tc=300-baud:
126 :nx=t2400:tc=19200-baud:
128 :nx=t1200:tc=2400-baud:
130 :nx=t19200:tc=1200-baud:
136 :nx=t2400a:tc=9600-baud:
138 :nx=t1200a:tc=2400-baud:
140 :nx=t9600:tc=1200-baud:
143 # Odd special case terminals
145 -|tty33|asr33|Pity the poor user of this beast:\
148 4|Console|Console Decwriter II:\
149 :nd@:cd@:rw:tc=300-baud:
151 e|Console-1200|Console Decwriter III:\
152 :fd@:nd@:cd@:rw:tc=1200-baud:
154 i|Interdata console:\
157 l|lsi chess terminal:\
160 X|Xwindow|X window system:\
161 :fd@:nd@:cd@:rw:sp#9600:
167 # Weirdo special case for fast crt's with hardcopy devices
169 8|T9600|CRT with hardcopy:\
170 :nx=T300:tc=9600-baud:
171 9|T300|CRT with hardcopy (300):\
172 :nx=T9600:tc=300-baud:
175 # Plugboard, and misc other terminals
177 plug-9600|Plugboard-9600:\
179 p|P9600|Plugboard-9600-rotary:\
180 :pf#1:nx=P300:tc=9600-baud:
181 q|P300|Plugboard-300:\
182 :pf#1:nx=P1200:tc=300-baud:
183 r|P1200|Plugboard-1200:\
184 :pf#1:nx=P9600:tc=1200-baud:
189 s|DSW|Port Selector:\
193 # Auto-baud speed detect entry for Micom 600.
194 # Special code in getty will switch this out
195 # to one of the NNN-baud entries.
201 # autologin - automatically log in as root
205 :al=root:tc=std.9600:
207 :al=root:tc=std.19200:
209 :al=root:tc=std.38400:
211 :al=root:tc=std.57600:
213 :al=root:tc=std.115200:
215 :al=root:tc=std.230400:
220 # Entries for 3-wire serial terminals. These don't supply carrier, so
221 # clocal needs to be set, and crtscts needs to be unset.
225 3wire.9600|9600-3wire:\
227 3wire.19200|19200-3wire:\
229 3wire.38400|38400-3wire:\
231 3wire.57600|57600-3wire:\
233 3wire.115200|115200-3wire:\
235 3wire.230400|230400-3wire:\