Update the explanation of parity capabilities
to bring it into accord with the present getty(8) code. PR: bin/56325 MFC after: 3 days
This commit is contained in:
parent
bc458f6637
commit
32a79d7cb2
10
etc/gettytab
10
etc/gettytab
@ -19,11 +19,11 @@
|
||||
#
|
||||
# Parity defaults to even, but the Pc entry and all the `std' entries
|
||||
# specify no parity. The different parities are:
|
||||
# (none): same as even except -inpck instead of inpck for login.
|
||||
# (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.
|
||||
# op overrides ep.
|
||||
# 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
|
||||
@ -32,10 +32,8 @@
|
||||
# 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 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.
|
||||
# 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:\
|
||||
|
Loading…
Reference in New Issue
Block a user