Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
kbd_mode(1)
Edit
PageHistory
Diff
Info
LikePages
KBD_MODE !!!KBD_MODE NAME SYNOPSIS DESCRIPTION SEE ALSO ---- !!NAME kbd_mode - report or set the keyboard mode !!SYNOPSIS __kbd_mode [[__ ''-auks'' __]__ !!DESCRIPTION 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 loadkeys(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'' mode. Note that in some obsolete versions of this program the ''-u'' option was a synonym for ''-s''. !!SEE ALSO loadkeys(1), consolechars(8). ----
5 pages link to
kbd_mode(1)
:
loadkeys(1)
Man1k
console_ioctl(4)
console_ioctls(4)
X(1)
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.