[comp.windows.x] Meta-<key> doesn't return correct key

garyb@abekrd.UUCP (Gary Bartlett) (04/07/90)

According to 'xprkbd' I have various mappings for Meta characters.
Also, 'xev' shows that I am indeed receiving events for Meta key pressed and
the following character.  The code returned, however, is the same key as when
the Meta key is not pressed.  

	eg -	Following the command:
			xmodmap -e "keycode 0x35 = a A 1"
			
		xprkbd shows as expected:
			0x35    0x61    a       0x41    A       0x31    1

		However, if I press Meta-A, (according to xev) XLookupString
		gives 1 character: "a" (state 0x08).

Can anyone shed any light on this?  Or is my interpretation of what xmodmap
does incorrect?

====================================================================
PLATFORM:	HP9000/300	HP-UX6.5	X11R4 (patchlevel 6)
====================================================================

-- 
Gary C. Bartlett               NET: garyb@abekrd.co.uk
Abekas Video Systems Ltd.     UUCP: ...!mcvax!ukc!{reading,pyrltd}!abekrd!garyb
12 Portman Rd,   Reading,    PHONE: +44 734 585421
Berkshire.       RG3 1EA.      FAX: +44 734 567904
United Kingdom.              TELEX: 847579

rws@EXPO.LCS.MIT.EDU (Bob Scheifler) (04/13/90)

XLookupString does not deal with the Meta modifier (or any other
modifiers except Control, Shift, Lock, and Group).