head	1.29;
access;
symbols
	RELENG_8_4:1.29.0.2
	RELENG_9_1_0_RELEASE:1.27.2.1.4.2
	RELENG_9_1:1.27.2.1.0.4
	RELENG_9_1_BP:1.27.2.1
	RELENG_8_3_0_RELEASE:1.24.10.2.4.1
	RELENG_8_3:1.24.10.2.0.4
	RELENG_8_3_BP:1.24.10.2
	RELENG_9_0_0_RELEASE:1.27.2.1.2.1
	RELENG_9_0:1.27.2.1.0.2
	RELENG_9_0_BP:1.27.2.1
	RELENG_9:1.27.0.2
	RELENG_9_BP:1.27
	RELENG_7_4_0_RELEASE:1.24.14.1
	RELENG_8_2_0_RELEASE:1.24.10.2.2.1
	RELENG_7_4:1.24.0.14
	RELENG_7_4_BP:1.24
	RELENG_8_2:1.24.10.2.0.2
	RELENG_8_2_BP:1.24.10.2
	RELENG_8_1_0_RELEASE:1.24.10.1.4.1
	RELENG_8_1:1.24.10.1.0.4
	RELENG_8_1_BP:1.24.10.1
	RELENG_7_3_0_RELEASE:1.24.12.1
	RELENG_7_3:1.24.0.12
	RELENG_7_3_BP:1.24
	RELENG_8_0_0_RELEASE:1.24.10.1.2.1
	RELENG_8_0:1.24.10.1.0.2
	RELENG_8_0_BP:1.24.10.1
	RELENG_8:1.24.0.10
	RELENG_8_BP:1.24
	RELENG_7_2_0_RELEASE:1.24.8.1
	RELENG_7_2:1.24.0.8
	RELENG_7_2_BP:1.24
	RELENG_7_1_0_RELEASE:1.24.6.1
	RELENG_6_4_0_RELEASE:1.22.8.2.6.1
	RELENG_7_1:1.24.0.6
	RELENG_7_1_BP:1.24
	RELENG_6_4:1.22.8.2.0.6
	RELENG_6_4_BP:1.22.8.2
	RELENG_7_0_0_RELEASE:1.24
	RELENG_6_3_0_RELEASE:1.22.8.2
	RELENG_7_0:1.24.0.4
	RELENG_7_0_BP:1.24
	RELENG_6_3:1.22.8.2.0.4
	RELENG_6_3_BP:1.22.8.2
	RELENG_7:1.24.0.2
	RELENG_7_BP:1.24
	RELENG_6_2_0_RELEASE:1.22.8.2
	RELENG_6_2:1.22.8.2.0.2
	RELENG_6_2_BP:1.22.8.2
	RELENG_5_5_0_RELEASE:1.22
	RELENG_5_5:1.22.0.12
	RELENG_5_5_BP:1.22
	RELENG_6_1_0_RELEASE:1.22.8.1
	RELENG_6_1:1.22.8.1.0.2
	RELENG_6_1_BP:1.22.8.1
	RELENG_6_0_0_RELEASE:1.22
	RELENG_6_0:1.22.0.10
	RELENG_6_0_BP:1.22
	RELENG_6:1.22.0.8
	RELENG_6_BP:1.22
	RELENG_5_4_0_RELEASE:1.22
	RELENG_5_4:1.22.0.6
	RELENG_5_4_BP:1.22
	RELENG_4_11_0_RELEASE:1.17.2.4
	RELENG_4_11:1.17.2.4.0.6
	RELENG_4_11_BP:1.17.2.4
	RELENG_5_3_0_RELEASE:1.22
	RELENG_5_3:1.22.0.4
	RELENG_5_3_BP:1.22
	RELENG_5:1.22.0.2
	RELENG_5_BP:1.22
	RELENG_4_10_0_RELEASE:1.17.2.4
	RELENG_4_10:1.17.2.4.0.4
	RELENG_4_10_BP:1.17.2.4
	RELENG_5_2_1_RELEASE:1.21
	RELENG_5_2_0_RELEASE:1.21
	RELENG_5_2:1.21.0.2
	RELENG_5_2_BP:1.21
	RELENG_4_9_0_RELEASE:1.17.2.4
	RELENG_4_9:1.17.2.4.0.2
	RELENG_4_9_BP:1.17.2.4
	RELENG_5_1_0_RELEASE:1.20
	RELENG_5_1:1.20.0.4
	RELENG_5_1_BP:1.20
	RELENG_4_8_0_RELEASE:1.17.2.3
	RELENG_4_8:1.17.2.3.0.8
	RELENG_4_8_BP:1.17.2.3
	RELENG_5_0_0_RELEASE:1.20
	RELENG_5_0:1.20.0.2
	RELENG_5_0_BP:1.20
	RELENG_4_7_0_RELEASE:1.17.2.3
	RELENG_4_7:1.17.2.3.0.6
	RELENG_4_7_BP:1.17.2.3
	RELENG_4_6_2_RELEASE:1.17.2.3
	RELENG_4_6_1_RELEASE:1.17.2.3
	RELENG_4_6_0_RELEASE:1.17.2.3
	RELENG_4_6:1.17.2.3.0.4
	RELENG_4_6_BP:1.17.2.3
	RELENG_4_5_0_RELEASE:1.17.2.3
	RELENG_4_5:1.17.2.3.0.2
	RELENG_4_5_BP:1.17.2.3
	RELENG_4_4_0_RELEASE:1.17.2.2
	RELENG_4_4:1.17.2.2.0.4
	RELENG_4_4_BP:1.17.2.2
	RELENG_4_3_0_RELEASE:1.17.2.2
	RELENG_4_3:1.17.2.2.0.2
	RELENG_4_3_BP:1.17.2.2
	RELENG_4_2_0_RELEASE:1.17.2.1
	RELENG_4_1_1_RELEASE:1.17.2.1
	PRE_SMPNG:1.18
	RELENG_4_1_0_RELEASE:1.17
	RELENG_3_5_0_RELEASE:1.16.2.1
	RELENG_4_0_0_RELEASE:1.17
	RELENG_4:1.17.0.2
	RELENG_4_BP:1.17
	RELENG_3_4_0_RELEASE:1.16.2.1
	RELENG_3_3_0_RELEASE:1.16.2.1
	RELENG_3_2_PAO:1.16.0.4
	RELENG_3_2_PAO_BP:1.16
	RELENG_3_2_0_RELEASE:1.16
	RELENG_3_1_0_RELEASE:1.16
	RELENG_3:1.16.0.2
	RELENG_3_BP:1.16
	RELENG_2_2_8_RELEASE:1.12.2.4
	RELENG_3_0_0_RELEASE:1.16
	RELENG_2_2_7_RELEASE:1.12.2.3
	RELENG_2_2_6_RELEASE:1.12.2.1
	RELENG_2_2_5_RELEASE:1.12.2.1
	RELENG_2_2_2_RELEASE:1.12
	RELENG_2_2_1_RELEASE:1.12
	RELENG_2_2_0_RELEASE:1.12
	RELENG_2_1_7_RELEASE:1.8.4.1
	RELENG_2_1_6_1_RELEASE:1.8.4.1
	RELENG_2_1_6_RELEASE:1.8.4.1
	RELENG_2_2:1.12.0.2
	RELENG_2_2_BP:1.12
	RELENG_2_1_5_RELEASE:1.8.4.1
	RELENG_2_1_0_RELEASE:1.8.4.1
	RELENG_2_1_0:1.8.0.4
	RELENG_2_1_0_BP:1.8
	RELENG_2_0_5_RELEASE:1.8
	RELENG_2_0_5:1.8.0.2
	RELENG_2_0_5_BP:1.8
	RELENG_2_0_5_ALPHA:1.8
	RELEASE_2_0:1.7
	BETA_2_0:1.7
	ALPHA_2_0:1.7.0.4
	MOVED_NEWCVS:1.7
	FINAL_1_1_5:1.7
	ALPHA_1_1_5:1.7
	FINAL_1_1:1.7
	GAMMA_1_1:1.7
	BETA_1_1:1.7.0.2
	BP_BETA_1_1:1.7
	FINAL_1_0:1.4
	EPSILON_1_0:1.3
	GAMMA_1_0:1.3
	BETA_1_0:1.2
	ALPHA_1_0:1.2
	V_0_0_1_0:1.1.1.1;
locks; strict;
comment	@# @;


1.29
date	2012.11.17.01.49.01;	author svnexp;	state Exp;
branches
	1.29.2.1;
next	1.28;

1.28
date	2012.10.18.22.20.02;	author peterj;	state Exp;
branches;
next	1.27;

1.27
date	2010.07.12.19.09.18;	author bcr;	state Exp;
branches
	1.27.2.1;
next	1.26;

1.26
date	2009.10.19.11.10.44;	author ed;	state Exp;
branches;
next	1.25;

1.25
date	2009.10.18.19.48.53;	author ed;	state Exp;
branches;
next	1.24;

1.24
date	2006.04.11.09.54.23;	author des;	state Exp;
branches
	1.24.2.1
	1.24.6.1
	1.24.8.1
	1.24.10.1
	1.24.12.1
	1.24.14.1;
next	1.23;

1.23
date	2006.01.22.15.33.16;	author matteo;	state Exp;
branches;
next	1.22;

1.22
date	2004.06.06.11.46.27;	author schweikh;	state Exp;
branches
	1.22.8.1;
next	1.21;

1.21
date	2003.09.09.15.37.19;	author yar;	state Exp;
branches;
next	1.20;

1.20
date	2001.08.31.22.18.50;	author murray;	state Exp;
branches;
next	1.19;

1.19
date	2000.12.18.20.56.10;	author phk;	state Exp;
branches;
next	1.18;

1.18
date	2000.06.10.19.49.16;	author phk;	state Exp;
branches;
next	1.17;

1.17
date	99.08.27.23.23.41;	author peter;	state Exp;
branches
	1.17.2.1;
next	1.16;

1.16
date	98.09.02.01.34.55;	author brian;	state Exp;
branches
	1.16.2.1;
next	1.15;

1.15
date	98.07.22.05.58.40;	author phk;	state Exp;
branches;
next	1.14;

1.14
date	98.05.13.08.10.07;	author phk;	state Exp;
branches;
next	1.13;

1.13
date	97.09.19.12.25.09;	author joerg;	state Exp;
branches;
next	1.12;

1.12
date	96.09.18.19.01.29;	author jkh;	state Exp;
branches
	1.12.2.1;
next	1.11;

1.11
date	95.08.02.02.45.46;	author jkh;	state Exp;
branches;
next	1.10;

1.10
date	95.08.01.13.13.30;	author jkh;	state Exp;
branches;
next	1.9;

1.9
date	95.06.25.04.08.29;	author bde;	state Exp;
branches;
next	1.8;

1.8
date	95.02.16.10.51.50;	author joerg;	state Exp;
branches
	1.8.4.1;
next	1.7;

1.7
date	94.02.06.09.50.56;	author ache;	state Exp;
branches;
next	1.6;

1.6
date	93.12.16.01.14.05;	author ache;	state Exp;
branches;
next	1.5;

1.5
date	93.11.10.01.23.13;	author rgrimes;	state Exp;
branches;
next	1.4;

1.4
date	93.10.22.02.49.34;	author davidg;	state Exp;
branches;
next	1.3;

1.3
date	93.08.13.23.05.49;	author rgrimes;	state Exp;
branches;
next	1.2;

1.2
date	93.07.19.19.11.55;	author rgrimes;	state Exp;
branches;
next	1.1;

1.1
date	93.06.20.13.41.38;	author rgrimes;	state Exp;
branches
	1.1.1.1;
next	;

1.29.2.1
date	2012.11.17.01.49.01;	author svnexp;	state dead;
branches;
next	1.29.2.2;

1.29.2.2
date	2013.03.28.13.02.41;	author svnexp;	state Exp;
branches;
next	;

1.27.2.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.27.2.1.2.1
	1.27.2.1.4.1;
next	1.27.2.2;

1.27.2.2
date	2012.11.17.11.36.10;	author svnexp;	state Exp;
branches;
next	1.27.2.3;

1.27.2.3
date	2012.11.27.23.55.26;	author svnexp;	state Exp;
branches;
next	;

1.27.2.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.27.2.1.2.2;

1.27.2.1.2.2
date	2012.11.17.08.36.10;	author svnexp;	state Exp;
branches;
next	;

1.27.2.1.4.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.27.2.1.4.2;

1.27.2.1.4.2
date	2012.11.17.08.47.00;	author svnexp;	state Exp;
branches;
next	;

1.24.2.1
date	2012.11.17.08.01.14;	author svnexp;	state Exp;
branches;
next	1.24.2.2;

1.24.2.2
date	2012.11.27.23.49.31;	author svnexp;	state Exp;
branches;
next	;

