gpm -version (return code: 0)
gpm 1.20.4 29th of May 2008
gpm -h (return code: 1)
Usage: gpm [options]
Valid options are (not all of them are implemented)
-a accel sets the acceleration (default 2)
-A [limit] start with selection disabled (`aged')
-b baud-rate sets the baud rate (default 1200)
-B sequence allows changing the buttons (default '123')
-d delta sets the delta value (default 25) (must be 2 or more)
-D debug mode: don't auto-background
-g tap-button sets the button (1-3) that is emulated by tapping on
a glidepoint mouse, none by default. (mman/ps2 only)
-i interval max time interval for multiple clicks (default 250)
-k kill a running gpm, to start X with a busmouse
-l charset loads the inword() LUT (default '-a-zA-Z0-9_./À-ÖØ-öø-ÿ')
-m mouse-device sets mouse device
-M enable multiple mice. Following options refer to
the second device. Forces "-R"
-o options decoder-specific options (e.g.: "dtr", "rts")
-p draw the pointer while striking a selection
-q quit after changing mouse behaviour
-r number sets the responsiveness (default 10)
-R mouse-type enter repeater mode. X should read /dev/gpmdata
like it was a mouse-type device. Default is MouseSystems.
You can also specify "raw" to relay the raw device data.
-F Always force repeat mode.
-s sample-rate sets the sample rate (default 100)
-S [commands] enable special commands (see man page)
-t mouse-type sets mouse type (default 'ms')
Use a non-existent type (e.g. "help") to get a list
or "types" to get a list of just the mnemonics.
-T test: read mouse, no clients
-v print version and exit
-V verbosity increase number of logged messages
Examples:
gpm -m /dev/misc/psaux -t ps2 to start with a ps2 mouse
gpm -m /dev/tts/0 -t mman to use mouse man on COM1