NAME
kbd_mode - change the keyboard translation mode
SYNOPSIS
kbd_mode -a | -n | -e | -u
AVAILABILITY
SPARC
DESCRIPTION
kbd_mode sets the translation mode of the console's keyboard
(/dev/kbd) to one of the four values defined for KIOCTRANS
in kb(7). This is useful when a program that resets the
translation mode terminates abnormally and fails to restore
the original translation mode.
Note that SunView desires translated events (kbd_mode -e),
while Xsun(1) desires untranslated events (kbd_mode -u).
See below for an explanation of the -e and -u options.
OPTIONS
-a ASCII: the keyboard will generate simple ASCII charac-
ters.
-n None: the keyboard will generate unencoded bytes - a
distinct value for up and down on each switch on the
keyboard.
-e Events: the keyboard will generate SunWindows input
events with ASCII characters in the value field.
-u Unencoded: the keyboard will generate input events with
unencoded bytes in the value field such as those
desired by the Xsun(1) server.
FILES
/dev/kbd
/usr/openwin/bin/kbd_mode
SEE ALSO
kb(7)
|
Закладки на сайте Проследить за страницей |
Created 1996-2025 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |