aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/defaults/rc.conf3
-rw-r--r--etc/rc.d/syscons7
-rw-r--r--etc/rc.syscons7
3 files changed, 17 insertions, 0 deletions
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf
index 14b6f4749f69..1ab09aa6a664 100644
--- a/etc/defaults/rc.conf
+++ b/etc/defaults/rc.conf
@@ -292,6 +292,9 @@ moused_enable="NO" # Run the mouse daemon.
moused_type="auto" # See man page for rc.conf(5) for available settings.
moused_port="/dev/psm0" # Set to your mouse port.
moused_flags="" # Any additional flags to moused.
+mousechar_start="NO" # if 0xd0-0xd4 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
diff --git a/etc/rc.d/syscons b/etc/rc.d/syscons
index 4fd663ea1126..cb69a262eff5 100644
--- a/etc/rc.d/syscons
+++ b/etc/rc.d/syscons
@@ -160,6 +160,13 @@ case ${moused_enable} in
[Yy][Ee][Ss])
echo -n ' moused'
moused ${moused_flags} -p ${moused_port} -t ${moused_type}
+ case ${mousechar_start} in
+ [Nn][Oo] | '')
+ ;;
+ *)
+ echo -n ' mousechar_start'; vidcontrol < ${viddev} -M ${mousechar_start}
+ ;;
+ esac
vidcontrol < ${viddev} -m on
;;
esac
diff --git a/etc/rc.syscons b/etc/rc.syscons
index 4fd663ea1126..cb69a262eff5 100644
--- a/etc/rc.syscons
+++ b/etc/rc.syscons
@@ -160,6 +160,13 @@ case ${moused_enable} in
[Yy][Ee][Ss])
echo -n ' moused'
moused ${moused_flags} -p ${moused_port} -t ${moused_type}
+ case ${mousechar_start} in
+ [Nn][Oo] | '')
+ ;;
+ *)
+ echo -n ' mousechar_start'; vidcontrol < ${viddev} -M ${mousechar_start}
+ ;;
+ esac
vidcontrol < ${viddev} -m on
;;
esac