gettytab revision 6489
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
937Srgrimes# 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
12747Srgrimes# 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#
19646Sdg# Parity defaults to even.  There ought to be more alternative entries with
20646Sdg# no parity.  The Pc entry already has no parity..  The different parities
21646Sdg# are:
22646Sdg#     (none): same as even except -inpck instead of inpck for login.
23646Sdg#     ep:     getty will use raw mode (cs8 -parenb) (unless rw is set) and
24646Sdg#             fake parity.  login will use even parity (cs7 parenb -parodd).
25646Sdg#     op:     same as ep except odd parity (cs7 parenb parodd) for login.
26646Sdg#             op overrides ep.
27646Sdg#     ap:     same as ep except -inpck instead of inpck for login.
28646Sdg#             ap overrides op and ep.
29646Sdg#     np:     1. don't fake parity in getty.  The fake parity garbles
30646Sdg#                characters on non-terminals (like pccons) that don't
31646Sdg#                support parity.  It would probably better for getty not to
32646Sdg#                try to fake parity.  It could just use cbreak mode so as
336489Sjoerg#                not to force cs8 and let the hardware handle the parity.
34646Sdg#                login has to be rely on the hardware anyway.
35646Sdg#             2. set PASS8, giving cs8 -parenb -istrip -inpck.
36646Sdg#     np:ep:  same as np except inpck.
37646Sdg#     np:op:  same as np:ep except for parodd (but parodd is overridden).
38646Sdg#     np:ap:  same as np except istrip.
39646Sdg#
4037Srgrimesdefault:\
416489Sjoerg	:cb:ce:ck:lc:fd#1000:im=\r\n   FreeBSD (%h) (%t)\r\n\r\n:sp#1200:
4237Srgrimes
4337Srgrimes#
4437Srgrimes# Fixed speed entries
4537Srgrimes#
4637Srgrimes#	The "std.NNN" names are known to the special case
4737Srgrimes#	portselector code in getty, however they can
4837Srgrimes#	be assigned to any table desired.
4937Srgrimes#	The "NNN-baud" names are known to the special case
5037Srgrimes#	autobaud code in getty, and likewise can
5137Srgrimes#	be assigned to any table desired (hopefully the same speed).
5237Srgrimes#
5337Srgrimesa|std.110|110-baud:\
54862Sache	:np:nd#1:cd#1:uc:sp#110:
5537Srgrimesb|std.134|134.5-baud:\
56862Sache	:np:nd#1:cd#2:ff#1:td#1:sp#134:ht:nl:
5737Srgrimes1|std.150|150-baud:\
58862Sache	:np:nd#1:cd#2:td#1:fd#1:sp#150:ht:nl:lm=\E\72\6\6\17login\72 :
5937Srgrimesc|std.300|300-baud:\
60862Sache	:np:nd#1:cd#1:sp#300:
6137Srgrimesd|std.600|600-baud:\
62862Sache	:np:nd#1:cd#1:sp#600:
6337Srgrimesf|std.1200|1200-baud:\
64862Sache	:np:fd#1:sp#1200:
6537Srgrimes6|std.2400|2400-baud:\
66862Sache	:np:sp#2400:
6737Srgrimes7|std.4800|4800-baud:\
68862Sache	:np:sp#4800:
6937Srgrimes2|std.9600|9600-baud:\
70862Sache	:np:sp#9600:
7137Srgrimesg|std.19200|19200-baud:\
72862Sache	:np:sp#19200:
73154Srgrimesstd.38400|38400-baud:\
74862Sache	:np:sp#38400:
75154Srgrimesstd.57600|57600-baud:\
76862Sache	:np:sp#57600:
77154Srgrimesstd.115200|115200-baud:\
78862Sache	:np:sp#115200:
7937Srgrimes
8037Srgrimes#
8137Srgrimes# Dial in rotary tables, speed selection via 'break'
8237Srgrimes#
8337Srgrimes0|d300|Dial-300:\
8437Srgrimes	:nx=d1200:cd#2:sp#300:
8537Srgrimesd1200|Dial-1200:\
8637Srgrimes	:nx=d150:fd#1:sp#1200:
8737Srgrimesd150|Dial-150:\
8837Srgrimes	:nx=d110:lm@:tc=150-baud:
8937Srgrimesd110|Dial-110:\
9037Srgrimes	:nx=d300:tc=300-baud:
9137Srgrimes
9237Srgrimes#
9337Srgrimes# Fast dialup terminals, 2400/1200/300 rotary (can start either way)
9437Srgrimes#
9537SrgrimesD2400|d2400|Fast-Dial-2400:\
9637Srgrimes	:nx=D1200:tc=2400-baud:
9737Srgrimes3|D1200|Fast-Dial-1200:\
9837Srgrimes	:nx=D300:tc=1200-baud:
9937Srgrimes5|D300|Fast-Dial-300:\
10037Srgrimes	:nx=D2400:tc=300-baud:
10137Srgrimes
10237Srgrimes#
10337Srgrimes#telebit (19200)
10437Srgrimes#
10537Srgrimest19200:\
10637Srgrimes	:nx=t2400:tc=19200-baud:
10737Srgrimest2400:\
10837Srgrimes	:nx=t1200:tc=2400-baud:
10937Srgrimest1200:\
11037Srgrimes	:nx=t19200:tc=1200-baud:
11137Srgrimes
11237Srgrimes#
11337Srgrimes#telebit (9600)
11437Srgrimes#
11537Srgrimest9600:\
116289Srgrimes	:nx=t2400a:tc=9600-baud:
11737Srgrimest2400a:\
11837Srgrimes	:nx=t1200a:tc=2400-baud:
11937Srgrimest1200a:\
12037Srgrimes	:nx=t9600:tc=1200-baud:
12137Srgrimes
12237Srgrimes#
12337Srgrimes# Odd special case terminals
12437Srgrimes#
12537Srgrimes-|tty33|asr33|Pity the poor user of this beast:\
12637Srgrimes	:tc=110-baud:
12737Srgrimes
12837Srgrimes4|Console|Console Decwriter II:\
12937Srgrimes	:nd@:cd@:rw:tc=300-baud:
13037Srgrimes
13137Srgrimese|Console-1200|Console Decwriter III:\
13237Srgrimes	:fd@:nd@:cd@:rw:tc=1200-baud:
13337Srgrimes
13437Srgrimesi|Interdata console:\
13537Srgrimes	:uc:sp#0:
13637Srgrimes
13737Srgrimesl|lsi chess terminal:\
13837Srgrimes	:sp#300:
13937Srgrimes
14037SrgrimesX|Xwindow|X window system:\
14137Srgrimes	:fd@:nd@:cd@:rw:sp#9600:
14237Srgrimes
14337SrgrimesP|Pc|Pc console:\
1441096Sache	:ht:np:sp#115200:
14537Srgrimes
14637Srgrimes#
14737Srgrimes# Wierdo special case for fast crt's with hardcopy devices
14837Srgrimes#
14937Srgrimes8|T9600|CRT with hardcopy:\
15037Srgrimes	:nx=T300:tc=9600-baud:
15137Srgrimes9|T300|CRT with hardcopy (300):\
15237Srgrimes	:nx=T9600:tc=300-baud:
15337Srgrimes
15437Srgrimes#
15537Srgrimes# Plugboard, and misc other terminals
15637Srgrimes#
15737Srgrimesplug-9600|Plugboard-9600:\
15837Srgrimes	:pf#1:tc=9600-baud:
15937Srgrimesp|P9600|Plugboard-9600-rotary:\
16037Srgrimes	:pf#1:nx=P300:tc=9600-baud:
16137Srgrimesq|P300|Plugboard-300:\
16237Srgrimes	:pf#1:nx=P1200:tc=300-baud:
16337Srgrimesr|P1200|Plugboard-1200:\
16437Srgrimes	:pf#1:nx=P9600:tc=1200-baud:
16537Srgrimes
16637Srgrimes#
16737Srgrimes# XXXX Port selector
16837Srgrimes#
16937Srgrimess|DSW|Port Selector:\
17037Srgrimes	:ps:sp#2400:
17137Srgrimes
17237Srgrimes#
17337Srgrimes# Auto-baud speed detect entry for Micom 600.
17437Srgrimes# Special code in getty will switch this out
17537Srgrimes# to one of the NNN-baud entries.
17637Srgrimes#
17737SrgrimesA|Auto-baud:\
17837Srgrimes	:ab:sp#2400:f0#040:
179