[parisc-linux] HIL Keyboard mapping skript
Helge Deller
deller@gmx.de
Thu, 14 Jun 2001 20:58:14 +0200
--------------Boundary-00=_2POXUQX5IH8IL2UYR6ZV
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
Subject:
Hi,
for those of you who have a HIL keyboard attached to their systems (like on
my 715/64) and use the STI kernel the following keyboard mapping could be
interesting.
It allows you to switch to the virtual consoles via Alt-F1 to Alt-F7 and
Alt-Left/Right the same way as you do it currently on your Intel-machine.
More than that it also takes out some of the most ugly keyboard mappings
which normally belong to HP PS/2 keyboards and does a bad thing on HIL.
BTW:
- You will need to recompile yourself a new kernel to use virtual consoles...
- It's not complete and doesn't cover all keys. Esp. german umlauts and that
like won't be fixed with this script.
Greetings,
Helge
--------------Boundary-00=_2POXUQX5IH8IL2UYR6ZV
Content-Type: application/x-shellscript;
name="keycodes.sh"
Content-Transfer-Encoding: base64
Content-Description: HIL keyboard mapping shell-script
Content-Disposition: attachment; filename="keycodes.sh"
IyEvYmluL2Jhc2gKIyBISUwga2V5Ym9hcmQgbWFwcGluZwojIGJ5IEhlbGdlIERlbGxlciA8ZGVs
bGVyQGdteC5kZT4KCmxvYWRrZXlzIC0gPDwgRU9GCmtleWNvZGUgICAyID0gQWx0R3IJCSMgUmln
aHQtYWx0CmtleWNvZGUgICAzID0gQWx0CQkjIExlZnQtYWx0CmtleWNvZGUgICA0ID0gU2hpZnQJ
CSMgUmlnaHQtc2hpZnQKa2V5Y29kZSAgIDUgPSBTaGlmdAkJIyBMZWZ0LXNoaWZ0CmtleWNvZGUg
ICA2ID0gQ29udHJvbAoKa2V5Y29kZSAgMTUgPSBLUF9NdWx0aXBseQoJc2hpZnQgICBrZXljb2Rl
ICAxNSA9IE51bV9Mb2NrCSMgU2hpZnQgLSAiKiIgVGFzdGUKa2V5Y29kZSAgMTYgPSBLUF8xCiAg
ICAgICAgYWx0Z3IgICBrZXljb2RlICAxNiA9IEhleF8xCiAgICAgICAgYWx0ICAgICB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