Annotation of elwix/config/etc/default/gettytab, revision 1.1.1.1

1.1       misho       1: # $FreeBSD: src/etc/gettytab,v 1.26 2009/10/19 11:10:44 ed Exp $
                      2: #      from: @(#)gettytab      5.14 (Berkeley) 3/27/91
                      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: #
                     12: # cb, ce and ck are desirable on most crt's.  The non-crt entries need to
                     13: # be changed to turn them off (:cb@:ce@:ck@:).
                     14: #
                     15: # lc should always be on; it's a remainder of some stone age when there
                     16: # have been terminals around not being able of handling lower-case
                     17: # characters. Those terminals aren't supported any longer, but getty is
                     18: # `smart' about them by default.
                     19: #
                     20: # Parity defaults to even, but the Pc entry and all the `std' entries
                     21: # specify no parity.   The different parities are:
                     22: #     (none): same as ep for getty.  login will use terminal as is.
                     23: #     ep:     getty will use raw mode (cs8 -parenb) (unless rw is set) and
                     24: #             fake parity.  login will use even parity (cs7 parenb -parodd).
                     25: #     op:     same as ep except odd parity (cs7 parenb parodd) for login.
                     26: #             getty will fake odd parity as well.
                     27: #     ap:     same as ep except -inpck instead of inpck for login.
                     28: #             ap overrides op and ep.
                     29: #     np:     1. don't fake parity in getty.  The fake parity garbles
                     30: #                characters on non-terminals (like pccons) that don't
                     31: #                support parity.  It would probably better for getty not to
                     32: #                try to fake parity.  It could just use cbreak mode so as
                     33: #                not to force cs8 and let the hardware handle the parity.
                     34: #                login has to be rely on the hardware anyway.
                     35: #             2. set cs8 -parenb -istrip -inpck.
                     36: #     ep:op:  same as ap.
                     37: #
                     38: default:\
                     39:        :cb:ce:ck:lc:fd#1000:im=\r\n%s/%m (%h) (%t)\r\n\r\n:sp#1200:\
                     40:        :if=/etc/issue:
                     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: #
                     52: a|std.110|110-baud:\
                     53:        :np:nd#1:cd#1:uc:sp#110:
                     54: b|std.134|134.5-baud:\
                     55:        :np:nd#1:cd#2:ff#1:td#1:sp#134:ht:nl:
                     56: 1|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 :
                     58: c|std.300|300-baud:\
                     59:        :np:nd#1:cd#1:sp#300:
                     60: d|std.600|600-baud:\
                     61:        :np:nd#1:cd#1:sp#600:
                     62: f|std.1200|1200-baud:\
                     63:        :np:fd#1:sp#1200:
                     64: 6|std.2400|2400-baud:\
                     65:        :np:sp#2400:
                     66: 7|std.4800|4800-baud:\
                     67:        :np:sp#4800:
                     68: 2|std.9600|9600-baud:\
                     69:        :np:sp#9600:
                     70: g|std.19200|19200-baud:\
                     71:        :np:sp#19200:
                     72: std.38400|38400-baud:\
                     73:        :np:sp#38400:
                     74: std.57600|57600-baud:\
                     75:        :np:sp#57600:
                     76: std.115200|115200-baud:\
                     77:        :np:sp#115200:
                     78: std.230400|230400-baud:\
                     79:        :np:sp#230400:
                     80: 
                     81: #
                     82: # Entry specifying explicit device settings.  See termios(4) and
                     83: # /usr/include/termios.h, too.  The entry forces the tty into
                     84: # CLOCAL mode (so no DCD is required), and uses Xon/Xoff flow control.
                     85: #
                     86: # cflags: CLOCAL | HUPCL | CREAD | CS8
                     87: # oflags: OPOST | ONLCR | OXTABS
                     88: # iflags: IXOFF | IXON | ICRNL | IGNPAR
                     89: # lflags: IEXTEN | ICANON | ISIG | ECHOCTL | ECHO | ECHOK | ECHOE | ECHOKE
                     90: #
                     91: # The `0' flags don't have input enabled.  The `1' flags don't echo.
                     92: # (Echoing is done inside getty itself.)
                     93: #
                     94: local.9600|CLOCAL tty @ 9600 Bd:\
                     95:        :c0#0x0000c300:c1#0x0000cb00:c2#0x0000cb00:\
                     96:        :o0#0x00000007:o1#0x00000002:o2#0x00000007:\
                     97:        :i0#0x00000704:i1#0x00000000:i2#0x00000704:\
                     98:        :l0#0x000005cf:l1#0x00000000:l2#0x000005cf:\
                     99:        :sp#9600:
                    100: 
                    101: #
                    102: # Dial in rotary tables, speed selection via 'break'
                    103: #
                    104: 0|d300|Dial-300:\
                    105:        :nx=d1200:cd#2:sp#300:
                    106: d1200|Dial-1200:\
                    107:        :nx=d150:fd#1:sp#1200:
                    108: d150|Dial-150:\
                    109:        :nx=d110:lm@:tc=150-baud:
                    110: d110|Dial-110:\
                    111:        :nx=d300:tc=300-baud:
                    112: 
                    113: #
                    114: # Fast dialup terminals, 2400/1200/300 rotary (can start either way)
                    115: #
                    116: D2400|d2400|Fast-Dial-2400:\
                    117:        :nx=D1200:tc=2400-baud:
                    118: 3|D1200|Fast-Dial-1200:\
                    119:        :nx=D300:tc=1200-baud:
                    120: 5|D300|Fast-Dial-300:\
                    121:        :nx=D2400:tc=300-baud:
                    122: 
                    123: #
                    124: #telebit (19200)
                    125: #
                    126: t19200:\
                    127:        :nx=t2400:tc=19200-baud:
                    128: t2400:\
                    129:        :nx=t1200:tc=2400-baud:
                    130: t1200:\
                    131:        :nx=t19200:tc=1200-baud:
                    132: 
                    133: #
                    134: #telebit (9600)
                    135: #
                    136: t9600:\
                    137:        :nx=t2400a:tc=9600-baud:
                    138: t2400a:\
                    139:        :nx=t1200a:tc=2400-baud:
                    140: t1200a:\
                    141:        :nx=t9600:tc=1200-baud:
                    142: 
                    143: #
                    144: # Odd special case terminals
                    145: #
                    146: -|tty33|asr33|Pity the poor user of this beast:\
                    147:        :tc=110-baud:
                    148: 
                    149: 4|Console|Console Decwriter II:\
                    150:        :nd@:cd@:rw:tc=300-baud:
                    151: 
                    152: e|Console-1200|Console Decwriter III:\
                    153:        :fd@:nd@:cd@:rw:tc=1200-baud:
                    154: 
                    155: i|Interdata console:\
                    156:        :uc:sp#0:
                    157: 
                    158: l|lsi chess terminal:\
                    159:        :sp#300:
                    160: 
                    161: X|Xwindow|X window system:\
                    162:        :fd@:nd@:cd@:rw:sp#9600:
                    163: 
                    164: P|Pc|Pc console:\
                    165:        :ht:np:sp#9600:
                    166: 
                    167: #
                    168: # Wierdo special case for fast crt's with hardcopy devices
                    169: #
                    170: 8|T9600|CRT with hardcopy:\
                    171:        :nx=T300:tc=9600-baud:
                    172: 9|T300|CRT with hardcopy (300):\
                    173:        :nx=T9600:tc=300-baud:
                    174: 
                    175: #
                    176: # Plugboard, and misc other terminals
                    177: #
                    178: plug-9600|Plugboard-9600:\
                    179:        :pf#1:tc=9600-baud:
                    180: p|P9600|Plugboard-9600-rotary:\
                    181:        :pf#1:nx=P300:tc=9600-baud:
                    182: q|P300|Plugboard-300:\
                    183:        :pf#1:nx=P1200:tc=300-baud:
                    184: r|P1200|Plugboard-1200:\
                    185:        :pf#1:nx=P9600:tc=1200-baud:
                    186: 
                    187: #
                    188: # XXXX Port selector
                    189: #
                    190: s|DSW|Port Selector:\
                    191:        :ps:sp#2400:
                    192: 
                    193: #
                    194: # Auto-baud speed detect entry for Micom 600.
                    195: # Special code in getty will switch this out
                    196: # to one of the NNN-baud entries.
                    197: #
                    198: A|Auto-baud:\
                    199:        :ab:sp#2400:f0#040:
                    200: 
                    201: #
                    202: # autologin - automatically log in as root
                    203: #
                    204: 
                    205: autologin|al.9600:\
                    206:        :al=root:tc=std.9600:
                    207: al.19200:\
                    208:        :al=root:tc=std.19200:
                    209: al.38400:\
                    210:        :al=root:tc=std.38400:
                    211: al.57600:\
                    212:        :al=root:tc=std.57600:
                    213: al.115200:\
                    214:        :al=root:tc=std.115200:
                    215: al.230400:\
                    216:        :al=root:tc=std.230400:
                    217: 
                    218: #
                    219: # Entries for 3-wire serial terminals.  These don't supply carrier, so
                    220: # clocal needs to be set, and crtscts needs to be unset.
                    221: #
                    222: 3wire.9600|9600-3wire:\
                    223:        :np:nc:sp#9600:
                    224: 3wire.19200|19200-3wire:\
                    225:        :np:nc:sp#19200:
                    226: 3wire.38400|38400-3wire:\
                    227:        :np:nc:sp#38400:
                    228: 3wire.57600|57600-3wire:\
                    229:        :np:nc:sp#57600:
                    230: 3wire.115200|115200-3wire:\
                    231:        :np:nc:sp#115200:
                    232: 3wire.230400|230400-3wire:\
                    233:        :np:nc:sp#230400:

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>