mouseadmin(1)


mouseadmin -- mouse administration

Synopsis

mouseadmin -l

mouseadmin [-nb] [-i interrupt] [-a terminal] mouse

mouseadmin [-nb] [-d terminal]

mouseadmin -t

Description

mouseadmin allows any user with system administrator privileges to add or delete mouse devices. Users without appropriate privileges will only be allowed to list the current mouse and display assignments. The mouseadmin command issued without arguments will execute in menu mode providing the user with a listing of current assignments and a selection menu of operations. After configuring the mouse choose the U option to update the mouse configuration and then quit. Once the new mouse configuration has been updated you can use the -t command line option or the T menu option to test the newly configured mouse.

The command line arguments are defined as follows:

-a
assign mouse device (PS2 BUS tty00 s0tty0 . . . ) to terminal (console s0vt00 . . . ).

-b
do not validate for BUS mouse in system configuration. (This option should only be used within install scripts.)

-d
delete terminal assignment.

-i
specify an interrupt vector for a BUS mouse. When using the -i option mouse must be BUS.

-l
list mouse/display assignments.

-n
build mouse/display pair table without downloading to driver. (This option should only be used within install scripts.)

-t
test currently configured mouse. If the mouse is there and detected the return will be ``0''; otherwise the return will be ``1'' or higher.

Examples

mouseadmin -a console PS2
mouseadmin -a console BUS
mouseadmin -a s0vt00 tty00
mouseadmin -a s0vt00 tty01

Files

/usr/bin/mouseadmin
/usr/lib/mousemgr

References

mouse(7)


30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.