Date: Thu, 20 Aug 1998 19:55:55 +0200 From: axl@iafrica.com To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: i386/7695: rc.i386 only enables mouse support for ttyv0 Message-ID: <E0z9YwF-0001sg-00@axl.training.iafrica.com>
next in thread | raw e-mail | index | archive | help
>Number: 7695 >Category: i386 >Synopsis: rc.i386 only enables mouse support for ttyv0 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Aug 20 11:00:02 PDT 1998 >Last-Modified: >Originator: Sheldon Hearn >Organization: UUNET Internet Africa >Release: FreeBSD 2.2.7-STABLE i386 >Environment: Any -STABLE i386 machine with moused enabled in rc.conf >Description: When moused is enabled in rc.conf, rc.i386 uses vidcontrol to enable mouse support on console. Unfortunately, this operation is only performed for ttyv0. There is no reason for leaving mouse support disabled for other virtual terminals when said terminals are offering a console login. It would make sense to enable mouse support on all virtual terminals for which getty is offering a console login. >How-To-Repeat: N/A >Fix: The following patch teaches rc.i386 to enable mouse support on any virtual terminal where getty is offering console login. --- src/etc/etc.i386/rc.i386.ORIG Thu Aug 20 19:26:28 1998 +++ src/etc/etc.i386/rc.i386 Thu Aug 20 19:26:44 1998 @@ -102,7 +102,9 @@ if [ "X${moused_enable}" = X"YES" ] ; then echo -n ' moused' moused ${moused_flags} -p ${moused_port} -t ${moused_type} - vidcontrol <${viddev} -m on + for i in `grep "^ttyv.* getty Pc.*\bon\b" /etc/ttys|cut -f 1` ; do + vidcontrol </dev/$i -m on + done fi echo '.' >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E0z9YwF-0001sg-00>