Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Sep 2002 13:21:51 +0100 (BST)
From:      Bruce M Simpson <bms@spc.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   misc/42657: /etc/rc.syscons: moused has malformed command line
Message-ID:  <20020911122151.2B08796AB@triage.dollah.com>

next in thread | raw e-mail | index | archive | help

>Number:         42657
>Category:       misc
>Synopsis:       /etc/rc.syscons: moused has malformed command line
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 11 05:30:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Bruce M Simpson
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
>Environment:
System: FreeBSD triage.dollah.com 4.6-STABLE FreeBSD 4.6-STABLE #4: Sat Sep 7 13:55:56 BST 2002 root@:/usr/src/sys/compile/TRIAGE i386

	
>Description:
	In rc.syscons, moused is passed incorrect command line arguments when
	several flags are specified.

>How-To-Repeat:
	If I use the following flags in rc.conf to start up moused with
	support for taps using my GlidePoint tablet on the Vaio, then
	moused doesn't start due to incorrect command line arguments:-

	moused_enable="YES"
	moused_port="/dev/psm0"
	moused_flags="-3 -m 1=4 1=1"
	moused_type="auto"

>Fix:
	The patch below corrects the problem.

--- syscons-rc-moused.patch begins here ---
--- /etc/rc.syscons.orig	Tue Sep 10 22:51:15 2002
+++ /etc/rc.syscons	Tue Sep 10 22:52:47 2002
@@ -159,7 +159,7 @@
 case ${moused_enable} in
 [Yy][Ee][Ss])
 	echo -n ' moused'
-	moused ${moused_flags} -p ${moused_port} -t ${moused_type}
+	moused -p ${moused_port} -t ${moused_type} ${moused_flags}
 	case ${mousechar_start} in
 	[Nn][Oo] | '')
 		;;
--- syscons-rc-moused.patch ends here ---


>Release-Note:
>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?20020911122151.2B08796AB>