xref: /freebsd/usr.sbin/moused/moused.8 (revision bf29452f98c555e44db509f2399dc150492d31db)
194a804c5SMike Pritchard.\" Copyright (c) 1996
294a804c5SMike Pritchard.\"	Mike Pritchard <mpp@FreeBSD.org>.  All rights reserved.
394a804c5SMike Pritchard.\"
494a804c5SMike Pritchard.\" Redistribution and use in source and binary forms, with or without
594a804c5SMike Pritchard.\" modification, are permitted provided that the following conditions
694a804c5SMike Pritchard.\" are met:
794a804c5SMike Pritchard.\" 1. Redistributions of source code must retain the above copyright
894a804c5SMike Pritchard.\"    notice, this list of conditions and the following disclaimer.
994a804c5SMike Pritchard.\" 2. Redistributions in binary form must reproduce the above copyright
1094a804c5SMike Pritchard.\"    notice, this list of conditions and the following disclaimer in the
1194a804c5SMike Pritchard.\"    documentation and/or other materials provided with the distribution.
1294a804c5SMike Pritchard.\" 3. All advertising materials mentioning features or use of this software
1394a804c5SMike Pritchard.\"    must display the following acknowledgement:
1494a804c5SMike Pritchard.\"	This product includes software developed by Mike Pritchard.
1594a804c5SMike Pritchard.\" 4. Neither the name of the author nor the names of its contributors
1694a804c5SMike Pritchard.\"    may be used to endorse or promote products derived from this software
1794a804c5SMike Pritchard.\"    without specific prior written permission.
1894a804c5SMike Pritchard.\"
1994a804c5SMike Pritchard.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
2094a804c5SMike Pritchard.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2194a804c5SMike Pritchard.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2294a804c5SMike Pritchard.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
2394a804c5SMike Pritchard.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2494a804c5SMike Pritchard.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2594a804c5SMike Pritchard.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2694a804c5SMike Pritchard.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2794a804c5SMike Pritchard.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2894a804c5SMike Pritchard.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2994a804c5SMike Pritchard.\" SUCH DAMAGE.
3094a804c5SMike Pritchard.\"
31bf29452fSWolfram Schneider.\"	$Id: moused.8,v 1.4 1997/07/25 13:21:35 wosch Exp $
325cf470d6SWolfram Schneider.\"
3394a804c5SMike Pritchard.Dd December 16, 1996
3494a804c5SMike Pritchard.Dt MOUSED 8
3594a804c5SMike Pritchard.Os FreeBSD
3694a804c5SMike Pritchard.Sh NAME
3794a804c5SMike Pritchard.Nm moused
3894a804c5SMike Pritchard.Nd pass mouse data to console driver
3994a804c5SMike Pritchard.Sh SYNOPSIS
4094a804c5SMike Pritchard.Nm
4194a804c5SMike Pritchard.Op Fl DRcdfs
4263599332SPeter Wemm.Op Fl r Ar samplerate
4394a804c5SMike Pritchard.Op Fl S Ar baudrate
4494a804c5SMike Pritchard.Fl p Ar port
4594a804c5SMike Pritchard.Fl t Ar mousetype
4694a804c5SMike Pritchard.Sh DESCRIPTION
4794a804c5SMike PritchardThe mouse daemon listens to a serial port for mouse data,
4894a804c5SMike Pritchardinterprets the data and then passes ioctls to the console
4994a804c5SMike Pritcharddriver.
5094a804c5SMike Pritchard.Pp
5194a804c5SMike PritchardThe options are as follows:
5294a804c5SMike Pritchard.Bl -tag -width indent
5394a804c5SMike Pritchard.It Fl D
5494a804c5SMike PritchardLower DTR on the serial port.
5594a804c5SMike Pritchard.It Fl R
5694a804c5SMike PritchardLower RTS on the serial port.
5794a804c5SMike Pritchard.It Fl S Ar baudrate
5894a804c5SMike PritchardSelect the baudrate for the serial port (1200 to 9600).
5994a804c5SMike Pritchard.It Fl c
6094a804c5SMike PritchardEnable ChordMiddle option.
6194a804c5SMike Pritchard.It Fl d
6294a804c5SMike PritchardEnable debugging messages.
6394a804c5SMike Pritchard.It Fl f
6494a804c5SMike PritchardDo not become a daemon and instead run as a foreground process.
6594a804c5SMike Pritchard.It Fl p Ar port
6694a804c5SMike PritchardUse
6794a804c5SMike Pritchard.Ar port
6894a804c5SMike Pritchardas the serial port to communicate with the mouse.
6963599332SPeter Wemm.It Fl r
7063599332SPeter WemmSet the bit sample rate on devices that support it (in Dots Per Inch).
7194a804c5SMike Pritchard.It Fl s
7294a804c5SMike PritchardSelect a baudrate of 9600 for the serial line.
7394a804c5SMike Pritchard.It Fl t Ar mousetype
7494a804c5SMike PritchardSpecify the type of mouse attached to the
7594a804c5SMike Pritchardserial port.  Valid mouse types are:
7694a804c5SMike Pritchard.Pp
7794a804c5SMike Pritchard.Bl -tag -compact -width mousesystemsxxx
7894a804c5SMike Pritchard.It microsoft
7994a804c5SMike PritchardMicrosoft mouse
8094a804c5SMike Pritchard.It mousesystems
8194a804c5SMike PritchardMouse systems Corp mouse
8294a804c5SMike Pritchard.It mmseries
8394a804c5SMike PritchardMM Series mouse
8494a804c5SMike Pritchard.It logitech
8594a804c5SMike PritchardLogitech mouse
8694a804c5SMike Pritchard.It busmouse
8794a804c5SMike PritchardA bus mouse
8894a804c5SMike Pritchard.It mouseman
8994a804c5SMike PritchardLogitech MouseMan and TrackMan
9094a804c5SMike Pritchard.It ps/2
9194a804c5SMike PritchardPS/2 mouse
9294a804c5SMike Pritchard.It mmhittab
9394a804c5SMike PritchardMM HitTablet
9494a804c5SMike Pritchard.El
9594a804c5SMike Pritchard.El
96bf29452fSWolfram Schneider.Sh EXAMPLE
97bf29452fSWolfram Schneider.Pp
98bf29452fSWolfram Schneider.Dl moused -t microsoft -p /dev/mouse
99bf29452fSWolfram Schneider.Dl vidcontrol -m on
100bf29452fSWolfram Schneider.Pp
101bf29452fSWolfram SchneiderStart the mouse daemon on the serial device
102bf29452fSWolfram Schneider.Pa /dev/mouse
103bf29452fSWolfram Schneiderfor a microsoft mouse and enable the mousepointer.
10494a804c5SMike Pritchard.Sh SEE ALSO
1055cf470d6SWolfram Schneider.Xr vidcontrol 1 ,
10694a804c5SMike Pritchard.Xr keyboard 4 ,
10794a804c5SMike Pritchard.Xr pcvt 4 ,
108b7d50183SWolfram Schneider.Xr screen 4 ,
109b7d50183SWolfram Schneider.Xr sysmouse 4
11094a804c5SMike Pritchard.Sh AUTHORS
11194a804c5SMike PritchardThe
11294a804c5SMike Pritchard.Nm
11394a804c5SMike Pritchardcommand was written by Michael Smith.  This manual page
11494a804c5SMike Pritchardwas written by Mike Pritchard <mpp@FreeBSD.org>.
11594a804c5SMike Pritchard.Sh HISTORY
11694a804c5SMike PritchardThe
11794a804c5SMike Pritchard.Nm moused
11894a804c5SMike Pritchardcommand first appeared in
11994a804c5SMike Pritchard.Fx 2.2 .
120