kbd.xml 9.6 KB

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