gettytab revision 157658
150472Speter# $FreeBSD: head/etc/gettytab 157658 2006-04-11 09:54:23Z des $ 237Srgrimes# from: @(#)gettytab 5.14 (Berkeley) 3/27/91 337Srgrimes# 437Srgrimes# Most of the table entries here are just copies of the old getty table, 537Srgrimes# it is by no means certain, or even likely, that any of them are optimal 637Srgrimes# for any purpose whatever. Nor is it likely that more than a couple are 737Srgrimes# even correct. 837Srgrimes# 937Srgrimes# The default gettytab entry, used to set defaults for all other 109306Sbde# entries, and in cases where getty is called with no table name. 1137Srgrimes# 12646Sdg# cb, ce and ck are desirable on most crt's. The non-crt entries need to 139306Sbde# be changed to turn them off (:cb@:ce@:ck@:). 14646Sdg# 156489Sjoerg# lc should always be on; it's a remainder of some stone age when there 166489Sjoerg# have been terminals around not being able of handling lower-case 176489Sjoerg# characters. Those terminals aren't supported any longer, but getty is 186489Sjoerg# `smart' about them by default. 196489Sjoerg# 209306Sbde# Parity defaults to even, but the Pc entry and all the `std' entries 219306Sbde# specify no parity. The different parities are: 22119915Syar# (none): same as ep for getty. login will use terminal as is. 23646Sdg# ep: getty will use raw mode (cs8 -parenb) (unless rw is set) and 24646Sdg# fake parity. login will use even parity (cs7 parenb -parodd). 25646Sdg# op: same as ep except odd parity (cs7 parenb parodd) for login. 26119915Syar# getty will fake odd parity as well. 27646Sdg# ap: same as ep except -inpck instead of inpck for login. 28646Sdg# ap overrides op and ep. 29646Sdg# np: 1. don't fake parity in getty. The fake parity garbles 30646Sdg# characters on non-terminals (like pccons) that don't 31646Sdg# support parity. It would probably better for getty not to 32646Sdg# try to fake parity. It could just use cbreak mode so as 336489Sjoerg# not to force cs8 and let the hardware handle the parity. 34646Sdg# login has to be rely on the hardware anyway. 35119915Syar# 2. set cs8 -parenb -istrip -inpck. 36119915Syar# ep:op: same as ap. 37646Sdg# 3837Srgrimesdefault:\ 3970164Sphk :cb:ce:ck:lc:fd#1000:im=\r\n%s/%m (%h) (%t)\r\n\r\n:sp#1200:\ 4070164Sphk :if=/etc/issue: 4137Srgrimes 4237Srgrimes# 4337Srgrimes# Fixed speed entries 4437Srgrimes# 4537Srgrimes# The "std.NNN" names are known to the special case 4637Srgrimes# portselector code in getty, however they can 4737Srgrimes# be assigned to any table desired. 4837Srgrimes# The "NNN-baud" names are known to the special case 4937Srgrimes# autobaud code in getty, and likewise can 5037Srgrimes# be assigned to any table desired (hopefully the same speed). 5137Srgrimes# 5237Srgrimesa|std.110|110-baud:\ 53862Sache :np:nd#1:cd#1:uc:sp#110: 5437Srgrimesb|std.134|134.5-baud:\ 55862Sache :np:nd#1:cd#2:ff#1:td#1:sp#134:ht:nl: 5637Srgrimes1|std.150|150-baud:\ 57862Sache :np:nd#1:cd#2:td#1:fd#1:sp#150:ht:nl:lm=\E\72\6\6\17login\72 : 5837Srgrimesc|std.300|300-baud:\ 59862Sache :np:nd#1:cd#1:sp#300: 6037Srgrimesd|std.600|600-baud:\ 61862Sache :np:nd#1:cd#1:sp#600: 6237Srgrimesf|std.1200|1200-baud:\ 63862Sache :np:fd#1:sp#1200: 6437Srgrimes6|std.2400|2400-baud:\ 65862Sache :np:sp#2400: 6637Srgrimes7|std.4800|4800-baud:\ 67862Sache :np:sp#4800: 6837Srgrimes2|std.9600|9600-baud:\ 69862Sache :np:sp#9600: 7037Srgrimesg|std.19200|19200-baud:\ 71862Sache :np:sp#19200: 72154Srgrimesstd.38400|38400-baud:\ 73862Sache :np:sp#38400: 74154Srgrimesstd.57600|57600-baud:\ 75862Sache :np:sp#57600: 76154Srgrimesstd.115200|115200-baud:\ 77862Sache :np:sp#115200: 7837818Sphkstd.230400|230400-baud:\ 7937818Sphk :np:sp#230400: 8037Srgrimes 8137Srgrimes# 8229610Sjoerg# Entry specifying explicit device settings. See termios(4) and 8329610Sjoerg# /usr/include/termios.h, too. The entry forces the tty into 8429610Sjoerg# CLOCAL mode (so no DCD is required), and uses Xon/Xoff flow control. 8529610Sjoerg# 8629610Sjoerg# cflags: CLOCAL | HUPCL | CREAD | CS8 8729610Sjoerg# oflags: OPOST | ONLCR | OXTABS 8829610Sjoerg# iflags: IXOFF | IXON | ICRNL | IGNPAR 8929610Sjoerg# lflags: IEXTEN | ICANON | ISIG | ECHOCTL | ECHO | ECHOK | ECHOE | ECHOKE 9029610Sjoerg# 9129610Sjoerg# The `0' flags don't have input enabled. The `1' flags don't echo. 9229610Sjoerg# (Echoing is done inside getty itself.) 9329610Sjoerg# 9429610Sjoerglocal.9600|CLOCAL tty @ 9600 Bd:\ 9529610Sjoerg :c0#0x0000c300:c1#0x0000cb00:c2#0x0000cb00:\ 9629610Sjoerg :o0#0x00000007:o1#0x00000002:o2#0x00000007:\ 9729610Sjoerg :i0#0x00000704:i1#0x00000000:i2#0x00000704:\ 9829610Sjoerg :l0#0x000005cf:l1#0x00000000:l2#0x000005cf:\ 9929610Sjoerg :sp#9600: 10029610Sjoerg 10129610Sjoerg# 10237Srgrimes# Dial in rotary tables, speed selection via 'break' 10337Srgrimes# 10437Srgrimes0|d300|Dial-300:\ 10537Srgrimes :nx=d1200:cd#2:sp#300: 10637Srgrimesd1200|Dial-1200:\ 10737Srgrimes :nx=d150:fd#1:sp#1200: 10837Srgrimesd150|Dial-150:\ 10937Srgrimes :nx=d110:lm@:tc=150-baud: 11037Srgrimesd110|Dial-110:\ 11137Srgrimes :nx=d300:tc=300-baud: 11237Srgrimes 11337Srgrimes# 11437Srgrimes# Fast dialup terminals, 2400/1200/300 rotary (can start either way) 11537Srgrimes# 11637SrgrimesD2400|d2400|Fast-Dial-2400:\ 11737Srgrimes :nx=D1200:tc=2400-baud: 11837Srgrimes3|D1200|Fast-Dial-1200:\ 11937Srgrimes :nx=D300:tc=1200-baud: 12037Srgrimes5|D300|Fast-Dial-300:\ 12137Srgrimes :nx=D2400:tc=300-baud: 12237Srgrimes 12337Srgrimes# 12437Srgrimes#telebit (19200) 12537Srgrimes# 12637Srgrimest19200:\ 12737Srgrimes :nx=t2400:tc=19200-baud: 12837Srgrimest2400:\ 12937Srgrimes :nx=t1200:tc=2400-baud: 13037Srgrimest1200:\ 13137Srgrimes :nx=t19200:tc=1200-baud: 13237Srgrimes 13337Srgrimes# 13437Srgrimes#telebit (9600) 13537Srgrimes# 13637Srgrimest9600:\ 137289Srgrimes :nx=t2400a:tc=9600-baud: 13837Srgrimest2400a:\ 13937Srgrimes :nx=t1200a:tc=2400-baud: 14037Srgrimest1200a:\ 14137Srgrimes :nx=t9600:tc=1200-baud: 14237Srgrimes 14337Srgrimes# 14437Srgrimes# Odd special case terminals 14537Srgrimes# 14637Srgrimes-|tty33|asr33|Pity the poor user of this beast:\ 14737Srgrimes :tc=110-baud: 14837Srgrimes 14937Srgrimes4|Console|Console Decwriter II:\ 15037Srgrimes :nd@:cd@:rw:tc=300-baud: 15137Srgrimes 15237Srgrimese|Console-1200|Console Decwriter III:\ 15337Srgrimes :fd@:nd@:cd@:rw:tc=1200-baud: 15437Srgrimes 15537Srgrimesi|Interdata console:\ 15637Srgrimes :uc:sp#0: 15737Srgrimes 15837Srgrimesl|lsi chess terminal:\ 15937Srgrimes :sp#300: 16037Srgrimes 16137SrgrimesX|Xwindow|X window system:\ 16237Srgrimes :fd@:nd@:cd@:rw:sp#9600: 16337Srgrimes 16437SrgrimesP|Pc|Pc console:\ 1651096Sache :ht:np:sp#115200: 16637Srgrimes 16737Srgrimes# 16837Srgrimes# Wierdo special case for fast crt's with hardcopy devices 16937Srgrimes# 17037Srgrimes8|T9600|CRT with hardcopy:\ 17137Srgrimes :nx=T300:tc=9600-baud: 17237Srgrimes9|T300|CRT with hardcopy (300):\ 17337Srgrimes :nx=T9600:tc=300-baud: 17437Srgrimes 17537Srgrimes# 17637Srgrimes# Plugboard, and misc other terminals 17737Srgrimes# 17837Srgrimesplug-9600|Plugboard-9600:\ 17937Srgrimes :pf#1:tc=9600-baud: 18037Srgrimesp|P9600|Plugboard-9600-rotary:\ 18137Srgrimes :pf#1:nx=P300:tc=9600-baud: 18237Srgrimesq|P300|Plugboard-300:\ 18337Srgrimes :pf#1:nx=P1200:tc=300-baud: 18437Srgrimesr|P1200|Plugboard-1200:\ 18537Srgrimes :pf#1:nx=P9600:tc=1200-baud: 18637Srgrimes 18737Srgrimes# 18837Srgrimes# XXXX Port selector 18937Srgrimes# 19037Srgrimess|DSW|Port Selector:\ 19137Srgrimes :ps:sp#2400: 19237Srgrimes 19337Srgrimes# 19437Srgrimes# Auto-baud speed detect entry for Micom 600. 19537Srgrimes# Special code in getty will switch this out 19637Srgrimes# to one of the NNN-baud entries. 19737Srgrimes# 19837SrgrimesA|Auto-baud:\ 19937Srgrimes :ab:sp#2400:f0#040: 20061513Sphk 20161513Sphk# 20261513Sphk# autologin - automatically log in as root 20361513Sphk# 20461513Sphk 20561513Sphkautologin|al.9600:\ 20661513Sphk :al=root:tc=std.9600: 207157658Sdesal.19200:\ 208157658Sdes :al=root:tc=std.19200: 209157658Sdesal.38400:\ 210157658Sdes :al=root:tc=std.38400: 211157658Sdesal.57600:\ 212157658Sdes :al=root:tc=std.57600: 213157658Sdesal.115200:\ 214157658Sdes :al=root:tc=std.115200: 215157658Sdesal.230400:\ 216157658Sdes :al=root:tc=std.230400: 21782700Smurray 218130151Sschweikh# 21982700Smurray# Entries for 3-wire serial terminals. These don't supply carrier, so 22082700Smurray# clocal needs to be set, and crtscts needs to be unset. 22182700Smurray# 22282700Smurray3wire.9600|9600-3wire:\ 22382700Smurray :np:nc:sp#9600: 224154685Smatteo3wire.19200|19200-3wire:\ 225154685Smatteo :np:nc:sp#19200: 22682700Smurray3wire.38400|38400-3wire:\ 22782700Smurray :np:nc:sp#38400: 22882700Smurray3wire.57600|57600-3wire:\ 22982700Smurray :np:nc:sp#57600: 23082700Smurray3wire.115200|115200-3wire:\ 23182700Smurray :np:nc:sp#115200: 23282700Smurray3wire.230400|230400-3wire:\ 23382700Smurray :np:nc:sp#230400: 234