1.24.6.1
date	2008.11.25.02.59.29;	author kensmith;	state Exp;
branches;
next	;

1.24.8.1
date	2009.04.15.03.14.26;	author kensmith;	state Exp;
branches;
next	;

1.24.10.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.24.10.1.2.1
	1.24.10.1.4.1;
next	1.24.10.2;

1.24.10.2
date	2010.07.19.19.54.37;	author bcr;	state Exp;
branches
	1.24.10.2.2.1
	1.24.10.2.4.1;
next	1.24.10.3;

1.24.10.3
date	2012.11.17.10.35.56;	author svnexp;	state Exp;
branches;
next	1.24.10.4;

1.24.10.4
date	2012.11.27.23.52.23;	author svnexp;	state Exp;
branches;
next	;

1.24.10.1.2.1
date	2009.10.25.01.10.29;	author kensmith;	state Exp;
branches;
next	;

1.24.10.1.4.1
date	2010.06.14.02.09.06;	author kensmith;	state Exp;
branches;
next	;

1.24.10.2.2.1
date	2010.12.21.17.09.25;	author kensmith;	state Exp;
branches;
next	;

1.24.10.2.4.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.24.10.2.4.2;

1.24.10.2.4.2
date	2012.11.17.08.24.37;	author svnexp;	state Exp;
branches;
next	;

1.24.12.1
date	2010.02.10.00.26.20;	author kensmith;	state Exp;
branches;
next	;

1.24.14.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.24.14.2;

1.24.14.2
date	2012.11.17.08.16.36;	author svnexp;	state Exp;
branches;
next	;

1.22.8.1
date	2006.01.25.07.39.42;	author matteo;	state Exp;
branches;
next	1.22.8.2;

1.22.8.2
date	2006.09.13.08.37.48;	author des;	state Exp;
branches
	1.22.8.2.6.1;
next	1.22.8.3;

1.22.8.3
date	2012.11.17.07.39.01;	author svnexp;	state Exp;
branches;
next	;

1.22.8.2.6.1
date	2008.10.02.02.57.24;	author kensmith;	state Exp;
branches;
next	;

1.17.2.1
date	2000.08.16.22.46.30;	author jhb;	state Exp;
branches;
next	1.17.2.2;

1.17.2.2
date	2001.03.05.12.47.39;	author asmodai;	state Exp;
branches;
next	1.17.2.3;

1.17.2.3
date	2001.09.27.08.47.55;	author murray;	state Exp;
branches;
next	1.17.2.4;

1.17.2.4
date	2003.09.15.08.39.53;	author yar;	state Exp;
branches;
next	1.17.2.5;

1.17.2.5
date	2012.11.17.07.22.35;	author svnexp;	state Exp;
branches;
next	;

1.16.2.1
date	99.08.29.14.18.43;	author peter;	state Exp;
branches;
next	;

1.12.2.1
date	97.09.19.12.25.44;	author joerg;	state Exp;
branches;
next	1.12.2.2;

1.12.2.2
date	98.07.19.06.53.17;	author jkh;	state Exp;
branches;
next	1.12.2.3;

1.12.2.3
date	98.07.20.11.42.47;	author jkh;	state Exp;
branches;
next	1.12.2.4;

1.12.2.4
date	98.09.03.22.14.37;	author brian;	state Exp;
branches;
next	1.12.2.5;

1.12.2.5
date	99.09.05.11.01.57;	author peter;	state Exp;
branches;
next	;

1.8.4.1
date	95.08.30.06.16.06;	author davidg;	state Exp;
branches;
next	;

1.1.1.1
date	93.06.20.13.41.39;	author rgrimes;	state Exp;
branches;
next	;


desc
@@


1.29
log
@Switching exporter and resync
@
text
@# $FreeBSD: head/etc/gettytab 241708 2012-10-18 22:20:02Z peterj $
#	from: @@(#)gettytab	5.14 (Berkeley) 3/27/91
#
# 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
# for any purpose whatever.  Nor is it likely that more than a couple are
# even correct.
#
# The default gettytab entry, used to set defaults for all other
# entries, and in cases where getty is called with no table name.
#
# cb, ce and ck are desirable on most crt's.  The non-crt entries need to
# be changed to turn them off (:cb@@:ce@@:ck@@:).
#
# lc should always be on; it's a remainder of some stone age when there
# have been terminals around not being able of handling lower-case
# characters. Those terminals aren't supported any longer, but getty is
# `smart' about them by default.
#
# Parity defaults to even, but the Pc entry and all the `std' entries
# specify no parity.   The different parities are:
#     (none): same as ep for getty.  login will use terminal as is.
#     ep:     getty will use raw mode (cs8 -parenb) (unless rw is set) and
#             fake parity.  login will use even parity (cs7 parenb -parodd).
#     op:     same as ep except odd parity (cs7 parenb parodd) for login.
#             getty will fake odd parity as well.
#     ap:     same as ep except -inpck instead of inpck for login.
#             ap overrides op and ep.
#     np:     1. don't fake parity in getty.  The fake parity garbles
#                characters on non-terminals (like pccons) that don't
#                support parity.  It would probably better for getty not to
#                try to fake parity.  It could just use cbreak mode so as
#                not to force cs8 and let the hardware handle the parity.
#                login has to be rely on the hardware anyway.
#             2. set cs8 -parenb -istrip -inpck.
#     ep:op:  same as ap.
#
default:\
	:cb:ce:ck:lc:fd#1000:im=\r\n%s/%m (%h) (%t)\r\n\r\n:sp#1200:\
	:if=/etc/issue:

#
# Fixed speed entries
#
#	The "std.NNN" names are known to the special case
#	portselector code in getty, however they can
#	be assigned to any table desired.
#	The "NNN-baud" names are known to the special case
#	autobaud code in getty, and likewise can
#	be assigned to any table desired (hopefully the same speed).
#
a|std.110|110-baud:\
	:np:nd#1:cd#1:uc:sp#110:
b|std.134|134.5-baud:\
	:np:nd#1:cd#2:ff#1:td#1:sp#134:ht:nl:
1|std.150|150-baud:\
	:np:nd#1:cd#2:td#1:fd#1:sp#150:ht:nl:lm=\E\72\6\6\17login\72 :
c|std.300|300-baud:\
	:np:nd#1:cd#1:sp#300:
d|std.600|600-baud:\
	:np:nd#1:cd#1:sp#600:
f|std.1200|1200-baud:\
	:np:fd#1:sp#1200:
