Date: Thu, 19 Apr 2001 16:51:00 +0400 From: "Andrey A. Chernov" <ache@nagual.pp.ru> To: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp> Cc: sos@freebsd.dk, current@FreeBSD.ORG Subject: Re: Syscons mouse char range redefine proposal Message-ID: <20010419165059.A53153@nagual.pp.ru> In-Reply-To: <200104191223.VAA16007@zodiac.mech.utsunomiya-u.ac.jp>; from yokota@zodiac.mech.utsunomiya-u.ac.jp on Thu, Apr 19, 2001 at 09:23:57PM %2B0900 References: <20010419154827.A52282@nagual.pp.ru> <200104191154.f3JBsqV10841@freebsd.dk> <20010419160300.A52373@nagual.pp.ru> <200104191223.VAA16007@zodiac.mech.utsunomiya-u.ac.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Apr 19, 2001 at 21:23:57 +0900, Kazutaka YOKOTA wrote:
>
> Maybe we should automatically add `-M 3' to flags for vidcontrol
> in rc.conf for those languages...
>
Please review this patch:
--- defaults/rc.conf.old Tue Apr 10 05:34:17 2001
+++ defaults/rc.conf Thu Apr 19 16:46:40 2001
@@ -292,6 +292,8 @@
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 occuped in the font code
+ # table, specify alternative range start like 3
allscreens_flags="" # Set this vidcontrol mode for all virtual screens
--- rc.syscons.old Mon Jan 22 09:04:56 2001
+++ rc.syscons Thu Apr 19 16:45:12 2001
@@ -160,6 +160,13 @@
[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
--
Andrey A. Chernov
http://ache.pp.ru/
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010419165059.A53153>
