1.\" Copyright (c) 1996 2.\" Mike Pritchard <mpp@FreeBSD.org>. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. 9.\" 2. Redistributions in binary form must reproduce the above copyright 10.\" notice, this list of conditions and the following disclaimer in the 11.\" documentation and/or other materials provided with the distribution. 12.\" 3. All advertising materials mentioning features or use of this software 13.\" must display the following acknowledgement: 14.\" This product includes software developed by Mike Pritchard. 15.\" 4. Neither the name of the author nor the names of its contributors 16.\" may be used to endorse or promote products derived from this software 17.\" without specific prior written permission. 18.\" 19.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 20.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 21.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 22.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 23.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 24.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 25.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 26.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 27.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 28.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29.\" SUCH DAMAGE. 30.\" 31.\" $Id: moused.8,v 1.5 1997/07/27 23:10:33 wosch Exp $ 32.\" 33.Dd December 16, 1996 34.Dt MOUSED 8 35.Os FreeBSD 36.Sh NAME 37.Nm moused 38.Nd pass mouse data to console driver 39.Sh SYNOPSIS 40.Nm 41.Op Fl DRcdfs 42.Op Fl r Ar samplerate 43.Op Fl S Ar baudrate 44.Fl p Ar port 45.Fl t Ar mousetype 46.Sh DESCRIPTION 47The mouse daemon listens to a serial port for mouse data, 48interprets the data and then passes ioctls to the console 49driver. 50.Pp 51The options are as follows: 52.Bl -tag -width indent 53.It Fl D 54Lower DTR on the serial port. 55.It Fl R 56Lower RTS on the serial port. 57.It Fl S Ar baudrate 58Select the baudrate for the serial port (1200 to 9600). 59.It Fl c 60Enable ChordMiddle option. 61.It Fl d 62Enable debugging messages. 63.It Fl f 64Do not become a daemon and instead run as a foreground process. 65.It Fl p Ar port 66Use 67.Ar port 68as the serial port to communicate with the mouse. 69.It Fl r 70Set the bit sample rate on devices that support it (in Dots Per Inch). 71.It Fl s 72Select a baudrate of 9600 for the serial line. 73.It Fl t Ar mousetype 74Specify the type of mouse attached to the 75serial port. Valid mouse types are: 76.Pp 77.Bl -tag -compact -width mousesystemsxxx 78.It microsoft 79Microsoft mouse 80.It mousesystems 81Mouse systems Corp mouse 82.It mmseries 83MM Series mouse 84.It logitech 85Logitech mouse 86.It busmouse 87A bus mouse 88.It mouseman 89Logitech MouseMan and TrackMan 90.It ps/2 91PS/2 mouse 92.It mmhittab 93MM HitTablet 94.El 95.El 96.Sh EXAMPLE 97.Pp 98.Dl moused -t microsoft -p /dev/mouse 99.Dl vidcontrol -m on 100.Pp 101Start the mouse daemon on the serial device 102.Pa /dev/mouse 103for a microsoft mouse and enable the mousepointer. 104.Sh SEE ALSO 105.Xr vidcontrol 1 , 106.Xr keyboard 4 , 107.Xr pcvt 4 , 108.Xr screen 4 , 109.Xr sysmouse 4 110.Sh AUTHORS 111The 112.Nm 113command was written by 114.An Michael Smith . 115 116This manual page 117was written by 118.An Mike Pritchard Aq mpp@FreeBSD.org . 119.Sh HISTORY 120The 121.Nm 122command first appeared in 123.Fx 2.2 . 124