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.\" 3197d92980SPeter Wemm.\" $FreeBSD$ 325cf470d6SWolfram Schneider.\" 33e68b10b3SKazutaka YOKOTA.Dd April 1, 2000 3494a804c5SMike Pritchard.Dt MOUSED 8 35a4c37c81SRuslan Ermilov.Os 3694a804c5SMike Pritchard.Sh NAME 3794a804c5SMike Pritchard.Nm moused 385f436cfbSKazutaka YOKOTA.Nd pass mouse data to the console driver 3994a804c5SMike Pritchard.Sh SYNOPSIS 4094a804c5SMike Pritchard.Nm 41efe4cd6aSGeorge C A Reid.Op Fl DPRacdfs 42f82812a2SKazutaka YOKOTA.Op Fl I Ar file 435f436cfbSKazutaka YOKOTA.Op Fl F Ar rate 445f436cfbSKazutaka YOKOTA.Op Fl r Ar resolution 4594a804c5SMike Pritchard.Op Fl S Ar baudrate 46efe4cd6aSGeorge C A Reid.Op Fl a Ar X Ns Op , Ns Ar Y 475f436cfbSKazutaka YOKOTA.Op Fl C Ar threshold 485f436cfbSKazutaka YOKOTA.Op Fl m Ar N=M 499fb1d70cSKazutaka YOKOTA.Op Fl w Ar N 505f436cfbSKazutaka YOKOTA.Op Fl z Ar target 515f436cfbSKazutaka YOKOTA.Op Fl t Ar mousetype 52e68b10b3SKazutaka YOKOTA.Op Fl 3 Op Fl E Ar timeout 5394a804c5SMike Pritchard.Fl p Ar port 5494a804c5SMike Pritchard.Pp 555f436cfbSKazutaka YOKOTA.Nm 565f436cfbSKazutaka YOKOTA.Op Fl Pd 575f436cfbSKazutaka YOKOTA.Fl p Ar port 585f436cfbSKazutaka YOKOTA.Fl i Ar info 595f436cfbSKazutaka YOKOTA.Sh DESCRIPTION 60490d5836SPhilippe CharnierThe 615f436cfbSKazutaka YOKOTA.Nm 62490d5836SPhilippe Charnierutility and the console driver work together to support 635f436cfbSKazutaka YOKOTAmouse operation in the text console and user programs. 645f436cfbSKazutaka YOKOTAThey virtualize the mouse and provide user programs with mouse data 655f436cfbSKazutaka YOKOTAin the standard format 66c4d9468eSRuslan Ermilov(see 67c4d9468eSRuslan Ermilov.Xr sysmouse 4 ) . 685f436cfbSKazutaka YOKOTA.Pp 695f436cfbSKazutaka YOKOTAThe mouse daemon listens to the specified port for mouse data, 705f436cfbSKazutaka YOKOTAinterprets and then passes it via ioctls to the console driver. 715f436cfbSKazutaka YOKOTAThe mouse daemon 725f436cfbSKazutaka YOKOTAreports translation movement, button press/release 735f436cfbSKazutaka YOKOTAevents and movement of the roller or the wheel if available. 745f436cfbSKazutaka YOKOTAThe roller/wheel movement is reported as ``Z'' axis movement. 755f436cfbSKazutaka YOKOTA.Pp 765f436cfbSKazutaka YOKOTAThe console driver will display the mouse pointer on the screen 775f436cfbSKazutaka YOKOTAand provide cut and paste functions if the mouse pointer is enabled 785f436cfbSKazutaka YOKOTAin the virtual console via 792f2ac2cbSChris Costello.Xr vidcontrol 1 . 805f436cfbSKazutaka YOKOTAIf 815f436cfbSKazutaka YOKOTA.Xr sysmouse 4 825f436cfbSKazutaka YOKOTAis opened by the user program, the console driver also passes the mouse 835f436cfbSKazutaka YOKOTAdata to the device so that the user program will see it. 845f436cfbSKazutaka YOKOTA.Pp 855f436cfbSKazutaka YOKOTAIf the mouse daemon receives the signal 865f436cfbSKazutaka YOKOTA.Dv SIGHUP , 87f2e366a1SSheldon Hearnit will reopen the mouse port and reinitializes itself. 88f2e366a1SSheldon HearnUseful if 895f436cfbSKazutaka YOKOTAthe mouse is attached/detached while the system is suspended. 905f436cfbSKazutaka YOKOTA.Pp 915f436cfbSKazutaka YOKOTAThe following options are available: 9294a804c5SMike Pritchard.Bl -tag -width indent 935f436cfbSKazutaka YOKOTA.It Fl 3 94f2e366a1SSheldon HearnEmulate the third (middle) button for 2-button mice. 95f2e366a1SSheldon HearnIt is emulated 965f436cfbSKazutaka YOKOTAby pressing the left and right physical buttons simultaneously. 975f436cfbSKazutaka YOKOTA.It Fl C Ar threshold 985f436cfbSKazutaka YOKOTASet double click speed as the maximum interval in msec between button clicks. 995f436cfbSKazutaka YOKOTAWithout this option, the default value of 500 msec will be assumed. 1005f436cfbSKazutaka YOKOTAThis option will have effect only on the cut and paste operations 101f2e366a1SSheldon Hearnin the text mode console. 102f2e366a1SSheldon HearnThe user program which is reading mouse data 1035f436cfbSKazutaka YOKOTAvia 1045f436cfbSKazutaka YOKOTA.Xr sysmouse 4 105f5c73cbbSKazutaka YOKOTAwill not be affected. 10694a804c5SMike Pritchard.It Fl D 10794a804c5SMike PritchardLower DTR on the serial port. 1085f436cfbSKazutaka YOKOTAThis option is valid only if 1095f436cfbSKazutaka YOKOTA.Ar mousesystems 1105f436cfbSKazutaka YOKOTAis selected as the protocol type. 1115f436cfbSKazutaka YOKOTAThe DTR line may need to be dropped for a 3-button mouse 1125f436cfbSKazutaka YOKOTAto operate in the 1135f436cfbSKazutaka YOKOTA.Ar mousesystems 1145f436cfbSKazutaka YOKOTAmode. 115e68b10b3SKazutaka YOKOTA.It Fl E Ar timeout 116e68b10b3SKazutaka YOKOTAWhen the third button emulation is enabled 117c4d9468eSRuslan Ermilov(see above), 118e68b10b3SKazutaka YOKOTAthe 119e68b10b3SKazutaka YOKOTA.Nm 120490d5836SPhilippe Charnierutility waits 121e68b10b3SKazutaka YOKOTA.Ar timeout 122f5c73cbbSKazutaka YOKOTAmsec at most before deciding whether two buttons are being pressed 123e68b10b3SKazutaka YOKOTAsimultaneously. 1249c9d9993SKazutaka YOKOTAThe default timeout is 100 msec. 1255f436cfbSKazutaka YOKOTA.It Fl F Ar rate 1265f436cfbSKazutaka YOKOTASet the report rate (reports/sec) of the device if supported. 127f82812a2SKazutaka YOKOTA.It Fl I Ar file 128f82812a2SKazutaka YOKOTAWrite the process id of the 129f82812a2SKazutaka YOKOTA.Nm 130490d5836SPhilippe Charnierutility in the specified file. 131f82812a2SKazutaka YOKOTAWithout this option, the process id will be stored in 132f82812a2SKazutaka YOKOTA.Pa /var/run/moused.pid . 1335f436cfbSKazutaka YOKOTA.It Fl P 1345f436cfbSKazutaka YOKOTADo not start the Plug and Play COM device enumeration procedure 1355f436cfbSKazutaka YOKOTAwhen identifying the serial mouse. 1365f436cfbSKazutaka YOKOTAIf this option is given together with the 1375f436cfbSKazutaka YOKOTA.Fl i 1385f436cfbSKazutaka YOKOTAoption, the 1395f436cfbSKazutaka YOKOTA.Nm 140490d5836SPhilippe Charnierutility will not be able to print useful information for the serial mouse. 14194a804c5SMike Pritchard.It Fl R 14294a804c5SMike PritchardLower RTS on the serial port. 1435f436cfbSKazutaka YOKOTAThis option is valid only if 1445f436cfbSKazutaka YOKOTA.Ar mousesystems 1455f436cfbSKazutaka YOKOTAis selected as the protocol type by the 1465f436cfbSKazutaka YOKOTA.Fl t 147f2e366a1SSheldon Hearnoption below. 148f2e366a1SSheldon HearnIt is often used with the 1495f436cfbSKazutaka YOKOTA.Fl D 150f2e366a1SSheldon Hearnoption above. 151f2e366a1SSheldon HearnBoth RTS and DTR lines may need to be dropped for 1525f436cfbSKazutaka YOKOTAa 3-button mouse to operate in the 1535f436cfbSKazutaka YOKOTA.Ar mousesystems 1545f436cfbSKazutaka YOKOTAmode. 15594a804c5SMike Pritchard.It Fl S Ar baudrate 15694a804c5SMike PritchardSelect the baudrate for the serial port (1200 to 9600). 1575f436cfbSKazutaka YOKOTANot all serial mice support this option. 158efe4cd6aSGeorge C A Reid.It Fl a Ar X Ns Op , Ns Ar Y 159efe4cd6aSGeorge C A ReidAccelerate or decelerate the mouse input. 160efe4cd6aSGeorge C A ReidThis is a linear acceleration only. 161efe4cd6aSGeorge C A ReidValues less than 1.0 slow down movement, values greater than 1.0 speed it 162efe4cd6aSGeorge C A Reidup. 163efe4cd6aSGeorge C A ReidSpecifying only one value sets the acceleration for both axes. 16494a804c5SMike Pritchard.It Fl c 1655f436cfbSKazutaka YOKOTASome mice report middle button down events 166f5c73cbbSKazutaka YOKOTAas if the left and right buttons are being pressed. 167f2e366a1SSheldon HearnThis option handles this. 16894a804c5SMike Pritchard.It Fl d 16994a804c5SMike PritchardEnable debugging messages. 17094a804c5SMike Pritchard.It Fl f 17194a804c5SMike PritchardDo not become a daemon and instead run as a foreground process. 1725f436cfbSKazutaka YOKOTAUseful for testing and debugging. 1735f436cfbSKazutaka YOKOTA.It Fl i Ar info 1745f436cfbSKazutaka YOKOTAPrint specified information and quit. Available pieces of 1755f436cfbSKazutaka YOKOTAinformation are: 1765f436cfbSKazutaka YOKOTA.Pp 1775f436cfbSKazutaka YOKOTA.Bl -tag -compact -width modelxxx 1785f436cfbSKazutaka YOKOTA.It Ar port 17957e4378bSRuslan ErmilovPort (device file) name, i.e.\& 1805f436cfbSKazutaka YOKOTA.Pa /dev/cuaa0 , 1815f436cfbSKazutaka YOKOTA.Pa /dev/mse0 1825f436cfbSKazutaka YOKOTAand 1835f436cfbSKazutaka YOKOTA.Pa /dev/psm0 . 1845f436cfbSKazutaka YOKOTA.It Ar if 1855f436cfbSKazutaka YOKOTAInterface type: serial, bus, inport or ps/2. 1865f436cfbSKazutaka YOKOTA.It Ar type 187f2e366a1SSheldon HearnProtocol type. 188f2e366a1SSheldon HearnIt is one of the types listed under the 1895f436cfbSKazutaka YOKOTA.Fl t 1905f436cfbSKazutaka YOKOTAoption below or 1915f436cfbSKazutaka YOKOTA.Ar sysmouse 1925f436cfbSKazutaka YOKOTAif the driver supports the 1935f436cfbSKazutaka YOKOTA.Ar sysmouse 1945f436cfbSKazutaka YOKOTAdata format standard. 1955f436cfbSKazutaka YOKOTA.It Ar model 1965f436cfbSKazutaka YOKOTAMouse model. The 1975f436cfbSKazutaka YOKOTA.Nm 198490d5836SPhilippe Charnierutility may not always be able to identify the model. 1995f436cfbSKazutaka YOKOTA.It Ar all 2005f436cfbSKazutaka YOKOTAAll of the above items. Print port, interface, type and model in this order 2015f436cfbSKazutaka YOKOTAin one line. 2025f436cfbSKazutaka YOKOTA.El 2035f436cfbSKazutaka YOKOTA.Pp 2045f436cfbSKazutaka YOKOTAIf the 2055f436cfbSKazutaka YOKOTA.Nm 206490d5836SPhilippe Charnierutility cannot determine the requested information, it prints ``unknown'' 2075f436cfbSKazutaka YOKOTAor ``generic''. 2085f436cfbSKazutaka YOKOTA.It Fl m Ar N=M 2095f436cfbSKazutaka YOKOTAAssign the physical button 2105f436cfbSKazutaka YOKOTA.Ar M 2115f436cfbSKazutaka YOKOTAto the logical button 2125f436cfbSKazutaka YOKOTA.Ar N . 2135f436cfbSKazutaka YOKOTAYou may specify as many instances of this option as you like. 2145f436cfbSKazutaka YOKOTAMore than one physical button may be assigned to a logical button at the 215f2e366a1SSheldon Hearnsame time. 216f2e366a1SSheldon HearnIn this case the logical button will be down, 2175f436cfbSKazutaka YOKOTAif either of the assigned physical buttons is held down. 2185f436cfbSKazutaka YOKOTADo not put space around `='. 21994a804c5SMike Pritchard.It Fl p Ar port 22094a804c5SMike PritchardUse 22194a804c5SMike Pritchard.Ar port 2225f436cfbSKazutaka YOKOTAto communicate with the mouse. 2235f436cfbSKazutaka YOKOTA.It Fl r Ar resolution 2245f436cfbSKazutaka YOKOTASet the resolution of the device; in Dots Per Inch, or 2255f436cfbSKazutaka YOKOTA.Ar low , 2265f436cfbSKazutaka YOKOTA.Ar medium-low , 2275f436cfbSKazutaka YOKOTA.Ar medium-high 2285f436cfbSKazutaka YOKOTAor 2295f436cfbSKazutaka YOKOTA.Ar high . 2305f436cfbSKazutaka YOKOTAThis option may not be supported by all the device. 23194a804c5SMike Pritchard.It Fl s 23294a804c5SMike PritchardSelect a baudrate of 9600 for the serial line. 2335f436cfbSKazutaka YOKOTANot all serial mice support this option. 2345f436cfbSKazutaka YOKOTA.It Fl t Ar type 235f8b013e2SKazutaka YOKOTASpecify the protocol type of the mouse attached to the port. 23630ee7535SKazutaka YOKOTAYou may explicitly specify a type listed below, or use 23730ee7535SKazutaka YOKOTA.Ar auto 23830ee7535SKazutaka YOKOTAto let the 239f8b013e2SKazutaka YOKOTA.Nm 240490d5836SPhilippe Charnierutility to automatically select an appropriate protocol for the given 24130ee7535SKazutaka YOKOTAmouse. 24230ee7535SKazutaka YOKOTAIf you entirely ommit this options in the command line, 24330ee7535SKazutaka YOKOTA.Fl t Ar auto 24430ee7535SKazutaka YOKOTAis assumed. 24530ee7535SKazutaka YOKOTAUnder normal circumstances, 24630ee7535SKazutaka YOKOTAyou need to use this option only if the 24730ee7535SKazutaka YOKOTA.Nm 248490d5836SPhilippe Charnierutility is not able to detect the protocol automatically 249c4d9468eSRuslan Ermilov(see the 250c4d9468eSRuslan Ermilov.Sx "Configuring Mouse Daemon" ) . 251f8b013e2SKazutaka YOKOTA.Pp 2529e65e45bSKazutaka YOKOTANote that if a protocol type is specified with this option, the 25330ee7535SKazutaka YOKOTA.Fl P 25430ee7535SKazutaka YOKOTAoption above is implied and Plug and Play COM device enumeration 25530ee7535SKazutaka YOKOTAprocedure will be disabled. 25630ee7535SKazutaka YOKOTA.Pp 2579e65e45bSKazutaka YOKOTAAlso note that if your mouse is attached to the PS/2 mouse port, you should 2589e65e45bSKazutaka YOKOTAalways choose 2599e65e45bSKazutaka YOKOTA.Ar auto 2609e65e45bSKazutaka YOKOTAor 2619e65e45bSKazutaka YOKOTA.Ar ps/2 , 2629e65e45bSKazutaka YOKOTAregardless of the brand and model of the mouse. Likewise, if your 2639e65e45bSKazutaka YOKOTAmouse is attached to the bus mouse port, choose 2649e65e45bSKazutaka YOKOTA.Ar auto 2659e65e45bSKazutaka YOKOTAor 2669e65e45bSKazutaka YOKOTA.Ar busmouse . 2679e65e45bSKazutaka YOKOTASerial mouse protocols will not work with these mice. 2689e65e45bSKazutaka YOKOTA.Pp 269045c8108SKazutaka YOKOTAFor the USB mouse, the protocol must be 270045c8108SKazutaka YOKOTA.Ar auto . 271045c8108SKazutaka YOKOTANo other protocol will work with the USB mouse. 272045c8108SKazutaka YOKOTA.Pp 273f8b013e2SKazutaka YOKOTAValid types for this option are 2745f436cfbSKazutaka YOKOTAlisted below. 27594a804c5SMike Pritchard.Pp 2765f436cfbSKazutaka YOKOTAFor the serial mouse: 27794a804c5SMike Pritchard.Bl -tag -compact -width mousesystemsxxx 2785f436cfbSKazutaka YOKOTA.It Ar microsoft 2795f436cfbSKazutaka YOKOTAMicrosoft serial mouse protocol. Most 2-button serial mice use this protocol. 2805f436cfbSKazutaka YOKOTA.It Ar intellimouse 281490d5836SPhilippe CharnierMicrosoft IntelliMouse protocol. Genius NetMouse, 282490d5836SPhilippe Charnier.Tn ASCII 283490d5836SPhilippe CharnierMie Mouse, 2845f436cfbSKazutaka YOKOTALogitech MouseMan+ and FirstMouse+ use this protocol too. 2855f436cfbSKazutaka YOKOTAOther mice with a roller/wheel may be compatible with this protocol. 2865f436cfbSKazutaka YOKOTA.It Ar mousesystems 2875f436cfbSKazutaka YOKOTAMouseSystems 5-byte protocol. 3-button mice may use this protocol. 2885f436cfbSKazutaka YOKOTA.It Ar mmseries 2895f436cfbSKazutaka YOKOTAMM Series mouse protocol. 2905f436cfbSKazutaka YOKOTA.It Ar logitech 2915f436cfbSKazutaka YOKOTALogitech mouse protocol. Note that this is for old Logitech models. 2925f436cfbSKazutaka YOKOTA.Ar mouseman 2935f436cfbSKazutaka YOKOTAor 2945f436cfbSKazutaka YOKOTA.Ar intellimouse 2955f436cfbSKazutaka YOKOTAshould be specified for newer models. 2965f436cfbSKazutaka YOKOTA.It Ar mouseman 2975f436cfbSKazutaka YOKOTALogitech MouseMan and TrackMan protocol. Some 3-button mice may be compatible 2985f436cfbSKazutaka YOKOTAwith this protocol. Note that MouseMan+ and FirstMouse+ use 2995f436cfbSKazutaka YOKOTA.Ar intellimouse 3005f436cfbSKazutaka YOKOTAprotocol rather than this one. 3015f436cfbSKazutaka YOKOTA.It Ar glidepoint 3025f436cfbSKazutaka YOKOTAALPS GlidePoint protocol. 3035f436cfbSKazutaka YOKOTA.It Ar thinkingmouse 3045f436cfbSKazutaka YOKOTAKensington ThinkingMouse protocol. 305929cbbf2SDoug White.It Ar mmhitab 3065f436cfbSKazutaka YOKOTAHitachi tablet protocol. 30767978692SAmancio Hasty.It Ar x10mouseremote 30867978692SAmancio HastyX10 MouseRemote. 3091b11ca6cSKazutaka YOKOTA.It Ar kidspad 3101b11ca6cSKazutaka YOKOTAGenius Kidspad and Easypad protocol. 3112e09fb67SKazutaka YOKOTA.It Ar versapad 3122e09fb67SKazutaka YOKOTAInterlink VersaPad protocol. 31394a804c5SMike Pritchard.El 3145f436cfbSKazutaka YOKOTA.Pp 3155f436cfbSKazutaka YOKOTAFor the bus and InPort mouse: 3165f436cfbSKazutaka YOKOTA.Bl -tag -compact -width mousesystemsxxx 3175f436cfbSKazutaka YOKOTA.It Ar busmouse 3185f436cfbSKazutaka YOKOTAThis is the only protocol type available for 3195f436cfbSKazutaka YOKOTAthe bus and InPort mouse and should be specified for any bus mice 3205f436cfbSKazutaka YOKOTAand InPort mice, regardless of the brand. 3215f436cfbSKazutaka YOKOTA.El 3225f436cfbSKazutaka YOKOTA.Pp 3235f436cfbSKazutaka YOKOTAFor the PS/2 mouse: 3245f436cfbSKazutaka YOKOTA.Bl -tag -compact -width mousesystemsxxx 3255f436cfbSKazutaka YOKOTA.It Ar ps/2 3265f436cfbSKazutaka YOKOTAThis is the only protocol type available for the PS/2 mouse 3275f436cfbSKazutaka YOKOTAand should be specified for any PS/2 mice, regardless of the brand. 3285f436cfbSKazutaka YOKOTA.El 329045c8108SKazutaka YOKOTA.Pp 330045c8108SKazutaka YOKOTAFor the USB mouse, 331045c8108SKazutaka YOKOTA.Ar auto 332045c8108SKazutaka YOKOTAis the only protocol type available for the USB mouse 333045c8108SKazutaka YOKOTAand should be specified for any USB mice, regardless of the brand. 3349fb1d70cSKazutaka YOKOTA.It Fl w Ar N 3359fb1d70cSKazutaka YOKOTAMake the physical button 3369fb1d70cSKazutaka YOKOTA.Ar N 3379fb1d70cSKazutaka YOKOTAact as the wheel mode button. 3389fb1d70cSKazutaka YOKOTAWhile this button is pressed, X and Y axis movement is reported to be zero 3399fb1d70cSKazutaka YOKOTAand the Y axis movement is mapped to Z axis. 3409fb1d70cSKazutaka YOKOTAYou may further map the Z axis movement to virtual buttons by the 3419fb1d70cSKazutaka YOKOTA.Fl z 3429fb1d70cSKazutaka YOKOTAoption below. 3435f436cfbSKazutaka YOKOTA.It Fl z Ar target 3445f436cfbSKazutaka YOKOTAMap Z axis (roller/wheel) movement to another axis or to virtual buttons. 3455f436cfbSKazutaka YOKOTAValid 3465f436cfbSKazutaka YOKOTA.Ar target 3475f436cfbSKazutaka YOKOTAmaybe: 3485f436cfbSKazutaka YOKOTA.Bl -tag -compact -width x__ 3495f436cfbSKazutaka YOKOTA.It Ar x 3505f436cfbSKazutaka YOKOTA.It Ar y 3515f436cfbSKazutaka YOKOTAX or Y axis movement will be reported when the Z axis movement is detected. 3525f436cfbSKazutaka YOKOTA.It Ar N 353f5c73cbbSKazutaka YOKOTAReport down events for the virtual buttons 3545f436cfbSKazutaka YOKOTA.Ar N 3555f436cfbSKazutaka YOKOTAand 3565f436cfbSKazutaka YOKOTA.Ar N+1 357f5c73cbbSKazutaka YOKOTArespectively when negative and positive Z axis movement 358f2e366a1SSheldon Hearnis detected. 359f5c73cbbSKazutaka YOKOTAThere do not need to be physical buttons 3605f436cfbSKazutaka YOKOTA.Ar N 3615f436cfbSKazutaka YOKOTAand 3625f436cfbSKazutaka YOKOTA.Ar N+1 . 3635f436cfbSKazutaka YOKOTANote that mapping to logical buttons is carried out after mapping 3645f436cfbSKazutaka YOKOTAfrom the Z axis movement to the virtual buttons is done. 365e68b10b3SKazutaka YOKOTA.It Ar N1 N2 366f5c73cbbSKazutaka YOKOTAReport down events for the virtual buttons 367e68b10b3SKazutaka YOKOTA.Ar N1 368e68b10b3SKazutaka YOKOTAand 369e68b10b3SKazutaka YOKOTA.Ar N2 370f5c73cbbSKazutaka YOKOTArespectively when negative and positive Z axis movement 371e68b10b3SKazutaka YOKOTAis detected. 372e68b10b3SKazutaka YOKOTA.It Ar N1 N2 N3 N4 373e68b10b3SKazutaka YOKOTAThis is useful for the mouse with two wheels of which 374e68b10b3SKazutaka YOKOTAthe second wheel is used to generate horizontal scroll action, 375e68b10b3SKazutaka YOKOTAand for the mouse which has a knob or a stick which can detect 376e68b10b3SKazutaka YOKOTAthe horizontal force applied by the user. 377e68b10b3SKazutaka YOKOTA.Pp 378e68b10b3SKazutaka YOKOTAThe motion of the second wheel will be mapped to the buttons 379e68b10b3SKazutaka YOKOTA.Ar N3 , 380e68b10b3SKazutaka YOKOTAfor the negative direction, and 381e68b10b3SKazutaka YOKOTA.Ar N4 , 382e68b10b3SKazutaka YOKOTAfor the positive direction. 383e68b10b3SKazutaka YOKOTAIf the buttons 384e68b10b3SKazutaka YOKOTA.Ar N3 385e68b10b3SKazutaka YOKOTAand 386e68b10b3SKazutaka YOKOTA.Ar N4 387f5c73cbbSKazutaka YOKOTAactually exist in this mouse, their actions will not be detected. 388e68b10b3SKazutaka YOKOTA.Pp 389e68b10b3SKazutaka YOKOTANote that horizontal movement or second roller/wheel movement may not 390e68b10b3SKazutaka YOKOTAalways be detected, 391e68b10b3SKazutaka YOKOTAbecause there appears to be no accepted standard as to how it is encoded. 392e68b10b3SKazutaka YOKOTA.Pp 393e68b10b3SKazutaka YOKOTANote also that some mice think left is the negative horizontal direction, 394e68b10b3SKazutaka YOKOTAothers may think otherwise. 395e68b10b3SKazutaka YOKOTAMoreover, there are some mice whose two wheels are both mounted vertically, 396e68b10b3SKazutaka YOKOTAand the direction of the second vertical wheel does not match the 397e68b10b3SKazutaka YOKOTAfirst one's. 3985f436cfbSKazutaka YOKOTA.El 3995f436cfbSKazutaka YOKOTA.El 400f8b013e2SKazutaka YOKOTA.Ss Configuring Mouse Daemon 4015f436cfbSKazutaka YOKOTAThe first thing you need to know is the interface type 4025f436cfbSKazutaka YOKOTAof the mouse you are going to use. 4035f436cfbSKazutaka YOKOTAIt can be determined by looking at the connector of the mouse. 4045f436cfbSKazutaka YOKOTAThe serial mouse has a D-Sub female 9- or 25-pin connector. 4055f436cfbSKazutaka YOKOTAThe bus and InPort mice have either a D-Sub male 9-pin connector 4065f436cfbSKazutaka YOKOTAor a round DIN 9-pin connector. 4075f436cfbSKazutaka YOKOTAThe PS/2 mouse is equipped with a small, round DIN 6-pin connector. 4085f436cfbSKazutaka YOKOTASome mice come with adapters with which the connector can 4095f436cfbSKazutaka YOKOTAbe converted to another. If you are to use such an adapter, 4105f436cfbSKazutaka YOKOTAremember the connector at the very end of the mouse/adapter pair is 4115f436cfbSKazutaka YOKOTAwhat matters. 412045c8108SKazutaka YOKOTAThe USB mouse has a flat rectangular connector. 4135f436cfbSKazutaka YOKOTA.Pp 4145f436cfbSKazutaka YOKOTAThe next thing to decide is a port to use for the given interface. 4155f436cfbSKazutaka YOKOTAFor the bus, InPort and PS/2 mice, there is little choice: 4165f436cfbSKazutaka YOKOTAthe bus and InPort mice always use 4175f436cfbSKazutaka YOKOTA.Pa /dev/mse0 , 4185f436cfbSKazutaka YOKOTAand the PS/2 mouse is always at 4195f436cfbSKazutaka YOKOTA.Pa /dev/psm0 . 4205f436cfbSKazutaka YOKOTAThere may be more than one serial port to which the serial 4215f436cfbSKazutaka YOKOTAmouse can be attached. Many people often assign the first, built-in 4225f436cfbSKazutaka YOKOTAserial port 4235f436cfbSKazutaka YOKOTA.Pa /dev/cuaa0 4245f436cfbSKazutaka YOKOTAto the mouse. 425045c8108SKazutaka YOKOTAYou can attach multiple USB mice to your system or to your USB hub. 426045c8108SKazutaka YOKOTAThey are accessible as 427045c8108SKazutaka YOKOTA.Pa /dev/ums0 , /dev/ums1 , 428045c8108SKazutaka YOKOTAand so on. 429045c8108SKazutaka YOKOTA.Pa 4305f436cfbSKazutaka YOKOTAYou may want to create a symbolic link 4315f436cfbSKazutaka YOKOTA.Pa /dev/mouse 4325f436cfbSKazutaka YOKOTApointing to the real port to which the mouse is connected, so that you 4335f436cfbSKazutaka YOKOTAcan easily distinguish which is your ``mouse'' port later. 4345f436cfbSKazutaka YOKOTA.Pp 4355f436cfbSKazutaka YOKOTAThe next step is to guess the appropriate protocol type for the mouse. 4365f436cfbSKazutaka YOKOTAThe 4375f436cfbSKazutaka YOKOTA.Nm 438490d5836SPhilippe Charnierutility may be able to automatically determine the protocol type. 4395f436cfbSKazutaka YOKOTARun the 4405f436cfbSKazutaka YOKOTA.Nm 441490d5836SPhilippe Charnierutility with the 4425f436cfbSKazutaka YOKOTA.Fl i 4435f436cfbSKazutaka YOKOTAoption and see what it says. If the command can identify 4445f436cfbSKazutaka YOKOTAthe protocol type, no further investigation is necessary on your part. 4455f436cfbSKazutaka YOKOTAYou may start the daemon without explicitly specifying a protocol type 446c4d9468eSRuslan Ermilov(see 447c4d9468eSRuslan Ermilov.Sx EXAMPLES ) . 4485f436cfbSKazutaka YOKOTA.Pp 4495f436cfbSKazutaka YOKOTAThe command may print 4505f436cfbSKazutaka YOKOTA.Ar sysmouse 4515f436cfbSKazutaka YOKOTAif the mouse driver supports this protocol type. 4525f436cfbSKazutaka YOKOTA.Pp 4535f436cfbSKazutaka YOKOTANote that the 4545f436cfbSKazutaka YOKOTA.Dv type 4555f436cfbSKazutaka YOKOTAand 4565f436cfbSKazutaka YOKOTA.Dv model 4575f436cfbSKazutaka YOKOTAprinted by the 4585f436cfbSKazutaka YOKOTA.Fl i 4595f436cfbSKazutaka YOKOTAoption do not necessarily match the product name of the pointing device 4605f436cfbSKazutaka YOKOTAin question, but they may give the name of the device with which it is 4615f436cfbSKazutaka YOKOTAcompatible. 4625f436cfbSKazutaka YOKOTA.Pp 4635f436cfbSKazutaka YOKOTAIf the 4645f436cfbSKazutaka YOKOTA.Fl i 4655f436cfbSKazutaka YOKOTAoption yields nothing, you need to specify a protocol type to the 4665f436cfbSKazutaka YOKOTA.Nm 467490d5836SPhilippe Charnierutility by the 4685f436cfbSKazutaka YOKOTA.Fl t 469f2e366a1SSheldon Hearnoption. 470f2e366a1SSheldon HearnYou have to make a guess and try. 4715f436cfbSKazutaka YOKOTAThere is rule of thumb: 4725f436cfbSKazutaka YOKOTA.Pp 473610a5778SRuslan Ermilov.Bl -enum -compact -width 1.X 474610a5778SRuslan Ermilov.It 4755f436cfbSKazutaka YOKOTAThe bus and InPort mice always use 4765f436cfbSKazutaka YOKOTA.Ar busmouse 4775f436cfbSKazutaka YOKOTAprotocol regardless of the brand of the mouse. 478610a5778SRuslan Ermilov.It 4795f436cfbSKazutaka YOKOTAThe 4805f436cfbSKazutaka YOKOTA.Ar ps/2 4815f436cfbSKazutaka YOKOTAprotocol should always be specified for the PS/2 mouse 4825f436cfbSKazutaka YOKOTAregardless of the brand of the mouse. 483610a5778SRuslan Ermilov.It 484045c8108SKazutaka YOKOTAYou must specify the 485045c8108SKazutaka YOKOTA.Ar auto 486045c8108SKazutaka YOKOTAprotocol for the USB mouse. 487610a5778SRuslan Ermilov.It 4885f436cfbSKazutaka YOKOTAMost 2-button serial mice support the 4895f436cfbSKazutaka YOKOTA.Ar microsoft 4905f436cfbSKazutaka YOKOTAprotocol. 491610a5778SRuslan Ermilov.It 4925f436cfbSKazutaka YOKOTA3-button serial mice may work with the 4935f436cfbSKazutaka YOKOTA.Ar mousesystems 494f2e366a1SSheldon Hearnprotocol. 495f5c73cbbSKazutaka YOKOTAIf it does not, it may work with the 4965f436cfbSKazutaka YOKOTA.Ar microsoft 4975f436cfbSKazutaka YOKOTAprotocol although 498f5c73cbbSKazutaka YOKOTAthe third (middle) button will not function. 4995f436cfbSKazutaka YOKOTA3-button serial mice may also work with the 5005f436cfbSKazutaka YOKOTA.Ar mouseman 5015f436cfbSKazutaka YOKOTAprotocol under which the third button may function as expected. 502610a5778SRuslan Ermilov.It 5035f436cfbSKazutaka YOKOTA3-button serial mice may have a small switch to choose between ``MS'' 5045f436cfbSKazutaka YOKOTAand ``PC'', or ``2'' and ``3''. 5055f436cfbSKazutaka YOKOTA``MS'' or ``2'' usually mean the 5065f436cfbSKazutaka YOKOTA.Ar microsoft 5075f436cfbSKazutaka YOKOTAprotocol. 5085f436cfbSKazutaka YOKOTA``PC'' or ``3'' will choose the 5095f436cfbSKazutaka YOKOTA.Ar mousesystems 5105f436cfbSKazutaka YOKOTAprotocol. 511610a5778SRuslan Ermilov.It 5125f436cfbSKazutaka YOKOTAIf the mouse has a roller or a wheel, it may be compatible with the 5135f436cfbSKazutaka YOKOTA.Ar intellimouse 5145f436cfbSKazutaka YOKOTAprotocol. 5155f436cfbSKazutaka YOKOTA.El 5165f436cfbSKazutaka YOKOTA.Pp 5175f436cfbSKazutaka YOKOTATo test if the selected protocol type is correct for the given mouse, 5185f436cfbSKazutaka YOKOTAenable the mouse pointer in the current virtual console, 5195f436cfbSKazutaka YOKOTA.Pp 5205f436cfbSKazutaka YOKOTA.Dl vidcontrol -m on 5215f436cfbSKazutaka YOKOTA.Pp 5225f436cfbSKazutaka YOKOTAstart the mouse daemon in the foreground mode, 5235f436cfbSKazutaka YOKOTA.Pp 5245f436cfbSKazutaka YOKOTA.Dl moused -f -p Ar _selected_port_ -t Ar _selected_protocol_ 5255f436cfbSKazutaka YOKOTA.Pp 5265f436cfbSKazutaka YOKOTAand see if the mouse pointer travels correctly 527f2e366a1SSheldon Hearnaccording to the mouse movement. 528f2e366a1SSheldon HearnThen try cut & paste features by 529f2e366a1SSheldon Hearnclicking the left, right and middle buttons. 530f2e366a1SSheldon HearnType ^C to stop 5315f436cfbSKazutaka YOKOTAthe command. 5325f436cfbSKazutaka YOKOTA.Ss Multiple Mice 5335f436cfbSKazutaka YOKOTAAs many instances of the mouse daemon as the number of mice attached to 5345f436cfbSKazutaka YOKOTAthe system may be run simultaneously; one 5355f436cfbSKazutaka YOKOTAinstance for each mouse. 5365f436cfbSKazutaka YOKOTAThis is useful if the user wants to use the built-in PS/2 pointing device 5375f436cfbSKazutaka YOKOTAof a laptop computer while on the road, but wants to use a serial 5385f436cfbSKazutaka YOKOTAmouse when s/he attaches the system to the docking station in the office. 5395f436cfbSKazutaka YOKOTARun two mouse daemons and tell the application program 540c4d9468eSRuslan Ermilov(such as the 541c4d9468eSRuslan Ermilov.Tn "X\ Window System" ) 5425f436cfbSKazutaka YOKOTAto use 5435f436cfbSKazutaka YOKOTA.Xr sysmouse , 5445f436cfbSKazutaka YOKOTAthen the application program will always see mouse data from either mice. 5455f436cfbSKazutaka YOKOTAWhen the serial mouse is not attached, the corresponding mouse daemon 546f5c73cbbSKazutaka YOKOTAwill not detect any movement or button state change and the application 5475f436cfbSKazutaka YOKOTAprogram will only see mouse data coming from the daemon for the 548f2e366a1SSheldon HearnPS/2 mouse. 549f2e366a1SSheldon HearnIn contrast when both mice are attached and both of them 5505f436cfbSKazutaka YOKOTAare moved at the same time in this configuration, 5515f436cfbSKazutaka YOKOTAthe mouse pointer will travel across the screen just as if movement of 5525f436cfbSKazutaka YOKOTAthe mice is combined all together. 5535f436cfbSKazutaka YOKOTA.Sh FILES 5545f436cfbSKazutaka YOKOTA.Bl -tag -width /dev/consolectl -compact 5555f436cfbSKazutaka YOKOTA.It Pa /dev/consolectl 5565f436cfbSKazutaka YOKOTAdevice to control the console 5575f436cfbSKazutaka YOKOTA.It Pa /dev/mse%d 5585f436cfbSKazutaka YOKOTAbus and InPort mouse driver 5595f436cfbSKazutaka YOKOTA.It Pa /dev/psm%d 5605f436cfbSKazutaka YOKOTAPS/2 mouse driver 5615f436cfbSKazutaka YOKOTA.It Pa /dev/sysmouse 5625f436cfbSKazutaka YOKOTAvirtualized mouse driver 5635f436cfbSKazutaka YOKOTA.It Pa /dev/ttyv%d 5645f436cfbSKazutaka YOKOTAvirtual consoles 565045c8108SKazutaka YOKOTA.It Pa /dev/ums%d 566045c8108SKazutaka YOKOTAUSB mouse driver 567f82812a2SKazutaka YOKOTA.It Pa /var/run/moused.pid 568f82812a2SKazutaka YOKOTAprocess id of the currently running 569f82812a2SKazutaka YOKOTA.Nm 570490d5836SPhilippe Charnierutility 57167978692SAmancio Hasty.It Pa /var/run/MouseRemote 57267978692SAmancio HastyUNIX-domain stream socket for X10 MouseRemote events 57394a804c5SMike Pritchard.El 574251c176fSRuslan Ermilov.Sh EXAMPLES 5755f436cfbSKazutaka YOKOTA.Dl moused -p /dev/cuaa0 -i type 5765f436cfbSKazutaka YOKOTA.Pp 5775f436cfbSKazutaka YOKOTALet the 5785f436cfbSKazutaka YOKOTA.Nm 579490d5836SPhilippe Charnierutility determine the protocol type of the mouse at the serial port 5805f436cfbSKazutaka YOKOTA.Pa /dev/cuaa0 . 5815f436cfbSKazutaka YOKOTAIf successful, the command will print the type, otherwise it will say 5825f436cfbSKazutaka YOKOTA``unknown''. 5835f436cfbSKazutaka YOKOTA.Pp 5845f436cfbSKazutaka YOKOTA.Dl moused -p /dev/cuaa0 585bf29452fSWolfram Schneider.Dl vidcontrol -m on 586bf29452fSWolfram Schneider.Pp 5875f436cfbSKazutaka YOKOTAIf the 5885f436cfbSKazutaka YOKOTA.Nm 589490d5836SPhilippe Charnierutility is able to identify the protocol type of the mouse at the specified 5905f436cfbSKazutaka YOKOTAport automatically, you can start the daemon without the 5915f436cfbSKazutaka YOKOTA.Fl t 5925f436cfbSKazutaka YOKOTAoption and enable the mouse pointer in the text console as above. 5935f436cfbSKazutaka YOKOTA.Pp 5945f436cfbSKazutaka YOKOTA.Dl moused -p /dev/mouse -t microsoft 5955f436cfbSKazutaka YOKOTA.Dl vidcontrol -m on 5965f436cfbSKazutaka YOKOTA.Pp 5975f436cfbSKazutaka YOKOTAStart the mouse daemon on the serial port 5985f436cfbSKazutaka YOKOTA.Pa /dev/mouse . 5995f436cfbSKazutaka YOKOTAThe protocol type 6005f436cfbSKazutaka YOKOTA.Ar microsoft 6015f436cfbSKazutaka YOKOTAis explicitly specified by the 6025f436cfbSKazutaka YOKOTA.Fl t 6035f436cfbSKazutaka YOKOTAoption. 6045f436cfbSKazutaka YOKOTA.Pp 6055f436cfbSKazutaka YOKOTA.Dl moused -p /dev/mouse -m 1=3 -m 3=1 6065f436cfbSKazutaka YOKOTA.Pp 6075f436cfbSKazutaka YOKOTAAssign the physical button 3 (right button) to the logical button 1 6085f436cfbSKazutaka YOKOTA(logical left) and the physical button 1 (left) to the logical 6095f436cfbSKazutaka YOKOTAbutton 3 (logical right). 6105f436cfbSKazutaka YOKOTAThis will effectively swap the left and right buttons. 6115f436cfbSKazutaka YOKOTA.Pp 6125f436cfbSKazutaka YOKOTA.Dl moused -p /dev/mouse -t intellimouse -z 4 6135f436cfbSKazutaka YOKOTA.Pp 6145f436cfbSKazutaka YOKOTAReport negative Z axis (roller) movement as the button 4 pressed 6155f436cfbSKazutaka YOKOTAand positive Z axis movement as the button 5 pressed. 6165f436cfbSKazutaka YOKOTA.Sh CAVEATS 6175f436cfbSKazutaka YOKOTAThe 6185f436cfbSKazutaka YOKOTA.Nm 619490d5836SPhilippe Charnierutility does not currently work with the alternative console driver 6205f436cfbSKazutaka YOKOTA.Xr pcvt 4 . 6215f436cfbSKazutaka YOKOTA.Pp 6225f436cfbSKazutaka YOKOTAMany pad devices behave as if the first (left) button were pressed if 6235f436cfbSKazutaka YOKOTAthe user `taps' the surface of the pad. 6242e09fb67SKazutaka YOKOTAIn contrast, some ALPS GlidePoint and Interlink VersaPad models 6252e09fb67SKazutaka YOKOTAtreat the tapping action 626f2e366a1SSheldon Hearnas fourth button events. 627f2e366a1SSheldon HearnUse the option ``-m 1=4'' for these models 6285f436cfbSKazutaka YOKOTAto obtain the same effect as the other pad devices. 629851c9886SKazutaka YOKOTA.Pp 630851c9886SKazutaka YOKOTACut and paste functions in the virtual console assume that there 631851c9886SKazutaka YOKOTAare three buttons on the mouse. 632851c9886SKazutaka YOKOTAThe logical button 1 (logical left) selects a region of text in the 633851c9886SKazutaka YOKOTAconsole and copies it to the cut buffer. 634851c9886SKazutaka YOKOTAThe logical button 3 (logical right) extends the selected region. 635851c9886SKazutaka YOKOTAThe logical button 2 (logical middle) pastes the selected text 636851c9886SKazutaka YOKOTAat the text cursor position. 637851c9886SKazutaka YOKOTAIf the mouse has only two buttons, the middle, `paste' button 638851c9886SKazutaka YOKOTAis not available. 639851c9886SKazutaka YOKOTATo obtain the paste function, use the 640851c9886SKazutaka YOKOTA.Fl 3 641851c9886SKazutaka YOKOTAoption to emulate the middle button, or use the 642851c9886SKazutaka YOKOTA.Fl m 643851c9886SKazutaka YOKOTAoption to assign the physical right button to the logical middle button: 644851c9886SKazutaka YOKOTA``-m 2=3''. 64594a804c5SMike Pritchard.Sh SEE ALSO 6465f436cfbSKazutaka YOKOTA.Xr kill 1 , 6475cf470d6SWolfram Schneider.Xr vidcontrol 1 , 64894a804c5SMike Pritchard.Xr keyboard 4 , 6495f436cfbSKazutaka YOKOTA.Xr mse 4 , 65094a804c5SMike Pritchard.Xr pcvt 4 , 6515f436cfbSKazutaka YOKOTA.Xr psm 4 , 652b7d50183SWolfram Schneider.Xr screen 4 , 653045c8108SKazutaka YOKOTA.Xr sysmouse 4 , 654045c8108SKazutaka YOKOTA.Xr ums 4 655251c176fSRuslan Ermilov.Sh STANDARDS 6565f436cfbSKazutaka YOKOTAThe 6575f436cfbSKazutaka YOKOTA.Nm 658490d5836SPhilippe Charnierutility partially supports 65979d8f01cSAlexey Zelkin.Dq Plug and Play External COM Device Specification 6605f436cfbSKazutaka YOKOTAin order to support PnP serial mice. 6615f436cfbSKazutaka YOKOTAHowever, due to various degrees of conformance to the specification by 6625f436cfbSKazutaka YOKOTAexisting serial mice, it does not strictly follow the version 1.0 of the 663f2e366a1SSheldon Hearnstandard. 664f2e366a1SSheldon HearnEven with this less strict approach, 6655f436cfbSKazutaka YOKOTAit may not always determine an appropriate protocol type 6665f436cfbSKazutaka YOKOTAfor the given serial mouse. 66794a804c5SMike Pritchard.Sh AUTHORS 668f4d874a1SRuslan Ermilov.An -nosplit 66994a804c5SMike PritchardThe 67094a804c5SMike Pritchard.Nm 671490d5836SPhilippe Charnierutility was written by 6722dcf9f10SSteve Price.An Michael Smith Aq msmith@FreeBSD.org . 6735f436cfbSKazutaka YOKOTAThis manual page was written by 67407e1d533SPhilippe Charnier.An Mike Pritchard Aq mpp@FreeBSD.org . 6752dcf9f10SSteve PriceThe command and manual page have since been updated by 6762dcf9f10SSteve Price.An Kazutaka Yokota Aq yokota@FreeBSD.org . 67794a804c5SMike Pritchard.Sh HISTORY 67894a804c5SMike PritchardThe 67907e1d533SPhilippe Charnier.Nm 680490d5836SPhilippe Charnierutility first appeared in 68194a804c5SMike Pritchard.Fx 2.2 . 682