Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/etc/gettytab,v retrieving revision 1.1 retrieving revision 1.12 diff -u -p -r1.1 -r1.12 --- src/etc/gettytab 1993/03/21 09:45:37 1.1 +++ src/etc/gettytab 1998/12/12 19:35:48 1.12 @@ -1,4 +1,5 @@ -# from: @(#)gettytab 5.14 (Berkeley) 3/27/91 +# $NetBSD: gettytab,v 1.12 1998/12/12 19:35:48 fair Exp $ +# from: @(#)gettytab 8.2 (Berkeley) 4/20/94 # # Most of the table entries here are just copies of the old getty table, # it is by no means certain, or even likely, that any of them are optimal @@ -9,7 +10,7 @@ # entries, and in cases where getty is called with no table name # default:\ - :ap:fd#1000:im=\r\n 386BSD (%h) (%t)\r\n\r\n:sp#1200: + :ce:ck:np:im=\r\n%s/%m (%h) (%t)\r\n\r\n:sp#9600: # # Fixed speed entries @@ -21,47 +22,70 @@ default:\ # autobaud code in getty, and likewise can # be assigned to any table desired (hopefully the same speed). # -a|std.110|110-baud:\ - :nd#1:cd#1:uc:sp#110: -b|std.134|134.5-baud:\ - :ep:nd#1:cd#2:ff#1:td#1:sp#134:ht:nl: -1|std.150|150-baud:\ - :ep:nd#1:cd#2:td#1:fd#1:sp#150:ht:nl:lm=\E\72\6\6\17login\72 : -c|std.300|300-baud:\ - :nd#1:cd#1:sp#300: -d|std.600|600-baud:\ - :nd#1:cd#1:sp#600: -f|std.1200|1200-baud:\ - :fd#1:sp#1200: -6|std.2400|2400-baud:\ +std.110|110-baud:\ + :sp#110: +std.300|300-baud:\ + :sp#300: +std.600|600-baud:\ + :sp#600: +std.1200|1200-baud:\ + :sp#1200: +std.2400|2400-baud:\ :sp#2400: -7|std.4800|4800-baud:\ +std.4800|4800-baud:\ :sp#4800: -2|std.9600|9600-baud:\ +std.9600|9600-baud:\ :sp#9600: -g|std.19200|19200-baud:\ +std.19200|19200-baud:\ :sp#19200: +std.38400|38400-baud:\ + :sp#38400: +std.57600|57600-baud:\ + :sp#57600: +std.115200|115200-baud:\ + :sp#115200: + +# PPP network link login +# +# these entries can be used by ISPs or others who want to be able +# to offer both a "shell" and a PPP login on the same port. Setting +# the "pp" attribute allows getty(8) to recognize a PPP link start +# negotiation, and invoke the program listed, in addition to normal +# login(1). +# +# N.B.: if PPP is recognized, this bypasses normal login/password +# exchange; the expectation is that you'll configure pppd (or whatever) +# to require a PAP or CHAP handshake for authentication after PPP is +# started up. +# +# It is also recommended that you use hardware (CTS/RTS) flow control +# on the port, and run the port as fast as possible, to allow modems +# extra time to do data compression, if enabled. +# +ppp:np:ce:ck:pp=/usr/sbin/pppd: +# +ppp.19200|PPP-19200:sp#19200:tc=ppp: +ppp.38400|PPP-38400:sp#38400:tc=ppp: +ppp.57600|PPP-57600:sp#57600:tc=ppp: +ppp.115200|PPP-115200:sp#115200:tc=ppp: +ppp.230400|PPP-230400:sp#230400:tc=ppp: # # Dial in rotary tables, speed selection via 'break' # -0|d300|Dial-300:\ - :nx=d1200:cd#2:sp#300: d1200|Dial-1200:\ - :nx=d150:fd#1:sp#1200: -d150|Dial-150:\ - :nx=d110:lm@:tc=150-baud: -d110|Dial-110:\ - :nx=d300:tc=300-baud: + :nx=d300:sp#1200: +d300|Dial-300:\ + :nx=d1200:sp#300: # # Fast dialup terminals, 2400/1200/300 rotary (can start either way) # D2400|d2400|Fast-Dial-2400:\ :nx=D1200:tc=2400-baud: -3|D1200|Fast-Dial-1200:\ +D1200|Fast-Dial-1200:\ :nx=D300:tc=1200-baud: -5|D300|Fast-Dial-300:\ +D300|Fast-Dial-300:\ :nx=D2400:tc=300-baud: # @@ -87,51 +111,38 @@ t1200a:\ # # Odd special case terminals # --|tty33|asr33|Pity the poor user of this beast:\ - :tc=110-baud: - -4|Console|Console Decwriter II:\ - :nd@:cd@:rw:tc=300-baud: +Console|Console Decwriter II:\ + :rw:tc=300-baud: -e|Console-1200|Console Decwriter III:\ - :fd@:nd@:cd@:rw:tc=1200-baud: - -i|Interdata console:\ - :uc:sp#0: - -l|lsi chess terminal:\ - :sp#300: +Console-1200|Console Decwriter III:\ + :rw:tc=1200-baud: X|Xwindow|X window system:\ - :fd@:nd@:cd@:rw:sp#9600: + :rw:sp#9600: -P|Pc|Pc console:\ - :np:ap:sp#9600: +Pc|Pc console:\ + :np:sp#9600: -# -# Wierdo special case for fast crt's with hardcopy devices -# -8|T9600|CRT with hardcopy:\ - :nx=T300:tc=9600-baud: -9|T300|CRT with hardcopy (300):\ - :nx=T9600:tc=300-baud: +# 8 bit clean Sun console +suncons|Sun Console:\ + :np:sp#9600: # # Plugboard, and misc other terminals # plug-9600|Plugboard-9600:\ :pf#1:tc=9600-baud: -p|P9600|Plugboard-9600-rotary:\ +P9600|Plugboard-9600-rotary:\ :pf#1:nx=P300:tc=9600-baud: -q|P300|Plugboard-300:\ +P300|Plugboard-300:\ :pf#1:nx=P1200:tc=300-baud: -r|P1200|Plugboard-1200:\ +P1200|Plugboard-1200:\ :pf#1:nx=P9600:tc=1200-baud: # # XXXX Port selector # -s|DSW|Port Selector:\ +DSW|Port Selector:\ :ps:sp#2400: # @@ -139,5 +150,5 @@ s|DSW|Port Selector:\ # Special code in getty will switch this out # to one of the NNN-baud entries. # -A|Auto-baud:\ +Auto-baud:\ :ab:sp#2400:f0#040: