[Xpert]Re: Decimal key on European keyboard layouts
Dr Andrew C Aitchison wrote on 2002-12-13 10:13 UTC: Looking at the unicode charts (especially the character name index http://www.unicode.org/charts/charindex.html ) I see that ASCII dot 0x2E has become Unicode 0x002E Decimal Point and ASCII comma 0x2C has become 0x002C decimal separator. http://www.unicode.org/charts/PDF/U.pdf renders these in the English way, not the continental one you desire. U+002E = FULL STOP U+002C = COMMA There is no question at all in Unicode about how these two characters have to be rendered. Their rendering is locale independent. There was discussion long ago about adding a decimal separator character to Unicode, but the idea was considered unnecessary and confusing and therefore dropped. ISO has in the past suggested to use a tiny downwards-facing triangle that is around the size of a full stop or comma as a culturally neutral glyph for a decimal separator key, but that too has not caught on. Markus -- Markus G. Kuhn, Computer Laboratory, University of Cambridge, UK Email: mkuhn at acm.org, WWW: http://www.cl.cam.ac.uk/~mgk25/ ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
[Xpert]Re: Decimal key on European keyboard layouts
On Sun, 15 Dec 2002, Robin Rosenberg wrote: Date: Sun, 15 Dec 2002 18:26:02 +0100 From: Robin Rosenberg [EMAIL PROTECTED] To: [EMAIL PROTECTED] Content-Type: Multipart/Mixed; boundary=Boundary-00=_qsL/93nkgcL75pr List-Id: An all-purpose XFree86 discussion forum xpert.XFree86.Org Subject: Re: Decimal key on European keyboard layouts söndagen den 15 december 2002 00.08 skrev Christian Rose: [...] So it seems the comment is only about that it should really be a decimal comma and not just an ordinary comma. It seems the comment is not about the purpose of the fix being wrong. The problem, I assume, is that there may be applications looking at the key symbol, and not just the associated character and those might be broken by the fix. I don't know if there are any such, since the fix should only apply when NumLock is on. If anyone can give any pointers on how to correctly adapt this fix for the se, fi, dk, nl, no, de_CH, and de layouts, that would be most helpful. I'm not sure I understand the file format well enough. I can't resist an attempt. My server(s) eat the attached patches. Apply using: patch -p0 -b sekp.patch Since I'm not sure Iceland is not included. Should it? I believe the correct fix is to use KP_Separator -- Mike A. Harris ftp://people.redhat.com/mharris OS Systems Engineer - XFree86 maintainer - Red Hat ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
Re: [Xpert]Re: Decimal key on European keyboard layouts
söndagen den 15 december 2002 21.31 skrev Mike A. Harris: I believe the correct fix is to use KP_Separator Didn't know of that one (as most other internals in XFree). I made new patches (against CVS this time). I noted that the german keyboard was fixed a while ago, and this is the same patch. To apply the patch directly to an installed XFree do: cd /etc/X11/xkb/symbols patch -p3 -b keypad-se+no-dk-fi.diff Where do I send the patch (attached) so It gets itself into CVS? A related question is: Where do I find a working archive of the mailing lists? -- robin Index: programs/xkbcomp/symbols/dk === RCS file: /cvs/xc/programs/xkbcomp/symbols/dk,v retrieving revision 3.6 diff -u -r3.6 dk --- programs/xkbcomp/symbols/dk 2001/01/17 23:45:58 3.6 +++ programs/xkbcomp/symbols/dk 2002/12/15 22:20:58 @@ -75,7 +75,9 @@ [ dead_tilde, dead_caron ]}; -// End alphanumeric section +// End alphanumeric section, begin Keypad +key KPDL { [ KP_Delete, KP_Separator ] }; +// End Keypad section // begin modifier mappings Index: programs/xkbcomp/symbols/fi === RCS file: /cvs/xc/programs/xkbcomp/symbols/fi,v retrieving revision 3.8 diff -u -r3.8 fi --- programs/xkbcomp/symbols/fi 2002/10/11 02:00:29 3.8 +++ programs/xkbcomp/symbols/fi 2002/12/15 22:20:59 @@ -84,7 +84,9 @@ key AD12 { [ dead_diaeresis, dead_circumflex ], [ dead_tilde, dead_caron ]}; -// End alphanumeric section +// End alphanumeric section, begin Keypad +key KPDL { [ KP_Delete, KP_Separator ] }; +// End Keypad section // Begin modifier mappings Index: programs/xkbcomp/symbols/no === RCS file: /cvs/xc/programs/xkbcomp/symbols/no,v retrieving revision 3.9 diff -u -r3.9 no --- programs/xkbcomp/symbols/no 2001/01/17 23:45:59 3.9 +++ programs/xkbcomp/symbols/no 2002/12/15 22:20:59 @@ -75,7 +75,9 @@ [ dead_tilde, dead_caron ]}; -// End alphanumeric section +// End alphanumeric section, begin Keypad +key KPDL { [ KP_Delete, KP_Separator ] }; +// End Keypad section // begin modifier mappings Index: programs/xkbcomp/symbols/se === RCS file: /cvs/xc/programs/xkbcomp/symbols/se,v retrieving revision 3.9 diff -u -r3.9 se --- programs/xkbcomp/symbols/se 2002/12/14 01:41:12 3.9 +++ programs/xkbcomp/symbols/se 2002/12/15 22:20:59 @@ -77,7 +77,9 @@ [ dead_tilde, dead_caron ]}; -// End alphanumeric section +// End alphanumeric section, begin Keypad +key KPDL { [ KP_Delete, KP_Separator ] }; +// End Keypad section // begin modifier mappings