Add Canadian French keyboard mapping, from Matthew Mondor in PR# 23184.

This commit is contained in:
jmcneill 2006-09-23 02:37:45 +00:00
parent eaa9b0d13e
commit 71207876a1
2 changed files with 42 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: mi,v 1.655 2006/09/22 23:03:24 christos Exp $
# $NetBSD: mi,v 1.656 2006/09/23 02:37:45 jmcneill Exp $
. base-sys-root
./altroot base-sys-root
./bin base-sys-root
@ -3166,6 +3166,7 @@
./usr/share/wscons/keymaps/pckbd.br.abnt2 base-util-share share
./usr/share/wscons/keymaps/pckbd.de_CH.iso8859-1 base-util-share share
./usr/share/wscons/keymaps/pckbd.de_CH.iso8859-2 base-obsolete obsolete
./usr/share/wscons/keymaps/pckbd.fr_CA.iso8859-1 base-util-share
./usr/share/wscons/keymaps/pckbd.fr_CH.iso8859-1 base-util-share share
./usr/share/wscons/keymaps/pckbd.fr_CH.iso8859-2 base-obsolete obsolete
./usr/share/wscons/keymaps/pckbd.hu.iso8859-2 base-util-share share

View File

@ -0,0 +1,40 @@
# $NetBSD: pckbd.fr_CA.iso8859-1,v 1.1 2006/09/23 02:37:45 jmcneill Exp $
#
# This is the Candadian French keyboard mapping for wscons and iso8859-1,
# provided by Matthew Mondor for the NetBSD project through PR kern/23184.
#
# The FR mappings cannot be used with our keyboards in Quebec.
# Although there exists a Federal CAN/CSA Z243.200-92 "normalized" mapping
# since 1988, very few keyboards exist following it. Moreover, it requires
# up to five mappings per key.
#
# This map respects the older Canadian French keyboard standard with dead
# accents (except for eacute and Eacute), which most keyboards sold in Quebec
# are made for. The labels on the keys match properly. However, an effort was
# made to not loose any important keys for programming. To do so, pressing the
# Right Alternate key allows to retreive the standard US mapping for a key.
# The exception to this rule consists of V and B which correspond to the
# French '<<' and '>>' accents when Right Alternate key is used, to respect
# the standard.
#
# To save space, only modifications from the US encoding were included to
# convert it to the fr_CA one.
# To apply, use in /etc/wscons.conf:
# encoding=us
# mapfile /usr/share/wscons/keymaps/pckbd.fr_CA.iso8859-1
keycode 3 = 2 quotedbl at
keycode 4 = 3 slash numbersign
keycode 7 = 6 question asciicircum
keycode 26 = dead_circumflex asciicircum bracketleft braceleft
keycode 27 = dead_cedilla dead_diaeresis bracketright braceright
keycode 39 = semicolon colon asciitilde
keycode 40 = dead_grave grave apostrophe quotedbl
keycode 41 = numbersign bar grave backslash
keycode 43 = less greater backslash bar
keycode 47 = v V guillemotleft
keycode 48 = b B guillemotright
keycode 51 = comma apostrophe less
keycode 52 = period sterling greater
keycode 53 = eacute Eacute slash question
keycode 184 = Mode_switch Multi_key