kbd_mode man page on Archlinux

Man page or keyword search:  
man Server   11224 pages
apropos Keyword Search (all sections)
Output format
Archlinux logo
[printable version]

KBD_MODE(1)							   KBD_MODE(1)

       kbd_mode - report or set the keyboard mode

       kbd_mode [ -a | -u | -k | -s ] [ -C CONSOLE ]

       Without argument, kbd_mode prints the current keyboard mode (RAW, MEDI‐
       UMRAW or XLATE).	 With argument, it sets the  keyboard  mode  as	 indi‐

       -s: scancode mode (RAW),

       -k: keycode mode (MEDIUMRAW),

       -a: ASCII mode (XLATE),

       -u: UTF-8 mode (UNICODE).

       Of  course  the	"-a" is only traditional, and the code used can be any
       8-bit character set.  With "-u" a 16-bit character set is expected, and
       these  chars are transmitted to the kernel as 1, 2, or 3 bytes (follow‐
       ing the UTF-8 coding).  In these	 latter	 two  modes  the  key  mapping
       defined by loadkeys(1) is used.

       kbd_mode operates on the console specified by the "-C" option; if there
       is none, the console associated with stdin is used.

       Warning: changing the keyboard mode, other than between ASCII and  Uni‐
       code,  will probably make your keyboard unusable.  This command is only
       meant for use (say via remote login) when some program left  your  key‐
       board  in the wrong state.  Note that in some obsolete versions of this
       program the "-u" option was a synonym for "-s".


				  6 Apr 1994			   KBD_MODE(1)

List of man pages available for Archlinux

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net