[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
system/1805: Obsolete moused entries in rc and rc.conf
- To: gnats@openbsd.org
- Subject: system/1805: Obsolete moused entries in rc and rc.conf
- From: "Heikki Korpela" <heko@saitti.net>
- Date: Wed, 2 May 2001 03:35:57 +0300 (EEST)
- Cc: heko@saitti.net
- Resent-Date: Tue, 1 May 2001 19:00:02 -0600 (MDT)
- Resent-From: gnats@cvs.openbsd.org (GNATS Management)
- Resent-Message-Id: <200105020100.f42102L27459@cvs.openbsd.org>
- Resent-Reply-To: gnats@cvs.openbsd.org,"Heikki Korpela" <heko@saitti.net>
- Resent-To: bugs@cvs.openbsd.org
>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: