Annotation of src/etc/gettytab, Revision 1.7
1.7 ! nicm 1: # $OpenBSD: gettytab,v 1.6 2018/05/02 21:06:14 kettenis Exp $
1.1 deraadt 2: #
1.4 pjanzen 3: # Most of the table entries here are just copies of the old getty table.
4: # It is by no means certain, or even likely, that any of them are optimal
1.1 deraadt 5: # for any purpose whatever. Nor is it likely that more than a couple are
6: # even correct.
7: #
8: # The default gettytab entry, used to set defaults for all other
9: # entries, and in cases where getty is called with no table name
10: #
11: default:\
1.3 deraadt 12: :np:im=\r\n%s/%m (%h) (%t)\r\n\r\n:sp#1200:
1.1 deraadt 13:
14: #
15: # Fixed speed entries
16: #
17: # The "std.NNN" names are known to the special case
18: # portselector code in getty, however they can
19: # be assigned to any table desired.
20: # The "NNN-baud" names are known to the special case
21: # autobaud code in getty, and likewise can
22: # be assigned to any table desired (hopefully the same speed).
23: #
24: a|std.110|110-baud:\
25: :nd#1:cd#1:uc:sp#110:
26: b|std.134|134.5-baud:\
27: :ep:nd#1:cd#2:ff#1:td#1:sp#134:ht:nl:
28: 1|std.150|150-baud:\
29: :ep:nd#1:cd#2:td#1:fd#1:sp#150:ht:nl:lm=\E\72\6\6\17login\72 :
30: c|std.300|300-baud:\
1.7 ! nicm 31: :nd#1:cd#1:sp#300:ht:
1.1 deraadt 32: d|std.600|600-baud:\
1.7 ! nicm 33: :nd#1:cd#1:sp#600:ht:
1.1 deraadt 34: f|std.1200|1200-baud:\
1.7 ! nicm 35: :fd#1:sp#1200:ht:
1.1 deraadt 36: 6|std.2400|2400-baud:\
1.7 ! nicm 37: :sp#2400:ht:
1.1 deraadt 38: 7|std.4800|4800-baud:\
1.7 ! nicm 39: :sp#4800:ht:
1.1 deraadt 40: 2|std.9600|9600-baud:\
1.7 ! nicm 41: :sp#9600:ht:
1.1 deraadt 42: g|std.19200|19200-baud:\
1.7 ! nicm 43: :sp#19200:ht:
1.1 deraadt 44: std.38400|38400-baud:\
1.7 ! nicm 45: :sp#38400:ht:
1.1 deraadt 46: std.57600|57600-baud:\
1.7 ! nicm 47: :sp#57600:ht:
1.1 deraadt 48: std.115200|115200-baud:\
1.7 ! nicm 49: :sp#115200:ht:
1.6 kettenis 50: std.1500000|1500000-baud:\
1.7 ! nicm 51: :sp#1500000:ht:
1.1 deraadt 52:
53: #
54: # Dial in rotary tables, speed selection via 'break'
55: #
56: 0|d300|Dial-300:\
57: :nx=d1200:cd#2:sp#300:
58: d1200|Dial-1200:\
59: :nx=d150:fd#1:sp#1200:
60: d150|Dial-150:\
61: :nx=d110:lm@:tc=150-baud:
62: d110|Dial-110:\
63: :nx=d300:tc=300-baud:
64:
65: #
66: # Fast dialup terminals, 2400/1200/300 rotary (can start either way)
67: #
68: D2400|d2400|Fast-Dial-2400:\
69: :nx=D1200:tc=2400-baud:
70: 3|D1200|Fast-Dial-1200:\
71: :nx=D300:tc=1200-baud:
72: 5|D300|Fast-Dial-300:\
73: :nx=D2400:tc=300-baud:
74:
75: #
76: #telebit (19200)
77: #
78: t19200:\
79: :nx=t2400:tc=19200-baud:
80: t2400:\
81: :nx=t1200:tc=2400-baud:
82: t1200:\
83: :nx=t19200:tc=1200-baud:
84:
85: #
86: #telebit (9600)
87: #
88: t9600:\
89: :nx=t2400a:tc=19200-baud:
90: t2400a:\
91: :nx=t1200a:tc=2400-baud:
92: t1200a:\
93: :nx=t9600:tc=1200-baud:
94:
95: #
96: # Odd special case terminals
97: #
98: -|tty33|asr33|Pity the poor user of this beast:\
99: :tc=110-baud:
100:
101: 4|Console|Console Decwriter II:\
102: :nd@:cd@:rw:tc=300-baud:
103:
104: e|Console-1200|Console Decwriter III:\
105: :fd@:nd@:cd@:rw:tc=1200-baud:
106:
107: i|Interdata console:\
108: :uc:sp#0:
109:
110: l|lsi chess terminal:\
111: :sp#300:
112:
113: X|Xwindow|X window system:\
114: :fd@:nd@:cd@:rw:sp#9600:
115:
116: P|Pc|Pc console:\
1.3 deraadt 117: :np:sp#9600:
1.1 deraadt 118:
119: # 8 bit clean Sun console
120: S|suncons|Sun Console:\
121: :np:sp#9600:
122:
123: #
1.4 pjanzen 124: # Weirdo special case for fast crt's with hardcopy devices
1.1 deraadt 125: #
126: 8|T9600|CRT with hardcopy:\
127: :nx=T300:tc=9600-baud:
128: 9|T300|CRT with hardcopy (300):\
129: :nx=T9600:tc=300-baud:
130:
131: #
132: # Plugboard, and misc other terminals
133: #
134: plug-9600|Plugboard-9600:\
135: :pf#1:tc=9600-baud:
136: p|P9600|Plugboard-9600-rotary:\
137: :pf#1:nx=P300:tc=9600-baud:
138: q|P300|Plugboard-300:\
139: :pf#1:nx=P1200:tc=300-baud:
140: r|P1200|Plugboard-1200:\
141: :pf#1:nx=P9600:tc=1200-baud:
142:
143: #
144: # XXXX Port selector
145: #
146: s|DSW|Port Selector:\
147: :ps:sp#2400:
148:
149: #
150: # Auto-baud speed detect entry for Micom 600.
151: # Special code in getty will switch this out
152: # to one of the NNN-baud entries.
153: #
154: A|Auto-baud:\
1.5 naddy 155: :ab:sp#2400:i0#04000:o0#0:c0#045400:l0#0: