gettytab revision 9306
137Srgrimes#	from: @(#)gettytab	5.14 (Berkeley) 3/27/91
237Srgrimes#
337Srgrimes# Most of the table entries here are just copies of the old getty table,
437Srgrimes# it is by no means certain, or even likely, that any of them are optimal
537Srgrimes# for any purpose whatever.  Nor is it likely that more than a couple are
637Srgrimes# even correct.
737Srgrimes#
837Srgrimes# The default gettytab entry, used to set defaults for all other
99306Sbde# entries, and in cases where getty is called with no table name.
1037Srgrimes#
11646Sdg# cb, ce and ck are desirable on most crt's.  The non-crt entries need to
129306Sbde# be changed to turn them off (:cb@:ce@:ck@:).
13646Sdg#
146489Sjoerg# lc should always be on; it's a remainder of some stone age when there
156489Sjoerg# have been terminals around not being able of handling lower-case
166489Sjoerg# characters. Those terminals aren't supported any longer, but getty is
176489Sjoerg# `smart' about them by default.
186489Sjoerg#
199306Sbde# Parity defaults to even, but the Pc entry and all the `std' entries
209306Sbde# specify no parity.   The different parities are:
21646Sdg#     (none): same as even except -inpck instead of inpck for login.
22646Sdg#     ep:     getty will use raw mode (cs8 -parenb) (unless rw is set) and
23646Sdg#             fake parity.  login will use even parity (cs7 parenb -parodd).
24646Sdg#     op:     same as ep except odd parity (cs7 parenb parodd) for login.
25646Sdg#             op overrides ep.
26646Sdg#     ap:     same as ep except -inpck instead of inpck for login.
27646Sdg#             ap overrides op and ep.
28646Sdg#     np:     1. don't fake parity in getty.  The fake parity garbles
29646Sdg#                characters on non-terminals (like pccons) that don't
30646Sdg#                support parity.  It would probably better for getty not to
31646Sdg#                try to fake parity.  It could just use cbreak mode so as
326489Sjoerg#                not to force cs8 and let the hardware handle the parity.
33646Sdg#                login has to be rely on the hardware anyway.
34646Sdg#             2. set PASS8, giving cs8 -parenb -istrip -inpck.
35646Sdg#     np:ep:  same as np except inpck.
36646Sdg#     np:op:  same as np:ep except for parodd (but parodd is overridden).
37646Sdg#     np:ap:  same as np except istrip.
38646Sdg#
3937Srgrimesdefault:\
406489Sjoerg	:cb:ce:ck:lc:fd#1000:im=\r\n   FreeBSD (%h) (%t)\r\n\r\n:sp#1200:
4137Srgrimes
4237Srgrimes#
4337Srgrimes# Fixed speed entries
4437Srgrimes#
4537Srgrimes#	The "std.NNN" names are known to the special case
4637Srgrimes#	portselector code in getty, however they can
4737Srgrimes#	be assigned to any table desired.
4837Srgrimes#	The "NNN-baud" names are known to the special case
4937Srgrimes#	autobaud code in getty, and likewise can
5037Srgrimes#	be assigned to any table desired (hopefully the same speed).
5137Srgrimes#
5237Srgrimesa|std.110|110-baud:\
53862Sache	:np:nd#1:cd#1:uc:sp#110:
5437Srgrimesb|std.134|134.5-baud:\
55862Sache	:np:nd#1:cd#2:ff#1:td#1:sp#134:ht:nl:
5637Srgrimes1|std.150|150-baud:\
57862Sache	:np:nd#1:cd#2:td#1:fd#1:sp#150:ht:nl:lm=\E\72\6\6\17login\72 :
5837Srgrimesc|std.300|300-baud:\
59862Sache	:np:nd#1:cd#1:sp#300:
6037Srgrimesd|std.600|600-baud:\
61862Sache	:np:nd#1:cd#1:sp#600:
6237Srgrimesf|std.1200|1200-baud:\
63862Sache	:np:fd#1:sp#1200:
6437Srgrimes6|std.2400|2400-baud:\
65862Sache	:np:sp#2400:
6637Srgrimes7|std.4800|4800-baud:\
67862Sache	:np:sp#4800:
6837Srgrimes2|std.9600|9600-baud:\
69862Sache	:np:sp#9600:
7037Srgrimesg|std.19200|19200-baud:\
71862Sache	:np:sp#19200:
72154Srgrimesstd.38400|38400-baud:\
73862Sache	:np:sp#38400:
74154Srgrimesstd.57600|57600-baud:\
75862Sache	:np:sp#57600:
76154Srgrimesstd.115200|115200-baud:\
77862Sache	:np:sp#115200:
7837Srgrimes
7937Srgrimes#
8037Srgrimes# Dial in rotary tables, speed selection via 'break'
8137Srgrimes#
8237Srgrimes0|d300|Dial-300:\
8337Srgrimes	:nx=d1200:cd#2:sp#300:
8437Srgrimesd1200|Dial-1200:\
8537Srgrimes	:nx=d150:fd#1:sp#1200:
8637Srgrimesd150|Dial-150:\
8737Srgrimes	:nx=d110:lm@:tc=150-baud:
8837Srgrimesd110|Dial-110:\
8937Srgrimes	:nx=d300:tc=300-baud:
9037Srgrimes
9137Srgrimes#
9237Srgrimes# Fast dialup terminals, 2400/1200/300 rotary (can start either way)
9337Srgrimes#
9437SrgrimesD2400|d2400|Fast-Dial-2400:\
9537Srgrimes	:nx=D1200:tc=2400-baud:
9637Srgrimes3|D1200|Fast-Dial-1200:\
9737Srgrimes	:nx=D300:tc=1200-baud:
9837Srgrimes5|D300|Fast-Dial-300:\
9937Srgrimes	:nx=D2400:tc=300-baud:
10037Srgrimes
10137Srgrimes#
10237Srgrimes#telebit (19200)
10337Srgrimes#
10437Srgrimest19200:\
10537Srgrimes	:nx=t2400:tc=19200-baud:
10637Srgrimest2400:\
10737Srgrimes	:nx=t1200:tc=2400-baud:
10837Srgrimest1200:\
10937Srgrimes	:nx=t19200:tc=1200-baud:
11037Srgrimes
11137Srgrimes#
11237Srgrimes#telebit (9600)
11337Srgrimes#
11437Srgrimest9600:\
115289Srgrimes	:nx=t2400a:tc=9600-baud:
11637Srgrimest2400a:\
11737Srgrimes	:nx=t1200a:tc=2400-baud:
11837Srgrimest1200a:\
11937Srgrimes	:nx=t9600:tc=1200-baud:
12037Srgrimes
12137Srgrimes#
12237Srgrimes# Odd special case terminals
12337Srgrimes#
12437Srgrimes-|tty33|asr33|Pity the poor user of this beast:\
12537Srgrimes	:tc=110-baud:
12637Srgrimes
12737Srgrimes4|Console|Console Decwriter II:\
12837Srgrimes	:nd@:cd@:rw:tc=300-baud:
12937Srgrimes
13037Srgrimese|Console-1200|Console Decwriter III:\
13137Srgrimes	:fd@:nd@:cd@:rw:tc=1200-baud:
13237Srgrimes
13337Srgrimesi|Interdata console:\
13437Srgrimes	:uc:sp#0:
13537Srgrimes
13637Srgrimesl|lsi chess terminal:\
13737Srgrimes	:sp#300:
13837Srgrimes
13937SrgrimesX|Xwindow|X window system:\
14037Srgrimes	:fd@:nd@:cd@:rw:sp#9600:
14137Srgrimes
14237SrgrimesP|Pc|Pc console:\
1431096Sache	:ht:np:sp#115200:
14437Srgrimes
14537Srgrimes#
14637Srgrimes# Wierdo special case for fast crt's with hardcopy devices
14737Srgrimes#
14837Srgrimes8|T9600|CRT with hardcopy:\
14937Srgrimes	:nx=T300:tc=9600-baud:
15037Srgrimes9|T300|CRT with hardcopy (300):\
15137Srgrimes	:nx=T9600:tc=300-baud:
15237Srgrimes
15337Srgrimes#
15437Srgrimes# Plugboard, and misc other terminals
15537Srgrimes#
15637Srgrimesplug-9600|Plugboard-9600:\
15737Srgrimes	:pf#1:tc=9600-baud:
15837Srgrimesp|P9600|Plugboard-9600-rotary:\
15937Srgrimes	:pf#1:nx=P300:tc=9600-baud:
16037Srgrimesq|P300|Plugboard-300:\
16137Srgrimes	:pf#1:nx=P1200:tc=300-baud:
16237Srgrimesr|P1200|Plugboard-1200:\
16337Srgrimes	:pf#1:nx=P9600:tc=1200-baud:
16437Srgrimes
16537Srgrimes#
16637Srgrimes# XXXX Port selector
16737Srgrimes#
16837Srgrimess|DSW|Port Selector:\
16937Srgrimes	:ps:sp#2400:
17037Srgrimes
17137Srgrimes#
17237Srgrimes# Auto-baud speed detect entry for Micom 600.
17337Srgrimes# Special code in getty will switch this out
17437Srgrimes# to one of the NNN-baud entries.
17537Srgrimes#
17637SrgrimesA|Auto-baud:\
17737Srgrimes	:ab:sp#2400:f0#040:
178