jcs's openbsd hax
openbsd
1# $OpenBSD: gettytab,v 1.7 2019/03/12 11:01:25 nicm Exp $
2#
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
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#
11default:\
12 :np:im=\r\n%s/%m (%h) (%t)\r\n\r\n:sp#1200:
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#
24a|std.110|110-baud:\
25 :nd#1:cd#1:uc:sp#110:
26b|std.134|134.5-baud:\
27 :ep:nd#1:cd#2:ff#1:td#1:sp#134:ht:nl:
281|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 :
30c|std.300|300-baud:\
31 :nd#1:cd#1:sp#300:ht:
32d|std.600|600-baud:\
33 :nd#1:cd#1:sp#600:ht:
34f|std.1200|1200-baud:\
35 :fd#1:sp#1200:ht:
366|std.2400|2400-baud:\
37 :sp#2400:ht:
387|std.4800|4800-baud:\
39 :sp#4800:ht:
402|std.9600|9600-baud:\
41 :sp#9600:ht:
42g|std.19200|19200-baud:\
43 :sp#19200:ht:
44std.38400|38400-baud:\
45 :sp#38400:ht:
46std.57600|57600-baud:\
47 :sp#57600:ht:
48std.115200|115200-baud:\
49 :sp#115200:ht:
50std.1500000|1500000-baud:\
51 :sp#1500000:ht:
52
53#
54# Dial in rotary tables, speed selection via 'break'
55#
560|d300|Dial-300:\
57 :nx=d1200:cd#2:sp#300:
58d1200|Dial-1200:\
59 :nx=d150:fd#1:sp#1200:
60d150|Dial-150:\
61 :nx=d110:lm@:tc=150-baud:
62d110|Dial-110:\
63 :nx=d300:tc=300-baud:
64
65#
66# Fast dialup terminals, 2400/1200/300 rotary (can start either way)
67#
68D2400|d2400|Fast-Dial-2400:\
69 :nx=D1200:tc=2400-baud:
703|D1200|Fast-Dial-1200:\
71 :nx=D300:tc=1200-baud:
725|D300|Fast-Dial-300:\
73 :nx=D2400:tc=300-baud:
74
75#
76#telebit (19200)
77#
78t19200:\
79 :nx=t2400:tc=19200-baud:
80t2400:\
81 :nx=t1200:tc=2400-baud:
82t1200:\
83 :nx=t19200:tc=1200-baud:
84
85#
86#telebit (9600)
87#
88t9600:\
89 :nx=t2400a:tc=19200-baud:
90t2400a:\
91 :nx=t1200a:tc=2400-baud:
92t1200a:\
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
1014|Console|Console Decwriter II:\
102 :nd@:cd@:rw:tc=300-baud:
103
104e|Console-1200|Console Decwriter III:\
105 :fd@:nd@:cd@:rw:tc=1200-baud:
106
107i|Interdata console:\
108 :uc:sp#0:
109
110l|lsi chess terminal:\
111 :sp#300:
112
113X|Xwindow|X window system:\
114 :fd@:nd@:cd@:rw:sp#9600:
115
116P|Pc|Pc console:\
117 :np:sp#9600:
118
119# 8 bit clean Sun console
120S|suncons|Sun Console:\
121 :np:sp#9600:
122
123#
124# Weirdo special case for fast crt's with hardcopy devices
125#
1268|T9600|CRT with hardcopy:\
127 :nx=T300:tc=9600-baud:
1289|T300|CRT with hardcopy (300):\
129 :nx=T9600:tc=300-baud:
130
131#
132# Plugboard, and misc other terminals
133#
134plug-9600|Plugboard-9600:\
135 :pf#1:tc=9600-baud:
136p|P9600|Plugboard-9600-rotary:\
137 :pf#1:nx=P300:tc=9600-baud:
138q|P300|Plugboard-300:\
139 :pf#1:nx=P1200:tc=300-baud:
140r|P1200|Plugboard-1200:\
141 :pf#1:nx=P9600:tc=1200-baud:
142
143#
144# XXXX Port selector
145#
146s|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#
154A|Auto-baud:\
155 :ab:sp#2400:i0#04000:o0#0:c0#045400:l0#0: