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.
This commit is contained in:
parent
b5886db230
commit
66b7e31706
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=6489
@ -11,6 +11,11 @@
|
|||||||
# cb, ce and ck are desirable on most crt's. The non-crt entries need to
|
# 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@:).
|
# 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. There ought to be more alternative entries with
|
# Parity defaults to even. There ought to be more alternative entries with
|
||||||
# no parity. The Pc entry already has no parity.. The different parities
|
# no parity. The Pc entry already has no parity.. The different parities
|
||||||
# are:
|
# are:
|
||||||
@ -25,7 +30,7 @@
|
|||||||
# characters on non-terminals (like pccons) that don't
|
# characters on non-terminals (like pccons) that don't
|
||||||
# support parity. It would probably better for getty not to
|
# support parity. It would probably better for getty not to
|
||||||
# try to fake parity. It could just use cbreak mode so as
|
# try to fake parity. It could just use cbreak mode so as
|
||||||
# as not to force cs8 and let the hardware handle the parity.
|
# not to force cs8 and let the hardware handle the parity.
|
||||||
# login has to be rely on the hardware anyway.
|
# login has to be rely on the hardware anyway.
|
||||||
# 2. set PASS8, giving cs8 -parenb -istrip -inpck.
|
# 2. set PASS8, giving cs8 -parenb -istrip -inpck.
|
||||||
# np:ep: same as np except inpck.
|
# np:ep: same as np except inpck.
|
||||||
@ -33,7 +38,7 @@
|
|||||||
# np:ap: same as np except istrip.
|
# np:ap: same as np except istrip.
|
||||||
#
|
#
|
||||||
default:\
|
default:\
|
||||||
:cb:ce:ck:fd#1000:im=\r\n FreeBSD (%h) (%t)\r\n\r\n:sp#1200:
|
:cb:ce:ck:lc:fd#1000:im=\r\n FreeBSD (%h) (%t)\r\n\r\n:sp#1200:
|
||||||
|
|
||||||
#
|
#
|
||||||
# Fixed speed entries
|
# Fixed speed entries
|
||||||
|
10
etc/weekly
10
etc/weekly
@ -76,12 +76,4 @@ echo ""
|
|||||||
echo "Rebuilding whatis database:"
|
echo "Rebuilding whatis database:"
|
||||||
MANPATH=${MANPATH:-/usr/share/man:/usr/X11R6/man:/usr/local/man}
|
MANPATH=${MANPATH:-/usr/share/man:/usr/X11R6/man:/usr/local/man}
|
||||||
|
|
||||||
for mandir in `( IFS=":"; set -- ${MANPATH}; echo $* )`
|
makewhatis "${MANPATH}"
|
||||||
do
|
|
||||||
if [ ! -d ${mandir} ]
|
|
||||||
then
|
|
||||||
continue
|
|
||||||
fi
|
|
||||||
echo "==> ${mandir}"
|
|
||||||
makewhatis ${mandir}
|
|
||||||
done
|
|
||||||
|
Loading…
Reference in New Issue
Block a user