From: Alexey Gladkov <gladkov.alexey@gmail.com> To: Anthony Perkins <anthony@acperkins.com> Cc: kbd@lists.altlinux.org Subject: Re: [kbd] Canadian Multilingual Standard keyboard map Date: Tue, 19 May 2020 16:54:48 +0200 Message-ID: <20200519145448.5b44d4yybhmxqdp6@comp-core-i7-2640m-0182e6> (raw) In-Reply-To: <RNUFAQ.KAP9QHH3TG9M@acperkins.com> On Sat, May 16, 2020 at 08:11:51PM +0100, Anthony Perkins wrote: > Hi, > > I am emailing because I saw you are the maintainer of the Linux kernel > keyboard layouts. I noticed there was no regular console keymap for the > Canadian Multilingual Standard [1] so I had a go at creating one myself. I > thought it might be useful to others and could possibly be included in the > kbd project. > > I have based it on the ca-multi layout [2] in Debian by Christian Perrier, > with changes to use the AltGr key instead of the Alt key and to match with > the layout used in Gnome (screenshot attached). Christian's is close to the > standard layout but has many differences. > > I've attached a copy of the file, and one with the more traditional > left-aligned layout in case this is preferred. > > [1] <https://en.wikipedia.org/wiki/QWERTY#Canadian_Multilingual_Standard> > [2] <https://sources.debian.org/src/console-data/2:1.12-6/keymaps/i386/qwerty/ca-multi.kmap/> Thanks! I will add them. > # Canadian Multilingual keyboard > # > # Built from the Canadian-French keymap > # Christian Perrier <bubulle@debian.org> > # 2008 > # > # Changes to line up with the XKB layout > # Anthony Perkins <anthony@acperkins.com> > # 2020 > # > > keymaps 0-6,8-9,12 > include "qwerty-layout" > include "linux-with-alt-and-altgr" > strings as usual > compose as usual for "iso-8859-1" > > keycode 1 = Escape Escape > alt keycode 1 = Meta_Escape > keycode 2 = one exclam plusminus > alt keycode 2 = Meta_one > shift alt keycode 2 = Meta_exclam > keycode 3 = two at at > control keycode 3 = nul > shift control keycode 3 = nul > alt keycode 3 = Meta_two > shift alt keycode 3 = Meta_at > keycode 4 = three numbersign sterling > control keycode 4 = Escape > alt keycode 4 = Meta_three > shift alt keycode 4 = Meta_numbersign > keycode 5 = four dollar cent > alt keycode 5 = Meta_four > shift alt keycode 5 = Meta_dollar > keycode 6 = five percent currency > alt keycode 6 = Meta_five > shift alt keycode 6 = Meta_percent > keycode 7 = six question > shift control keycode 7 = Delete > alt keycode 7 = Meta_six > shift alt keycode 7 = Meta_question > keycode 8 = seven ampersand braceleft > alt keycode 8 = Meta_seven > shift alt keycode 8 = Meta_ampersand > keycode 9 = eight asterisk braceright > alt keycode 9 = Meta_eight > shift alt keycode 9 = Meta_asterisk > keycode 10 = nine parenleft bracketleft > control keycode 10 = Escape > alt keycode 10 = Meta_nine > keycode 11 = zero parenright bracketright > control keycode 11 = Control_bracketright > alt keycode 11 = Meta_zero > keycode 12 = minus underscore onehalf > control keycode 12 = Control_underscore > alt keycode 12 = Meta_minus > keycode 13 = equal plus notsign > alt keycode 13 = Meta_equal > keycode 14 = Delete Delete > control keycode 14 = BackSpace > alt keycode 14 = Meta_Delete > keycode 15 = Tab Tab > alt keycode 15 = Meta_Tab > keycode 24 = +o +O section > keycode 25 = +p +P paragraph > keycode 26 = dead_circumflex dead_diaeresis dead_grave > control keycode 26 = Control_asciicircum > keycode 27 = ccedilla Ccedilla tilde > keycode 28 = Return > alt keycode 28 = Meta_Control_m > keycode 29 = Control > keycode 39 = semicolon colon degree > keycode 40 = egrave Egrave > keycode 41 = slash backslash bar > shift control keycode 41 = Control_backslash > keycode 42 = Shift > keycode 43 = agrave Agrave > keycode 44 = +z +Z guillemotleft > keycode 45 = +x +X guillemotright > keycode 50 = +m +M mu > keycode 51 = comma apostrophe less > control keycode 51 = Control_g > alt keycode 51 = Meta_comma > shift alt keycode 51 = Meta_apostrophe > keycode 52 = period quotedbl greater > control keycode 52 = Compose > alt keycode 52 = Meta_period > shift alt keycode 52 = Meta_quotedbl > keycode 53 = +eacute +Eacute dead_acute > alt keycode 53 = Meta_slash > keycode 54 = Shift > keycode 56 = Alt > keycode 57 = space space nobreakspace > control keycode 57 = nul > alt keycode 57 = Meta_space > keycode 58 = Caps_Lock > keycode 86 = ugrave Ugrave > keycode 97 = Control > # Canadian Multilingual keyboard > # > # Built from the Canadian-French keymap > # Christian Perrier <bubulle@debian.org> > # 2008 > # > # Changes to line up with the XKB layout > # Anthony Perkins <anthony@acperkins.com> > # 2020 > # > > keymaps 0-6,8-9,12 > include "qwerty-layout" > include "linux-with-alt-and-altgr" > strings as usual > compose as usual for "iso-8859-1" > > # Modifier ## Keycode XXX = Level1 ######## Level2 ######## Level3 ########### > keycode 1 = Escape Escape > alt keycode 1 = Meta_Escape > keycode 2 = one exclam plusminus > alt keycode 2 = Meta_one > shift alt keycode 2 = Meta_exclam > keycode 3 = two at at > control keycode 3 = nul > shift control keycode 3 = nul > alt keycode 3 = Meta_two > shift alt keycode 3 = Meta_at > keycode 4 = three numbersign sterling > control keycode 4 = Escape > alt keycode 4 = Meta_three > shift alt keycode 4 = Meta_numbersign > keycode 5 = four dollar cent > alt keycode 5 = Meta_four > shift alt keycode 5 = Meta_dollar > keycode 6 = five percent currency > alt keycode 6 = Meta_five > shift alt keycode 6 = Meta_percent > keycode 7 = six question > shift control keycode 7 = Delete > alt keycode 7 = Meta_six > shift alt keycode 7 = Meta_question > keycode 8 = seven ampersand braceleft > alt keycode 8 = Meta_seven > shift alt keycode 8 = Meta_ampersand > keycode 9 = eight asterisk braceright > alt keycode 9 = Meta_eight > shift alt keycode 9 = Meta_asterisk > keycode 10 = nine parenleft bracketleft > control keycode 10 = Escape > alt keycode 10 = Meta_nine > keycode 11 = zero parenright bracketright > control keycode 11 = Control_bracketright > alt keycode 11 = Meta_zero > keycode 12 = minus underscore onehalf > control keycode 12 = Control_underscore > alt keycode 12 = Meta_minus > keycode 13 = equal plus notsign > alt keycode 13 = Meta_equal > keycode 14 = Delete Delete > control keycode 14 = BackSpace > alt keycode 14 = Meta_Delete > keycode 15 = Tab Tab > alt keycode 15 = Meta_Tab > keycode 24 = +o +O section > keycode 25 = +p +P paragraph > keycode 26 = dead_circumflex dead_diaeresis dead_grave > control keycode 26 = Control_asciicircum > keycode 27 = ccedilla Ccedilla tilde > keycode 28 = Return > alt keycode 28 = Meta_Control_m > keycode 29 = Control > keycode 39 = semicolon colon degree > keycode 40 = egrave Egrave > keycode 41 = slash backslash bar > shift control keycode 41 = Control_backslash > keycode 42 = Shift > keycode 43 = agrave Agrave > keycode 44 = +z +Z guillemotleft > keycode 45 = +x +X guillemotright > keycode 50 = +m +M mu > keycode 51 = comma apostrophe less > control keycode 51 = Control_g > alt keycode 51 = Meta_comma > shift alt keycode 51 = Meta_apostrophe > keycode 52 = period quotedbl greater > control keycode 52 = Compose > alt keycode 52 = Meta_period > shift alt keycode 52 = Meta_quotedbl > keycode 53 = +eacute +Eacute dead_acute > alt keycode 53 = Meta_slash > keycode 54 = Shift > keycode 56 = Alt > keycode 57 = space space nobreakspace > control keycode 57 = nul > alt keycode 57 = Meta_space > keycode 58 = Caps_Lock > keycode 86 = ugrave Ugrave > keycode 97 = Control -- Rgrds, legion
next parent reply other threads:[~2020-05-19 14:54 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-05-19 14:54 ` Alexey Gladkov [this message] 2020-05-19 15:05 ` Anthony Perkins
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20200519145448.5b44d4yybhmxqdp6@comp-core-i7-2640m-0182e6 \ --to=gladkov.alexey@gmail.com \ --cc=anthony@acperkins.com \ --cc=kbd@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
Linux console tools development discussion This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/kbd/0 kbd/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 kbd kbd/ http://lore.altlinux.org/kbd \ kbd@lists.altlinux.org kbd@lists.altlinux.ru kbd@lists.altlinux.com public-inbox-index kbd Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.kbd AGPL code for this site: git clone https://public-inbox.org/public-inbox.git