Subject: xsrc/35920: minor cleanup of the mouse device setup instructions in xf86config
To: None <xsrc-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Greg A. Woods <woods@planix.com>
List: netbsd-bugs
Date: 03/05/2007 03:35:00
>Number:         35920
>Category:       xsrc
>Synopsis:       minor cleanup of the mouse device setup instructions in xf86config
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    xsrc-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 05 03:35:00 +0000 2007
>Originator:     Greg A. Woods
>Release:        NetBSD xsrc-current
>Organization:
Planix, Inc.; Toronto, Ontario; Canada
>Environment:
System: NetBSD
>Description:

	minor cleanup of the mouse device setup instructions

>How-To-Repeat:

>Fix:

Index: xfree/xc/programs/Xserver/hw/xfree86/xf86config/xf86config.c
===================================================================
RCS file: /cvs/master/m-NetBSD/main/xsrc/xfree/xc/programs/Xserver/hw/xfree86/xf86config/xf86config.c,v
retrieving revision 1.8
diff -u -r1.8 xf86config.c
--- xfree/xc/programs/Xserver/hw/xfree86/xf86config/xf86config.c	18 Mar 2005 14:55:16 -0000	1.8
+++ xfree/xc/programs/Xserver/hw/xfree86/xf86config/xf86config.c	12 Jul 2006 00:27:35 -0000
@@ -471,12 +471,13 @@
 
 static char *mousedev_text =
 "Now give the full device name that the mouse is connected to, for example\n"
-"/dev/tty00. Just pressing enter will use the default, /dev/mouse.\n"
+"/dev/tty00.  Just pressing enter will use the default.\n"
 #ifdef WSCONS_SUPPORT
 "On systems with wscons, the default is /dev/wsmouse.\n"
-#endif
-#ifdef __FreeBSD__
+#elif __FreeBSD__
 "On FreeBSD, the default is /dev/sysmouse.\n"
+#else
+"The default is /dev/mouse.\n"
 #endif
 "\n";