*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Linux man pages -> kbd_mode (1)              



NAME    [Toc]    [Back]

       kbd_mode - report or set the keyboard mode

SYNOPSIS    [Toc]    [Back]

       kbd_mode [ -auks ]

DESCRIPTION    [Toc]    [Back]

       Without argument, kbd_mode prints the current keyboard mode. 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).

       The XLATE mode is the traditional one, where the codes used can be  any
       8-bit  character  set.  Is  is usually expected that this character set
       matches the one used later to translate them internally	into  Unicode,
       after  they  are  sent  to  the	screen	to be displayed, using the map
       selected by consolechars -m.

       In UNICODE mode, a 16-bit character set is expected,  and  these  chars
       are  transmitted to the kernel as 1, 2, or 3 bytes (following the UTF-8
       coding). In these latter two modes the key  mapping  defined  by  load-
       keys(1) is used.

       WARNING:  changing the keyboard mode, other than between ASCII and Unicode,
 will probably make your keyboard unusable. This command can  also
       be  useful  (say via remote login) when some program left your keyboard
       in the wrong state, to get the keyboard	back  into  XLATE  or  UNICODE

       Note that in some obsolete versions of this program the -u option was a
       synonym for -s.

SEE ALSO    [Toc]    [Back]

       loadkeys(1), consolechars(8).

Console tools			  28 Oct 1997			   KBD_MODE(1)
[ Back ]
 Similar pages
Name OS Title
doublebuffer IRIX sets the display mode to double buffer mode
cmode IRIX sets color map mode as the current mode.
unicode_stop Linux put the console out of unicode mode (ie. in 8-bit mode).
setxkbmap IRIX set the keyboard using the X Keyboard Extension
rpcinfo FreeBSD report RPC information
rpcinfo HP-UX report RPC information
clock Tru64 Report CPU time used
rpcinfo OpenBSD report RPC information
iostat HP-UX report I/O statistics
rpcinfo Linux report RPC information
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service