summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1995-02-16 10:51:53 +0000
committerjoerg <joerg@FreeBSD.org>1995-02-16 10:51:53 +0000
commitcd60a37260d6e4576ca8710374f44bd5244b7d47 (patch)
tree4b24314182009eef16d660799adfc5cc70f03a30 /etc
parent1323b9b07e7ab4448d6b8162835124d460fd8ceb (diff)
downloadFreeBSD-src-cd60a37260d6e4576ca8710374f44bd5244b7d47.zip
FreeBSD-src-cd60a37260d6e4576ca8710374f44bd5244b7d47.tar.gz
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.
Diffstat (limited to 'etc')
-rw-r--r--etc/gettytab9
-rw-r--r--etc/weekly10
2 files changed, 8 insertions, 11 deletions
diff --git a/etc/gettytab b/etc/gettytab
index c0ac99a..5e11851 100644
--- a/etc/gettytab
+++ b/etc/gettytab
@@ -11,6 +11,11 @@
# 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. There ought to be more alternative entries with
# no parity. The Pc entry already has no parity.. The different parities
# are:
@@ -25,7 +30,7 @@
# 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.
+# 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.
@@ -33,7 +38,7 @@
# np:ap: same as np except istrip.
#
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
diff --git a/etc/weekly b/etc/weekly
index c1e99d7..a403ab2 100644
--- a/etc/weekly
+++ b/etc/weekly
@@ -76,12 +76,4 @@ echo ""
echo "Rebuilding whatis database:"
MANPATH=${MANPATH:-/usr/share/man:/usr/X11R6/man:/usr/local/man}
-for mandir in `( IFS=":"; set -- ${MANPATH}; echo $* )`
-do
- if [ ! -d ${mandir} ]
- then
- continue
- fi
- echo "==> ${mandir}"
- makewhatis ${mandir}
-done
+makewhatis "${MANPATH}"
OpenPOWER on IntegriCloud