1# from: @(#)gettytab 5.14 (Berkeley) 3/27/91 2# 3# Most of the table entries here are just copies of the old getty table, 4# it is by no means certain, or even likely, that any of them are optimal 5# for any purpose whatever. Nor is it likely that more than a couple are 6# even correct. 7# 8# The default gettytab entry, used to set defaults for all other 9# entries, and in cases where getty is called with no table name. 10# 11# cb, ce and ck are desirable on most crt's. The non-crt entries need to 12# be changed to turn them off (:cb@:ce@:ck@:). 13# 14# lc should always be on; it's a remainder of some stone age when there 15# have been terminals around not being able of handling lower-case 16# characters. Those terminals aren't supported any longer, but getty is 17# `smart' about them by default. 18# 19# Parity defaults to even, but the Pc entry and all the `std' entries 20# specify no parity. The different parities are: 21# (none): same as even except -inpck instead of inpck for login. 22# ep: getty will use raw mode (cs8 -parenb) (unless rw is set) and 23# fake parity. login will use even parity (cs7 parenb -parodd). 24# op: same as ep except odd parity (cs7 parenb parodd) for login. 25# op overrides ep. 26# ap: same as ep except -inpck instead of inpck for login. 27# ap overrides op and ep. 28# np: 1. don't fake parity in getty. The fake parity garbles 29# characters on non-terminals (like pccons) that don't 30# support parity. It would probably better for getty not to 31# try to fake parity. It could just use cbreak mode so as 32# not to force cs8 and let the hardware handle the parity. 33# login has to be rely on the hardware anyway. 34# 2. set PASS8, giving cs8 -parenb -istrip -inpck. 35# np:ep: same as np except inpck. 36# np:op: same as np:ep except for parodd (but parodd is overridden). 37# np:ap: same as np except istrip. 38# 39default:\ 40 :cb:ce:ck:lc:fd#1000:im=\r\nDarwin/BSD (%h) (%t)\r\n\r\n:sp#1200: 41 42# 43# Fixed speed entries 44# 45# The "std.NNN" names are known to the special case 46# portselector code in getty, however they can 47# be assigned to any table desired. 48# The "NNN-baud" names are known to the special case 49# autobaud code in getty, and likewise can 50# be assigned to any table desired (hopefully the same speed). 51# 52a|std.110|110-baud:\ 53 :np:nd#1:cd#1:uc:sp#110: 54b|std.134|134.5-baud:\ 55 :np:nd#1:cd#2:ff#1:td#1:sp#134:ht:nl: 561|std.150|150-baud:\ 57 :np:nd#1:cd#2:td#1:fd#1:sp#150:ht:nl:lm=\E\72\6\6\17login\72 : 58c|std.300|300-baud:\ 59 :np:nd#1:cd#1:sp#300: 60d|std.600|600-baud:\ 61 :np:nd#1:cd#1:sp#600: 62f|std.1200|1200-baud:\ 63 :np:fd#1:sp#1200: 646|std.2400|2400-baud:\ 65 :np:sp#2400: 667|std.4800|4800-baud:\ 67 :np:sp#4800: 682|std.9600|9600-baud:\ 69 :np:sp#9600: 70g|std.19200|19200-baud:\ 71 :np:sp#19200: 72std.38400|38400-baud:\ 73 :np:sp#38400: 74std.57600|57600-baud:\ 75 :np:sp#57600: 76std.115200|115200-baud:\ 77 :np:sp#115200: 78 79# 80# Entry specifying explicit device settings. See termios(4) and 81# /usr/include/termios.h, too. The entry forces the tty into 82# CLOCAL mode (so no DCD is required), and uses Xon/Xoff flow control. 83# 84# cflags: CLOCAL | HUPCL | CREAD | CS8 85# oflags: OPOST | ONLCR | OXTABS 86# iflags: IXOFF | IXON | ICRNL | IGNPAR 87# lflags: IEXTEN | ICANON | ISIG | ECHOCTL | ECHO | ECHOK | ECHOE | ECHOKE 88# 89# The `0' flags don't have input enabled. The `1' flags don't echo. 90# (Echoing is done inside getty itself.) 91# 92local.9600|CLOCAL tty @ 9600 Bd:\ 93 :c0#0x0000c300:c1#0x0000cb00:c2#0x0000cb00:\ 94 :o0#0x00000007:o1#0x00000002:o2#0x00000007:\ 95 :i0#0x00000704:i1#0x00000000:i2#0x00000704:\ 96 :l0#0x000005cf:l1#0x00000000:l2#0x000005cf:\ 97 :sp#9600: 98 99# For XServe 100serial.9600|serial db9 port:\ 101 :c2#0x00004b00:i2#0x00000704:l2#0x000005cf:o2#0x00000007:\ 102 :np:sp#9600: 103serial.57600|serial db9 port:\ 104 :c2#0x00004b00:i2#0x00000704:l2#0x000005cf:o2#0x00000007:\ 105 :np:sp#57600: 106 107# 108# Dial in rotary tables, speed selection via 'break' 109# 1100|d300|Dial-300:\ 111 :nx=d1200:cd#2:sp#300: 112d1200|Dial-1200:\ 113 :nx=d150:fd#1:sp#1200: 114d150|Dial-150:\ 115 :nx=d110:lm@:tc=150-baud: 116d110|Dial-110:\ 117 :nx=d300:tc=300-baud: 118 119# 120# Fast dialup terminals, 2400/1200/300 rotary (can start either way) 121# 122D2400|d2400|Fast-Dial-2400:\ 123 :nx=D1200:tc=2400-baud: 1243|D1200|Fast-Dial-1200:\ 125 :nx=D300:tc=1200-baud: 1265|D300|Fast-Dial-300:\ 127 :nx=D2400:tc=300-baud: 128 129# 130#telebit (19200) 131# 132t19200:\ 133 :nx=t2400:tc=19200-baud: 134t2400:\ 135 :nx=t1200:tc=2400-baud: 136t1200:\ 137 :nx=t19200:tc=1200-baud: 138 139# 140#telebit (9600) 141# 142t9600:\ 143 :nx=t2400a:tc=9600-baud: 144t2400a:\ 145 :nx=t1200a:tc=2400-baud: 146t1200a:\ 147 :nx=t9600:tc=1200-baud: 148 149# 150# Odd special case terminals 151# 152-|tty33|asr33|Pity the poor user of this beast:\ 153 :tc=110-baud: 154 1554|Console|Console Decwriter II:\ 156 :nd@:cd@:rw:tc=300-baud: 157 158e|Console-1200|Console Decwriter III:\ 159 :fd@:nd@:cd@:rw:tc=1200-baud: 160 161i|Interdata console:\ 162 :uc:sp#0: 163 164l|lsi chess terminal:\ 165 :sp#300: 166 167X|Xwindow|X window system:\ 168 :fd@:nd@:cd@:rw:sp#9600: 169 170P|Pc|Pc console:\ 171 :ht:np:sp#115200: 172 173# 174# Wierdo special case for fast crt's with hardcopy devices 175# 1768|T9600|CRT with hardcopy:\ 177 :nx=T300:tc=9600-baud: 1789|T300|CRT with hardcopy (300):\ 179 :nx=T9600:tc=300-baud: 180 181# 182# Plugboard, and misc other terminals 183# 184plug-9600|Plugboard-9600:\ 185 :pf#1:tc=9600-baud: 186p|P9600|Plugboard-9600-rotary:\ 187 :pf#1:nx=P300:tc=9600-baud: 188q|P300|Plugboard-300:\ 189 :pf#1:nx=P1200:tc=300-baud: 190r|P1200|Plugboard-1200:\ 191 :pf#1:nx=P9600:tc=1200-baud: 192 193# 194# XXXX Port selector 195# 196s|DSW|Port Selector:\ 197 :ps:sp#2400: 198 199# 200# Auto-baud speed detect entry for Micom 600. 201# Special code in getty will switch this out 202# to one of the NNN-baud entries. 203# 204A|Auto-baud:\ 205 :ab:sp#2400:f0#040: 206