[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#2217: loadkeys problem



Package: kbd
Version: 0.90-4

loadkeys doesn't always do the right thing with the keymaps
specification.

For example, using the table (on top of the default keymap):

keymaps 2-3,32-35
# 1 !
keycode   2 = 0xa1 0xa2	one 0xa1 0xa2

I get:

--- default	Tue Jan 23 00:51:20 1996
+++ test.out	Tue Jan 23 00:52:49 1996
@@ -1,9 +1,7 @@
-keymaps 0-15
+keymaps 0-15,32-35
 keycode   1 = Escape           Escape
 	alt	keycode   1 = Meta_Escape
-keycode   2 = one              exclam
-	alt	keycode   2 = Meta_one
-	shift	alt	keycode   2 = Meta_exclam
+keycode   2 = exclamdown       cent             one              exclamdown       cent
 keycode   3 = two              at               at
 	control	keycode   3 = nul
 	shift	control	keycode   3 = nul
...

This conflicts with the keytables(5) manual page, which specifies:

       First of all, you can give a map  specification  line,  of
       the form

              keymaps 0-2,4-5,8,12

       to  indicate that the lines of the keymap will not specify
       all 256 columns, but only  the  indicated  ones.  (In  the
       example:  only  the  plain,  Shift,  AltGr,  Control, Con-
       trol+Shift, Alt and Control+Alt maps, that is,  7  columns
       instead  of 256.)

--
Raul


Reply to: