gettytab revision 1.16 1 1.16 thorpej # $NetBSD: gettytab,v 1.16 2001/11/10 18:49:13 thorpej Exp $
2 1.8 mikel # from: @(#)gettytab 8.2 (Berkeley) 4/20/94
3 1.1 cgd #
4 1.1 cgd # Most of the table entries here are just copies of the old getty table,
5 1.1 cgd # it is by no means certain, or even likely, that any of them are optimal
6 1.1 cgd # for any purpose whatever. Nor is it likely that more than a couple are
7 1.1 cgd # even correct.
8 1.1 cgd #
9 1.1 cgd # The default gettytab entry, used to set defaults for all other
10 1.1 cgd # entries, and in cases where getty is called with no table name
11 1.1 cgd #
12 1.1 cgd default:\
13 1.16 thorpej :ce:ck:np:im=\r\n%s/%m (%h) (%t)\r\n\r\n:
14 1.1 cgd
15 1.1 cgd #
16 1.1 cgd # Fixed speed entries
17 1.1 cgd #
18 1.1 cgd # The "std.NNN" names are known to the special case
19 1.1 cgd # portselector code in getty, however they can
20 1.1 cgd # be assigned to any table desired.
21 1.1 cgd # The "NNN-baud" names are known to the special case
22 1.1 cgd # autobaud code in getty, and likewise can
23 1.1 cgd # be assigned to any table desired (hopefully the same speed).
24 1.1 cgd #
25 1.10 perry std.110|110-baud:\
26 1.10 perry :sp#110:
27 1.10 perry std.300|300-baud:\
28 1.10 perry :sp#300:
29 1.10 perry std.600|600-baud:\
30 1.10 perry :sp#600:
31 1.10 perry std.1200|1200-baud:\
32 1.10 perry :sp#1200:
33 1.10 perry std.2400|2400-baud:\
34 1.1 cgd :sp#2400:
35 1.10 perry std.4800|4800-baud:\
36 1.1 cgd :sp#4800:
37 1.10 perry std.9600|9600-baud:\
38 1.1 cgd :sp#9600:
39 1.10 perry std.19200|19200-baud:\
40 1.1 cgd :sp#19200:
41 1.3 mycroft std.38400|38400-baud:\
42 1.3 mycroft :sp#38400:
43 1.3 mycroft std.57600|57600-baud:\
44 1.3 mycroft :sp#57600:
45 1.3 mycroft std.115200|115200-baud:\
46 1.3 mycroft :sp#115200:
47 1.12 fair
48 1.12 fair # PPP network link login
49 1.12 fair #
50 1.12 fair # these entries can be used by ISPs or others who want to be able
51 1.12 fair # to offer both a "shell" and a PPP login on the same port. Setting
52 1.12 fair # the "pp" attribute allows getty(8) to recognize a PPP link start
53 1.12 fair # negotiation, and invoke the program listed, in addition to normal
54 1.12 fair # login(1).
55 1.12 fair #
56 1.12 fair # N.B.: if PPP is recognized, this bypasses normal login/password
57 1.12 fair # exchange; the expectation is that you'll configure pppd (or whatever)
58 1.12 fair # to require a PAP or CHAP handshake for authentication after PPP is
59 1.12 fair # started up.
60 1.12 fair #
61 1.12 fair # It is also recommended that you use hardware (CTS/RTS) flow control
62 1.12 fair # on the port, and run the port as fast as possible, to allow modems
63 1.12 fair # extra time to do data compression, if enabled.
64 1.12 fair #
65 1.12 fair ppp:np:ce:ck:pp=/usr/sbin/pppd:
66 1.12 fair #
67 1.12 fair ppp.19200|PPP-19200:sp#19200:tc=ppp:
68 1.12 fair ppp.38400|PPP-38400:sp#38400:tc=ppp:
69 1.12 fair ppp.57600|PPP-57600:sp#57600:tc=ppp:
70 1.12 fair ppp.115200|PPP-115200:sp#115200:tc=ppp:
71 1.12 fair ppp.230400|PPP-230400:sp#230400:tc=ppp:
72 1.1 cgd
73 1.1 cgd #
74 1.1 cgd # Dial in rotary tables, speed selection via 'break'
75 1.1 cgd #
76 1.1 cgd d1200|Dial-1200:\
77 1.10 perry :nx=d300:sp#1200:
78 1.10 perry d300|Dial-300:\
79 1.10 perry :nx=d1200:sp#300:
80 1.1 cgd
81 1.1 cgd #
82 1.1 cgd # Fast dialup terminals, 2400/1200/300 rotary (can start either way)
83 1.1 cgd #
84 1.1 cgd D2400|d2400|Fast-Dial-2400:\
85 1.1 cgd :nx=D1200:tc=2400-baud:
86 1.10 perry D1200|Fast-Dial-1200:\
87 1.1 cgd :nx=D300:tc=1200-baud:
88 1.10 perry D300|Fast-Dial-300:\
89 1.1 cgd :nx=D2400:tc=300-baud:
90 1.1 cgd
91 1.1 cgd #
92 1.1 cgd #telebit (19200)
93 1.1 cgd #
94 1.1 cgd t19200:\
95 1.1 cgd :nx=t2400:tc=19200-baud:
96 1.1 cgd t2400:\
97 1.1 cgd :nx=t1200:tc=2400-baud:
98 1.1 cgd t1200:\
99 1.1 cgd :nx=t19200:tc=1200-baud:
100 1.1 cgd
101 1.1 cgd #
102 1.1 cgd #telebit (9600)
103 1.1 cgd #
104 1.1 cgd t9600:\
105 1.1 cgd :nx=t2400a:tc=19200-baud:
106 1.1 cgd t2400a:\
107 1.1 cgd :nx=t1200a:tc=2400-baud:
108 1.1 cgd t1200a:\
109 1.1 cgd :nx=t9600:tc=1200-baud:
110 1.1 cgd
111 1.1 cgd #
112 1.1 cgd # Odd special case terminals
113 1.1 cgd #
114 1.10 perry Console|Console Decwriter II:\
115 1.10 perry :rw:tc=300-baud:
116 1.1 cgd
117 1.10 perry Console-1200|Console Decwriter III:\
118 1.10 perry :rw:tc=1200-baud:
119 1.1 cgd
120 1.1 cgd X|Xwindow|X window system:\
121 1.10 perry :rw:sp#9600:
122 1.1 cgd
123 1.10 perry Pc|Pc console:\
124 1.15 drochner :np:sp#9600:ig:
125 1.6 pk
126 1.6 pk # 8 bit clean Sun console
127 1.10 perry suncons|Sun Console:\
128 1.6 pk :np:sp#9600:
129 1.1 cgd
130 1.1 cgd #
131 1.1 cgd # Plugboard, and misc other terminals
132 1.1 cgd #
133 1.1 cgd plug-9600|Plugboard-9600:\
134 1.1 cgd :pf#1:tc=9600-baud:
135 1.10 perry P9600|Plugboard-9600-rotary:\
136 1.1 cgd :pf#1:nx=P300:tc=9600-baud:
137 1.10 perry P300|Plugboard-300:\
138 1.1 cgd :pf#1:nx=P1200:tc=300-baud:
139 1.10 perry P1200|Plugboard-1200:\
140 1.1 cgd :pf#1:nx=P9600:tc=1200-baud:
141 1.1 cgd
142 1.1 cgd #
143 1.1 cgd # XXXX Port selector
144 1.1 cgd #
145 1.10 perry DSW|Port Selector:\
146 1.1 cgd :ps:sp#2400:
147 1.1 cgd
148 1.1 cgd #
149 1.1 cgd # Auto-baud speed detect entry for Micom 600.
150 1.1 cgd # Special code in getty will switch this out
151 1.1 cgd # to one of the NNN-baud entries.
152 1.1 cgd #
153 1.10 perry Auto-baud:\
154 1.1 cgd :ab:sp#2400:f0#040:
155