On Tue, Jan 21, 2003 at 10:29:35AM -0800, Henrik Nordstrom wrote: >Regarding: tilde registered as a dead key in swedish nodeadkeys keymap >Email: [EMAIL PROTECTED] >------------------------------------------------------------ >XFree86 Version: XFree86 Version 4.2.99.3 (Red Hat Linux release: >4.2.99.3-20030115.0) / X Window System > >OS: RedHat rawhide > >Area: Xserver > >Server: XFree86 (The XFree86 4.x server) > >Description: > >While using the swedish(se) nodeadkeys keymap AltGR + "diaresis/circum/tilde" key >(keycode 35) produces a "dead_tilde" keycode instead of the expected and wanted >"asciitilde" keycode. > >Note: Have also found a "dead_diaresis" on AltGR+aring key (keycode 34). Not that >this one hurts but is slightly unexpected. > >Repeat By: > >% setxkbmap se nodeadkeys > >Try to type a tilde by pressing AltGR + "diaresis/circum/tilde" key.
Try the attached patch. It should map the non-dead versions (where possible) for the 'se' nodeadkeys map. If this looks OK, it can be used as a basis for fixing the nodeadkeys version of the other maps too. What should the mapping for the aring key be? David -- David Dawes Release Engineer/Architect The XFree86 Project www.XFree86.org/~dawes
Index: latin =================================================================== RCS file: /home/x-cvs/xc/programs/xkbcomp/symbols/pc/latin,v retrieving revision 1.3 diff -u -r1.3 latin --- latin 2002/12/20 20:18:34 1.3 +++ latin 2003/01/21 19:12:19 @@ -57,7 +57,7 @@ key <AB09> { [ period, greater, periodcentered, division ] }; key <AB10> { [ slash, question, dead_belowdot, dead_abovedot ] }; - }; +}; // Northern Europe ( Danish, Finnish, Norwegian, Swedish) common layout @@ -138,3 +138,42 @@ key <AB09> { [ period, colon, periodcentered, division ] }; key <AB10> { [ minus, underscore, dead_belowdot, dead_abovedot ] }; }; + +partial +xkb_symbols "nodeadkeys" { + + key <AE12> { [ equal, plus, cedilla, ogonek ] }; + key <AD11> { [bracketleft, braceleft, diaeresis, degree ] }; + key <AD12> { [bracketright, braceright, asciitilde, macron ] }; + key <AC10> { [ semicolon, colon, acute, doubleacute ] }; + key <AC11> { [apostrophe, quotedbl, asciicircum, caron ] }; + key <BKSL> { [ backslash, bar, grave, breve ] }; + key <AB10> { [ slash, question, dead_belowdot, abovedot ] }; +}; + +partial +xkb_symbols "type2_nodeadkeys" { + + include "pc/latin(nodeadkeys)" + + key <AD11> { [ aring, Aring, diaeresis, degree ] }; + key <AD12> { [ diaeresis, asciicircum, asciitilde, caron ] }; + key <AB08> { [ comma, semicolon, cedilla, ogonek ] }; + key <AB09> { [ period, colon, periodcentered, abovedot ] }; + key <AB10> { [ minus, underscore, dead_belowdot, abovedot ] }; +}; + +partial +xkb_symbols "type3_nodeadkeys" { + + include "pc/latin(nodeadkeys)" +}; + +partial +xkb_symbols "type4_nodeadkeys" { + + include "pc/latin(nodeadkeys)" + + key <AB10> { [ minus, underscore, dead_belowdot, abovedot ] }; +}; + Index: se =================================================================== RCS file: /home/x-cvs/xc/programs/xkbcomp/symbols/pc/se,v retrieving revision 1.4 diff -u -r1.4 se --- se 2002/12/19 01:07:56 1.4 +++ se 2003/01/21 19:20:07 @@ -5,8 +5,12 @@ partial alphanumeric_keys xkb_symbols "basic" { - include "pc/latin(type2)" + include "pc/se(se)" +}; + +partial alphanumeric_keys +xkb_symbols "se" { name[Group1]="Swedish"; @@ -36,11 +40,11 @@ // Modifies the basic Swedish layout to eliminate all dead keys - include "pc/se(basic)" + include "pc/latin(type2)" + include "pc/latin(type2_nodeadkeys)" + include "pc/se(se)" - key <AE12> { [ acute, grave ] }; - key <AD12> { [ diaeresis, asciicircum ] }; - key <AB08> { [ comma, semicolon, cedilla, ogonek ] }; - key <AB09> { [ period, colon, periodcentered, abovedot ] }; + key <AE12> { [ acute, grave, plusminus, notsign ] }; }; +