Hi, I have a similar problem with xfree86-* 4.3.0-2. Consider:
$ xmodmap -e "keycode 13 = 4 5 6 7" results in ========================================================================== KeyPress event, serial 21, synthetic NO, window 0x1800001, root 0x48, subw 0x0, time 3721867, (54,123), root:(731,146), state 0x0, keycode 13 (keysym 0x34, 4), same_screen YES, XLookupString gives 1 bytes: "4" KeyRelease event, serial 26, synthetic NO, window 0x1800001, root 0x48, subw 0x0, time 3721922, (54,123), root:(731,146), state 0x0, keycode 13 (keysym 0x34, 4), same_screen YES, XLookupString gives 1 bytes: "4" KeyPress event, serial 26, synthetic NO, window 0x1800001, root 0x48, subw 0x0, time 3722495, (54,123), root:(731,146), state 0x0, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES, XLookupString gives 0 bytes: "" KeyPress event, serial 26, synthetic NO, window 0x1800001, root 0x48, subw 0x0, time 3722664, (54,123), root:(731,146), state 0x1, keycode 13 (keysym 0x35, 5), same_screen YES, XLookupString gives 1 bytes: "5" KeyRelease event, serial 26, synthetic NO, window 0x1800001, root 0x48, subw 0x0, time 3722745, (54,123), root:(731,146), state 0x1, keycode 13 (keysym 0x35, 5), same_screen YES, XLookupString gives 1 bytes: "5" KeyRelease event, serial 26, synthetic NO, window 0x1800001, root 0x48, subw 0x0, time 3722868, (54,123), root:(731,146), state 0x1, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES, XLookupString gives 0 bytes: "" KeyPress event, serial 26, synthetic NO, window 0x1800001, root 0x48, subw 0x0, time 3723550, (54,123), root:(731,146), state 0x0, keycode 113 (keysym 0xfe03, ISO_Level3_Shift), same_screen YES, XLookupString gives 0 bytes: "" KeyPress event, serial 26, synthetic NO, window 0x1800001, root 0x48, subw 0x0, time 3723700, (54,123), root:(731,146), state 0x80, keycode 13 (keysym 0x0, NoSymbol), same_screen YES, XLookupString gives 0 bytes: "" KeyRelease event, serial 26, synthetic NO, window 0x1800001, root 0x48, subw 0x0, time 3723781, (54,123), root:(731,146), state 0x80, keycode 13 (keysym 0x0, NoSymbol), same_screen YES, XLookupString gives 0 bytes: "" KeyRelease event, serial 26, synthetic NO, window 0x1800001, root 0x48, subw 0x0, time 3723870, (54,123), root:(731,146), state 0x80, keycode 113 (keysym 0xfe03, ISO_Level3_Shift), same_screen YES, XLookupString gives 0 bytes: "" KeyPress event, serial 26, synthetic NO, window 0x1800001, root 0x48, subw 0x0, time 3725151, (54,123), root:(731,146), state 0x0, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES, XLookupString gives 0 bytes: "" KeyPress event, serial 26, synthetic NO, window 0x1800001, root 0x48, subw 0x0, time 3725250, (54,123), root:(731,146), state 0x1, keycode 113 (keysym 0xff20, Multi_key), same_screen YES, XLookupString gives 0 bytes: "" KeyPress event, serial 26, synthetic NO, window 0x1800001, root 0x48, subw 0x0, time 3725427, (54,123), root:(731,146), state 0x81, keycode 13 (keysym 0x0, NoSymbol), same_screen YES, XLookupString gives 0 bytes: "" KeyRelease event, serial 26, synthetic NO, window 0x1800001, root 0x48, subw 0x0, time 3725551, (54,123), root:(731,146), state 0x81, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES, XLookupString gives 0 bytes: "" KeyRelease event, serial 26, synthetic NO, window 0x1800001, root 0x48, subw 0x0, time 3725561, (54,123), root:(731,146), state 0x80, keycode 13 (keysym 0x0, NoSymbol), same_screen YES, XLookupString gives 0 bytes: "" KeyRelease event, serial 26, synthetic NO, window 0x1800001, root 0x48, subw 0x0, time 3725570, (54,123), root:(731,146), state 0x80, keycode 113 (keysym 0xfe03, ISO_Level3_Shift), same_screen YES, XLookupString gives 0 bytes: "" ========================================================================== i.e. only the pure "4" and the shift version works correctly. bye, Roland
signature.asc
Description: This is a digitally signed message part