kbd.xml 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
  3. <!ENTITY % general-entities SYSTEM "../general.ent">
  4. <!ENTITY % patches-entities SYSTEM "../patches.ent">
  5. %general-entities;
  6. %patches-entities;
  7. ]>
  8. <sect1 id="ch-system-kbd" role="wrap">
  9. <title>Kbd-&kbd-version;</title>
  10. <?dbhtml filename="kbd.html"?>
  11. <indexterm zone="ch-system-kbd"><primary sortas="a-Kbd">Kbd</primary></indexterm>
  12. <sect2 role="package"><title/>
  13. <para>The Kbd package contains key-table files and keyboard utilities.</para>
  14. <segmentedlist>
  15. <segtitle>&buildtime;</segtitle>
  16. <segtitle>&diskspace;</segtitle>
  17. <seglistitem><seg>0.1 SBU</seg><seg>11.8 MB</seg></seglistitem>
  18. </segmentedlist>
  19. <segmentedlist>
  20. <segtitle>&dependencies;</segtitle>
  21. <seglistitem><seg>Bash, Binutils, Bison, Coreutils,
  22. Diffutils, Flex, GCC, Gettext, Glibc, Grep, Gzip, M4, Make, and Sed</seg></seglistitem>
  23. </segmentedlist>
  24. </sect2>
  25. <sect2 role="installation">
  26. <title>Installation of Kbd</title>
  27. <para>Prepare Kbd for compilation:</para>
  28. <screen><userinput>./configure</userinput></screen>
  29. <para>Compile the package:</para>
  30. <screen><userinput>make</userinput></screen>
  31. <para>Install the package:</para>
  32. <screen><userinput>make install</userinput></screen>
  33. </sect2>
  34. <sect2 id="contents-kbd" role="content"><title>Contents of Kbd</title>
  35. <segmentedlist>
  36. <segtitle>Installed programs</segtitle>
  37. <seglistitem><seg>chvt, deallocvt, dumpkeys,
  38. fgconsole, getkeycodes, getunimap, kbd_mode, kbdrate, loadkeys, loadunimap,
  39. mapscrn, openvt, psfaddtable (link to psfxtable), psfgettable (link to
  40. psfxtable), psfstriptable (link to psfxtable), psfxtable, resizecons,
  41. setfont, setkeycodes, setleds, setlogcons, setmetamode, setvesablank,
  42. showconsolefont, showkey, unicode_start, and unicode_stop</seg></seglistitem>
  43. </segmentedlist>
  44. <variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
  45. <?dbfo list-presentation="list"?>
  46. <?dbhtml list-presentation="table"?>
  47. <varlistentry id="chvt">
  48. <term><command>chvt</command></term>
  49. <listitem>
  50. <para>Changes the foreground virtual terminal</para>
  51. <indexterm zone="ch-system-kbd chvt"><primary sortas="b-chvt">chvt</primary></indexterm>
  52. </listitem>
  53. </varlistentry>
  54. <varlistentry id="deallocvt">
  55. <term><command>deallocvt</command></term>
  56. <listitem>
  57. <para>Deallocates unused virtual terminals</para>
  58. <indexterm zone="ch-system-kbd deallocvt"><primary sortas="b-deallocvt">deallocvt</primary></indexterm>
  59. </listitem>
  60. </varlistentry>
  61. <varlistentry id="dumpkeys">
  62. <term><command>dumpkeys</command></term>
  63. <listitem>
  64. <para>Dumps the keyboard translation tables</para>
  65. <indexterm zone="ch-system-kbd dumpkeys"><primary sortas="b-dumpkeys">dumpkeys</primary></indexterm>
  66. </listitem>
  67. </varlistentry>
  68. <varlistentry id="fgconsole">
  69. <term><command>fgconsole</command></term>
  70. <listitem>
  71. <para>Prints the number of the active virtual terminal</para>
  72. <indexterm zone="ch-system-kbd fgconsole"><primary sortas="b-fgconsole">fgconsole</primary></indexterm>
  73. </listitem>
  74. </varlistentry>
  75. <varlistentry id="getkeycodes">
  76. <term><command>getkeycodes</command></term>
  77. <listitem>
  78. <para>Prints the kernel scancode-to-keycode mapping table</para>
  79. <indexterm zone="ch-system-kbd getkeycodes"><primary sortas="b-getkeycodes">getkeycodes</primary></indexterm>
  80. </listitem>
  81. </varlistentry>
  82. <varlistentry id="getunimap">
  83. <term><command>getunimap</command></term>
  84. <listitem>
  85. <para>Prints the currently used unicode-to-font mapping table</para>
  86. <indexterm zone="ch-system-kbd getunimap"><primary sortas="b-getunimap">getunimap</primary></indexterm>
  87. </listitem>
  88. </varlistentry>
  89. <varlistentry id="kbd_mode">
  90. <term><command>kbd_mode</command></term>
  91. <listitem>
  92. <para>Reports or sets the keyboard mode</para>
  93. <indexterm zone="ch-system-kbd kbd_mode"><primary sortas="b-kbd_mode">kbd_mode</primary></indexterm>
  94. </listitem>
  95. </varlistentry>
  96. <varlistentry id="kbdrate">
  97. <term><command>kbdrate</command></term>
  98. <listitem>
  99. <para>Sets the keyboard repeat and delay rates</para>
  100. <indexterm zone="ch-system-kbd kbdrate"><primary sortas="b-kbdrate">kbdrate</primary></indexterm>
  101. </listitem>
  102. </varlistentry>
  103. <varlistentry id="loadkeys">
  104. <term><command>loadkeys</command></term>
  105. <listitem>
  106. <para>Loads the keyboard translation tables</para>
  107. <indexterm zone="ch-system-kbd loadkeys"><primary sortas="b-loadkeys">loadkeys</primary></indexterm>
  108. </listitem>
  109. </varlistentry>
  110. <varlistentry id="loadunimap">
  111. <term><command>loadunimap</command></term>
  112. <listitem>
  113. <para>Loads the kernel unicode-to-font mapping table</para>
  114. <indexterm zone="ch-system-kbd loadunimap"><primary sortas="b-loadunimap">loadunimap</primary></indexterm>
  115. </listitem>
  116. </varlistentry>
  117. <varlistentry id="mapscrn">
  118. <term><command>mapscrn</command></term>
  119. <listitem>
  120. <para>An obsolete program that used to load
  121. a user-defined output character mapping table into the console driver; this is
  122. now done by <command>setfont</command></para>
  123. <indexterm zone="ch-system-kbd mapscrn"><primary sortas="b-mapscrn">mapscrn</primary></indexterm>
  124. </listitem>
  125. </varlistentry>
  126. <varlistentry id="openvt">
  127. <term><command>openvt</command></term>
  128. <listitem>
  129. <para>Starts a program on a new virtual terminal (VT)</para>
  130. <indexterm zone="ch-system-kbd openvt"><primary sortas="b-openvt">openvt</primary></indexterm>
  131. </listitem>
  132. </varlistentry>
  133. <varlistentry id="psfaddtable">
  134. <term><command>psfaddtable</command></term>
  135. <listitem>
  136. <para>A link to <command>psfxtable</command></para>
  137. <indexterm zone="ch-system-kbd psfaddtable"><primary sortas="b-psfaddtable">psfaddtable</primary></indexterm>
  138. </listitem>
  139. </varlistentry>
  140. <varlistentry id="psfgettable">
  141. <term><command>psfgettable</command></term>
  142. <listitem>
  143. <para>A link to <command>psfxtable</command></para>
  144. <indexterm zone="ch-system-kbd psfgettable"><primary sortas="b-psfgettable">psfgettable</primary></indexterm>
  145. </listitem>
  146. </varlistentry>
  147. <varlistentry id="psfstriptable">
  148. <term><command>psfstriptable</command></term>
  149. <listitem>
  150. <para>A link to <command>psfxtable</command></para>
  151. <indexterm zone="ch-system-kbd psfstriptable"><primary sortas="b-psfstriptable">psfstriptable</primary></indexterm>
  152. </listitem>
  153. </varlistentry>
  154. <varlistentry id="psfxtable">
  155. <term><command>psfxtable</command></term>
  156. <listitem>
  157. <para>Handle Unicode character tables for console fonts</para>
  158. <indexterm zone="ch-system-kbd psfxtable"><primary sortas="b-psfxtable">psfxtable</primary></indexterm>
  159. </listitem>
  160. </varlistentry>
  161. <varlistentry id="resizecons">
  162. <term><command>resizecons</command></term>
  163. <listitem>
  164. <para>Changes the kernel idea of the console size</para>
  165. <indexterm zone="ch-system-kbd resizecons"><primary sortas="b-resizecons">resizecons</primary></indexterm>
  166. </listitem>
  167. </varlistentry>
  168. <varlistentry id="setfont">
  169. <term><command>setfont</command></term>
  170. <listitem>
  171. <para>Changes the Enhanced Graphic Adapter (EGA) and Video Graphics
  172. Array (VGA) fonts on the console</para>
  173. <indexterm zone="ch-system-kbd setfont"><primary sortas="b-setfont">setfont</primary></indexterm>
  174. </listitem>
  175. </varlistentry>
  176. <varlistentry id="setkeycodes">
  177. <term><command>setkeycodes</command></term>
  178. <listitem>
  179. <para>Loads kernel scancode-to-keycode mapping table entries; this is
  180. useful if there are unusual keys on the keyboard</para>
  181. <indexterm zone="ch-system-kbd setkeycodes"><primary sortas="b-setkeycodes">setkeycodes</primary></indexterm>
  182. </listitem>
  183. </varlistentry>
  184. <varlistentry id="setleds">
  185. <term><command>setleds</command></term>
  186. <listitem>
  187. <para>Sets the keyboard flags and Light Emitting Diodes (LEDs)</para>
  188. <indexterm zone="ch-system-kbd setleds"><primary sortas="b-setleds">setleds</primary></indexterm>
  189. </listitem>
  190. </varlistentry>
  191. <varlistentry id="setlogcons">
  192. <term><command>setlogcons</command></term>
  193. <listitem>
  194. <para>Sends kernel messages to the console</para>
  195. <indexterm zone="ch-system-kbd setlogcons"><primary sortas="b-setlogcons">setlogcons</primary></indexterm>
  196. </listitem>
  197. </varlistentry>
  198. <varlistentry id="setmetamode">
  199. <term><command>setmetamode</command></term>
  200. <listitem>
  201. <para>Defines the keyboard meta-key handling</para>
  202. <indexterm zone="ch-system-kbd setmetamode"><primary sortas="b-setmetamode">setmetamode</primary></indexterm>
  203. </listitem>
  204. </varlistentry>
  205. <varlistentry id="setvesablank">
  206. <term><command>setvesablank</command></term>
  207. <listitem>
  208. <para>Lets the user adjust the built-in hardware screensaver (a blank
  209. screen)</para>
  210. <indexterm zone="ch-system-kbd setvesablank"><primary sortas="b-setvesablank">setvesablank</primary></indexterm>
  211. </listitem>
  212. </varlistentry>
  213. <varlistentry id="showconsolefont">
  214. <term><command>showconsolefont</command></term>
  215. <listitem>
  216. <para>Shows the current EGA/VGA console screen font</para>
  217. <indexterm zone="ch-system-kbd showconsolefont"><primary sortas="b-showconsolefont">showconsolefont</primary></indexterm>
  218. </listitem>
  219. </varlistentry>
  220. <varlistentry id="showkey">
  221. <term><command>showkey</command></term>
  222. <listitem>
  223. <para>Reports the scancodes, keycodes, and ASCII codes of the keys
  224. pressed on the keyboard</para>
  225. <indexterm zone="ch-system-kbd showkey"><primary sortas="b-showkey">showkey</primary></indexterm>
  226. </listitem>
  227. </varlistentry>
  228. <varlistentry id="unicode_start">
  229. <term><command>unicode_start</command></term>
  230. <listitem>
  231. <para>Puts the keyboard and console in UNICODE mode. Never use it on LFS,
  232. because applications are not configured to support UNICODE.</para>
  233. <indexterm zone="ch-system-kbd unicode_start"><primary sortas="b-unicode_start">unicode_start</primary></indexterm>
  234. </listitem>
  235. </varlistentry>
  236. <varlistentry id="unicode_stop">
  237. <term><command>unicode_stop</command></term>
  238. <listitem>
  239. <para>Reverts keyboard and console from UNICODE mode</para>
  240. <indexterm zone="ch-system-kbd unicode_stop"><primary sortas="b-unicode_stop">unicode_stop</primary></indexterm>
  241. </listitem>
  242. </varlistentry>
  243. </variablelist>
  244. </sect2>
  245. </sect1>