help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: translating numpad keys in linux terminal


From: Emanuel Berg
Subject: Re: translating numpad keys in linux terminal
Date: Fri, 03 Apr 2015 03:23:33 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

If one instead opens xterm, and in another window do
'wmctrl -l' and then 'xev -id 0x0140000d' (if that is
the window ID of the xterm instance), then one gets
a bunch of output like this.

Man, I'm happy I don't use X that often and never the
arrow and numpad keys :) Well, the window seems to be
the "key" to this problem, as well.

    FocusIn event, serial 18, synthetic NO, window 0x140000d,
        mode NotifyNormal, detail NotifyNonlinear

    KeymapNotify event, serial 18, synthetic NO, window 0x0,
        keys:  4294967237 0   0   0   0   0   0   0   0   0   0   0   0   0   0 
  0   
               0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

    VisibilityNotify event, serial 18, synthetic NO, window 0x140000d,
        state VisibilityUnobscured

    EnterNotify event, serial 18, synthetic NO, window 0x140000d,
        root 0x22d, subw 0x140001b, time 23233067, (0,767), root:(0,767),
        mode NotifyNormal, detail NotifyNonlinearVirtual, same_screen YES,
        focus YES, state 0

    KeymapNotify event, serial 18, synthetic NO, window 0x0,
        keys:  0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
               0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

    FocusOut event, serial 18, synthetic NO, window 0x140000d,
        mode NotifyGrab, detail NotifyAncestor

    FocusOut event, serial 18, synthetic NO, window 0x140000d,
        mode NotifyGrab, detail NotifyPointer

    VisibilityNotify event, serial 18, synthetic NO, window 0x140000d,
        state VisibilityPartiallyObscured

    LeaveNotify event, serial 18, synthetic NO, window 0x140000d,
        root 0x22d, subw 0x140001b, time 23239673, (0,767), root:(0,767),
        mode NotifyNormal, detail NotifyNonlinearVirtual, same_screen YES,
        focus YES, state 8

    FocusIn event, serial 18, synthetic NO, window 0x140000d,
        mode NotifyUngrab, detail NotifyNonlinear

    KeymapNotify event, serial 18, synthetic NO, window 0x0,
        keys:  45  0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
               0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

    EnterNotify event, serial 18, synthetic NO, window 0x140000d,
        root 0x22d, subw 0x140001b, time 23239803, (0,767), root:(0,767),
        mode NotifyNormal, detail NotifyNonlinearVirtual, same_screen YES,
        focus YES, state 0

    KeymapNotify event, serial 18, synthetic NO, window 0x0,
        keys:  2   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
               0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

    VisibilityNotify event, serial 18, synthetic NO, window 0x140000d,
        state VisibilityUnobscured

    FocusOut event, serial 18, synthetic NO, window 0x140000d,
        mode NotifyNormal, detail NotifyNonlinear

    VisibilityNotify event, serial 18, synthetic NO, window 0x140000d,
        state VisibilityFullyObscured

    LeaveNotify event, serial 18, synthetic NO, window 0x140000d,
        root 0x22d, subw 0x140001b, time 23239811, (0,767), root:(0,767),
        mode NotifyNormal, detail NotifyNonlinearVirtual, same_screen YES,
        focus NO, state 0

-- 
underground experts united
http://user.it.uu.se/~embe8573


reply via email to

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