xref: /netbsd-src/etc/gettytab (revision f5d380b30daff36a4b9be8efc2c91a715091bde2)
1*f5d380b3Sdsl#	$NetBSD: gettytab,v 1.18 2006/01/08 22:23:46 dsl Exp $
2ef538c31Smikel#	from: @(#)gettytab	8.2 (Berkeley) 4/20/94
361f28255Scgd#
461f28255Scgd# Most of the table entries here are just copies of the old getty table,
561f28255Scgd# it is by no means certain, or even likely, that any of them are optimal
661f28255Scgd# for any purpose whatever.  Nor is it likely that more than a couple are
761f28255Scgd# even correct.
861f28255Scgd#
961f28255Scgd# The default gettytab entry, used to set defaults for all other
1061f28255Scgd# entries, and in cases where getty is called with no table name
1161f28255Scgd#
1261f28255Scgddefault:\
13bc4df2b9Sthorpej	:ce:ck:np:im=\r\n%s/%m (%h) (%t)\r\n\r\n:
1461f28255Scgd
1561f28255Scgd#
1661f28255Scgd# Fixed speed entries
1761f28255Scgd#
1861f28255Scgd#	The "std.NNN" names are known to the special case
1961f28255Scgd#	portselector code in getty, however they can
2061f28255Scgd#	be assigned to any table desired.
2161f28255Scgd#	The "NNN-baud" names are known to the special case
2261f28255Scgd#	autobaud code in getty, and likewise can
2361f28255Scgd#	be assigned to any table desired (hopefully the same speed).
2461f28255Scgd#
25ea4d1dedSperrystd.110|110-baud:\
26ea4d1dedSperry	:sp#110:
27ea4d1dedSperrystd.300|300-baud:\
28ea4d1dedSperry	:sp#300:
29ea4d1dedSperrystd.600|600-baud:\
30ea4d1dedSperry	:sp#600:
31ea4d1dedSperrystd.1200|1200-baud:\
32ea4d1dedSperry	:sp#1200:
33ea4d1dedSperrystd.2400|2400-baud:\
3461f28255Scgd	:sp#2400:
35ea4d1dedSperrystd.4800|4800-baud:\
3661f28255Scgd	:sp#4800:
37ea4d1dedSperrystd.9600|9600-baud:\
3861f28255Scgd	:sp#9600:
39ea4d1dedSperrystd.19200|19200-baud:\
4061f28255Scgd	:sp#19200:
4162906a0dSmycroftstd.38400|38400-baud:\
4262906a0dSmycroft	:sp#38400:
4362906a0dSmycroftstd.57600|57600-baud:\
4462906a0dSmycroft	:sp#57600:
4562906a0dSmycroftstd.115200|115200-baud:\
4662906a0dSmycroft	:sp#115200:
4761f28255Scgd
48f81e3fe5Sfair# PPP network link login
49f81e3fe5Sfair#
50f81e3fe5Sfair# these entries can be used by ISPs or others who want to be able
51f81e3fe5Sfair# to offer both a "shell" and a PPP login on the same port. Setting
52f81e3fe5Sfair# the "pp" attribute allows getty(8) to recognize a PPP link start
53f81e3fe5Sfair# negotiation, and invoke the program listed, in addition to normal
54f81e3fe5Sfair# login(1).
55f81e3fe5Sfair#
56f81e3fe5Sfair# N.B.: if PPP is recognized, this bypasses normal login/password
57f81e3fe5Sfair# exchange; the expectation is that you'll configure pppd (or whatever)
58f81e3fe5Sfair# to require a PAP or CHAP handshake for authentication after PPP is
59f81e3fe5Sfair# started up.
60f81e3fe5Sfair#
61f81e3fe5Sfair# It is also recommended that you use hardware (CTS/RTS) flow control
62f81e3fe5Sfair# on the port, and run the port as fast as possible, to allow modems
63f81e3fe5Sfair# extra time to do data compression, if enabled.
64f81e3fe5Sfair#
65f81e3fe5Sfairppp:np:ce:ck:pp=/usr/sbin/pppd:
66f81e3fe5Sfair#
67f81e3fe5Sfairppp.19200|PPP-19200:sp#19200:tc=ppp:
68f81e3fe5Sfairppp.38400|PPP-38400:sp#38400:tc=ppp:
69f81e3fe5Sfairppp.57600|PPP-57600:sp#57600:tc=ppp:
70f81e3fe5Sfairppp.115200|PPP-115200:sp#115200:tc=ppp:
71f81e3fe5Sfairppp.230400|PPP-230400:sp#230400:tc=ppp:
72f81e3fe5Sfair
7361f28255Scgd#
7461f28255Scgd# Dial in rotary tables, speed selection via 'break'
7561f28255Scgd#
7661f28255Scgdd1200|Dial-1200:\
77ea4d1dedSperry	:nx=d300:sp#1200:
78ea4d1dedSperryd300|Dial-300:\
79ea4d1dedSperry	:nx=d1200:sp#300:
8061f28255Scgd
8161f28255Scgd#
8261f28255Scgd# Fast dialup terminals, 2400/1200/300 rotary (can start either way)
8361f28255Scgd#
8461f28255ScgdD2400|d2400|Fast-Dial-2400:\
8561f28255Scgd	:nx=D1200:tc=2400-baud:
86ea4d1dedSperryD1200|Fast-Dial-1200:\
8761f28255Scgd	:nx=D300:tc=1200-baud:
88ea4d1dedSperryD300|Fast-Dial-300:\
8961f28255Scgd	:nx=D2400:tc=300-baud:
9061f28255Scgd
9161f28255Scgd#
9261f28255Scgd#telebit (19200)
9361f28255Scgd#
9461f28255Scgdt19200:\
9561f28255Scgd	:nx=t2400:tc=19200-baud:
9661f28255Scgdt2400:\
9761f28255Scgd	:nx=t1200:tc=2400-baud:
9861f28255Scgdt1200:\
9961f28255Scgd	:nx=t19200:tc=1200-baud:
10061f28255Scgd
10161f28255Scgd#
10261f28255Scgd#telebit (9600)
10361f28255Scgd#
10461f28255Scgdt9600:\
10561f28255Scgd	:nx=t2400a:tc=19200-baud:
10661f28255Scgdt2400a:\
10761f28255Scgd	:nx=t1200a:tc=2400-baud:
10861f28255Scgdt1200a:\
10961f28255Scgd	:nx=t9600:tc=1200-baud:
11061f28255Scgd
11161f28255Scgd#
11261f28255Scgd# Odd special case terminals
11361f28255Scgd#
114ea4d1dedSperryConsole|Console Decwriter II:\
115ea4d1dedSperry	:rw:tc=300-baud:
11661f28255Scgd
117ea4d1dedSperryConsole-1200|Console Decwriter III:\
118ea4d1dedSperry	:rw:tc=1200-baud:
11961f28255Scgd
12061f28255ScgdX|Xwindow|X window system:\
121ea4d1dedSperry	:rw:sp#9600:
12261f28255Scgd
123ea4d1dedSperryPc|Pc console:\
124*f5d380b3Sdsl	:np:ig:ht:
12561f28255Scgd
12681baae13Spk# 8 bit clean Sun console
127ea4d1dedSperrysuncons|Sun Console:\
12881baae13Spk	:np:sp#9600:
12981baae13Spk
13061f28255Scgd#
13161f28255Scgd# Plugboard, and misc other terminals
13261f28255Scgd#
13361f28255Scgdplug-9600|Plugboard-9600:\
13461f28255Scgd	:pf#1:tc=9600-baud:
135ea4d1dedSperryP9600|Plugboard-9600-rotary:\
13661f28255Scgd	:pf#1:nx=P300:tc=9600-baud:
137ea4d1dedSperryP300|Plugboard-300:\
13861f28255Scgd	:pf#1:nx=P1200:tc=300-baud:
139ea4d1dedSperryP1200|Plugboard-1200:\
14061f28255Scgd	:pf#1:nx=P9600:tc=1200-baud:
14161f28255Scgd
14261f28255Scgd#
14361f28255Scgd# XXXX Port selector
14461f28255Scgd#
145ea4d1dedSperryDSW|Port Selector:\
14661f28255Scgd	:ps:sp#2400:
14761f28255Scgd
14861f28255Scgd#
14961f28255Scgd# Auto-baud speed detect entry for Micom 600.
15061f28255Scgd# Special code in getty will switch this out
15161f28255Scgd# to one of the NNN-baud entries.
15261f28255Scgd#
153ea4d1dedSperryAuto-baud:\
15461f28255Scgd	:ab:sp#2400:f0#040:
155