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)
mod1        Alt_L (0x40),  Alt_L (0x7d),  Meta_L (0x9c)
mod2        Num_Lock (0x4d)
mod3
mod4        Super_L (0x7f),  Hyper_L (0x80)
mod5        Mode_switch (0x5d),  ISO_Level3_Shift (0x71),  ISO_Level3_Shift 
(0x7c)


Regards,

        Jens
-- 
Jens Schweikhardt http://www.schweikhardt.net/
SIGSIG -- signature too long (core dumped)

Reply via email to