summaryrefslogtreecommitdiffstats
path: root/etc/gettytab
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1993-10-22 02:49:34 +0000
committerdg <dg@FreeBSD.org>1993-10-22 02:49:34 +0000
commitf2d92ac771af0df626fb87977421840bc4c6e316 (patch)
treeaefbb795bb9ca28f58d49024ea95897e34a90f24 /etc/gettytab
parente6583ac1c800ec15479afeefd3df6c28d40abfa7 (diff)
downloadFreeBSD-src-f2d92ac771af0df626fb87977421840bc4c6e316.zip
FreeBSD-src-f2d92ac771af0df626fb87977421840bc4c6e316.tar.gz
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).
Diffstat (limited to 'etc/gettytab')
-rw-r--r--etc/gettytab28
1 files changed, 26 insertions, 2 deletions
diff --git a/etc/gettytab b/etc/gettytab
index f8a63b1..29eb925 100644
--- a/etc/gettytab
+++ b/etc/gettytab
@@ -8,8 +8,32 @@
# 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 (ce@:ce@:ck@:).
+#
+# 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:
+# (none): same as even except -inpck instead of inpck for login.
+# 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.
+# op overrides ep.
+# 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
+# as not to force cs8 and let the hardware handle the parity.
+# login has to be rely on the hardware anyway.
+# 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.
+#
default:\
- :ap:fd#1000:im=\r\n FreeBSD (%h) (%t)\r\n\r\n:sp#1200:
+ :cb:ce:ck:fd#1000:im=\r\n FreeBSD (%h) (%t)\r\n\r\n:sp#1200:
#
# Fixed speed entries
@@ -112,7 +136,7 @@ X|Xwindow|X window system:\
:fd@:nd@:cd@:rw:sp#9600:
P|Pc|Pc console:\
- :np:ap:sp#9600:
+ :np:sp#115200:
#
# Wierdo special case for fast crt's with hardcopy devices
OpenPOWER on IntegriCloud