📄 kbd.html
字号:
<HTML><HEAD><TITLE>Installing Kbd-1.06</TITLE><METANAME="GENERATOR"CONTENT="Modular DocBook HTML Stylesheet Version 1.63"><LINKREL="HOME"TITLE="Linux From Scratch"HREF="../index.html"><LINKREL="UP"TITLE="Installing basic system software"HREF="../chapter06/chapter06.html"><LINKREL="PREVIOUS"TITLE="Installing Gettext-0.10.40"HREF="../chapter06/gettext.html"><LINKREL="NEXT"TITLE="Installing Diffutils-2.7"HREF="../chapter06/diffutils.html"></HEAD><BODYCLASS="sect1"BGCOLOR="#FFFFFF"TEXT="#000000"LINK="#0000FF"VLINK="#840084"ALINK="#0000FF"><DIVCLASS="NAVHEADER"><TABLEWIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><THCOLSPAN="3"ALIGN="center">Linux From Scratch: Version 3.1</TH></TR><TR><TDWIDTH="10%"ALIGN="left"VALIGN="bottom"><AHREF="../chapter06/gettext.html">Prev</A></TD><TDWIDTH="80%"ALIGN="center"VALIGN="bottom">Chapter 6. Installing basic system software</TD><TDWIDTH="10%"ALIGN="right"VALIGN="bottom"><AHREF="../chapter06/diffutils.html">Next</A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><DIVCLASS="sect1"><H1CLASS="sect1"><ANAME="ch06-kbd">6.31. Installing Kbd-1.06</A></H1><TABLEBORDER="0"BGCOLOR="#E0E0E0"WIDTH="100%"><TR><TD><FONTCOLOR="#000000"><PRECLASS="screen">Estimated build time: 1 minuteEstimated required disk space: 8 MB</PRE></FONT></TD></TR></TABLE><DIVCLASS="sect2"><H2CLASS="sect2"><ANAME="AEN2716">6.31.1. Installation of Kbd</A></H2><P>Install Kbd by running the following commands:</P><P><TABLEBORDER="0"BGCOLOR="#E0E0E0"WIDTH="100%"><TR><TD><FONTCOLOR="#000000"><PRECLASS="screen"><TTCLASS="userinput"><B>./configure &&make &&make install</B></TT></PRE></FONT></TD></TR></TABLE></P><P>When using the loadkeys program from this package, don't use the-d option to load a default keymap file. It won't work properlywith keymaps that include other keymaps.</P></DIV><DIVCLASS="sect2"><H2CLASS="sect2"><ANAME="AEN2723">6.31.2. Contents</A></H2><P>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 thatdon't get installed by default, as they are very optional. Take a look at theKbd package contents if you have trouble with your console.</P></DIV><DIVCLASS="sect2"><H2CLASS="sect2"><ANAME="AEN2726">6.31.3. Description</A></H2><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2728">6.31.3.1. chvt</A></H3><P>chvt changes foreground virtual terminal.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2731">6.31.3.2. deallocvt</A></H3><P>deallocvt deallocates unused virtual terminals.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2734">6.31.3.3. dumpkeys</A></H3><P>dumpkeys dumps keyboard translation tables.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2737">6.31.3.4. fgconsole</A></H3><P>fgconsole prints the number of the active virtual terminal.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2740">6.31.3.5. getkeycodes</A></H3><P>getkeycodes prints the kernel scancode-to-keycode mapping table.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2743">6.31.3.6. kbd_mode</A></H3><P>kbd_mode reports or sets the keyboard mode.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2746">6.31.3.7. kbdrate</A></H3><P>kbdrate sets the keyboard repeat and delay rates.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2749">6.31.3.8. loadkeys</A></H3><P>loadkeys loads keyboard translation tables.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2752">6.31.3.9. loadunimap</A></H3><P>loadunimap loads the kernel unicode-to-font mapping table.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2755">6.31.3.10. mapscrn</A></H3><P>mapscrn loads a user defined output charactermapping table into the console driver. Note that it is obsolete and that itsfeatures are built into setfont.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2758">6.31.3.11. psfxtable</A></H3><P>psfxtable is a tool for handling Unicode character tables for console fonts.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2761">6.31.3.12. resizecons</A></H3><P>resizecons changes the kernel idea of the console size.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2764">6.31.3.13. screendump</A></H3><P>A screen shot utility for the console.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2767">6.31.3.14. setfont</A></H3><P>This lets you change the EGA/VGA fonts in console.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2770">6.31.3.15. setkeycodes</A></H3><P>setkeycodes loads kernel scancode-to-keycode mapping table entries.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2773">6.31.3.16. setleds</A></H3><P>setleds sets the keyboard LEDs. Many people find it useful to have numlockenabled by default, and it is by using this program that you can achieve this.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2776">6.31.3.17. setmetamode</A></H3><P>setmetamode defines the keyboard meta key handling.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2779">6.31.3.18. setvesablank</A></H3><P>This lets you fiddle with the built-in hardware screensaver (not toasters, only a blank screen).</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2782">6.31.3.19. showfont</A></H3><P>showfont displays data about a font. The information shown includes fontinformation, font properties, character metrics, and character bitmaps.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2785">6.31.3.20. showkey</A></H3><P>showkey examines the scancodes and keycodes sent by the keyboard.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2788">6.31.3.21. unicode_start</A></H3><P>unicode_start puts the console in Unicode mode.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2791">6.31.3.22. unicode_stop</A></H3><P>unicode_stop reverts keyboard and console from unicode mode.</P></DIV></DIV><DIVCLASS="sect2"><H2CLASS="sect2"><ANAME="AEN2794">6.31.4. Dependencies</A></H2><P>Kbd-1.06 needs the following to be installed:</P><PCLASS="literallayout"><br>sh from the bash package<br><br>as from the binutils package<br>ld from the binutils package<br>strip from the binutils package<br><br>bison from the bison package<br><br>cp from the fileutils package<br>install from the fileutils package<br>ln from the fileutils package<br>mv from the fileutils package<br>rm from the fileutils package<br><br>flex from the flex package<br><br>cpp from the gcc package<br>gcc from the gcc package<br><br>gunzip from the gzip package<br>gzip from the gzip package<br><br>make from the make package<br><br>sed from the sed package<br><br>uname from the sh-utils package<br></P></DIV></DIV><DIVCLASS="NAVFOOTER"><HRALIGN="LEFT"WIDTH="100%"><TABLEWIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top"><AHREF="../chapter06/gettext.html">Prev</A></TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="../index.html">Home</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top"><AHREF="../chapter06/diffutils.html">Next</A></TD></TR><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top">Installing Gettext-0.10.40</TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="../chapter06/chapter06.html">Up</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top">Installing Diffutils-2.7</TD></TR></TABLE></DIV></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -