From owner-freebsd-current Thu Apr 19 5:51:21 2001 Delivered-To: freebsd-current@freebsd.org Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by hub.freebsd.org (Postfix) with ESMTP id 864F237B424 for ; Thu, 19 Apr 2001 05:51:17 -0700 (PDT) (envelope-from ache@nagual.pp.ru) Received: (from ache@localhost) by nagual.pp.ru (8.11.3/8.11.3) id f3JCp3x53199; Thu, 19 Apr 2001 16:51:04 +0400 (MSD) (envelope-from ache) Date: Thu, 19 Apr 2001 16:51:00 +0400 From: "Andrey A. Chernov" To: Kazutaka YOKOTA Cc: sos@freebsd.dk, current@FreeBSD.ORG Subject: Re: Syscons mouse char range redefine proposal Message-ID: <20010419165059.A53153@nagual.pp.ru> References: <20010419154827.A52282@nagual.pp.ru> <200104191154.f3JBsqV10841@freebsd.dk> <20010419160300.A52373@nagual.pp.ru> <200104191223.VAA16007@zodiac.mech.utsunomiya-u.ac.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i 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 +0900 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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