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: problem with keyobord on AIX


On Thu, 14 Feb 2002, Harold Hunt wrote:

> > It seems that XWin produce a wrong "state".

IBM has set them wrong. XWin produces the correct ones. Please compare them
with those of Linux. 

> > State values reported by xev
> >
> > Key    	IBM   XWin
> > ------ 	----- -----
> > Shift		0x1	0x1
> > Lock		0x2	0x2
> > Ctrl		0x4	0x4
> > AltL		0x8	0x8
> > AltGr		0x10	0x2000
> > numLock	0x80	0x10
> >
> > numlock on XWin produces the same state of ALTGR on IBM.
> > This explain why no characters appears when numLock is on.
> >
> > I use this workaround:
> > 1) numLock always off
> > 2) after login or in .dtprofile use :
> > "xmodmap -e 'keysym Mode_switch = Alt_R'"

Switch of numlock with modmap

xmodmap -e 'keycode 77 = '

and map Alt_Gr to mode_switch

xmodmap -e 'keycode 113 = Mode_switch Multi_key'


bye
    ago
-- 
 Alexander.Gottwald@informatik.tu-chemnitz.de 
 http://www.gotti.org           ICQ: 126018723
 phone: +49 3725 349 80 80	mobile: +49 172 7854017
 4. Chemnitzer Linux-Tag http://www.tu-chemnitz.de/linux/tag/lt4


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