Comment 11 for bug 7416

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Tue, 20 Jul 2004 20:50:53 -0400
From: Thomas Dickey <email address hidden>
To: Guido Guenther <email address hidden>
Cc: <email address hidden>
Subject: Re: Bug#260232: xterm: XTerm*metaSendsEscape no longer working

--zYM0uCDKw75PZbzx
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Backing up a little, I did this:

keycode 0x40 =3D Meta_L Alt_L

and got xmodmap's output a little saner:

xmodmap: up to 2 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 Meta_L (0x40), Alt_R (0x71)
mod2 Num_Lock (0x4d)
mod3
mod4 Super_L (0x73), Super_R (0x74)
mod5

and my resulting trace is working fine:

VTInitModifiers
meta_left mask 0x8 is Mod1 modifier
alt_right mask 0x8 is Mod1 modifier
num_lock mask 0x10 is Mod2 modifier
TranslationsUseKeyword(0x80a9ea8):#override

and (using left-alt as meta):

Handle 8bit-key
Input keysym 0x006D, 1:'m' Mod1 8bit
=2E..input-char is modified by META =20

I also see right-alt interpreted as meta since they have the same modifier.
That could be surprising if one isn't reading the debug trace.

I don't use xmodmap often, so it does take some practice and experimentatio=
n.
On my keyboard, I don't see a Meta_L or Meta_R by default, so adding it does
require xmodmap.

--=20
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

--zYM0uCDKw75PZbzx
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (SunOS)
Comment: For info see http://www.gnupg.org

iD8DBQFA/b3stIqByHxlDocRAvbJAJ929iqpRimuwUHWdImls2wUc7vGVwCeM7Q6
CRgcaVMXRv3wSw3EvNG91j8=
=8yRI
-----END PGP SIGNATURE-----

--zYM0uCDKw75PZbzx--