emacs-devel
[Top][All Lists]
Advanced

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

Re: Num_Lock under solaris 5.8


From: Jan Djärv
Subject: Re: Num_Lock under solaris 5.8
Date: Fri, 12 May 2006 14:57:06 +0200
User-agent: Thunderbird 1.5.0.2 (X11/20060501)



Klaus Zeitler skrev:
"Jan" == Jan Djärv <address@hidden> writes:
Jan> Jan> And xev says...?

Pressing Num_lock, then KP_7, then Num_lock and KP_7 again I get:

KeyRelease event, serial 29, synthetic NO, window 0x9800001,
    root 0x25, subw 0x9800002, time 680513068, (31,48), root:(48,594),
    state 0x20, keycode 90 (keysym 0xff7f, Num_Lock), same_screen YES,
    XLookupString gives 0 characters:  ""

KeyPress event, serial 29, synthetic NO, window 0x9800001,
    root 0x25, subw 0x9800002, time 680514916, (31,48), root:(48,594),
    state 0x0, keycode 90 (keysym 0xff7f, Num_Lock), same_screen YES,
    XLookupString gives 0 characters:  ""

KeyPress event, serial 29, synthetic NO, window 0x9800001,
    root 0x25, subw 0x9800002, time 680523252, (31,48), root:(48,594),
    state 0x20, keycode 102 (keysym 0xff95, KP_Home), same_screen YES,
    XLookupString gives 0 characters:  ""

KeyRelease event, serial 29, synthetic NO, window 0x9800001,
    root 0x25, subw 0x9800002, time 680523428, (31,48), root:(48,594),
    state 0x20, keycode 102 (keysym 0xff95, KP_Home), same_screen YES,
    XLookupString gives 0 characters:  ""

KeyRelease event, serial 29, synthetic NO, window 0x9800001,
    root 0x25, subw 0x9800002, time 680525507, (31,48), root:(48,594),
    state 0x20, keycode 90 (keysym 0xff7f, Num_Lock), same_screen YES,
    XLookupString gives 0 characters:  ""

KeyPress event, serial 29, synthetic NO, window 0x9800001,
    root 0x25, subw 0x9800002, time 680526923, (31,48), root:(48,594),
    state 0x0, keycode 102 (keysym 0xff95, KP_Home), same_screen YES,
    XLookupString gives 0 characters:  ""

KeyRelease event, serial 29, synthetic NO, window 0x9800001,
    root 0x25, subw 0x9800002, time 680527043, (31,48), root:(48,594),
    state 0x0, keycode 102 (keysym 0xff95, KP_Home), same_screen YES,
    XLookupString gives 0 characters:  ""


Since XLookupString gives 0 characters, that is what Emacs gets too. Your NumLock seems to be mapped to Mod3, I recognize this problem, I had it on Suns also (years ago). Are you using a Sun keyboard? Does your AltGr produce Mod2 (state 0x10)? You can perhaps use xmodmap to change that. What does
% xmodmap -pm

show?

        Jan D.


        Jan D.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]