Update for new COPYRIGHT.* files.
[unix-history] / etc / gettytab
index 62f60bf..c0ac99a 100644 (file)
@@ -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
 #
 # 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@:).
+#
+# 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:\
 default:\
-       :ap:fd#1000:im=\r\n   386BSD (%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
 
 #
 # Fixed speed entries
@@ -22,25 +46,31 @@ default:\
 #      be assigned to any table desired (hopefully the same speed).
 #
 a|std.110|110-baud:\
 #      be assigned to any table desired (hopefully the same speed).
 #
 a|std.110|110-baud:\
-       :nd#1:cd#1:uc:sp#110:
+       :np:nd#1:cd#1:uc:sp#110:
 b|std.134|134.5-baud:\
 b|std.134|134.5-baud:\
-       :ep:nd#1:cd#2:ff#1:td#1:sp#134:ht:nl:
+       :np:nd#1:cd#2:ff#1:td#1:sp#134:ht:nl:
 1|std.150|150-baud:\
 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 :
+       :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:\
 c|std.300|300-baud:\
-       :nd#1:cd#1:sp#300:
+       :np:nd#1:cd#1:sp#300:
 d|std.600|600-baud:\
 d|std.600|600-baud:\
-       :nd#1:cd#1:sp#600:
+       :np:nd#1:cd#1:sp#600:
 f|std.1200|1200-baud:\
 f|std.1200|1200-baud:\
-       :fd#1:sp#1200:
+       :np:fd#1:sp#1200:
 6|std.2400|2400-baud:\
 6|std.2400|2400-baud:\
-       :sp#2400:
+       :np:sp#2400:
 7|std.4800|4800-baud:\
 7|std.4800|4800-baud:\
-       :sp#4800:
+       :np:sp#4800:
 2|std.9600|9600-baud:\
 2|std.9600|9600-baud:\
-       :sp#9600:
+       :np:sp#9600:
 g|std.19200|19200-baud:\
 g|std.19200|19200-baud:\
-       :sp#19200:
+       :np:sp#19200:
+std.38400|38400-baud:\
+       :np:sp#38400:
+std.57600|57600-baud:\
+       :np:sp#57600:
+std.115200|115200-baud:\
+       :np:sp#115200:
 
 #
 # Dial in rotary tables, speed selection via 'break'
 
 #
 # Dial in rotary tables, speed selection via 'break'
@@ -78,7 +108,7 @@ t1200:\
 #telebit (9600)
 #
 t9600:\
 #telebit (9600)
 #
 t9600:\
-       :nx=t2400a:tc=19200-baud:
+       :nx=t2400a:tc=9600-baud:
 t2400a:\
        :nx=t1200a:tc=2400-baud:
 t1200a:\
 t2400a:\
        :nx=t1200a:tc=2400-baud:
 t1200a:\
@@ -106,7 +136,7 @@ X|Xwindow|X window system:\
        :fd@:nd@:cd@:rw:sp#9600:
 
 P|Pc|Pc console:\
        :fd@:nd@:cd@:rw:sp#9600:
 
 P|Pc|Pc console:\
-       :np:ap:sp#9600:
+       :ht:np:sp#115200:
 
 #
 # Wierdo special case for fast crt's with hardcopy devices
 
 #
 # Wierdo special case for fast crt's with hardcopy devices