gettytab revision 646
1127474Stjr# from: @(#)gettytab 5.14 (Berkeley) 3/27/91 2127474Stjr# 3127474Stjr# Most of the table entries here are just copies of the old getty table, 4127474Stjr# it is by no means certain, or even likely, that any of them are optimal 5127474Stjr# for any purpose whatever. Nor is it likely that more than a couple are 6174990Sache# even correct. 7127474Stjr# 8127474Stjr# The default gettytab entry, used to set defaults for all other 9127474Stjr# entries, and in cases where getty is called with no table name 10127474Stjr# 11127474Stjr# cb, ce and ck are desirable on most crt's. The non-crt entries need to 12127474Stjr# be changed to turn them off (ce@:ce@:ck@:). 13127474Stjr# 14127474Stjr# Parity defaults to even. There ought to be more alternative entries with 15127474Stjr# no parity. The Pc entry already has no parity.. The different parities 16127474Stjr# are: 17127474Stjr# (none): same as even except -inpck instead of inpck for login. 18127474Stjr# ep: getty will use raw mode (cs8 -parenb) (unless rw is set) and 19127474Stjr# fake parity. login will use even parity (cs7 parenb -parodd). 20127474Stjr# op: same as ep except odd parity (cs7 parenb parodd) for login. 21174990Sache# op overrides ep. 22127474Stjr# ap: same as ep except -inpck instead of inpck for login. 23127474Stjr# ap overrides op and ep. 24127474Stjr# np: 1. don't fake parity in getty. The fake parity garbles 25127474Stjr# characters on non-terminals (like pccons) that don't 26127474Stjr# support parity. It would probably better for getty not to 27127474Stjr# try to fake parity. It could just use cbreak mode so as 28127474Stjr# as not to force cs8 and let the hardware handle the parity. 29127474Stjr# login has to be rely on the hardware anyway. 30127474Stjr# 2. set PASS8, giving cs8 -parenb -istrip -inpck. 31127474Stjr# np:ep: same as np except inpck. 32127474Stjr# np:op: same as np:ep except for parodd (but parodd is overridden). 33127474Stjr# np:ap: same as np except istrip. 34127474Stjr# 35127474Stjrdefault:\ 36174990Sache :cb:ce:ck:fd#1000:im=\r\n FreeBSD (%h) (%t)\r\n\r\n:sp#1200: 37127474Stjr 38127474Stjr# 39127474Stjr# Fixed speed entries 40127474Stjr# 41127474Stjr# The "std.NNN" names are known to the special case 42127474Stjr# portselector code in getty, however they can 43127474Stjr# be assigned to any table desired. 44127474Stjr# The "NNN-baud" names are known to the special case 45127474Stjr# autobaud code in getty, and likewise can 46174990Sache# be assigned to any table desired (hopefully the same speed). 47127474Stjr# 48127474Stjra|std.110|110-baud:\ 49127474Stjr :nd#1:cd#1:uc:sp#110: 50127474Stjrb|std.134|134.5-baud:\ 51127474Stjr :ep:nd#1:cd#2:ff#1:td#1:sp#134:ht:nl: 52127474Stjr1|std.150|150-baud:\ 53127474Stjr :ep:nd#1:cd#2:td#1:fd#1:sp#150:ht:nl:lm=\E\72\6\6\17login\72 : 54127474Stjrc|std.300|300-baud:\ 55127474Stjr :nd#1:cd#1:sp#300: 56127474Stjrd|std.600|600-baud:\ 57127474Stjr :nd#1:cd#1:sp#600: 58127474Stjrf|std.1200|1200-baud:\ 59127474Stjr :fd#1:sp#1200: 60127474Stjr6|std.2400|2400-baud:\ 61127474Stjr :sp#2400: 62127474Stjr7|std.4800|4800-baud:\ 63127474Stjr :sp#4800: 64127474Stjr2|std.9600|9600-baud:\ 65127474Stjr :sp#9600: 66127474Stjrg|std.19200|19200-baud:\ 67127474Stjr :sp#19200: 68127474Stjrstd.38400|38400-baud:\ 69127474Stjr :sp#38400: 70127474Stjrstd.57600|57600-baud:\ 71127474Stjr :sp#57600: 72127474Stjrstd.115200|115200-baud:\ 73127474Stjr :sp#115200: 74127474Stjr 75127474Stjr# 76127474Stjr# Dial in rotary tables, speed selection via 'break' 77127474Stjr# 78127474Stjr0|d300|Dial-300:\ 79127474Stjr :nx=d1200:cd#2:sp#300: 80174990Sached1200|Dial-1200:\ 81127474Stjr :nx=d150:fd#1:sp#1200: 82127474Stjrd150|Dial-150:\ 83127474Stjr :nx=d110:lm@:tc=150-baud: 84127474Stjrd110|Dial-110:\ 85127474Stjr :nx=d300:tc=300-baud: 86127474Stjr 87127474Stjr# 88127474Stjr# Fast dialup terminals, 2400/1200/300 rotary (can start either way) 89127474Stjr# 90127474StjrD2400|d2400|Fast-Dial-2400:\ 91127474Stjr :nx=D1200:tc=2400-baud: 92127474Stjr3|D1200|Fast-Dial-1200:\ 93127474Stjr :nx=D300:tc=1200-baud: 94127474Stjr5|D300|Fast-Dial-300:\ 95127474Stjr :nx=D2400:tc=300-baud: 96127474Stjr 97127474Stjr# 98127474Stjr#telebit (19200) 99127474Stjr# 100127474Stjrt19200:\ 101127474Stjr :nx=t2400:tc=19200-baud: 102127474Stjrt2400:\ 103 :nx=t1200:tc=2400-baud: 104t1200:\ 105 :nx=t19200:tc=1200-baud: 106 107# 108#telebit (9600) 109# 110t9600:\ 111 :nx=t2400a:tc=9600-baud: 112t2400a:\ 113 :nx=t1200a:tc=2400-baud: 114t1200a:\ 115 :nx=t9600:tc=1200-baud: 116 117# 118# Odd special case terminals 119# 120-|tty33|asr33|Pity the poor user of this beast:\ 121 :tc=110-baud: 122 1234|Console|Console Decwriter II:\ 124 :nd@:cd@:rw:tc=300-baud: 125 126e|Console-1200|Console Decwriter III:\ 127 :fd@:nd@:cd@:rw:tc=1200-baud: 128 129i|Interdata console:\ 130 :uc:sp#0: 131 132l|lsi chess terminal:\ 133 :sp#300: 134 135X|Xwindow|X window system:\ 136 :fd@:nd@:cd@:rw:sp#9600: 137 138P|Pc|Pc console:\ 139 :np:sp#115200: 140 141# 142# Wierdo special case for fast crt's with hardcopy devices 143# 1448|T9600|CRT with hardcopy:\ 145 :nx=T300:tc=9600-baud: 1469|T300|CRT with hardcopy (300):\ 147 :nx=T9600:tc=300-baud: 148 149# 150# Plugboard, and misc other terminals 151# 152plug-9600|Plugboard-9600:\ 153 :pf#1:tc=9600-baud: 154p|P9600|Plugboard-9600-rotary:\ 155 :pf#1:nx=P300:tc=9600-baud: 156q|P300|Plugboard-300:\ 157 :pf#1:nx=P1200:tc=300-baud: 158r|P1200|Plugboard-1200:\ 159 :pf#1:nx=P9600:tc=1200-baud: 160 161# 162# XXXX Port selector 163# 164s|DSW|Port Selector:\ 165 :ps:sp#2400: 166 167# 168# Auto-baud speed detect entry for Micom 600. 169# Special code in getty will switch this out 170# to one of the NNN-baud entries. 171# 172A|Auto-baud:\ 173 :ab:sp#2400:f0#040: 174