summaryrefslogtreecommitdiffstats
path: root/usr.sbin/moused/moused.8
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2006-09-29 17:57:04 +0000
committerru <ru@FreeBSD.org>2006-09-29 17:57:04 +0000
commit081fcce9b95f3f51e2b600db9d0026f3ecfadc23 (patch)
tree608bfa4b400586363bcc75b7ada22d85d2fc448c /usr.sbin/moused/moused.8
parent006fe977362e69e13e0d91dd09794012ca536261 (diff)
downloadFreeBSD-src-081fcce9b95f3f51e2b600db9d0026f3ecfadc23.zip
FreeBSD-src-081fcce9b95f3f51e2b600db9d0026f3ecfadc23.tar.gz
Markup fixes.
Diffstat (limited to 'usr.sbin/moused/moused.8')
-rw-r--r--usr.sbin/moused/moused.839
1 files changed, 22 insertions, 17 deletions
diff --git a/usr.sbin/moused/moused.8 b/usr.sbin/moused/moused.8
index f635a15..4b2138d 100644
--- a/usr.sbin/moused/moused.8
+++ b/usr.sbin/moused/moused.8
@@ -89,14 +89,17 @@ data to the device so that the user program will see it.
.Pp
If the mouse daemon receives the signal
.Dv SIGHUP ,
-it will reopen the mouse port and reinitialize itself. Useful if
+it will reopen the mouse port and reinitialize itself.
+Useful if
the mouse is attached/detached while the system is suspended.
.Pp
If the mouse daemon receives the signal
.Dv SIGUSR1 ,
-it will stop passing mouse events. Sending the signal
-.Dv SIGUSR1
-again will resume passing mouse events. Useful if your typing on a laptop is
+it will stop passing mouse events.
+Sending the signal
+.Dv SIGUSR1
+again will resume passing mouse events.
+Useful if your typing on a laptop is
interrupted by accidentally touching the mouse pad.
.Pp
The following options are available:
@@ -613,11 +616,11 @@ protocol.
To test if the selected protocol type is correct for the given mouse,
enable the mouse pointer in the current virtual console,
.Pp
-.Dl vidcontrol -m on
+.Dl "vidcontrol -m on"
.Pp
start the mouse daemon in the foreground mode,
.Pp
-.Dl moused -f -p Ar _selected_port_ -t Ar _selected_protocol_
+.Dl "moused -f -p <selected_port> -t <selected_protocol>"
.Pp
and see if the mouse pointer travels correctly
according to the mouse movement.
@@ -668,7 +671,7 @@ utility
UNIX-domain stream socket for X10 MouseRemote events
.El
.Sh EXAMPLES
-.Dl moused -p /dev/cuad0 -i type
+.Dl "moused -p /dev/cuad0 -i type"
.Pp
Let the
.Nm
@@ -676,9 +679,10 @@ utility determine the protocol type of the mouse at the serial port
.Pa /dev/cuad0 .
If successful, the command will print the type, otherwise it will say
.Dq Li unknown .
-.Pp
-.Dl moused -p /dev/cuad0
-.Dl vidcontrol -m on
+.Bd -literal -offset indent
+moused -p /dev/cuad0
+vidcontrol -m on
+.Ed
.Pp
If the
.Nm
@@ -686,9 +690,10 @@ utility is able to identify the protocol type of the mouse at the specified
port automatically, you can start the daemon without the
.Fl t
option and enable the mouse pointer in the text console as above.
-.Pp
-.Dl moused -p /dev/mouse -t microsoft
-.Dl vidcontrol -m on
+.Bd -literal -offset indent
+moused -p /dev/mouse -t microsoft
+vidcontrol -m on
+.Ed
.Pp
Start the mouse daemon on the serial port
.Pa /dev/mouse .
@@ -698,27 +703,27 @@ is explicitly specified by the
.Fl t
option.
.Pp
-.Dl moused -p /dev/mouse -m 1=3 -m 3=1
+.Dl "moused -p /dev/mouse -m 1=3 -m 3=1"
.Pp
Assign the physical button 3 (right button) to the logical button 1
(logical left) and the physical button 1 (left) to the logical
button 3 (logical right).
This will effectively swap the left and right buttons.
.Pp
-.Dl moused -p /dev/mouse -t intellimouse -z 4
+.Dl "moused -p /dev/mouse -t intellimouse -z 4"
.Pp
Report negative Z axis movement (i.e., mouse wheel) as the button 4 pressed
and positive Z axis movement (i.e., mouse wheel) as the button 5 pressed.
.Pp
If you add
.Pp
-.Dl ALL ALL = NOPASSWD: /usr/bin/killall -USR1 moused
+.Dl "ALL ALL = NOPASSWD: /usr/bin/killall -USR1 moused"
.Pp
to your
.Pa /usr/local/etc/sudoers
file, and bind
.Pp
-.Dl killall -USR1 moused
+.Dl "killall -USR1 moused"
.Pp
to a key in your window manager, you can suspend mouse events on your laptop if
you keep brushing over the mouse pad while typing.
OpenPOWER on IntegriCloud