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

Bug#255011: xlibs: mapping for macintosh/ca



On Fri, Oct 08, 2004 at 04:02:29AM -0400, simon@nuit.ca wrote:
> Ce jour Wed, 07 Jul 2004, Branden Robinson a dit:
> 
> > What's a CSA layout?  If you could take a clear digital photograph of this
> > keyboard, that would be really helpful.
> 
> attached is a .png of the layout; as i don't have a digital camera, this
> the best i could do (not the best *drwaing* i could do, but the best means at
> my disposal ;). 

This looks almost exactly like the "mulitlingual" Canadian layout that
Denis Barbier committed for the "pc" layout recently[1].

Denis,

How hard do you think it would be to adapt symbols/pc/ca to symbols/macintosh?

[1] Here's the commit message:

------------------------------------------------------------------------
r1930 | barbier | 2004-10-08 18:59:51 -0500 (Fri, 08 Oct 2004) | 23 lines
Changed paths:
   M /trunk/debian/CHANGESETS
   M /trunk/debian/MANIFEST.alpha.in
   M /trunk/debian/MANIFEST.amd64.in
   M /trunk/debian/MANIFEST.arm.in
   M /trunk/debian/MANIFEST.hppa.in
   M /trunk/debian/MANIFEST.hurd-i386.in
   M /trunk/debian/MANIFEST.i386.in
   M /trunk/debian/MANIFEST.ia64.in
   M /trunk/debian/MANIFEST.m68k.in
   M /trunk/debian/MANIFEST.mips.in
   M /trunk/debian/MANIFEST.mipsel.in
   M /trunk/debian/MANIFEST.powerpc.in
   M /trunk/debian/MANIFEST.s390.in
   M /trunk/debian/MANIFEST.sparc.in
   M /trunk/debian/TODO
   M /trunk/debian/changelog
   A /trunk/debian/patches/099j_xkb_new_layouts.diff
   M /trunk/debian/patches/099z_xkb_fix_rules_xfree86.diff
   M /trunk/debian/xlibs.install

  * Add several multi-layout aware layouts:
    + ca contains several variants: 'fr' is meant as a replacement for
      ca_enhanced, 'fr-legacy' is another variant, and 'multi' is an
      implementation of CAN/CSA-Z243.200-92.  This norm requires two groups,
      so it is in fact divided into 'multi' and 'multi-2gr'.
      By default, 'ca' loads both 'multi' and 'multi-2gr' variants to provide
      a full featured keyboard.  When it is combined with other layouts,
      the simpler variant 'fr' is used, but others can be explicitly
      specified.  Closes: #245371, #252068, #258575
      This new layout also fixes ISO_Level3_Shift, which was mapped to
      RCTL instead of RALT.  Closes: #274457
    + jp also requires a combination of two variants.  When this is
      the only loaded layout, the full combination is defined.  When
      it is combined with others, both 'jp106' and 'latin' variants must
      be explicitly defined.
    + hu layout has been simplified, some variants have been removed.
      Closes: #263561, #269929
    + ch replaces de_CH and fr_CH.
    + mn and vn are simple layouts.

The patch to remove handling of us_intl from rules/xfree86 has been
moved from 099z_xkb_fix_rules_xfree86 to 099j_xkb_new_layouts.

------------------------------------------------------------------------

I've attached the new symbols/pc/ca file for your review.  The only difference
between that and your image file I can see is that the tilde is not dead:

[...]
  partial
  xkb_symbols "multi" {

      name[Group1] = "Canadian Multilingual";

      include "pc/ca(fr)"
[...]
      key <AD12>	{ [  ccedilla,   Ccedilla,   asciitilde ]	};
[...]
  };

-- 
G. Branden Robinson                |    Somebody once asked me if I thought
Debian GNU/Linux                   |    sex was dirty.  I said, "It is if
branden@debian.org                 |    you're doing it right."
http://people.debian.org/~branden/ |    -- Woody Allen
default partial
xkb_symbols "fr" {
    name[Group1] = "Canadian French";

    key <TLDE>	{ [ numbersign,       bar,     backslash ]	};
    key <AE01>	{ [         1,     exclam,     plusminus ]	};
    key <AE02>	{ [         2,   quotedbl,            at ]	};
    key <AE03>	{ [         3,      slash,      sterling ]	};
    key <AE04>	{ [         4,     dollar,          cent ]	};
    key <AE05>	{ [         5,    percent,      currency ] 	};
    key <AE06>	{ [         6,   question,       notsign ]	};
    key <AE07>	{ [         7,  ampersand,     brokenbar ]	};
    key <AE08>	{ [         8,   asterisk,   twosuperior ]	};
    key <AE09>	{ [         9,  parenleft, threesuperior ]	};
    key <AE10>	{ [         0, parenright,    onequarter ]	};
    key <AE11>	{ [     minus, underscore,       onehalf ]	};
    key <AE12>	{ [     equal,       plus, threequarters ]	};

    key <AD01>	{ [         q,          Q ]	};
    key <AD02>	{ [         w,          W ]	};
    key <AD03>	{ [         e,          E ]	};
    key <AD04>	{ [         r,          R ]	};
    key <AD05>	{ [         t,          T ]	};
    key <AD06>	{ [         y,          Y ]	};
    key <AD07>	{ [         u,          U ]	};
    key <AD08>	{ [         i,          I ]	};
    key <AD09>	{ [         o,          O,   section ]	};
    key <AD10>	{ [         p,          P, paragraph ]	};
    key <AD11>	{ [dead_circumflex, dead_circumflex, bracketleft  ]	};
    key <AD12>	{ [   dead_cedilla,  dead_diaeresis, bracketright ]	};

    key <AC01>	{ [         a,          A ]	};
    key <AC02>	{ [         s,          S ]	};
    key <AC03>	{ [         d,          D ]	};
    key <AC04>	{ [         f,          F ]	};
    key <AC05>	{ [         g,          G ]	};
    key <AC06>	{ [         h,          H ]	};
    key <AC07>	{ [         j,          J ]	};
    key <AC08>	{ [         k,          K ]	};
    key <AC09>	{ [         l,          L ]	};
    key <AC10>	{ [ semicolon,      colon, asciitilde ]	};
    key <AC11>	{ [dead_grave, dead_grave,  braceleft ]	};
    key <BKSL>	{ [      less,    greater, braceright ]	};

    key <LSGT>	{ [guillemotleft, guillemotright, degree]	};
    key <AB01>	{ [         z,          Z ]	};
    key <AB02>	{ [         x,          X ]	};
    key <AB03>	{ [         c,          C ]	};
    key <AB04>	{ [         v,          V ]	};
    key <AB05>	{ [         b,          B ]	};
    key <AB06>	{ [         n,          N ]	};
    key <AB07>	{ [         m,          M,           mu ]	};
    key <AB08>	{ [     comma, apostrophe,       macron ]	};
    key <AB09>	{ [    period,     period,       hyphen ]	};
    key <AB10>	{ [    eacute,     Eacute,   dead_acute ]	};

    key <SPCE>	{ [     space,      space, nobreakspace ]	};

    include "level3(ralt_switch)"
};

partial
xkb_symbols "fr-legacy" {

    name[Group1] = "Canadian French (Legacy)";

    include "pc/ca(fr)"

    key <TLDE>	{ [    degree,     degree,       notsign ]	};
    key <AE01>	{ [         1,     exclam,   onesuperior ]	};

    key <AE03>	{ [         3, numbersign, threesuperior ]	};
    key <AE04>	{ [         4,     dollar,    onequarter ]	};
    key <AE05>	{ [         5,    percent,       onehalf ] 	};
    key <AE06>	{ [         6,   question, threequarters ]	};
    key <AE07>	{ [         7,  ampersand,     braceleft ]	};
    key <AE08>	{ [         8,   asterisk,   bracketleft ]	};
    key <AE09>	{ [         9,  parenleft,  bracketright,   plusminus ]	};
    key <AE10>	{ [         0, parenright,    braceright ]	};
    key <AE11>	{ [     minus, underscore,           bar, questiondown]	};
    key <AE12>	{ [     equal,       plus,  dead_cedilla ]	};

    key <AD04>	{ [         r,          R,     paragraph,  registered ]	};
    key <AD06>	{ [         y,          Y,           yen ]	};
    key <AD09>	{ [         o,          O,        oslash,      Ooblique ] };
    key <AD10>	{ [         p,          P,         thorn,       THORN ]	};
    key <AD11>	{ [dead_circumflex, dead_circumflex,           degree ]	};
    key <AD12>	{ [  ccedilla,   Ccedilla, dead_tilde, dead_diaeresis ]	};

    key <AC01>	{ [         a,          A,            ae,          AE ]	};
    key <AC02>	{ [         s,          S,        ssharp,     section ]	};
    key <AC03>	{ [         d,          D,           eth,         ETH ]	};
    key <AC04>	{ [         f,          F,   ordfeminine ]	};
    key <AC10>	{ [ semicolon,      colon,    dead_acute,  dead_acute ]	};
    key <AC11>	{ [    egrave,     Egrave ]	};
    key <BKSL>	{ [    agrave,     Agrave,    dead_grave ]	};

    key <LSGT>	{ [    ugrave,     Ugrave,     backslash,         bar ]	};
    key <AB01>	{ [         z,          Z, guillemotleft  ]	};
    key <AB02>	{ [         x,          X, guillemotright ]	};
    key <AB03>	{ [         c,          C,          cent,   copyright ]	};
    key <AB07>	{ [         m,          M,            mu,   masculine ]	};
    key <AB08>	{ [     comma, apostrophe,         less ]	};
    key <AB09>	{ [    period,     period,      greater ]	};
    key <AB10>	{ [    eacute,     Eacute,        slash ]	};
};

partial
xkb_symbols "multi" {

    name[Group1] = "Canadian Multilingual";

    include "pc/ca(fr)"

    key <TLDE>	{ [     slash,  backslash,           bar ]	};
    key <AE01>	{ [         1,     exclam ]	};
    key <AE02>	{ [         2,         at ]	};
    key <AE03>	{ [         3, numbersign ]	};
    key <AE04>	{ [         4,     dollar ]	};
    key <AE05>	{ [         5,    percent ] 	};
    key <AE06>	{ [         6,   question ]	};
    key <AE07>	{ [         7,  ampersand,    braceleft ]	};
    key <AE08>	{ [         8,   asterisk,   braceright ]	};
    key <AE09>	{ [         9,  parenleft,  bracketleft ]	};
    key <AE10>	{ [         0, parenright, bracketright ]	};
    key <AE11>	{ [     minus, underscore ]	};
    key <AE12>	{ [     equal,       plus,      notsign ]	};

    key <AD09>	{ [         o,          O ]	};
    key <AD10>	{ [         p,          P ]	};
    key <AD11>	{ [dead_circumflex, dead_diaeresis, dead_grave  ]	};
    key <AD12>	{ [  ccedilla,   Ccedilla,   asciitilde ]	};

    key <AC10>	{ [ semicolon,      colon,     degree ]	};
    key <AC11>	{ [    egrave,     Egrave ]	};
    key <BKSL>	{ [    agrave,     Agrave ]	};

    key <LSGT>	{ [    ugrave,     Ugrave ] 	};
    key <AB01>	{ [         z,          Z, guillemotleft  ]	};
    key <AB02>	{ [         x,          X, guillemotright ]	};
    key <AB08>	{ [     comma, apostrophe,           less ]	};
    key <AB09>	{ [    period,   quotedbl,        greater ]	};
    key <AB10>	{ [    eacute,     Eacute ]	};
};

partial
xkb_symbols "multi-2gr" {

    name[Group1] = "Canadian Multilingual group2";

    key <TLDE>	{ [    VoidSymbol,      hyphen ]	};
    key <AE01>	{ [   onesuperior,  exclamdown ]	};
    key <AE02>	{ [   twosuperior,  VoidSymbol ]	};
    key <AE03>	{ [ threesuperior,    sterling ]	};
    key <AE04>	{ [    onequarter,    currency ]	};
    key <AE05>	{ [       onehalf,threeeighths ]	};
    key <AE06>	{ [ threequarters, fiveeighths ]	};
    key <AE07>	{ [    VoidSymbol,seveneighths ]	};
    key <AE08>	{ [    VoidSymbol,   trademark ]	};
    key <AE09>	{ [    VoidSymbol,   plusminus ]	};

    key <AE11>	{ [    VoidSymbol, questiondown]	};
    key <AE12>	{ [  dead_cedilla, dead_ogonek ]	};

    key <AD01>	{ [ VoidSymbol,    Greek_OMEGA ]	};
    key <AD02>	{ [    lstroke,        Lstroke ]	};
    key <AD03>	{ [         oe,             OE ]	};
    key <AD04>	{ [  paragraph,     registered ]	};
    key <AD05>	{ [     tslash,         Tslash ]	};
    key <AD06>	{ [  leftarrow,            yen ]	};
    key <AD07>	{ [  downarrow,        uparrow ]	};
    key <AD08>	{ [ rightarrow,       idotless ]	};
    key <AD09>	{ [     oslash,       Ooblique ]	};
    key <AD10>	{ [      thorn,          THORN ]	};
    key <AD11>	{ [ VoidSymbol, dead_abovering ]	};
    key <AD12>	{ [ dead_tilde,    dead_macron ]	};

    key <AC01>	{ [         ae,          AE ]	};
    key <AC02>	{ [     ssharp,     section ]	};
    key <AC03>	{ [        eth,         ETH ]	};
    key <AC04>	{ [ VoidSymbol, ordfeminine ]	};
    key <AC05>	{ [        eng,         ENG ]	};
    key <AC06>	{ [    hstroke,     Hstroke ]	};
    key <AC07>	{ [      U0133,       U0132 ]	};
    key <AC08>	{ [        kra,  VoidSymbol ]	};
    key <AC09>	{ [      U0140,       U013F ]	};
    key <AC10>	{ [ dead_acute, dead_doubleacute ]	};
    key <AC11>	{ [ VoidSymbol,  dead_caron ]	};
    key <BKSL>	{ [ VoidSymbol,  dead_breve ]	};


    key <LSGT>	{ [ VoidSymbol,   brokenbar ]	};

    key <AB03>	{ [       cent,   copyright ]	};
    key <AB04>	{ [  leftdoublequotemark,  leftsinglequotemark ]	};
    key <AB05>	{ [ rightdoublequotemark, rightsinglequotemark ]	};
    key <AB06>	{ [      U0149,       U266A ]	};
    key <AB07>	{ [         mu,   masculine ]	};
    key <AB08>	{ [ Greek_horizbar, multiply ]	};
    key <AB09>	{ [ periodcentered, division ]	};
    key <AB10>	{ [ VoidSymbol, dead_abovedot ]	};

};

Attachment: signature.asc
Description: Digital signature


Reply to: