Bug 9865 - Update french macintosh symbols map
Summary: Update french macintosh symbols map
Status: RESOLVED FIXED
Alias: None
Product: xkeyboard-config
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: Other All
: high normal
Assignee: xkb
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-03 12:03 UTC by Étienne Bersac
Modified: 2007-09-24 16:02 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Updated fr symbol map (5.13 KB, patch)
2007-02-03 15:02 UTC, Étienne Bersac
Details | Splinter Review
Clean up regular patch. (1.59 KB, patch)
2007-02-04 15:42 UTC, Étienne Bersac
Details | Splinter Review
Updated french symbols map. (4.42 KB, application/octet-stream)
2007-05-16 07:37 UTC, Étienne Bersac
Details

Description Étienne Bersac 2007-02-03 12:03:29 UTC
Hi all,

xkb update fixed a lot of things for macintosh users and french one especially. However, the symbols map is still very incomplete compared to PC105 one or Mac OS X one. It lakes about 20 symbols (™,…,≤,≥,“,”,‘,’,†,‡,π,Π,δ,Δ,♦,∫,∞,÷,≠, etc.).

I wrote an updated symbols map for the old xkb (0.8). I updated this file for xkb 0.9. It works nice on MacBook, iBook G4, iMac G3 and iMac G5. I haven't tested on other devices, but get happy feedback from ppc users without knowing which box they were running. Also, this is just an update of the current symbols map, not another from scratch symbols map. So it don't change the default behaviour, just complete it !

Please consider include it.

Thanks,
Étienne.
Comment 1 Sergey V. Udaltsov 2007-02-03 14:04:12 UTC
Sure if you attach the patch - I could consider it:)
Comment 2 Étienne Bersac 2007-02-03 15:02:52 UTC
Created attachment 8590 [details] [review]
Updated fr symbol map

This is the awaited french symbol map fro macintosh. Replaces /etc/X11/xkb/symbols/macintosh_vndr/fr
Comment 3 Étienne Bersac 2007-02-03 15:03:11 UTC
Oops. Sorry ;)
Comment 4 Sergey V. Udaltsov 2007-02-03 15:14:54 UTC
Updated, thanks
Comment 5 Denis Barbier 2007-02-04 02:06:01 UTC
Étienne, there are several problems with your patch:
  - Comment added at the beginning is wrong, it does not document 
    applied changes: EuroSign, oe and OE were already present.
  - You replaced acircumflex and Agrave by doubledagger and Greek_OMEGA
    in <AC01>, but previous key definitions are much more useful for
    French speaking people.
  - Same with <AC11>, ucircumflex is wrongly replaced by per-mille sign.
  - Why did you add Greek letters?  They are useless for most people,
    and you may need those free slots if you want to add other symbols.
  - <AB01> uses undefined symbols guilsinglleft and guilsinglright.
  - <BKSP> is redefined, which means that Ctrl+Alt+Backspace does no more
    kill X.
  - Key definition for <KPDL> has been dropped.

CVS repository can be browsed online at
http://cvsweb.freedesktop.org/xkeyboard-config/xkeyboard-config/symbols/macintosh_vndr/fr
Comment 6 Sergey V. Udaltsov 2007-02-04 02:08:05 UTC
>   - Key definition for <KPDL> has been dropped.
Sorry, this one is my fault.
Comment 7 Denis Barbier 2007-02-04 05:00:15 UTC
> CVS repository can be browsed online at
> http://cvsweb.freedesktop.org/xkeyboard-config/xkeyboard-config/symbols/macintosh_vndr/fr

Étienne, you could get CVS revision 1.4 of this file, and add the new
definitions you need.  This way, there will be no unwanted changes.
Comment 8 Étienne Bersac 2007-02-04 15:28:04 UTC
Hi,

This map is as close as possible to the Mac OS X one. Users switching to X11 wait a similar keymap. Xorg symbols map changes affects old (or dual booting) Mac OS X users, not PC users. Also, the real difference between OS X and mine is that Caps then 'ç' give Ç, not 'ç'. In OS X, you must use Option + ç. There is some symbols i missed (like the 'apple' symbol).

>  - Comment added at the beginning is wrong, it does not document 
>    applied changes: EuroSign, oe and OE were already present.

I didn't patch the file, since i branched it earlier.

>  - You replaced acircumflex and Agrave by doubledagger and Greek_OMEGA
>    in <AC01>, but previous key definitions are much more useful for
>    French speaking people.

acircumflex is accesible using circumflex key then a key. Like for ô and û. Agrave is still accessible with Caps then 'à', as expected.

>  - Same with <AC11>, ucircumflex is wrongly replaced by per-mille sign.

The same. ‰ is consistent with %.

>  - Why did you add Greek letters?  They are useless for most people,
>    and you may need those free slots if you want to add other symbols.

Mac OS X did add them. These greek letter are often use in math (π, Π, δ and Δ).

>  - <AB01> uses undefined symbols guilsinglleft and guilsinglright.

You mean ‘ and ’ ?

>  - <BKSP> is redefined, which means that Ctrl+Alt+Backspace does no more
>    kill X.

This is a bug. I can't reproduce it. Ctrl+Alt+Backspace works fine on MacBook.

Comment 9 Étienne Bersac 2007-02-04 15:42:11 UTC
Created attachment 8593 [details] [review]
Clean up regular patch.

Regular cvs diff for patching the source which clean up useless lines and comments. ChangeLog entry :

 * Drop useles lines for RTRN, BKSP, CAPS, etc.
 * Add comments for my modification and drop useless comments concerning old modifier mapping.
Comment 10 Étienne Bersac 2007-02-04 15:42:24 UTC
Hi,

I attached a regular patch (cvs diff) fixing the fix. It's a "clean up" patch. sorry. Here is the ChangeLog entry.

 * Drop useles lines for RTRN, BKSP, CAPS, etc.
 * Add comments for my modification and drop useless comments concerning old modifier mapping.

Please consider it.

Étienne.
Comment 11 Denis Barbier 2007-02-04 16:11:02 UTC
> This map is as close as possible to the Mac OS X one. Users switching to X11
> wait a similar keymap.

You are free to make this layout similar to Mac OS X if this is what French
users are expecting, but in general I do not buy this argument, otherwise we
would also want to mimic Windows layouts on x86.

>>  - <AB01> uses undefined symbols guilsinglleft and guilsinglright.
>
> You mean ‘ and ’ ?

No idea, I do not know these symbols ;)
They seem to come from the TeX world, but X symbolic name is different.
Your file contains the following definition:
    key <AB01> { [ w, W, guilsinglleft, guilsinglright ] };
Can you please tell which Unicode codepoints these 2 symbols refer to?
Comment 12 Étienne Bersac 2007-02-05 03:30:00 UTC
Hi,

‘ is U+2018 LEFT SINGLE QUOTATION MARK
’ is U+2019 RIGHT SINGLE QUOTATION MARK

I guess the code is sent with the symbols in the mail !

I do not have the authority to determine which combinaison provide which symbol. The only one authority i know is the Mac OS X symbols map. However, if there is a UNIX or X11 one to implement. Go for it. But please don't apply pc105 to macintosh ! Mac user will have to swap Command and Option to Logo/Alt+Gr and Alt  when switching to Unix. That's already a pc105-ization of the keymap. I think that's a wrong idea.

Please explain the symbols you want to change.

Étienne.
Comment 13 Denis Barbier 2007-02-05 03:58:30 UTC
> â** is U+2018 LEFT SINGLE QUOTATION MARK
    = leftsinglequotemark
> â** is U+2019 RIGHT SINGLE QUOTATION MARK
    = rightsinglequotemark

These symbols added on key w are already defined on key 4, that
sounds pretty useless.

> I guess the code is sent with the symbols in the mail !

You are right, but I am lazy ;)

> Please explain the symbols you want to change.

I do not intend to make any change, but am trying to prevent spurious
changes.
Comment 14 James Cloos 2007-02-06 09:54:00 UTC
guilsinglleft and guilsinglright are:

2039	[‹]	SINGLE LEFT-POINTING ANGLE QUOTATION MARK
203A	[›]	SINGLE RIGHT-POINTING ANGLE QUOTATION MARK

and, from NamesList.txt:

2039    SINGLE LEFT-POINTING ANGLE QUOTATION MARK
        = left pointing single guillemet
        * usually opening, sometimes closing
        x (less-than sign - 003C)
        x (left-pointing angle bracket - 2329)
        x (left angle bracket - 3008)
203A    SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
        = right pointing single guillemet
        * usually closing, sometimes opening
        x (greater-than sign - 003E)
        x (right-pointing angle bracket - 232A)
        x (right angle bracket - 3009)

I don’t see existing keysyms for them, so you'll have to use unicode keysyms, 0x1002039 and 0x100203a.

Oh, and symbols/bt already has these:

      key <AC05> { [      0x1000F54, 0x1000FA4, 0x1002039, guillemotleft ]      };
      key <AC06> { [      0x1000F55, 0x1000FA5, 0x100203A, guillemotright ]     };
Comment 15 Étienne Bersac 2007-05-16 07:37:12 UTC
Created attachment 9985 [details]
Updated french symbols map.

Hi,

I added ‹ and › to W key. Sorry for the long time …

Can you commit that one ?

Étienne.
Comment 16 Sergey V. Udaltsov 2007-05-16 13:46:22 UTC
Etienne, there are several differences (not only W) with the current CVS. Could you please have a look at what's there and commit a smallest patch if possible (including most probably only W - and anything you find suitable).

Thanks
Comment 17 Étienne Bersac 2007-09-24 15:57:00 UTC
Hi,

CVS 1.5 version for symbols/macintosh_vndr/fr is just fine. Thank you !

Étienne.
Comment 18 Sergey V. Udaltsov 2007-09-24 16:02:44 UTC
U r welcome:)


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.