Home | History | Annotate | Line # | Download | only in etc
gettytab revision 1.13
      1 #	$NetBSD: gettytab,v 1.13 1999/03/15 16:36:38 hubertf Exp $
      2 #	from: @(#)gettytab	8.2 (Berkeley) 4/20/94
      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 default:\
     13 	:bf=/etc/issue:\
     14 	:ce:ck:np:im=\r\n%s/%m (%h) (%t)\r\n\r\n:sp#9600:
     15 
     16 #
     17 # Fixed speed entries
     18 #
     19 #	The "std.NNN" names are known to the special case
     20 #	portselector code in getty, however they can
     21 #	be assigned to any table desired.
     22 #	The "NNN-baud" names are known to the special case
     23 #	autobaud code in getty, and likewise can
     24 #	be assigned to any table desired (hopefully the same speed).
     25 #
     26 std.110|110-baud:\
     27 	:sp#110:
     28 std.300|300-baud:\
     29 	:sp#300:
     30 std.600|600-baud:\
     31 	:sp#600:
     32 std.1200|1200-baud:\
     33 	:sp#1200:
     34 std.2400|2400-baud:\
     35 	:sp#2400:
     36 std.4800|4800-baud:\
     37 	:sp#4800:
     38 std.9600|9600-baud:\
     39 	:sp#9600:
     40 std.19200|19200-baud:\
     41 	:sp#19200:
     42 std.38400|38400-baud:\
     43 	:sp#38400:
     44 std.57600|57600-baud:\
     45 	:sp#57600:
     46 std.115200|115200-baud:\
     47 	:sp#115200:
     48 
     49 # PPP network link login
     50 #
     51 # these entries can be used by ISPs or others who want to be able
     52 # to offer both a "shell" and a PPP login on the same port. Setting
     53 # the "pp" attribute allows getty(8) to recognize a PPP link start
     54 # negotiation, and invoke the program listed, in addition to normal
     55 # login(1).
     56 #
     57 # N.B.: if PPP is recognized, this bypasses normal login/password
     58 # exchange; the expectation is that you'll configure pppd (or whatever)
     59 # to require a PAP or CHAP handshake for authentication after PPP is
     60 # started up.
     61 #
     62 # It is also recommended that you use hardware (CTS/RTS) flow control
     63 # on the port, and run the port as fast as possible, to allow modems
     64 # extra time to do data compression, if enabled.
     65 #
     66 ppp:np:ce:ck:pp=/usr/sbin/pppd:
     67 #
     68 ppp.19200|PPP-19200:sp#19200:tc=ppp:
     69 ppp.38400|PPP-38400:sp#38400:tc=ppp:
     70 ppp.57600|PPP-57600:sp#57600:tc=ppp:
     71 ppp.115200|PPP-115200:sp#115200:tc=ppp:
     72 ppp.230400|PPP-230400:sp#230400:tc=ppp:
     73 
     74 #
     75 # Dial in rotary tables, speed selection via 'break'
     76 #
     77 d1200|Dial-1200:\
     78 	:nx=d300:sp#1200:
     79 d300|Dial-300:\
     80 	:nx=d1200:sp#300:
     81 
     82 #
     83 # Fast dialup terminals, 2400/1200/300 rotary (can start either way)
     84 #
     85 D2400|d2400|Fast-Dial-2400:\
     86 	:nx=D1200:tc=2400-baud:
     87 D1200|Fast-Dial-1200:\
     88 	:nx=D300:tc=1200-baud:
     89 D300|Fast-Dial-300:\
     90 	:nx=D2400:tc=300-baud:
     91 
     92 #
     93 #telebit (19200)
     94 #
     95 t19200:\
     96 	:nx=t2400:tc=19200-baud:
     97 t2400:\
     98 	:nx=t1200:tc=2400-baud:
     99 t1200:\
    100 	:nx=t19200:tc=1200-baud:
    101 
    102 #
    103 #telebit (9600)
    104 #
    105 t9600:\
    106 	:nx=t2400a:tc=19200-baud:
    107 t2400a:\
    108 	:nx=t1200a:tc=2400-baud:
    109 t1200a:\
    110 	:nx=t9600:tc=1200-baud:
    111 
    112 #
    113 # Odd special case terminals
    114 #
    115 Console|Console Decwriter II:\
    116 	:rw:tc=300-baud:
    117 
    118 Console-1200|Console Decwriter III:\
    119 	:rw:tc=1200-baud:
    120 
    121 X|Xwindow|X window system:\
    122 	:rw:sp#9600:
    123 
    124 Pc|Pc console:\
    125 	:np:sp#9600:
    126 
    127 # 8 bit clean Sun console
    128 suncons|Sun Console:\
    129 	:np:sp#9600:
    130 
    131 #
    132 # Plugboard, and misc other terminals
    133 #
    134 plug-9600|Plugboard-9600:\
    135 	:pf#1:tc=9600-baud:
    136 P9600|Plugboard-9600-rotary:\
    137 	:pf#1:nx=P300:tc=9600-baud:
    138 P300|Plugboard-300:\
    139 	:pf#1:nx=P1200:tc=300-baud:
    140 P1200|Plugboard-1200:\
    141 	:pf#1:nx=P9600:tc=1200-baud:
    142 
    143 #
    144 # XXXX Port selector
    145 #
    146 DSW|Port Selector:\
    147 	:ps:sp#2400:
    148 
    149 #
    150 # Auto-baud speed detect entry for Micom 600.
    151 # Special code in getty will switch this out
    152 # to one of the NNN-baud entries.
    153 #
    154 Auto-baud:\
    155 	:ab:sp#2400:f0#040:
    156