Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ (8) — Plan9 3rd Edition (Vita Nuova)

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cons(3)

MOUSE(8)

NAME

aux/mouse − configure a mouse to a port

SYNOPSIS

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

DESCRIPTION

­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. 

The option ­-d provides a default mouse type should ­mouse fail to determine it.  The types are:

CLogitech type C mouse

WLogitech type W mouse

MMicrosoft 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. 

SOURCE

­/sys/src/cmd/aux/mouse.c

SEE ALSO

cons(3)

Plan 9  —  July 29, 2000

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026