kbd.xml 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287
  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>Kbd installation depends on</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. <varlistentry id="chvt">
  45. <term><command>chvt</command></term>
  46. <listitem>
  47. <para>Changes the foreground virtual terminal</para>
  48. <indexterm zone="ch-system-kbd chvt"><primary sortas="b-chvt">chvt</primary></indexterm>
  49. </listitem>
  50. </varlistentry>
  51. <varlistentry id="deallocvt">
  52. <term><command>deallocvt</command></term>
  53. <listitem>
  54. <para>Deallocates unused virtual terminals</para>
  55. <indexterm zone="ch-system-kbd deallocvt"><primary sortas="b-deallocvt">deallocvt</primary></indexterm>
  56. </listitem>
  57. </varlistentry>
  58. <varlistentry id="dumpkeys">
  59. <term><command>dumpkeys</command></term>
  60. <listitem>
  61. <para>Dumps the keyboard translation tables</para>
  62. <indexterm zone="ch-system-kbd dumpkeys"><primary sortas="b-dumpkeys">dumpkeys</primary></indexterm>
  63. </listitem>
  64. </varlistentry>
  65. <varlistentry id="fgconsole">
  66. <term><command>fgconsole</command></term>
  67. <listitem>
  68. <para>Prints the number of the active virtual terminal</para>
  69. <indexterm zone="ch-system-kbd fgconsole"><primary sortas="b-fgconsole">fgconsole</primary></indexterm>
  70. </listitem>
  71. </varlistentry>
  72. <varlistentry id="getkeycodes">
  73. <term><command>getkeycodes</command></term>
  74. <listitem>
  75. <para>Prints the kernel scancode-to-keycode mapping table</para>
  76. <indexterm zone="ch-system-kbd getkeycodes"><primary sortas="b-getkeycodes">getkeycodes</primary></indexterm>
  77. </listitem>
  78. </varlistentry>
  79. <varlistentry id="getunimap">
  80. <term><command>getunimap</command></term>
  81. <listitem>
  82. <para>Prints the currently used unimap</para>
  83. <indexterm zone="ch-system-kbd getunimap"><primary sortas="b-getunimap">getunimap</primary></indexterm>
  84. </listitem>
  85. </varlistentry>
  86. <varlistentry id="kbd_mode">
  87. <term><command>kbd_mode</command></term>
  88. <listitem>
  89. <para>Reports or sets the keyboard mode</para>
  90. <indexterm zone="ch-system-kbd kbd_mode"><primary sortas="b-kbd_mode">kbd_mode</primary></indexterm>
  91. </listitem>
  92. </varlistentry>
  93. <varlistentry id="kbdrate">
  94. <term><command>kbdrate</command></term>
  95. <listitem>
  96. <para>Sets the keyboard repeat and delay rates</para>
  97. <indexterm zone="ch-system-kbd kbdrate"><primary sortas="b-kbdrate">kbdrate</primary></indexterm>
  98. </listitem>
  99. </varlistentry>
  100. <varlistentry id="loadkeys">
  101. <term><command>loadkeys</command></term>
  102. <listitem>
  103. <para>Loads the keyboard translation tables</para>
  104. <indexterm zone="ch-system-kbd loadkeys"><primary sortas="b-loadkeys">loadkeys</primary></indexterm>
  105. </listitem>
  106. </varlistentry>
  107. <varlistentry id="loadunimap">
  108. <term><command>loadunimap</command></term>
  109. <listitem>
  110. <para>Loads the kernel unicode-to-font mapping table</para>
  111. <indexterm zone="ch-system-kbd loadunimap"><primary sortas="b-loadunimap">loadunimap</primary></indexterm>
  112. </listitem>
  113. </varlistentry>
  114. <varlistentry id="mapscrn">
  115. <term><command>mapscrn</command></term>
  116. <listitem>
  117. <para>An obsolete program that used to load
  118. a user-defined output character mapping table into the console driver; this is
  119. now done by <command>setfont</command></para>
  120. <indexterm zone="ch-system-kbd mapscrn"><primary sortas="b-mapscrn">mapscrn</primary></indexterm>
  121. </listitem>
  122. </varlistentry>
  123. <varlistentry id="openvt">
  124. <term><command>openvt</command></term>
  125. <listitem>
  126. <para>Starts a program on a new virtual terminal (VT)</para>
  127. <indexterm zone="ch-system-kbd openvt"><primary sortas="b-openvt">openvt</primary></indexterm>
  128. </listitem>
  129. </varlistentry>
  130. <varlistentry id="psfaddtable">
  131. <term><command>psfaddtable</command></term>
  132. <listitem>
  133. <para>A link to <command>psfxtable</command></para>
  134. <indexterm zone="ch-system-kbd psfaddtable"><primary sortas="b-psfaddtable">psfaddtable</primary></indexterm>
  135. </listitem>
  136. </varlistentry>
  137. <varlistentry id="psfgettable">
  138. <term><command>psfgettable</command></term>
  139. <listitem>
  140. <para>A link to <command>psfxtable</command></para>
  141. <indexterm zone="ch-system-kbd psfgettable"><primary sortas="b-psfgettable">psfgettable</primary></indexterm>
  142. </listitem>
  143. </varlistentry>
  144. <varlistentry id="psfstriptable">
  145. <term><command>psfstriptable</command></term>
  146. <listitem>
  147. <para>A link to <command>psfxtable</command></para>
  148. <indexterm zone="ch-system-kbd psfstriptable"><primary sortas="b-psfstriptable">psfstriptable</primary></indexterm>
  149. </listitem>
  150. </varlistentry>
  151. <varlistentry id="psfxtable">
  152. <term><command>psfxtable</command></term>
  153. <listitem>
  154. <para>Handle Unicode character tables for console fonts</para>
  155. <indexterm zone="ch-system-kbd psfxtable"><primary sortas="b-psfxtable">psfxtable</primary></indexterm>
  156. </listitem>
  157. </varlistentry>
  158. <varlistentry id="resizecons">
  159. <term><command>resizecons</command></term>
  160. <listitem>
  161. <para>Changes the kernel idea of the console size</para>
  162. <indexterm zone="ch-system-kbd resizecons"><primary sortas="b-resizecons">resizecons</primary></indexterm>
  163. </listitem>
  164. </varlistentry>
  165. <varlistentry id="setfont">
  166. <term><command>setfont</command></term>
  167. <listitem>
  168. <para>Changes the Enhanced Graphic Adapter (EGA) and Video Graphics
  169. Array (VGA) fonts on the console</para>
  170. <indexterm zone="ch-system-kbd setfont"><primary sortas="b-setfont">setfont</primary></indexterm>
  171. </listitem>
  172. </varlistentry>
  173. <varlistentry id="setkeycodes">
  174. <term><command>setkeycodes</command></term>
  175. <listitem>
  176. <para>Loads kernel scancode-to-keycode mapping table entries; this is
  177. useful if there are unusual keys on the keyboard</para>
  178. <indexterm zone="ch-system-kbd setkeycodes"><primary sortas="b-setkeycodes">setkeycodes</primary></indexterm>
  179. </listitem>
  180. </varlistentry>
  181. <varlistentry id="setleds">
  182. <term><command>setleds</command></term>
  183. <listitem>
  184. <para>Sets the keyboard flags and Light Emitting Diodes (LEDs)</para>
  185. <indexterm zone="ch-system-kbd setleds"><primary sortas="b-setleds">setleds</primary></indexterm>
  186. </listitem>
  187. </varlistentry>
  188. <varlistentry id="setlogcons">
  189. <term><command>setlogcons</command></term>
  190. <listitem>
  191. <para>Sends kernel messages to the console</para>
  192. <indexterm zone="ch-system-kbd setlogcons"><primary sortas="b-setlogcons">setlogcons</primary></indexterm>
  193. </listitem>
  194. </varlistentry>
  195. <varlistentry id="setmetamode">
  196. <term><command>setmetamode</command></term>
  197. <listitem>
  198. <para>Defines the keyboard meta-key handling</para>
  199. <indexterm zone="ch-system-kbd setmetamode"><primary sortas="b-setmetamode">setmetamode</primary></indexterm>
  200. </listitem>
  201. </varlistentry>
  202. <varlistentry id="setvesablank">
  203. <term><command>setvesablank</command></term>
  204. <listitem>
  205. <para>Lets the user adjust the built-in hardware screensaver (a blank
  206. screen)</para>
  207. <indexterm zone="ch-system-kbd setvesablank"><primary sortas="b-setvesablank">setvesablank</primary></indexterm>
  208. </listitem>
  209. </varlistentry>
  210. <varlistentry id="showconsolefont">
  211. <term><command>showconsolefont</command></term>
  212. <listitem>
  213. <para>Shows the current EGA/VGA console screen font</para>
  214. <indexterm zone="ch-system-kbd showconsolefont"><primary sortas="b-showconsolefont">showconsolefont</primary></indexterm>
  215. </listitem>
  216. </varlistentry>
  217. <varlistentry id="showkey">
  218. <term><command>showkey</command></term>
  219. <listitem>
  220. <para>Reports the scancodes, keycodes, and ASCII codes of the keys
  221. pressed on the keyboard</para>
  222. <indexterm zone="ch-system-kbd showkey"><primary sortas="b-showkey">showkey</primary></indexterm>
  223. </listitem>
  224. </varlistentry>
  225. <varlistentry id="unicode_start">
  226. <term><command>unicode_start</command></term>
  227. <listitem>
  228. <para>Puts the keyboard and console in UNICODE mode. Never use it on LFS,
  229. because applications are not configured to support UNICODE.</para>
  230. <indexterm zone="ch-system-kbd unicode_start"><primary sortas="b-unicode_start">unicode_start</primary></indexterm>
  231. </listitem>
  232. </varlistentry>
  233. <varlistentry id="unicode_stop">
  234. <term><command>unicode_stop</command></term>
  235. <listitem>
  236. <para>Reverts keyboard and console from UNICODE mode</para>
  237. <indexterm zone="ch-system-kbd unicode_stop"><primary sortas="b-unicode_stop">unicode_stop</primary></indexterm>
  238. </listitem>
  239. </varlistentry>
  240. </variablelist>
  241. </sect2>
  242. </sect1>