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

Bug#2238: another loadkeys problem



Package: loadkeys
Version: 0.90-4

Following a simple instruction from the keytables manual page results
in a broken keymap (where you can enter a shift state but never leave
it).

# loadkeys -d; echo keycode 54 = ShiftR | loadkeys -; dumpkeys | grep 54; loadkeys -d
Loading /usr/lib/kbd/keytables/defkeymap.map
Loading <stdin>
keycode  54 = ShiftR
	shift	keycode  54 = Shift
	altgr	keycode  54 = Shift
	shift	altgr	keycode  54 = Shift
	control	keycode  54 = Shift
	shift	control	keycode  54 = Shift
	altgr	control	keycode  54 = Shift
	shift	altgr	control	keycode  54 = Shift
	alt	keycode  54 = Shift
	shift	alt	keycode  54 = Shift
	altgr	alt	keycode  54 = Shift
	shift	altgr	alt	keycode  54 = Shift
	control	alt	keycode  54 = Shift
	shift	control	alt	keycode  54 = Shift
	altgr	control	alt	keycode  54 = Shift
	shift	altgr	control	alt	keycode  54 = Shift
Loading /usr/lib/kbd/keytables/defkeymap.map
#


Here's from the manual page:

       If you enter a key definition line with only and exactly one
       action code after the equals sign, it has a special meaning. If
       the code (numeric or symbolic) is not an ASCII letter, it means
       the code is implicitly replicated through all columns being
       defined.

[Notice that Shift is not the same as ShiftR.]

--
Raul



Reply to: