%general-entities; ]> Kbd-&kbd-version; Kbd <para>The Kbd package contains key-table files and keyboard utilities.</para> </sect2> <sect2 role="installation"> <title>Installation of Kbd The following patch fixes build issues with GCC &gcc-version;: patch -Np1 -i ../&kbd-gcc4_fixes-patch; The following sed disables running the built conftests while running configure: cp configure{,.orig} sed -e "s@&& ./conftest@@" configure.orig > configure The following sed removes -s from the install command which will try to strip the installed files: cp src/Makefile{,.orig} sed -e "s/install -s/install/" src/Makefile.orig > src/Makefile Prepare Kbd for compilation: ./configure Compile the package: make CC="${CC}" Install the package: make DESTDIR=${LFS} install Contents of Kbd Installed programs chvt, deallocvt, dumpkeys, fgconsole, getkeycodes, getunimap, kbd_mode, kbdrate, loadkeys, loadunimap, mapscrn, openvt, psfaddtable (link to psfxtable), psfgettable (link to psfxtable), psfstriptable (link to psfxtable), psfxtable, resizecons, setfont, setkeycodes, setleds, setlogcons, setmetamode, setvesablank, showconsolefont, showkey, unicode_start, and unicode_stop Short Descriptions chvt Changes the foreground virtual terminal chvt deallocvt Deallocates unused virtual terminals deallocvt dumpkeys Dumps the keyboard translation tables dumpkeys fgconsole Prints the number of the active virtual terminal fgconsole getkeycodes Prints the kernel scancode-to-keycode mapping table getkeycodes getunimap Prints the currently used unicode-to-font mapping table getunimap kbd_mode Reports or sets the keyboard mode kbd_mode kbdrate Sets the keyboard repeat and delay rates kbdrate loadkeys Loads the keyboard translation tables loadkeys loadunimap Loads the kernel unicode-to-font mapping table loadunimap mapscrn An obsolete program that used to load a user-defined output character mapping table into the console driver; this is now done by setfont mapscrn openvt Starts a program on a new virtual terminal (VT) openvt psfaddtable A link to psfxtable psfaddtable psfgettable A link to psfxtable psfgettable psfstriptable A link to psfxtable psfstriptable psfxtable Handle Unicode character tables for console fonts psfxtable resizecons Changes the kernel idea of the console size resizecons setfont Changes the Enhanced Graphic Adapter (EGA) and Video Graphics Array (VGA) fonts on the console setfont setkeycodes Loads kernel scancode-to-keycode mapping table entries; this is useful if there are unusual keys on the keyboard setkeycodes setleds Sets the keyboard flags and Light Emitting Diodes (LEDs) setleds setlogcons Sends kernel messages to the console setlogcons setmetamode Defines the keyboard meta-key handling setmetamode setvesablank Lets the user adjust the built-in hardware screensaver (a blank screen) setvesablank showconsolefont Shows the current EGA/VGA console screen font showconsolefont showkey Reports the scancodes, keycodes, and ASCII codes of the keys pressed on the keyboard showkey unicode_start Puts the keyboard and console in UNICODE mode. Never use it on LFS, because applications are not configured to support UNICODE. unicode_start unicode_stop Reverts keyboard and console from UNICODE mode unicode_stop