The
wsconsctl command displays or sets various wscons system driver variables. If a list of variables is present on the command line, then
wsconsctl prints the current value of those variables for the specified device.
-a
Specify all variables for the device.
-d
Select the display portion of the device.
-f file
Specify an alternative control device.
-k
Select the keyboard portion of the device (this is the default).
-m
Select the mouse portion of the device.
-n
Suppress the printing of the variable name in the output - only the value will appear.
-w
Set or modify the specified variables to the given values. The value can be specified as either an absolute value, by using the ‘=' symbol or as a relative value, by using the ‘+=' symbol. See the
EXAMPLES section for more details.
The
wsconsctl utility can be used to view and modify aspects of the keyboard, display, and mouse, using the standard, machine-independent workstation console device driver
wscons(4).
The keyboard type can be modified, the keyboard bell's pitch, period, and duration can be modified, the
typematic value can be changed, and the keyboard encoding can be modified to switch keys, should the user find a keyboard's default layout difficult to use. The keyboard types and other relevant definitions can all be found in the
/usr/include/dev/wscons/wsksymdef.h file.
The mouse types are defined in the
/usr/include/dev/wscons/wsconsio.h file.
The display types, height, width, depth (bits per pixel), color map size, and color map are defined in the
/usr/include/dev/wscons/wsconsio.h file. There are also definitions relating to video control and cursor control, which are not applicable to all display types, and to text emulation and graphics (mapped) modes.
In addition to British, US, and US-Dvorak keyboard encodings, support currently exists for the following languages: Belgian, Danish, Finnish, French, German, Greek, Hungarian, Italian, Japanese, Norwegian, Polish, Portugese, Russian, Spanish, Swedish, Swiss, and Ukrainian. Additionally, a user-defined encoding is supported.