6|std.2400|2400-baud:\
	:np:sp#2400:
7|std.4800|4800-baud:\
	:np:sp#4800:
2|std.9600|9600-baud:\
	:np:sp#9600:
g|std.19200|19200-baud:\
	:np:sp#19200:
std.38400|38400-baud:\
	:np:sp#38400:
std.57600|57600-baud:\
	:np:sp#57600:
std.115200|115200-baud:\
	:np:sp#115200:
std.230400|230400-baud:\
	:np:sp#230400:

#
# Entry specifying explicit device settings.  See termios(4) and
# /usr/include/termios.h, too.  The entry forces the tty into
# CLOCAL mode (so no DCD is required), and uses Xon/Xoff flow control.
#
# cflags: CLOCAL | HUPCL | CREAD | CS8
# oflags: OPOST | ONLCR | OXTABS
# iflags: IXOFF | IXON | ICRNL | IGNPAR
# lflags: IEXTEN | ICANON | ISIG | ECHOCTL | ECHO | ECHOK | ECHOE | ECHOKE
#
# The `0' flags don't have input enabled.  The `1' flags don't echo.
# (Echoing is done inside getty itself.)
#
local.9600|CLOCAL tty @@ 9600 Bd:\
	:c0#0x0000c300:c1#0x0000cb00:c2#0x0000cb00:\
	:o0#0x00000007:o1#0x00000002:o2#0x00000007:\
	:i0#0x00000704:i1#0x00000000:i2#0x00000704:\
	:l0#0x000005cf:l1#0x00000000:l2#0x000005cf:\
	:sp#9600:np:

#
# 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:

#
# 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:\
	:nx=D300:tc=1200-baud:
5|D300|Fast-Dial-300:\
	:nx=D2400:tc=300-baud:

#
#telebit (19200)
#
t19200:\
	:nx=t2400:tc=19200-baud:
t2400:\
	:nx=t1200:tc=2400-baud:
t1200:\
	:nx=t19200:tc=1200-baud:

#
#telebit (9600)
#
t9600:\
	:nx=t2400a:tc=9600-baud:
t2400a:\
	:nx=t1200a:tc=2400-baud:
t1200a:\
	:nx=t9600:tc=1200-baud:

#
# 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:

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:

X|Xwindow|X window system:\
	:fd@@:nd@@:cd@@:rw:sp#9600:

P|Pc|Pc console:\
	:ht:np:sp#9600:

#
# Weirdo 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:

#
# Plugboard, and misc other terminals
#
plug-9600|Plugboard-9600:\
	:pf#1:tc=9600-baud:
p|P9600|Plugboard-9600-rotary:\
	:pf#1:nx=P300:tc=9600-baud:
q|P300|Plugboard-300:\
	:pf#1:nx=P1200:tc=300-baud:
r|P1200|Plugboard-1200:\
	:pf#1:nx=P9600:tc=1200-baud:

#
# XXXX Port selector
#
s|DSW|Port Selector:\
	:ps:sp#2400:

#
# Auto-baud speed detect entry for Micom 600.
# Special code in getty will switch this out
# to one of the NNN-baud entries.
#
A|Auto-baud:\
	:ab:sp#2400:f0#040:

#
# autologin - automatically log in as root
#

autologin|al.9600:\
	:al=root:tc=std.9600:
al.19200:\
	:al=root:tc=std.19200:
al.38400:\
	:al=root:tc=std.38400:
al.57600:\
	:al=root:tc=std.57600:
al.115200:\
	:al=root:tc=std.115200:
al.230400:\
	:al=root:tc=std.230400:

#
# Entries for 3-wire serial terminals.  These don't supply carrier, so
# clocal needs to be set, and crtscts needs to be unset.
#
3wire.9600|9600-3wire:\
	:np:nc:sp#9600:
3wire.19200|19200-3wire:\
	:np:nc:sp#19200:
3wire.38400|38400-3wire:\
	:np:nc:sp#38400:
3wire.57600|57600-3wire:\
	:np:nc:sp#57600:
3wire.115200|115200-3wire:\
	:np:nc:sp#115200:
3wire.230400|230400-3wire:\
	:np:nc:sp#230400:
@


1.29.2.1
log
@file gettytab was added on branch RELENG_8_4 on 2013-03-28 13:02:41 +0000
@
text
@d1 233
@


1.29.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 233
# $FreeBSD: releng/8.4/etc/gettytab 243625 2012-11-27 19:33:25Z peterj $
#	from: @@(#)gettytab	5.14 (Berkeley) 3/27/91
#
# 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
# for any purpose whatever.  Nor is it likely that more than a couple are
# even correct.
#
# The default gettytab entry, used to set defaults for all other
# entries, and in cases where getty is called with no table name.
#
# cb, ce and ck are desirable on most crt's.  The non-crt entries need to
# be changed to turn them off (:cb@@:ce@@:ck@@:).
#
# lc should always be on; it's a remainder of some stone age when there
# have been terminals around not being able of handling lower-case
# characters. Those terminals aren't supported any longer, but getty is
# `smart' about them by default.
#
# Parity defaults to even, but the Pc entry and all the `std' entries
# specify no parity.   The different parities are:
#     (none): same as ep for getty.  login will use terminal as is.
#     ep:     getty will use raw mode (cs8 -parenb) (unless rw is set) and
#             fake parity.  login will use even parity (cs7 parenb -parodd).
#     op:     same as ep except odd parity (cs7 parenb parodd) for login.
#             getty will fake odd parity as well.
#     ap:     same as ep except -inpck instead of inpck for login.
#             ap overrides op and ep.
#     np:     1. don't fake parity in getty.  The fake parity garbles
#                characters on non-terminals (like pccons) that don't
#                support parity.  It would probably better for getty not to
#                try to fake parity.  It could just use cbreak mode so as
#                not to force cs8 and let the hardware handle the parity.
#                login has to be rely on the hardware anyway.
#             2. set cs8 -parenb -istrip -inpck.
#     ep:op:  same as ap.
#
default:\
	:cb:ce:ck:lc:fd#1000:im=\r\n%s/%m (%h) (%t)\r\n\r\n:sp#1200:\
	:if=/etc/issue:

#
# Fixed speed entries
#
#	The "std.NNN" names are known to the special case
#	portselector code in getty, however they can
#	be assigned to any table desired.
#	The "NNN-baud" names are known to the special case
#	autobaud code in getty, and likewise can
#	be assigned to any table desired (hopefully the same speed).
#
a|std.110|110-baud:\
	:np:nd#1:cd#1:uc:sp#110:
b|std.134|134.5-baud:\
	:np:nd#1:cd#2:ff#1:td#1:sp#134:ht:nl:
1|std.150|150-baud:\
	:np:nd#1:cd#2:td#1:fd#1:sp#150:ht:nl:lm=\E\72\6\6\17login\72 :
c|std.300|300-baud:\
	:np:nd#1:cd#1:sp#300:
d|std.600|600-baud:\
	:np:nd#1:cd#1:sp#600:
f|std.1200|1200-baud:\
	:np:fd#1:sp#1200:
6|std.2400|2400-baud:\
	:np:sp#2400:
7|std.4800|4800-baud:\
	:np:sp#4800:
2|std.9600|9600-baud:\
	:np:sp#9600:
g|std.19200|19200-baud:\
	:np:sp#19200:
std.38400|38400-baud:\
	:np:sp#38400:
std.57600|57600-baud:\
	:np:sp#57600:
std.115200|115200-baud:\
	:np:sp#115200:
std.230400|230400-baud:\
	:np:sp#230400:

#
# Entry specifying explicit device settings.  See termios(4) and
# /usr/include/termios.h, too.  The entry forces the tty into
# CLOCAL mode (so no DCD is required), and uses Xon/Xoff flow control.
#
# cflags: CLOCAL | HUPCL | CREAD | CS8
# oflags: OPOST | ONLCR | OXTABS
# iflags: IXOFF | IXON | ICRNL | IGNPAR
# lflags: IEXTEN | ICANON | ISIG | ECHOCTL | ECHO | ECHOK | ECHOE | ECHOKE
#
# The `0' flags don't have input enabled.  The `1' flags don't echo.
# (Echoing is done inside getty itself.)
#
local.9600|CLOCAL tty @@ 9600 Bd:\
	:c0#0x0000c300:c1#0x0000cb00:c2#0x0000cb00:\
	:o0#0x00000007:o1#0x00000002:o2#0x00000007:\
	:i0#0x00000704:i1#0x00000000:i2#0x00000704:\
	:l0#0x000005cf:l1#0x00000000:l2#0x000005cf:\
	:sp#9600:np:

#
# 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:

#
# 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:\
	:nx=D300:tc=1200-baud:
5|D300|Fast-Dial-300:\
	:nx=D2400:tc=300-baud:

#
#telebit (19200)
#
t19200:\
	:nx=t2400:tc=19200-baud:
t2400:\
	:nx=t1200:tc=2400-baud:
t1200:\
	:nx=t19200:tc=1200-baud:

#
#telebit (9600)
#
t9600:\
	:nx=t2400a:tc=9600-baud:
t2400a:\
	:nx=t1200a:tc=2400-baud:
t1200a:\
	:nx=t9600:tc=1200-baud:

#
# 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:

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:

X|Xwindow|X window system:\
	:fd@@:nd@@:cd@@:rw:sp#9600:

P|Pc|Pc console:\
	:ht:np:sp#115200:

#
# Weirdo 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:

#
# Plugboard, and misc other terminals
#
plug-9600|Plugboard-9600:\
	:pf#1:tc=9600-baud:
p|P9600|Plugboard-9600-rotary:\
	:pf#1:nx=P300:tc=9600-baud:
q|P300|Plugboard-300:\
	:pf#1:nx=P1200:tc=300-baud:
r|P1200|Plugboard-1200:\
	:pf#1:nx=P9600:tc=1200-baud:

#
# XXXX Port selector
#
s|DSW|Port Selector:\
	:ps:sp#2400:

#
# Auto-baud speed detect entry for Micom 600.
# Special code in getty will switch this out
# to one of the NNN-baud entries.
#
A|Auto-baud:\
	:ab:sp#2400:f0#040:

#
# autologin - automatically log in as root
#

autologin|al.9600:\
	:al=root:tc=std.9600:
al.19200:\
	:al=root:tc=std.19200:
al.38400:\
	:al=root:tc=std.38400:
al.57600:\
	:al=root:tc=std.57600:
al.115200:\
	:al=root:tc=std.115200:
al.230400:\
	:al=root:tc=std.230400:

#
# Entries for 3-wire serial terminals.  These don't supply carrier, so
# clocal needs to be set, and crtscts needs to be unset.
#
3wire.9600|9600-3wire:\
	:np:nc:sp#9600:
3wire.19200|19200-3wire:\
	:np:nc:sp#19200:
3wire.38400|38400-3wire:\
	:np:nc:sp#38400:
3wire.57600|57600-3wire:\
	:np:nc:sp#57600:
3wire.115200|115200-3wire:\
	:np:nc:sp#115200:
3wire.230400|230400-3wire:\
	:np:nc:sp#230400:
@


1.28
log
@SVN rev 241708 on 2012-10-18 22:20:02Z by peterj

Explicitly specify 'np' so that getty(8) does not simulate even parity on
local.9600.  Whilst the actual binary termios(4) definitions and preceeding
comments for local.9600 indicate that parity is disabled, getty(8)
internally simulates parity based on the presence or absence of the 'np'
flag.

PR:		conf/76226
Submitted by:	peter
Approved by:	grog (co-mentor)
MFC after:	1 month
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.27
log
@SVN rev 209954 on 2010-07-12 19:09:18Z by bcr

Fix spelling of "weirdo" in /etc/gettytab comment.

PR:             docs/148500
Submitted by:   Warren Block (wblock at wonkity dot com)
Approved by:    ed@@
MFC after:      1 week
@
text
@d99 1
a99 1
	:sp#9600:
@


1.27.2.1
log
@SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.27.2.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242902
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242902 | dteske | 2012-11-11 23:29:45 +0000 (Sun, 11 Nov 2012) | 10 lines
## SVN ##
## SVN ## Fix a regression introduced by SVN r211417 that saw the breakage of a feature
## SVN ## documented in usr.sbin/sysinstall/help/shortcuts.hlp (reproduced below):
## SVN ##
## SVN ## If /usr/sbin/sysinstall is linked to another filename, say
## SVN ## `/usr/local/bin/configPackages', then the basename will be used
## SVN ## as an implicit command name.
## SVN ##
## SVN ## Reviewed by:	adrian (co-mentor)
## SVN ## Approved by:	adrian (co-mentor)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/etc/gettytab 209954 2010-07-12 19:09:18Z bcr $
@


1.27.2.3
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 243623
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r243623 | peterj | 2012-11-27 19:23:54 +0000 (Tue, 27 Nov 2012) | 6 lines
## SVN ##
## SVN ## MFC r241708:  Explicitly specify 'np' so that getty(8) does not
## SVN ## simulate even parity on local.9600.
## SVN ##
## SVN ## PR:		76226
## SVN ## Approved by:	jhb (mentor)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/etc/gettytab 243623 2012-11-27 19:23:54Z peterj $
d99 1
a99 1
	:sp#9600:np:
@


1.27.2.1.4.1
log
@SVN rev 239080 on 2012-08-05 23:54:33Z by kensmith

Copy stable/9 to releng/9.1 as part of the 9.1-RELEASE release process.

Approved by:	re (implicit)
@
text
@@


1.27.2.1.4.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.1/etc/gettytab 209954 2010-07-12 19:09:18Z bcr $
@


1.27.2.1.2.1
log
@SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)
@
text
@@


1.27.2.1.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.0/etc/gettytab 209954 2010-07-12 19:09:18Z bcr $
@


1.26
log
@SVN rev 198229 on 2009-10-19 11:10:44Z by ed

Partially revert the change to the gettytab made in r198214.

By misinterpreting some data, I thought that getty wouldn't apply any
baud rate to the syscons devices, but it uses the default entry instead.
This means that the baud rate is set to 1200. This isn't too bad, except
when using canonical mode. Make it use 9600 baud by default.

MFC after:	1 week
@
text
@d168 1
a168 1
# Wierdo special case for fast crt's with hardcopy devices
@


1.25
log
@SVN rev 198214 on 2009-10-18 19:48:53Z by ed

Allow the buffer size to be configured for pseudo-like TTY devices.

Devices that don't implement param() (which means they don't support
hardware parameters such as flow control, baud rate) hardcode the baud
rate to TTYDEF_SPEED. This means the buffer size cannot be configured,
which is a little inconvenient when using canonical mode with big lines
of input, etc.

Make it adjustable, but do clamp it between B50 and B115200 to prevent
awkward buffer sizes. Remove the baud rate assignment from
/etc/gettytab. Trust the kernel to fill in a proper value.

Reported by:	Mikolaj Golub <to my trociny gmail com>
MFC after:	1 month
@
text
@d165 1
a165 1
	:ht:np:
@


1.24
log
@Add autologin entries (al.NNN) for higher console speeds.

MFC after:	2 weeks
@
text
@d165 1
a165 1
	:ht:np:sp#115200:
@


1.24.2.1
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/7/etc/gettytab 157658 2006-04-11 09:54:23Z des $
@


1.24.2.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 243626
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r243626 | peterj | 2012-11-27 19:35:21 +0000 (Tue, 27 Nov 2012) | 6 lines
## SVN ##
## SVN ## MFC r241708:  Explicitly specify 'np' so that getty(8) does not
## SVN ## simulate even parity on local.9600.
## SVN ##
## SVN ## PR:		76226
## SVN ## Approved by:	jhb (mentor)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/7/etc/gettytab 243626 2012-11-27 19:35:21Z peterj $
d99 1
a99 1
	:sp#9600:np:
@


1.24.14.1
log
@SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith

Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release.

Approved by:	re (implicit)
@
text
@@


1.24.14.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/7.4/etc/gettytab 157658 2006-04-11 09:54:23Z des $
@


1.24.12.1
log
@SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith

Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process.

Approved by:	re (implicit)
@
text
@@


1.24.10.1
log
@SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith

Copy head to stable/8 as part of 8.0 Release cycle.

Approved by:	re (Implicit)
@
text
@@


1.24.10.2
log
@SVN rev 210253 on 2010-07-19 19:54:37Z by bcr

MFC r209954:

Fix spelling of "weirdo" in /etc/gettytab comment.

PR:             docs/148500
Submitted by:   Warren Block (wblock at wonkity dot com)
Approved by:    ed@@
@
text
@d168 1
a168 1
# Weirdo special case for fast crt's with hardcopy devices
@


1.24.10.3
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242909
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242909 | dim | 2012-11-12 07:47:19 +0000 (Mon, 12 Nov 2012) | 20 lines
## SVN ##
## SVN ## MFC r242625:
## SVN ##
## SVN ## Remove duplicate const specifiers in many drivers (I hope I got all of
## SVN ## them, please let me know if not).  Most of these are of the form:
## SVN ##
## SVN ## static const struct bzzt_type {
## SVN ##       [...list of members...]
## SVN ## } const bzzt_devs[] = {
## SVN ##       [...list of initializers...]
## SVN ## };
## SVN ##
## SVN ## The second const is unnecessary, as arrays cannot be modified anyway,
## SVN ## and if the elements are const, the whole thing is const automatically
## SVN ## (e.g. it is placed in .rodata).
## SVN ##
## SVN ## I have verified this does not change the binary output of a full kernel
## SVN ## build (except for build timestamps embedded in the object files).
## SVN ##
## SVN ## Reviewed by:	yongari, marius
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/8/etc/gettytab 210253 2010-07-19 19:54:37Z bcr $
@


1.24.10.4
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 243625
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r243625 | peterj | 2012-11-27 19:33:25 +0000 (Tue, 27 Nov 2012) | 6 lines
## SVN ##
## SVN ## MFC r241708:  Explicitly specify 'np' so that getty(8) does not
## SVN ## simulate even parity on local.9600.
## SVN ##
## SVN ## PR:		76226
## SVN ## Approved by:	jhb (mentor)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/8/etc/gettytab 243625 2012-11-27 19:33:25Z peterj $
d99 1
a99 1
	:sp#9600:np:
@


1.24.10.2.4.1
log
@SVN rev 232438 on 2012-03-03 06:15:13Z by kensmith

Copy stable/8 to releng/8.3 as part of 8.3-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.24.10.2.4.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/8.3/etc/gettytab 210253 2010-07-19 19:54:37Z bcr $
@


1.24.10.2.2.1
log
@SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith

Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release.

Approved by:	re (implicit)
@
text
@@


1.24.10.1.4.1
log
@SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith

Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.

Approved by:	re (implicit)
@
text
@@


1.24.10.1.2.1
log
@SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith

Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure.

Approved by:	re (implicit)
@
text
@@


1.24.8.1
log
@SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith

Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.

Approved by:	re (implicit)
@
text
@@


1.24.6.1
log
@SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith

Create releng/7.1 in preparation for moving into RC phase of 7.1 release
cycle.

Approved by:	re (implicit)
@
text
@@


1.23
log
@Add gettytab entry for 3wire 19200 baud console

PR:		conf/90346
Submitted by:	Gavin Atkinson <gavin.atkinson@@ury.york.ac.uk>
Approved by:	philip (mentor)
MFC after:	3 days
@
text
@d207 10
@


1.22
log
@Removed whitespace at BOF, EOL & EOF.
@
text
@d214 2
@


1.22.8.1
log
@MFC:

  Add gettytab entry for 3wire 19200 baud console

      src/etc/gettytab: rev 1.22 -> 1.23

PR:		conf/90346
Submitted by:	Gavin Atkinson <gavin.atkinson@@ury.york.ac.uk>

Approved by:	philip (mentor, implicit)
@
text
@a213 2
3wire.19200|19200-3wire:\
	:np:nc:sp#19200:
@


1.22.8.2
log
@MFC: Add autologin entries for all speeds.

Approved by:	re (kensmith)
@
text
@a206 10
al.19200:\
	:al=root:tc=std.19200:
al.38400:\
	:al=root:tc=std.38400:
al.57600:\
	:al=root:tc=std.57600:
al.115200:\
	:al=root:tc=std.115200:
al.230400:\
	:al=root:tc=std.230400:
@


1.22.8.3
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/6/etc/gettytab 200489 2009-12-14 00:12:07Z dougb $
@


1.22.8.2.6.1
log
@SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith

Create releng/6.4 from stable/6 in preparation for 6.4-RC1.

Approved by:	re (implicit)
@
text
@@


1.21
log
@Update the explanation of parity capabilities
to bring it into accord with the present getty(8) code.

PR:		bin/56325
MFC after:	3 days
@
text
@d208 1
a208 1
# 
@


1.20
log
@Add entries for 3wire terminals.  (carrier not supplied, so we set nc).

PR:		conf/26420
Submitted by:	Jon Passki <cykyc@@yahoo.com>
@
text
@d1 1
a1 1
# $FreeBSD: src/etc/gettytab,v 1.19 2000/12/18 20:56:10 phk Exp $
d22 1
a22 1
#     (none): same as even except -inpck instead of inpck for login.
d26 1
a26 1
#             op overrides ep.
d35 2
a36 4
#             2. set PASS8, giving cs8 -parenb -istrip -inpck.
#     np:ep:  same as np except inpck.
#     np:op:  same as np:ep except for parodd (but parodd is overridden).
#     np:ap:  same as np except istrip.
@


1.19
log
@Add if=/etc/issue to the default getty entry.

This does nothing if you don't have an /etc/issue file.

PR:		22331
Submitted by:	Rick C. Petty <rick@@kiwi-computer.com>
@
text
@d1 1
a1 1
# $FreeBSD: src/etc/gettytab,v 1.18 2000/06/10 19:49:16 phk Exp $
d209 15
@


1.18
log
@Add an autologin example.

PR:		18082
Submitted by:	C. Stephen Gunn <csg@@dustdevil.waterspout.com>
@
text
@d1 1
a1 1
# $FreeBSD: src/etc/gettytab,v 1.17 1999/08/27 23:23:41 peter Exp $
d41 2
a42 1
	:cb:ce:ck:lc:fd#1000:im=\r\n%s/%m (%h) (%t)\r\n\r\n:sp#1200:
@


1.17
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
d201 7
@


1.17.2.1
log
@MFC: Add in an autologin example.
@
text
@d1 1
a1 1
# $FreeBSD: src/etc/gettytab,v 1.17 1999/08/27 23:23:41 peter Exp $
a200 7

#
# autologin - automatically log in as root
#

autologin|al.9600:\
	:al=root:tc=std.9600:
@


1.17.2.2
log
@MFC:	Add displaying of /etc/issue.
@
text
@d1 1
a1 1
# $FreeBSD: src/etc/gettytab,v 1.17.2.1 2000/08/16 22:46:30 jhb Exp $
d41 1
a41 2
	:cb:ce:ck:lc:fd#1000:im=\r\n%s/%m (%h) (%t)\r\n\r\n:sp#1200:\
	:if=/etc/issue:
@


1.17.2.3
log
@MFC: rev 1.20 - Add entries for 3-wire terminals.
@
text
@d1 1
a1 1
# $FreeBSD: src/etc/gettytab,v 1.20 2001/08/31 22:18:50 murray Exp $
a208 15

# 
# Entries for 3-wire serial terminals.  These don't supply carrier, so
# clocal needs to be set, and crtscts needs to be unset.
#
3wire.9600|9600-3wire:\
	:np:nc:sp#9600:
3wire.38400|38400-3wire:\
	:np:nc:sp#38400:
3wire.57600|57600-3wire:\
	:np:nc:sp#57600:
3wire.115200|115200-3wire:\
	:np:nc:sp#115200:
3wire.230400|230400-3wire:\
	:np:nc:sp#230400:
@


1.17.2.4
log
@MFC rev. 1.21: Update the explanation of parity capabilities
to bring it into accord with the present getty(8) code.

Approved by:	re (bmah)
@
text
@d1 1
a1 1
# $FreeBSD$
d22 1
a22 1
#     (none): same as ep for getty.  login will use terminal as is.
d26 1
a26 1
#             getty will fake odd parity as well.
d35 4
a38 2
#             2. set cs8 -parenb -istrip -inpck.
#     ep:op:  same as ap.
@


1.17.2.5
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/4/etc/gettytab 120089 2003-09-15 08:39:53Z yar $
@


1.16
log
@Add Id keywords
@
text
@d1 1
a1 1
#	$Id:$
@


1.16.2.1
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.15
log
@Add std.230400 entry

PR:		7280
@
text
@d1 1
@


1.14
log
@FreeBSD -> %s/%m

PR:		6600
Reviewed by:	phk
Submitted by:	Josh Gilliam <josh@@quick.net>
@
text
@d78 2
@


1.13
log
@Add a sample entry specifying numeric tty settings.  People sometimes ask
how to force a local tty line into CLOCAL mode and Xon/Xoff flow control.
This is the preferrable way (over rc.serial).
@
text
@d40 1
a40 1
	:cb:ce:ck:lc:fd#1000:im=\r\nFreeBSD (%h) (%t)\r\n\r\n:sp#1200:
@


1.12
log
@Cosmetic tweak.
Requested-By: John Robert LoVerso <loverso@@osf.org>
@
text
@d80 20
@


1.12.2.1
log
@MFC: sample entry with numeric values from rev 1.13
@
text
@a79 20
# Entry specifying explicit device settings.  See termios(4) and
# /usr/include/termios.h, too.  The entry forces the tty into
# CLOCAL mode (so no DCD is required), and uses Xon/Xoff flow control.
#
# cflags: CLOCAL | HUPCL | CREAD | CS8
# oflags: OPOST | ONLCR | OXTABS
# iflags: IXOFF | IXON | ICRNL | IGNPAR
# lflags: IEXTEN | ICANON | ISIG | ECHOCTL | ECHO | ECHOK | ECHOE | ECHOKE
#
# The `0' flags don't have input enabled.  The `1' flags don't echo.
# (Echoing is done inside getty itself.)
#
local.9600|CLOCAL tty @@ 9600 Bd:\
	:c0#0x0000c300:c1#0x0000cb00:c2#0x0000cb00:\
	:o0#0x00000007:o1#0x00000002:o2#0x00000007:\
	:i0#0x00000704:i1#0x00000000:i2#0x00000704:\
	:l0#0x000005cf:l1#0x00000000:l2#0x000005cf:\
	:sp#9600:

#
@


1.12.2.2
log
@MFC: import new data and a few bug fixes.
@
text
@d40 1
a40 1
	:cb:ce:ck:lc:fd#1000:im=\r\n%s/%m (%h) (%t)\r\n\r\n:sp#1200:
@


1.12.2.3
log
@Back out one small portion of my previous commit until/unless
the proper infrastructure support for it is brought in.
@
text
@d40 1
a40 1
	:cb:ce:ck:lc:fd#1000:im=\r\nFreeBSD (%h) (%t)\r\n\r\n:sp#1200:
@


1.12.2.4
log
@MFC: Add Id keyword
@
text
@a0 1
#	$Id:$
@


1.12.2.5
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.11
log
@Remove top secret version information from the banner by default.
Loose lips sink ships!  Man the firewall and look alert!
@
text
@d40 1
a40 1
	:cb:ce:ck:lc:fd#1000:im=\r\n   FreeBSD (%h) (%t)\r\n\r\n:sp#1200:
@


1.10
log
@Tweak the default entry a little to take advantage of new getty
feature.
@
text
@d40 1
a40 1
	:cb:ce:ck:lc:fd#1000:im=\r\n   %s %r (%h) (%t)\r\n\r\n:sp#1200:
@


1.9
log
@Update a comment to match the 1993/12/03 change to `np' and fix some
punctuation.
@
text
@d40 1
a40 1
	:cb:ce:ck:lc:fd#1000:im=\r\n   FreeBSD (%h) (%t)\r\n\r\n:sp#1200:
@


1.8
log
@gettytab:

Add the `lc' option to default.  Having getty understand the issues of
CAPS-only terminals is a nop these days, but `lc' avoids hassles for
people with CAPS-only user names.

Suggested by: Don Yuniskis


weekly:

Modify the call to makewhatis, now that our makewhatis can take the
entire ${MANPATH} as a single argument.
@
text
@d9 1
a9 1
# entries, and in cases where getty is called with no table name
d12 1
a12 1
# be changed to turn them off (cb@@:ce@@:ck@@:).
d19 2
a20 3
# Parity defaults to even.  There ought to be more alternative entries with
# no parity.  The Pc entry already has no parity..  The different parities
# are:
@


1.8.4.1
log
@Brought in changes from main branch: fix comments.
@
text
@d9 1
a9 1
# entries, and in cases where getty is called with no table name.
d12 1
a12 1
# be changed to turn them off (:cb@@:ce@@:ck@@:).
d19 3
a21 2
# Parity defaults to even, but the Pc entry and all the `std' entries
# specify no parity.   The different parities are:
@


1.7
log
@Add 'ht' to PC Console (has hardware tabs)
@
text
@d14 5
d33 1
a33 1
#                as not to force cs8 and let the hardware handle the parity.
d41 1
a41 1
	:cb:ce:ck:fd#1000:im=\r\n   FreeBSD (%h) (%t)\r\n\r\n:sp#1200:
@


1.6
log
@Add "np" to all std.xxx entries, make them 8-bit clean.
@
text
@d139 1
a139 1
	:np:sp#115200:
@


1.5
log
@>From: Adam David <adam@@veda.is>
Date: Wed, 10 Nov 1993 00:51:19 GMT
Subject: typo in etc/gettytab

[editor: fix typo in comment about what things need turned off for
none crt entries]
@
text
@d49 1
a49 1
	:nd#1:cd#1:uc:sp#110:
d51 1
a51 1
	:ep:nd#1:cd#2:ff#1:td#1:sp#134:ht:nl:
d53 1
a53 1
	:ep:nd#1:cd#2:td#1:fd#1:sp#150:ht:nl:lm=\E\72\6\6\17login\72 :
d55 1
a55 1
	:nd#1:cd#1:sp#300:
d57 1
a57 1
	:nd#1:cd#1:sp#600:
d59 1
a59 1
	:fd#1:sp#1200:
d61 1
a61 1
	:sp#2400:
d63 1
a63 1
	:sp#4800:
d65 1
a65 1
	:sp#9600:
d67 1
a67 1
	:sp#19200:
d69 1
a69 1
	:sp#38400:
d71 1
a71 1
	:sp#57600:
d73 1
a73 1
	:sp#115200:
@


1.4
log
@From Andrew Chernov:

(see changes to getty which this patch is part of)

Basically, a few of the tty flags were changed to work better with
'CRT's, and the flags are better documented (documentation from Bruce
Evans).
@
text
@d12 1
a12 1
# be changed to turn them off (ce@@:ce@@:ck@@:).
@


1.3
log
@Fixed entry for t9600, baud rate was 19200, should be and now is 9600.
@
text
@d11 24
d36 1
a36 1
	:ap:fd#1000:im=\r\n   FreeBSD (%h) (%t)\r\n\r\n:sp#1200:
d139 1
a139 1
	:np:ap:sp#9600:
@


1.2
log
@Changed login banner from 386BSD to FreeBSD.  Added entries for 38.4k, 57.6k
and 115.2k baud gettys.
@
text
@d87 1
a87 1
	:nx=t2400a:tc=19200-baud:
@


1.1
log
@Initial revision
@
text
@d12 1
a12 1
	:ap:fd#1000:im=\r\n   386BSD (%h) (%t)\r\n\r\n:sp#1200:
d44 6
@


1.1.1.1
log
@Initial import of 386BSD 0.1 othersrc/etc
@
text
@@
