KBD_MODE(1) KBD_MODE(1)
NAME
kbd_mode - report or set the keyboard mode
SYNOPSIS
kbd_mode [ -a | -u | -k | -s ]
DESCRIPTION
Without argument, kbd_mode prints the current keyboard mode (RAW, MEDIUMRAW or
XLATE). With argument, it sets the keyboard mode as indicated:
-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 charac-
ter set. With "-u" a 16-bit character set is expected, and these chars are trans-
mitted to the kernel as 1, 2, or 3 bytes (following the UTF-8 coding). In these
latter two modes the key mapping defined by loadkeys(1) is used.
Warning: changing the keyboard mode, other than between ASCII and Unicode, will
probably make your keyboard unusable. This command is only meant for use (say via
remote login) when some program left your keyboard in the wrong state. Note that
in some obsolete versions of this program the "-u" option was a synonym for "-s".
SEE ALSO
loadkeys(1)
6 Apr 1994 KBD_MODE(1)
Generated by $Id: phpMan.php,v 4.55 2007/09/05 04:42:51 chedong Exp $ Author: Che Dong
On Apache/1.3.41 (Unix) PHP/5.2.5 mod_perl/1.30 mod_gzip/1.3.26.1a
Under GNU General Public License
2008-12-02 01:28 @38.103.63.58 CrawledBy CCBot/1.0 (+http://www.commoncrawl.org/bot.html)