Refer to ``moused'' consistently.

This commit is contained in:
gmcgarry 2001-11-22 04:10:07 +00:00
parent 85cae1f6d1
commit 8c620e9ea0
1 changed files with 63 additions and 65 deletions

View File

@ -1,4 +1,5 @@
.\" $NetBSD: moused.8,v 1.2 2001/10/29 23:27:14 wiz Exp $
.\" $NetBSD: moused.8,v 1.3 2001/11/22 04:10:07 gmcgarry Exp $
.\"
.\" Copyright (c) 1996
.\" Mike Pritchard <mpp@FreeBSD.org>. All rights reserved.
.\"
@ -29,7 +30,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" $FreeBSD: src/usr.sbin/moused/moused.8,v 1.39 2001/08/10 13:45:34 ru Exp $
.\" from:
.\"
.\" FreeBSD: src/usr.sbin/moused/moused.8,v 1.39 2001/08/10 13:45:34 ru Exp
.\"
.Dd October 29, 2001
.Dt MOUSED 8
@ -67,14 +70,16 @@ in the standard format
(see
.Xr wsmouse 4 ) .
.Pp
The mouse daemon listens to the specified port for mouse data,
interprets and then passes it via ioctls to the console driver.
The mouse daemon
reports translation movement, button press/release
events and movement of the roller or the wheel if available.
The roller/wheel movement is reported as ``Z'' axis movement.
.Nm
listens to the specified port for mouse data, interprets and then
passes it via ioctls to the console driver. It reports translation
movement, button press/release events and movement of the roller or
the wheel if available. The roller/wheel movement is reported as
``Z'' axis movement.
.Pp
If the mouse daemon receives the signal
If
.Nm
receives the signal
.Dv SIGHUP ,
it will reopen the mouse port and reinitializes itself.
Useful if
@ -96,21 +101,18 @@ to operate in the
.Ar mousesystems
mode.
.It Fl E Ar timeout
When the third button emulation is enabled
(see above),
the
When the third button emulation is enabled (see above),
.Nm
daemon waits
waits
.Ar timeout
msec at most before deciding whether two buttons are being pressed
simultaneously.
The default timeout is 100 msec.
milliseconds at most before deciding whether two buttons are being
pressed simultaneously. The default timeout is 100 milliseconds.
.It Fl F Ar rate
Set the report rate (reports/sec) of the device if supported.
Set the report rate (reports per second) of the device if supported.
.It Fl I Ar file
Write the process id of the
Write the process id of
.Nm
daemon in the specified file.
in the specified file.
Without this option, the process id will be stored in
.Pa /var/run/moused.pid .
.It Fl P
@ -118,9 +120,9 @@ Do not start the Plug and Play COM device enumeration procedure
when identifying the serial mouse.
If this option is given together with the
.Fl i
option, the
option,
.Nm
command will not be able to print useful information for the serial mouse.
will not be able to print useful information for the serial mouse.
.It Fl R
Lower RTS on the serial port.
This option is valid only if
@ -174,18 +176,18 @@ It is one of the types listed under the
.Fl t
option below
.It Ar model
Mouse model. The
Mouse model.
.Nm
command may not always be able to identify the model.
may not always be able to identify the model.
.It Ar all
All of the above items. Print port, interface, type and model in this order
in one line.
.El
.Pp
If the
If
.Nm
command cannot determine the requested information, it prints ``unknown''
or ``generic''.
cannot determine the requested information, it prints ``unknown'' or
``generic''.
.It Fl m Ar N=M
Assign the physical button
.Ar M
@ -216,17 +218,15 @@ Not all serial mice support this option.
Specify the protocol type of the mouse attached to the port.
You may explicitly specify a type listed below, or use
.Ar auto
to let the
to let
.Nm
command to automatically select an appropriate protocol for the given
mouse.
If you entirely ommit this options in the command line,
automatically select an appropriate protocol for the given mouse. If
you entirely ommit this options in the command line,
.Fl t Ar auto
is assumed.
Under normal circumstances,
you need to use this option only if the
is assumed. Under normal circumstances, you need to use this option
only if
.Nm
command is not able to detect the protocol automatically.
is not able to detect the protocol automatically.
.Pp
Note that if a protocol type is specified with this option, the
.Fl P
@ -339,40 +339,43 @@ first one's.
.El
.El
.Ss Multiple Mice
As many instances of the mouse daemon as the number of mice attached to
the system may be run simultaneously; one
instance for each serial mouse.
As many instances of
.Nm
as the number of mice attached to the system may be run
simultaneously; one instance for each serial mouse.
.Sh FILES
.Bl -tag -width /var/run/moused.pid -compact
.It Pa /dev/wsmuxctl0
default device to control mouse mux.
default device to control mouse mux
.It Pa /var/run/moused.pid
process id of the currently running
.Nm
daemon
.El
.Sh EXAMPLES
.Dl moused -p /dev/tty00 -i type
.Pp
Let the
Let
.Nm
command determine the protocol type of the mouse at the serial port
determine the protocol type of the mouse at the serial port
.Pa /dev/tty00 .
If successful, the command will print the type, otherwise it will say
``unknown''.
If successful,
.Nm
will print the type, otherwise it will say ``unknown''.
.Pp
.Dl moused -p /dev/tty00
.Pp
If the
If
.Nm
command is able to identify the protocol type of the mouse at the specified
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/tty01 -t microsoft
.Pp
Start the mouse daemon on the serial port
Start
.Nm
on the serial port
.Pa /dev/tty01 .
The protocol type
.Ar microsoft
@ -392,42 +395,37 @@ This will effectively swap the left and right buttons.
Report negative Z axis (roller) movement as the button 4 pressed
and positive Z axis movement as the button 5 pressed.
.Pp
The
.Nm
command is normally enabled by setting
The mouse daemon is normally enabled by setting
.Pa moused=YES
in
.Pa /etc/rc.conf .
.Sh SEE ALSO
.Xr wsmouse 4 ,
.Xr wsmux 4
.Xr wsmux 4 ,
.Xr rc.conf 5
.Sh STANDARDS
The
.Nm
command partially supports
partially supports
.Dq Plug and Play External COM Device Specification
in order to support PnP serial mice.
However, due to various degrees of conformance to the specification by
existing serial mice, it does not strictly follow the version 1.0 of the
standard.
Even with this less strict approach,
it may not always determine an appropriate protocol type
for the given serial mouse.
in order to support PnP serial mice. However, due to various degrees
of conformance to the specification by existing serial mice, it does
not strictly follow version 1.0 of the standard. Even with this less
strict approach, it may not always determine an appropriate protocol
type for the given serial mouse.
.Sh HISTORY
The
The mouse daemon
.Nm
command first appeared in
first appeared in
.Fx 2.2
and
.Nx 1.6 .
.Sh AUTHORS
The
.Nm
command was written by
was written by
.An Michael Smith Aq msmith@FreeBSD.org .
This manual page was written by
.An Mike Pritchard Aq mpp@FreeBSD.org .
The command and manual page have since been updated by
The daemon and manual page have since been updated by
.An Kazutaka Yokota Aq yokota@FreeBSD.org .
The
.Nx
@ -439,4 +437,4 @@ the user `taps' the surface of the pad.
In contrast, some ALPS GlidePoint and Interlink VersaPad models
treat the tapping action as fourth button events.
Use the option ``-m 1=4'' for these models
to obtain the same effect as the other pad devices.
to obtain the same effect as the other pad devices.