KBD_MODE
NAMESYNOPSIS
DESCRIPTION
SEE ALSO
NAME
kbd_mode − report or set the keyboard mode
SYNOPSIS
kbd_mode [ -a | -u | -k | -s ] [ -C CONSOLE ]
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 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 (following 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 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
More Linux Commands
manpages/hunspell.5.html
hunspell(5) format of Hunspell dictionaries and affix files
hunspell.5 - Hunspell(1) Hunspell requires two files to define the way a language is being spell checked: a dictionary file containing words and applicable flag
manpages/endrpcent.3.html
endrpcent(3) - get RPC entry (Library - Linux man page).....
endrpcent.3 - The getrpcent(), getrpcbyname(), and getrpcbynumber() functions each return a pointer to an object with the following structure containing the bro
manpages/cmsg.3.html
cmsg(3) - Access ancillary data (Library - Linux man page)
These macros are used to create and access control messages (also called ancillary data) that are not a part of the socket payload. This control information may
manpages/Mail::SpamAssassin::Plugin::WhiteListSubject.3pm.html
Mail::SpamAssassin::Plugin::WhiteListSubject.3pm............
This SpamAssassin plugin module provides eval tests for whitelisting and blacklisting particular strings in the Subject header. The value for whitelist_subject
manpages/isql.1.html
isql(1) unixODBC command-line interactive SQL tool..........
isql is a command line tool which allows the user to execute SQL in batch or interactively. It has some interesting options such as an option to generate output
manpages/perlvos.1.html
perlvos(1) - Perl for Stratus VOS - Linux manual page.......
This file contains notes for building perl on the Stratus OpenVOS operating system. Perl is a scripting or macro language that is popular on many systems. S....
manpages/gsnd.1.html
gsnd(1) - Run ghostscript (PostScript and PDF engine) withou
This script simply invokes gs(1) with the -NODISPLAY flag, followed by any other arguments from the command-line. SEE ALSO gs(1) VERSION This document was last
manpages/set_menu_init.3menu.html
set_menu_init(3menu) - set hooks for automatic invocation by
These functions make it possible to set hook functions to be called at various points in the automatic processing of input event codes by menu_driver. The funct
manpages/XvQueryEncodings.3.html
XvQueryEncodings(3) - return list of encodings for an adapto
XvQueryEncodings(3) returns encoding information about an adaptor. Each encoding is described by the XvEncodingInfo structure described above. The encodings are
manpages/mt.1.html
mt(1) - control magnetic tape drive operation (Man Page)....
This manual page documents the GNU version of mt. mt performs the given operation, which must be one of the tape operations listed below, on a tape drive. The d
manpages/snmp_sess_select_info.3.html
snmp_sess_select_info(3) - session functions (Man Page).....
These functions define a subset of the API that can be used to manage single SNMP sessions in a multi-threaded application. Except for snmp_sess_session(), thes
manpages/dfbg.1.html
dfbg(1) - DirectFB background configuration tool (Man Page)
dfbg is a small utility to configure the background of the DirectFB desktop. It loads the specified image and sets it as background image. dfbg requires DirectF
