[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

system/1805: Obsolete moused entries in rc and rc.conf




>Number:         1805
>Category:       system
>Synopsis:       Obsolete moused entries in rc and rc.conf
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May  1 19:00:01 MDT 2001
>Last-Modified:
>Originator:     Heikki Korpela
>Organization:
	
>Release:        OpenBSD 2.9
>Environment:
	System      : OpenBSD 2.9
	Architecture: OpenBSD.i386
	Machine     : i386
>Description:

'moused_flags' and 'moused' startup are still there in /etc/rc
and /etc/rc.conf, although moused was removed today for good from
2.9 in favour of wsmoused.

>How-To-Repeat:
   cat /etc/rc and /etc/rc.conf on 2.9.
>Fix:
diff -u -r1.167 rc
--- rc	2001/04/19 04:00:15	1.167
+++ rc	2001/05/02 00:51:40
@@ -550,8 +550,8 @@
 
 date
 
-if [ "X${moused_flags}" != X"NO" -a -x /usr/sbin/moused ]; then
-	echo 'starting moused...';	/usr/sbin/moused ${moused_flags}
+if [ "X${wsmoused_flags}" != X"NO" -a -x /usr/sbin/wsmoused ]; then
+	echo 'starting wsmoused...';	/usr/sbin/wsmoused ${wsmoused_flags}
 fi
 
 # Alternatively, on some architectures, xdm may be started in /etc/ttys.
diff -u -r1.57 rc.conf
--- rc.conf	2001/04/19 04:00:15	1.57
+++ rc.conf	2001/05/02 00:51:40
@@ -39,8 +39,9 @@
 # On some architectures, you must also disable console getty in /etc/ttys
 xdm_flags=NO		# for normal use: ""
 
-# For enabling console mouse support (i386 architecture only)
-moused_flags=NO		# for ps/2 try: "-p /dev/psm0", serial: "-p /dev/cua00"
+# For enabling console mouse support 
+wsmoused_flags=NO		# For a ps/2 mouse, "" is often enough;
+                       # for serial you need to specify -p /dev/cuao[0-3]
 
 # set the following to "YES" to turn them on
 rwhod=NO

>Audit-Trail:
>Unformatted: