| 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 | # Parity defaults to even. There ought to be more alternative entries with |
| 15 | # no parity. The Pc entry already has no parity.. The different parities |
| 16 | # are: |
| 17 | # (none): same as even except -inpck instead of inpck for login. |
| 18 | # ep: getty will use raw mode (cs8 -parenb) (unless rw is set) and |
| 19 | # fake parity. login will use even parity (cs7 parenb -parodd). |
| 20 | # op: same as ep except odd parity (cs7 parenb parodd) for login. |
| 21 | # op overrides ep. |
| 22 | # ap: same as ep except -inpck instead of inpck for login. |
| 23 | # ap overrides op and ep. |
| 24 | # np: 1. don't fake parity in getty. The fake parity garbles |
| 25 | # characters on non-terminals (like pccons) that don't |
| 26 | # support parity. It would probably better for getty not to |
| 27 | # try to fake parity. It could just use cbreak mode so as |
| 28 | # as not to force cs8 and let the hardware handle the parity. |
| 29 | # login has to be rely on the hardware anyway. |
| 30 | # 2. set PASS8, giving cs8 -parenb -istrip -inpck. |
| 31 | # np:ep: same as np except inpck. |
| 32 | # np:op: same as np:ep except for parodd (but parodd is overridden). |
| 33 | # np:ap: same as np except istrip. |
| 34 | # |
| 35 | default:\ |
| 36 | :cb:ce:ck:fd#1000:im=\r\n FreeBSD (%h) (%t)\r\n\r\n:sp#1200: |
| 37 | |
| 38 | # |
| 39 | # Fixed speed entries |
| 40 | # |
| 41 | # The "std.NNN" names are known to the special case |
| 42 | # portselector code in getty, however they can |
| 43 | # be assigned to any table desired. |
| 44 | # The "NNN-baud" names are known to the special case |
| 45 | # autobaud code in getty, and likewise can |
| 46 | # be assigned to any table desired (hopefully the same speed). |
| 47 | # |
| 48 | a|std.110|110-baud:\ |
| 49 | :np:nd#1:cd#1:uc:sp#110: |
| 50 | b|std.134|134.5-baud:\ |
| 51 | :np:nd#1:cd#2:ff#1:td#1:sp#134:ht:nl: |
| 52 | 1|std.150|150-baud:\ |
| 53 | :np:nd#1:cd#2:td#1:fd#1:sp#150:ht:nl:lm=\E\72\6\6\17login\72 : |
| 54 | c|std.300|300-baud:\ |
| 55 | :np:nd#1:cd#1:sp#300: |
| 56 | d|std.600|600-baud:\ |
| 57 | :np:nd#1:cd#1:sp#600: |
| 58 | f|std.1200|1200-baud:\ |
| 59 | :np:fd#1:sp#1200: |
| 60 | 6|std.2400|2400-baud:\ |
| 61 | :np:sp#2400: |
| 62 | 7|std.4800|4800-baud:\ |
| 63 | :np:sp#4800: |
| 64 | 2|std.9600|9600-baud:\ |
| 65 | :np:sp#9600: |
| 66 | g|std.19200|19200-baud:\ |
| 67 | :np:sp#19200: |
| 68 | std.38400|38400-baud:\ |
| 69 | :np:sp#38400: |
| 70 | std.57600|57600-baud:\ |
| 71 | :np:sp#57600: |
| 72 | std.115200|115200-baud:\ |
| 73 | :np:sp#115200: |
| 74 | |
| 75 | # |
| 76 | # Dial in rotary tables, speed selection via 'break' |
| 77 | # |
| 78 | 0|d300|Dial-300:\ |
| 79 | :nx=d1200:cd#2:sp#300: |
| 80 | d1200|Dial-1200:\ |
| 81 | :nx=d150:fd#1:sp#1200: |
| 82 | d150|Dial-150:\ |
| 83 | :nx=d110:lm@:tc=150-baud: |
| 84 | d110|Dial-110:\ |
| 85 | :nx=d300:tc=300-baud: |
| 86 | |
| 87 | # |
| 88 | # Fast dialup terminals, 2400/1200/300 rotary (can start either way) |
| 89 | # |
| 90 | D2400|d2400|Fast-Dial-2400:\ |
| 91 | :nx=D1200:tc=2400-baud: |
| 92 | 3|D1200|Fast-Dial-1200:\ |
| 93 | :nx=D300:tc=1200-baud: |
| 94 | 5|D300|Fast-Dial-300:\ |
| 95 | :nx=D2400:tc=300-baud: |
| 96 | |
| 97 | # |
| 98 | #telebit (19200) |
| 99 | # |
| 100 | t19200:\ |
| 101 | :nx=t2400:tc=19200-baud: |
| 102 | t2400:\ |
| 103 | :nx=t1200:tc=2400-baud: |
| 104 | t1200:\ |
| 105 | :nx=t19200:tc=1200-baud: |
| 106 | |
| 107 | # |
| 108 | #telebit (9600) |
| 109 | # |
| 110 | t9600:\ |
| 111 | :nx=t2400a:tc=9600-baud: |
| 112 | t2400a:\ |
| 113 | :nx=t1200a:tc=2400-baud: |
| 114 | t1200a:\ |
| 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 | |
| 123 | 4|Console|Console Decwriter II:\ |
| 124 | :nd@:cd@:rw:tc=300-baud: |
| 125 | |
| 126 | e|Console-1200|Console Decwriter III:\ |
| 127 | :fd@:nd@:cd@:rw:tc=1200-baud: |
| 128 | |
| 129 | i|Interdata console:\ |
| 130 | :uc:sp#0: |
| 131 | |
| 132 | l|lsi chess terminal:\ |
| 133 | :sp#300: |
| 134 | |
| 135 | X|Xwindow|X window system:\ |
| 136 | :fd@:nd@:cd@:rw:sp#9600: |
| 137 | |
| 138 | P|Pc|Pc console:\ |
| 139 | :ht:np:sp#115200: |
| 140 | |
| 141 | # |
| 142 | # Wierdo special case for fast crt's with hardcopy devices |
| 143 | # |
| 144 | 8|T9600|CRT with hardcopy:\ |
| 145 | :nx=T300:tc=9600-baud: |
| 146 | 9|T300|CRT with hardcopy (300):\ |
| 147 | :nx=T9600:tc=300-baud: |
| 148 | |
| 149 | # |
| 150 | # Plugboard, and misc other terminals |
| 151 | # |
| 152 | plug-9600|Plugboard-9600:\ |
| 153 | :pf#1:tc=9600-baud: |
| 154 | p|P9600|Plugboard-9600-rotary:\ |
| 155 | :pf#1:nx=P300:tc=9600-baud: |
| 156 | q|P300|Plugboard-300:\ |
| 157 | :pf#1:nx=P1200:tc=300-baud: |
| 158 | r|P1200|Plugboard-1200:\ |
| 159 | :pf#1:nx=P9600:tc=1200-baud: |
| 160 | |
| 161 | # |
| 162 | # XXXX Port selector |
| 163 | # |
| 164 | s|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 | # |
| 172 | A|Auto-baud:\ |
| 173 | :ab:sp#2400:f0#040: |