This commit is contained in:
gferg 2003-01-30 23:40:22 +00:00
parent 7575ba0ab9
commit 81caffe764
3 changed files with 30 additions and 9 deletions

View File

@ -1405,7 +1405,7 @@ such as the most important components, how they work, and so on. </Para>
Keyboard-and-Console-HOWTO</ULink>, Keyboard-and-Console-HOWTO</ULink>,
<CiteTitle>The Linux keyboard and console HOWTO</CiteTitle> <CiteTitle>The Linux keyboard and console HOWTO</CiteTitle>
</Para><Para> </Para><Para>
<CiteTitle>Updated: September 2001</CiteTitle>. <CiteTitle>Updated: October 2002</CiteTitle>.
Contains some information about the Linux (v2.0) keyboard and Contains some information about the Linux (v2.0) keyboard and
console, and the use of non-ASCII characters. </Para> console, and the use of non-ASCII characters. </Para>
</ListItem> </ListItem>

View File

@ -598,7 +598,7 @@ for Linux. </Para>
Keyboard-and-Console-HOWTO</ULink>, Keyboard-and-Console-HOWTO</ULink>,
<CiteTitle>The Linux keyboard and console HOWTO</CiteTitle> <CiteTitle>The Linux keyboard and console HOWTO</CiteTitle>
</Para><Para> </Para><Para>
<CiteTitle>Updated: September 2001</CiteTitle>. <CiteTitle>Updated: October 2002</CiteTitle>.
Contains some information about the Linux (v2.0) keyboard and Contains some information about the Linux (v2.0) keyboard and
console, and the use of non-ASCII characters. </Para> console, and the use of non-ASCII characters. </Para>
</ListItem> </ListItem>

View File

@ -4,7 +4,7 @@
<title>The Linux keyboard and console HOWTO <title>The Linux keyboard and console HOWTO
<author>Andries Brouwer, <tt/aeb@cwi.nl/ <author>Andries Brouwer, <tt/aeb@cwi.nl/
<date>v2.12, 2001-09-21 <date>v2.13, 2002-10-12
<abstract>This note contains some information about the Linux keyboard <abstract>This note contains some information about the Linux keyboard
and console, and the use of non-ASCII characters. and console, and the use of non-ASCII characters.
@ -24,9 +24,9 @@ It describes Linux 2.0.
The following packages contain keyboard or console related programs. The following packages contain keyboard or console related programs.
<p> <p>
<tt/kbd-1.06.tar.gz/ contains <tt/loadkeys/, <tt/dumpkeys/, <tt/showkey/, <tt/kbd-1.06.tar.gz/ contains <tt/loadkeys/, <tt/dumpkeys/, <tt/showkey/,
<tt/setmetamode/, <tt/setleds/, <tt/setfont/, <tt/showfont/, <tt/mapscrn/, <tt/setmetamode/, <tt/setleds/, <tt/setfont/, <tt/showconsolefont/,
<tt/kbd_mode/, <tt/kbdrate/, <tt/loadunimap/, <tt/chvt/, <tt/resizecons/, <tt/mapscrn/, <tt/kbd_mode/, <tt/kbdrate/, <tt/loadunimap/, <tt/chvt/,
<tt/deallocvt/, <tt/getkeycodes/, <tt/setkeycodes/. <tt/resizecons/, <tt/deallocvt/, <tt/getkeycodes/, <tt/setkeycodes/.
It also contains <tt/openvt/, formerly called <tt/open/. It also contains <tt/openvt/, formerly called <tt/open/.
<p> <p>
There exists a clone of the kbd package, namely <tt/console-tools/, There exists a clone of the kbd package, namely <tt/console-tools/,
@ -36,7 +36,7 @@ that contains more or less the same stuff. The latest version,
<tt/SVGATextMode-1.10/ contains <tt/SVGATextMode/, a program that <tt/SVGATextMode-1.10/ contains <tt/SVGATextMode/, a program that
obsoletes <tt/resizecons/. obsoletes <tt/resizecons/.
<p> <p>
<tt/util-linux-2.11/ contains <tt/setterm/, <tt/kbdrate/. <tt/util-linux-2.11/ contains <tt/setterm/.
<p> <p>
<tt/sh-utils-1.12/ contains <tt/stty/. <tt/sh-utils-1.12/ contains <tt/stty/.
<p> <p>
@ -86,7 +86,10 @@ see infocmp(1).
The Linux console sequences are documented in console_codes(4). The Linux console sequences are documented in console_codes(4).
The package <tt>funkey</tt> by Rick van Rein provides support
for all these new keys modern keyboards have. See
<htmlurl url="http://rick.vanrein.org/linux/funkey"
name="rick.vanrein.org/linux/funkey">.
<sect>Keyboard generalities<p> <sect>Keyboard generalities<p>
<nidx>keyboard!theory of operation</nidx> <nidx>keyboard!theory of operation</nidx>
@ -717,7 +720,7 @@ in <tt/.xinitrc/, and you are settled.
For a much more extensive discussion of these things, and For a much more extensive discussion of these things, and
alternative solutions, see alternative solutions, see
<htmlurl url="http://www.ibbnet.nl/~anne/keyboard.html" <htmlurl url="http://www.ibb.net/~anne/keyboard.html"
name="Anne Baretta's page">. name="Anne Baretta's page">.
<sect>The console character sets<p> <sect>The console character sets<p>
@ -925,6 +928,10 @@ AMI BIOS has a feature that locks up the keyboard and flashes the LED's
if the Ctrl-Alt-Backspace combination is pressed while a BIOS password if the Ctrl-Alt-Backspace combination is pressed while a BIOS password
is enabled, until the CMOS/BIOS password is typed in. is enabled, until the CMOS/BIOS password is typed in.
On some SiS based motherboards the combination Ctrl-Alt-Backspace
will cause a power off, or puts the machine in power save mode.
(Reported for SiS 630 and for SiS645DX.)
<sect1>Dosemu Combinations<p> <sect1>Dosemu Combinations<p>
<nidx>key combinations!dosemu</nidx> <nidx>key combinations!dosemu</nidx>
<nidx>dosemu!key combinations for</nidx> <nidx>dosemu!key combinations for</nidx>
@ -1457,6 +1464,20 @@ would make these Windows keys go to the previous or next virtual console,
and let the Menu key create a fresh virtual console (in case you have and let the Menu key create a fresh virtual console (in case you have
something like <tt/spawn_console/ running). something like <tt/spawn_console/ running).
<sect1>Funkeys<p>
Many modern keyboards have buttons or keys with labels like
"Vol Up", "Eject" etc. that suggest actions rather than strings.
Of course one can bind shell commands to them, but then they'll
work only when you are at a shell prompt.
Rick van Rein wrote a package funkey consisting of a kernel patch
and a daemon. The kernel patch creates a new character device,
and adds a new key type to indicate which keystrokes should be
sent to this new character device. A daemon can now listen to
the character device, somewhat like <tt>gpm</tt> listens to the
mouse device, and perform the actions indicated in its config file.
See <htmlurl url="http://rick.vanrein.org/linux/funkey"
name="rick.vanrein.org/linux/funkey">.
<sect>Examples of use of loadkeys and xmodmap<p> <sect>Examples of use of loadkeys and xmodmap<p>
<nidx>loadkeys!example using</nidx> <nidx>loadkeys!example using</nidx>
<nidx>xmodmap!example using</nidx> <nidx>xmodmap!example using</nidx>