KBD_MODE(1) — USER COMMANDS
NAME
kbd_mode − change the keyboard translation mode
SYNOPSIS
kbd_mode −a| −n| −e| −u
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(4S). This is useful when a program which resets the translation mode crashes; for example, NeWS (when run from SunView) can sometimes leave SunView reading untranslated events.
OPTIONS
−a ASCII: the keyboard will generate simple ASCII characters
−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 SunWindows input events with unencoded bytes in the value field (this is the mode currently uses).
FILES
/dev/kbd
$NEWSHOME/bin/kbd_mode
SEE ALSO
Sun Release 4.1 — Last change: 26 October 1987