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

Bug#96562: marked as done (xlibs: [xkb] Alt keys do not produce Meta keysyms)



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; 6 May 2001 19:35:23 +0000
>From J.D.Gilbey@qmw.ac.uk Sun May 06 14:35:23 2001
Return-path: <J.D.Gilbey@qmw.ac.uk>
Received: from mserv1e.vianw.co.uk [195.102.240.97] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 14wUJP-0002bv-00; Sun, 06 May 2001 14:35:23 -0500
Received: from [195.102.196.121] (helo=polya)
	by mserv1e.vianw.co.uk with esmtp (Exim 3.22 #5)
	id 14wUJL-0006pk-00
	for submit@bugs.debian.org; Sun, 06 May 2001 20:35:20 +0100
Received: from jdg by polya with local (Exim 3.22 #1 (Debian))
	id 14wUJL-0006gq-00; Sun, 06 May 2001 20:35:19 +0100
Date: Sun, 6 May 2001 20:35:19 +0100
From: Julian Gilbey <J.D.Gilbey@qmw.ac.uk>
To: Debian bug reports <submit@bugs.debian.org>
Subject: xterm: Alt-Backspace just stopped working
Message-ID: <20010506203518.A25705@polya>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.17i
Sender: Julian Gilbey <J.D.Gilbey@qmw.ac.uk>
Delivered-To: submit@bugs.debian.org

Package: xterm
Version: 4.0.3-1

I just upgraded to this version from the recent 4.0.2 version, and
suddenly, when running bash in an xterm, or emacs, the alt-backspace
no longer does word-delete.

My /etc/X11/Xmodmap has:

keycode 22 = BackSpace
keycode 107 = Delete

and I don't think I've tweaked with anything else.

   Julian

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

         Julian Gilbey, Dept of Maths, Queen Mary, Univ. of London
       Debian GNU/Linux Developer,  see http://people.debian.org/~jdg
  Donate free food to the world's hungry: see http://www.thehungersite.com/

---------------------------------------
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: