A.39. Kbd

A.39.1. Contents

The Kbd package contains the chvt, deallocvt, dumpkeys, fgconsole, getkeycodes, kbd_mode, kbdrate, loadkeys, loadunimap, mapscrn, psfxtable, resizecons, screendump, setfont, setkeycodes, setleds, setmetamode, setvesablank, showfont, showkey, unicode_start, and unicode_stop programs. There are some other programs that don't get installed by default, as they are very optional. Take a look at the Kbd package contents if you have trouble with your console.

A.39.2. Description

A.39.2.1. chvt

chvt changes foreground virtual terminal.

A.39.2.2. deallocvt

deallocvt deallocates unused virtual terminals.

A.39.2.3. dumpkeys

dumpkeys dumps keyboard translation tables.

A.39.2.4. fgconsole

fgconsole prints the number of the active virtual terminal.

A.39.2.5. getkeycodes

getkeycodes prints the kernel scancode-to-keycode mapping table.

A.39.2.6. kbd_mode

kbd_mode reports or sets the keyboard mode.

A.39.2.7. kbdrate

kbdrate sets the keyboard repeat and delay rates.

A.39.2.8. loadkeys

loadkeys loads keyboard translation tables.

A.39.2.9. loadunimap

loadunimap loads the kernel unicode-to-font mapping table.

A.39.2.10. mapscrn

mapscrn loads a user defined output character mapping table into the console driver. Note that it is obsolete and that its features are built into setfont.

A.39.2.11. psfxtable

psfxtable is a tool for handling Unicode character tables for console fonts.

A.39.2.12. resizecons

resizecons changes the kernel idea of the console size.

A.39.2.13. screendump

A screen shot utility for the console.

A.39.2.14. setfont

This lets you change the EGA/VGA fonts in console.

A.39.2.15. setkeycodes

setkeycodes loads kernel scancode-to-keycode mapping table entries.

A.39.2.16. setleds

setleds sets the keyboard LEDs. Many people find it useful to have numlock enabled by default, and it is by using this program that you can achieve this.

A.39.2.17. setmetamode

setmetamode defines the keyboard meta key handling.

A.39.2.18. setvesablank

This lets you fiddle with the built-in hardware screensaver (not toasters, only a blank screen).

A.39.2.19. showfont

showfont displays data about a font. The information shown includes font information, font properties, character metrics, and character bitmaps.

A.39.2.20. showkey

showkey examines the scancodes and keycodes sent by the keyboard.

A.39.2.21. unicode_start

unicode_start puts the console in Unicode mode.

A.39.2.22. unicode_stop

unicode_stop reverts keyboard and console from unicode mode.