kbd_mode
(1)
名称
kbd_mode - change the keyboard translation mode
用法概要
/usr/bin/kbd_mode -a | -n | -e | -u
描述
User Commands                                         kbd_mode(1)
NAME
     kbd_mode - change the keyboard translation mode
SYNOPSIS
     /usr/bin/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(7M).   This  is useful when a program that resets the
     translation mode terminates abnormally and fails to  restore
     the original translation mode.
     Note   that   the  text  console  desires  ASCII  characters
     (kbd_mode -a), while  Xorg(1)  desires  untranslated  events
     (kbd_mode -u).
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  firm_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 X server.
FILES
     /dev/kbd
SEE ALSO
     kbd(1), kb(7M)
ATTRIBUTES
     See   attributes(5)   for   descriptions  of  the  following
     attributes:
     +-----------------------------+-----------------------------+
     |      ATTRIBUTE TYPE         |      ATTRIBUTE VALUE        |
     +-----------------------------+-----------------------------+
     |Availability                 |system/keyboard/kbd_mode     |
     +-----------------------------+-----------------------------+
     |Interface Stability          |Committed                    |
     +-----------------------------+-----------------------------+
SunOS 5.11           Last change: 5 Aug 2011                    1