This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Locked CTRL key in Matlab using


On Wed, 8 Sep 2004, David Alberg Holm wrote:

> >Just a wild guess: Try disabling NumLock. Some programs think NumLock is a
> normal modifier key like Ctrl or Alt.
> It works with numlock disabled :-) Is there a way to "unmap" NumLock as a
> modifier key?

ago@zipoli:~$ xmodmap 
xmodmap:  up to 3 keys per modifier, (keycodes in parentheses):

shift       Shift_L (0x32),  Shift_R (0x3e)
lock        Caps_Lock (0x42)
control     Control_L (0x25),  Control_R (0x6d)
mod1        Alt_L (0x40),  BadKey (0x7d),  BadKey (0x9c)
mod2        Num_Lock (0x4d)
mod3      
mod4        BadKey (0x7f),  BadKey (0x80)
mod5        Mode_switch (0x5d),  ISO_Level3_Shift (0x7c)

ago@zipoli:~$ xmodmap -e "remove mod2 = Num_Lock"
ago@zipoli:~$ xmodmap 
xmodmap:  up to 3 keys per modifier, (keycodes in parentheses):

shift       Shift_L (0x32),  Shift_R (0x3e)
lock        Caps_Lock (0x42)
control     Control_L (0x25),  Control_R (0x6d)
mod1        Alt_L (0x40),  BadKey (0x7d),  BadKey (0x9c)
mod2      
mod3      
mod4        BadKey (0x7f),  BadKey (0x80)
mod5        Mode_switch (0x5d),  ISO_Level3_Shift (0x7c)

bye
	ago
-- 
 Alexander.Gottwald@s1999.tu-chemnitz.de 
 http://www.gotti.org           ICQ: 126018723


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]