Re: [ctwm] [rt.lp.se #133] Sticky NumLock for the pointer but not the keyboard
On Thu, Nov 22, 2007 at 11:13:15PM +0100, Matthew D. Fuller via RT wrote: # On Sun, Jul 01, 2007 at 07:25:27PM +0200 I heard the voice of # Jens Schweikhardt via RT, and lo! it spake thus: # # Clicking the left button on the root window makes root/button m2 # appear, even though NumLock is off (as per NumLock LED and per # keyboard symbols). # # Is this a bug in ctwm? # # I wouldn't expect it to be; that info would all be getting passed # through the X server to get to ctwm. In some quick testing here, I # can't reproduce it; works just as expected for me. I'm using Pause # remapped to Num Lock: # # % grep -A2 Pause ~/.xmodmap # ! Pause - numlock # keycode 0x6E = Num_LockBreak # addmod2= Num_Lock I assume you can't reproduce it either without this? This is really a weird effect. Is there something I can do to find out if it's the X Server or ctwm behaving funky? Maybe with xev? Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped)
Re: [ctwm] [rt.lp.se #133] Sticky NumLock for the pointer but not the keyboard
On Sun, Jul 01, 2007 at 07:25:27PM +0200 I heard the voice of Jens Schweikhardt via RT, and lo! it spake thus: Clicking the left button on the root window makes root/button m2 appear, even though NumLock is off (as per NumLock LED and per keyboard symbols). Is this a bug in ctwm? I wouldn't expect it to be; that info would all be getting passed through the X server to get to ctwm. In some quick testing here, I can't reproduce it; works just as expected for me. I'm using Pause remapped to Num Lock: % grep -A2 Pause ~/.xmodmap ! Pause - numlock keycode 0x6E = Num_LockBreak addmod2= Num_Lock -- Matthew Fuller (MF4839) | [EMAIL PROTECTED] Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ On the Internet, nobody can hear you scream.
[ctwm] [rt.lp.se #133] Sticky NumLock for the pointer but not the keyboard
hello, world\n I'm using ctwm 3.8a on FreeBSD 6.2 with xorg 7.2. My ThinkPad R60 does not have a separate keypad. Instead the keypad keys are integrated to the regulare keys; jkl = 123 etc and can be accessed when the NumLock is turned on. Turning NumLock on/off is done with Fn-Num key combo, where Fn is the blue Function modifier at the lower left. This works to enable/disable the keypad symbols on the keyboard. However, after turning NumLock off, the mouse pointer still acts as if modifier m2 is active. I have verified this by binding a function to it, Button1 = m2 : root : f.menu 6 # test menus menu 1 { root/button1 m f.nop } menu 2 { root/button1 s f.nop } menu 3 { root/button1 c f.nop } menu 4 { root/button1 l f.nop } menu 5 { root/button1 m1 f.nop } menu 6 { root/button1 m2 f.nop } menu 7 { root/button1 m3 f.nop } menu 8 { root/button1 m4 f.nop } menu 9 { root/button1 m5 f.nop } Clicking the left button on the root window makes root/button m2 appear, even though NumLock is off (as per NumLock LED and per keyboard symbols). Is this a bug in ctwm? PS: this is the modmap: $ xmodmap xmodmap: up to 3 keys per modifier, (keycodes in parentheses): shift Shift_L (0x32), Shift_R (0x3e) lock control Control_L (0x25), Control_R (0x6d) mod1Alt_L (0x40), Alt_L (0x7d), Meta_L (0x9c) mod2Num_Lock (0x4d) mod3 mod4Super_L (0x7f), Hyper_L (0x80) mod5Mode_switch (0x5d), ISO_Level3_Shift (0x71), ISO_Level3_Shift (0x7c) Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped)