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