Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

wsmux(4) [netbsd man page]

WSMUX(4)						   BSD Kernel Interfaces Manual 						  WSMUX(4)

NAME
wsmux -- console keyboard/mouse multiplexor for wscons SYNOPSIS
wskbd* at ... mux 1 wsmouse* at ... mux 0 pseudo-device wsmux DESCRIPTION
The wsmux is a pseudo-device driver that allows several wscons(4) input devices to have their events multiplexed into one stream. The typical usage for this device is to have two multiplexors, one for mouse events and one for keyboard events. All wsmouse(4) devices should direct their events to the mouse mux (normally 0) and all keyboard devices, except the console, should direct their events to the key- board mux (normally 1). A device will send its events to the mux indicated by the mux locator. If none is given the device will not use a multiplexor. The keyboard multiplexor should be connected to the display, using the wsconscfg(8) command. It will then receive all key- strokes from all keyboards and, furthermore, keyboards can be dynamically attached and detached without further user interaction. In a simi- lar way, the window system will open the mouse multiplexor and receive all mouse events; mice can also be dynamically attached and detached. If a wskbd(4) or wsmouse(4) device is opened despite having a mux it will be detached from the mux. It is also possible to inject events into a multiplexor from a user program. FILES
For each mux device, /dev/wsmuxN there is a control device /dev/wsmuxctlN. The control device has a minor number 128 greater than the regu- lar mux device. It can be used to control the mux even when it is open, e.g., by wsmuxctl(8). /dev/wsmouse a.k.a. /dev/wsmux0 /dev/wskbd a.k.a. /dev/wsmux1 /usr/include/dev/wscons/wsconsio.h SEE ALSO
wscons(4), wsdisplay(4), wskbd(4), wsmouse(4), moused(8), wsconscfg(8), wsconsctl(8), wsfontload(8), wsmoused(8), wsmuxctl(8) BSD
July 26, 1999 BSD

Check Out this Related Man Page

WSCONS.CONF(5)						      BSD File Formats Manual						    WSCONS.CONF(5)

NAME
wscons.conf -- workstation console config file SYNOPSIS
wscons.conf DESCRIPTION
The wscons.conf file defines parameters regarding to the workstation console (wscons). The file consists of lines starting with a keyword, and one or more arguments. Empty lines and lines starting with a hash (``#'') are ignored. This configuration file is used by the /etc/rc.d/wscons script which parses /etc/wscons.conf and runs wsconscfg(8), wsconsctl(8), and/or wsfontload(8) as configured. See rc.conf(5) for details on enabling the rc.d script. The following keywords and arguments are recognized: font name width height enc file Used to load a font via wsfontload(8). name gives a font name that can be used later, width can be used to specify the width of a font character in pixel, height is the same, just for the font characters' height. enc is used to declare the font's encoding, see the description on wsfontload(8)'s -e option for more detail. file gives the absolute path to the font file. See wsfontload(8) for more information. screen idx scr emul Add and configure virtual console number idx using a screen type of scr (e.g. 80x25) and a emul terminal emulation (e.g. vt100). See wsconscfg(8) for further parameter description. keyboard kbd Attach and configure keyboard kbd using ``wsconscfg -k''. If kbd is '-' or 'auto', the first free keyboard will be used. See wsconscfg(8) for more information. encoding enc Set the keyboard map to the given language code enc, using ``wsconsctl -w encoding=enc''. The map must be supported by the key- board driver in use and must be compiled into the kernel. See the keyboard driver's manpage (e.g., pckbd(4), ukbd(4)) for details. mapfile file Parses the contents of file, which contains a keyboard map per line, and calls ``wsconsctl -w map+='' for each line. See wsconsctl(8) for details. mux idx Used to attach and configure keyboard/mouse multiplexors, using ``wsconscfg -m idx''. See wsconscfg(8) for more information. setvar dev var val Set arbitrary wscons variable var to value val for specified control device dev. Can be used for direct modification of wscons(4) variables, when no other keywords are suitable. See wsconsctl(8) for more information. Command arguments can be specified as ``-'' which makes default values come into effect as described in the documentation of the utilities. FILES
/etc/wscons.conf SEE ALSO
wscons(4), wsconscfg(8), wsconsctl(8), wsfontload(8) BSD
November 22, 2008 BSD
Man Page