Subject: kern/23184: diff for Canadian French keyboard encoding for wscons/pckbd
To: None <>
From: None <>
List: netbsd-bugs
Date: 10/18/2003 02:02:47
>Number:         23184
>Category:       kern
>Synopsis:       diff to apply for Candian French keyboard support in wscons
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 18 06:04:00 UTC 2003
>Originator:     Matthew Mondor
>Release:        NetBSD 1.6.1_STABLE
System: NetBSD gobot.xisop 1.6.1_STABLE NetBSD 1.6.1_STABLE (GOBOT) #4: Fri Oct 17 23:36:55 EDT 2003 root@gobot.xisop:/home/data/src/sys/arch/i386/compile/GOBOT i386
Architecture: i386
Machine: i386
I added support for French Canadian keyboard mapping into the kernel.
This is most useful for residents of Quebec. Although a CAN/CSA Z243.200-92
Federal specification was released in 1988 to implement a new bilingual
keyboard for use in Canada, such keyboards never became popular. However,
most keyboards comply to the older Canada French layout using dead keys.
Another issue is that the new specification expects up to five codes to
be assigned to any single key.

This layout respects those keyboards, and also attempts to not loose any
of the important ASCII keys which are required for scripting and programming.
The French accents and keys correspond to the actual labels. The US layout
characters remain available using the AltGR (Right Alternate) key.

Because our keyboards are dramatically different from the standard French
(FR) one, the FR layout cannot be used on US and Canadian keyboards.
I have been asked various times by people to work on this, and here is the
Apply the diffs to the source tree of the 1-6 branch, located at:

Do not forget to update the /usr/include/dev/wscons/ directory to reflect
that of /usr/src/dev/wscons/ if necessary. Rebuild the kernel, as well
as the /sbin/wsconsctl utility program.

After rebooting, the new encoding should be available using:

   # wsconsctl -w encoding=ca_fr