wsmoused(8/alpha) | wsmouse daemon |
wsmoused(8/amd64) | wsmouse daemon |
wsmoused(8/i386) | wsmouse daemon |
WSMOUSED(8) | System Manager's Manual | WSMOUSED(8) |
wsmoused
— wsmouse
daemon
wsmoused |
[-2dfi ] [-C
thresh] [-D
device] [-M
N=M]
[-p device]
[-t type] |
wsmoused
listens for mouse events on the
specified device and communicates them to the
wscons(4) driver. Its purpose
is to provide copy/paste functionality on the console. It does not happily
coexist with the X Window System though, so it has to be killed before
starting the X Window System.
By default, the left mouse button is used to select text (in the
familiar click-and-drag fashion); the right button is used to extend the
selection; and the middle button pastes. This behavior can be modified
through the use of -M
, e.g. -M
2=3
maps the right mouse button to paste.
The options are as follows:
-2
-C
thresh-D
devicewsmoused
will use the default value of
/dev/ttyCcfg, which controls the
wsdisplay0
display terminals.-d
-f
-i
-M
N=M=
’. Button numbers start
from one, assigned to the leftmost button.-p
device-t
typewsmoused
automatically select an appropriate protocol for the given mouse, if the
serial mouse respects the PnP COM specification.
If this option is not specified, auto is assumed. Under normal circumstances, you need to use this option only if the mouse is not PnP compatible.
Valid protocol types for this option are the following:
To start wsmoused on the wsdisplay1
display terminals, using a two-button serial mouse connected to
/dev/cua0:
# wsmoused -2 -D /dev/ttyDcfg -p
/dev/cua0
To start wsmoused on the wsdisplay0
display terminals, using /dev/wsmouse with the left
and right buttons swapped (assuming a three button mouse):
# wsmoused -M 1=3 -M 3=1
The wsmoused
daemon is a slightly modified
version of the moused daemon from the FreeBSD
project, written by Michael Smith
<msmith@FreeBSD.org>.
Both inherit code from the XFree Project.
April 25, 2018 | OpenBSD-6.4 |