mouse man page on Plan9

Printed from

MOUSE(8)							      MOUSE(8)

       aux/mouse, aux/accupoint - configure a mouse to a port

       aux/mouse [ -b baud ] [ -d type ] [ -n ] port


       Mouse  queries  a  mouse	 on a serial or PS2 port for its type and then
       configures the port and the mouse to be used to control the cursor.

       Port can be either a port number (e.g.  0 or 1) or the  string  ps2  or
       ps2intellimouse.	 The initialization can be automated by setting mouse‐
       port in plan9.ini(8), which will enable a call to mouse in termrc  (see

       The option -d provides a default mouse type should mouse fail to deter‐
       mine it.	 The types are:

       C      Logitech type C mouse

       W      Logitech type W mouse

       M      Microsoft compatible mouse

       The -n flag queries the mouse and reports its type but does not set the
       device type.

       The  -b flag sets the baud rate for communication; it is effectual only
       for serial mice.

       is a process, to be used with pipefile(1), that processes  events  from
       an  AccuPoint  II pointing device with four buttons, such as on Toshiba
       Portégé 3440CT and 3480CT laptops, converting events on the  two	 extra
       buttons	(which	appear	as  buttons 4 and 5 in the mouse(3) interface)
       into a simulation of button 2.  These extra buttons on laptops  are  in
       turn  simulations  of  Intellimouse scrolling buttons and have peculiar
       properties: they generate only `down' events that repeat automatically,
       like  a	keypad,	 in an approximation of the Intellimouse scroll wheel.
       Accupoint overcomes this behavior to produce a reasonable approximation
       of  a  normal  mouse  button 2: it makes left button act like a regular
       button 2, but is slow to release (the program must wait	for  a	repeat
       time  before  it	 knows	the button has been released), while the right
       button generates a fast button 2 `click'.  To use accupoint, add a line
       like this to /usr/$user/lib/profile or to a system-dependent configura‐
       tion script in termrc (see cpurc(8)):

	      pipefile -dr /bin/aux/accupoint /dev/mouse

       Before running accupoint, the mouse should be configured as  an	intel‐
       limouse or ps2intellimouse.


       cons(3), cpurc(8), pipefile(1).

       Due  to	the  limitations  of pipefile(1), when running accupoint it is
       difficult restart rio(1) if it has exited.

                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server Plan9

List of man pages available for Plan9

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net