summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDima Dorfman <dd@FreeBSD.org>2001-04-28 20:56:53 +0000
committerDima Dorfman <dd@FreeBSD.org>2001-04-28 20:56:53 +0000
commitac25a66fb302a2992721f7853f0962d99059bb83 (patch)
tree0e45bdbfd01d3cd730cec944ba7099fb5dcf211a
parent344553425e70116dd3bf2453cf97ecd9d76c1e78 (diff)
Notes
-rw-r--r--etc/defaults/rc.conf1
-rw-r--r--etc/rc.d/syscons9
-rw-r--r--etc/rc.syscons9
3 files changed, 19 insertions, 0 deletions
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf
index 81f38487a7a4..6f38f710bb8a 100644
--- a/etc/defaults/rc.conf
+++ b/etc/defaults/rc.conf
@@ -297,6 +297,7 @@ mousechar_start="NO" # if 0xd0-0xd3 default range is occuped in your
# language code table, specify alternative range
# start like mousechar_start=3, see vidcontrol(1)
allscreens_flags="" # Set this vidcontrol mode for all virtual screens
+allscreens_kbdflags="" # Set this kbdcontrol mode for all virtual screens
##############################################################
diff --git a/etc/rc.d/syscons b/etc/rc.d/syscons
index cb69a262eff5..f8c5c6cd814a 100644
--- a/etc/rc.d/syscons
+++ b/etc/rc.d/syscons
@@ -180,4 +180,13 @@ if [ -n "${allscreens_flags}" ]; then
done
fi
+# set this keyboard more for all virtual terminals
+#
+if [ -n "${allscreens_kbdflags}" ]; then
+ echo -n ' allscreens_kbd'
+ for ttyv in /dev/ttyv*; do
+ kbdcontrol ${allscreens_kbdflags} < ${ttyv} > ${ttyv} 2>&1
+ done
+fi
+
echo '.'
diff --git a/etc/rc.syscons b/etc/rc.syscons
index cb69a262eff5..f8c5c6cd814a 100644
--- a/etc/rc.syscons
+++ b/etc/rc.syscons
@@ -180,4 +180,13 @@ if [ -n "${allscreens_flags}" ]; then
done
fi
+# set this keyboard more for all virtual terminals
+#
+if [ -n "${allscreens_kbdflags}" ]; then
+ echo -n ' allscreens_kbd'
+ for ttyv in /dev/ttyv*; do
+ kbdcontrol ${allscreens_kbdflags} < ${ttyv} > ${ttyv} 2>&1
+ done
+fi
+
echo '.'