DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Adding mice and bitpads

Testing a mouse


NOTE: Pseudo-ttys must be installed on the system in order to use usemouse. See ``Adding pseudo-ttys'' for more information.

  1. Log in as root in multiuser mode on the terminal you wish to test.

  2. Enter the following at the system prompt:

    usemouse echo

  3. As you move the mouse and click the buttons, characters should be echoed to the screen. For example, output might include:

    l
    mouse left

    r
    mouse right

    u
    mouse up

    d
    mouse down

    1d 1u
    left mouse button (button 1) pressed and released

    wf
    wheel forward

    wb
    wheel back

    See the usemouse(C) manual page for a complete listing of usemouse echo output.


    NOTE: If you are using a two button mouse, pressing both buttons at once emulates the middle button.

  4. To stop the usemouse utility, press the interrupt key, usually <Del> or <Ctrl>-C.


    NOTE: Because usemouse starts a new shell when executed, it is important to exit this shell before starting a graphical application.

If usemouse does not produce the behavior described here, or you see the following error messages, your mouse is not installed correctly.
   Open event driver failed:: No such file or directory Open
   event driver failed:: Not enough space...giving up
To fix the problem:
Next topic: Removing a mouse
Previous topic: Changing mouse ports

© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 03 June 2005