[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#77039: marked as done (xlibs: [xkb] Alt keys should produce Meta keysyms on all PC keyboards)



Your message dated Fri, 18 Oct 2002 14:30:55 -0500
with message-id <20021018193055.GF30774@deadbeast.net>
and subject line Alt modifier and Meta keysym now the same on pc101/pc102/pc104/pc105 XKB models
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 14 Nov 2000 15:34:07 +0000
>From richard@sfere.greenend.org.uk Tue Nov 14 09:34:07 2000
Return-path: <richard@sfere.greenend.org.uk>
Received: from chiark.greenend.org.uk [::ffff:195.224.76.132] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 13vi61-0005Yv-00; Tue, 14 Nov 2000 09:34:06 -0600
Received: from (sfere.greenend.org.uk) [172.18.45.1] (mail)
	by chiark.greenend.org.uk with esmtp (Exim 3.12 #2)
	id 13vi5V-0007Nr-00 (Debian); Tue, 14 Nov 2000 15:33:33 +0000
Received: from richard by sfere.greenend.org.uk with local (Exim 3.12 #1 (Debian))
	id 13vi5T-0003sM-00; Tue, 14 Nov 2000 15:33:31 +0000
From: Richard Kettlewell <rjk@greenend.org.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <14865.23371.36812.25512@sfere.greenend.org.uk>
Date: Tue, 14 Nov 2000 15:33:31 +0000 (GMT)
To: submit@bugs.debian.org
X-Mailer: VM 6.72 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid
Delivered-To: submit@bugs.debian.org

Package: xterm
Version: 4.0.1-3

When I hit ALT+X, xterm now sends the single character 'x', rather
than whatever it previously sent (I believe it was 0x80+'x').

This breaks (for example) Emacs running in an xterm.

ttfn/rjk

---------------------------------------
Received: (at 77039-done) by bugs.debian.org; 18 Oct 2002 19:30:56 +0000
>From branden@deadbeast.net Fri Oct 18 14:30:55 2002
Return-path: <branden@deadbeast.net>
Received: from pcp942041pcs.cstltn01.in.comcast.net (apocalypse.deadbeast.net) [68.57.244.226] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 182cpj-0006e6-00; Fri, 18 Oct 2002 14:30:55 -0500
Received: by apocalypse.deadbeast.net (Postfix, from userid 1000)
	id 405AF3DE1; Fri, 18 Oct 2002 14:30:55 -0500 (EST)
Date: Fri, 18 Oct 2002 14:30:55 -0500
From: Branden Robinson <branden@debian.org>
To: 77039-done@bugs.debian.org
Subject: Alt modifier and Meta keysym now the same on pc101/pc102/pc104/pc105 XKB models
Message-ID: <20021018193055.GF30774@deadbeast.net>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="xkXJwpr35CY/Lc3I"
Content-Disposition: inline
User-Agent: Mutt/1.4i
Mail-Copies-To: nobody
X-No-CC: I subscribe to this list; do not CC me on replies.
Delivered-To: 77039-done@bugs.debian.org
X-Spam-Status: No, hits=-6.9 required=5.0
	tests=PGP_SIGNATURE_2,SPAM_PHRASE_03_05,USER_AGENT,
	      USER_AGENT_MUTT
	version=2.41
X-Spam-Level: 


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

This was changed upstream in XFree86 4.2.0.

See /etc/X11/xkb/symbols/us:

// definition for the PC-AT type 101 key keyboard
default
xkb_symbols "pc101" {
    include "us(generic101)"
    key <LALT> {        [       Alt_L,  Meta_L          ]       };
    key <RALT> {        [       Alt_R,  Meta_R          ]       };

    // begin modifier mappings
    modifier_map Mod1   { Alt_L, Alt_R, Meta_L, Meta_R };
};

// definition for the extra key on 102-key keyboards
xkb_symbols "pc102" {
    include "us(pc101)"
    key <LSGT> {        [      less,    greater         ]       };
};

// definition for the extra keys on 104-key "Windows95" keyboards
xkb_symbols "pc104" {
    include "us(generic101)"
    key <LALT> {        [       Alt_L,  Meta_L          ]       };
    key <RALT> {        [       Alt_R,  Meta_R          ]       };
    key <LWIN> {        [       Super_L                 ]       };
    key <RWIN> {        [       Super_R                 ]       };
    key <MENU> {        [       Menu                    ]       };

    // modifier mappings
    modifier_map Mod1   { Alt_L, Alt_R, Meta_L, Meta_R };
    modifier_map Mod4   { Super_L, Super_R };
};

// defintion which includes both the Windows95 keyboards _and_
// the extra key on most European keyboards.
xkb_symbols "pc105" {
    include "us(pc104)"
    key <LSGT> {        [      less,    greater         ]       };
};

If you'd like the Windows keys to be Meta keys, you may be interested in the
new /etc/X11/xkb/symbols/altwin file.

For instance,

partial modifier_keys
xkb_symbols "meta_win" {
    key <LALT> {        [       Alt_L,  Alt_L           ]       };
    key <RALT> {        [       Alt_R,  Alt_R           ]       };
    key <LWIN> {        [       Meta_L                  ]       };
    key <RWIN> {        [       Meta_R                  ]       };
    modifier_map Mod1   { Alt_L, Alt_R };
    modifier_map Mod4   { Meta_L, Meta_R };
};

You could use the above with the following XKB settings, for instance:

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "keyboard"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xfree86"
        Option          "XkbModel"      "pc104"
        Option          "XkbLayout"     "us"
        Option          "XkbOptions"    "altwin:meta_win"
EndSection

--=20
G. Branden Robinson                |     It just seems to me that you are
Debian GNU/Linux                   |     willfully entering an arse-kicking
branden@debian.org                 |     contest with a monstrous entity
http://people.debian.org/~branden/ |     that has sixteen legs and no arse.

--xkXJwpr35CY/Lc3I
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iEYEARECAAYFAj2wYW8ACgkQ6kxmHytGonyLIACfQRI2Pc8GQDFZ8IdiuFjbFM0t
FVEAnAoEELHj857ei3mEVN6/+3Hc9Ut/
=c/kg
-----END PGP SIGNATURE-----

--xkXJwpr35CY/Lc3I--



Reply to: