Attached is an ISO 8859-1 keyboard map for Danish MacBook and external Apple keyboards. It is useful for typing in the console when FreeBSD is running as a virtual machine within OS X. Fix: Select an ISO 8859-1 font using 'vidcontrol' # setenv LC_CTYPE da_DK.ISO8859-1 Copy the file to /usr/share/syscons/keymaps/ Select the new keymap using 'kbdmap' To persist across reboots: Add 'keymap="danish.iso.macbook"' to /etc/rc.conf Add 'setenv LC_CTYPE ISO8859-1' to .cshrc Patch attached with submission follows:
Responsible Changed From-To: freebsd-bugs->gavin I'll take this. To submitter: Can you please email me the file directly? It looks like the copy in GNATS has become slightly mangled in email.
eadler@ committed this in r241851. This bug can be closed. Erik
This kbdmap was incorrectly added to INDEX.keymaps in r241851 and incorrectly updated in r256367. This was discovered as a side effect of PR 193656.
INDEX.keymaps issue fixed in r282902
A commit references this bug: Author: emaste Date: Thu May 14 14:07:45 UTC 2015 New revision: 282902 URL: https://svnweb.freebsd.org/changeset/base/282902 Log: Correct language code -- "Danish" is English The menu entry "Danish ISO-8859-1 (macbook)" was first added to the syscons(4) INDEX.keymaps in r241851 with no language code, and then in r256367 incorrectly tagged with "da". It is a Danish keyboard map, but the description is in English and therefore must be "en". This error subsequently propagated into the vt(4) INDEX.keymaps. PR: 146793, 193656 MFC after: 1 week Sponsored by: The FreeBSD Foundation Changes: head/share/syscons/keymaps/INDEX.keymaps head/share/vt/keymaps/INDEX.keymaps
A commit references this bug: Author: emaste Date: Thu May 21 01:47:13 UTC 2015 New revision: 283164 URL: https://svnweb.freebsd.org/changeset/base/283164 Log: MFC INDEX.keymaps fixes r282898: Correct UTF-8 encoding in Brit?nico One ? was ISO 8859-1 0xE1 instead of UTF-8 0xC3 0xA1. r282902: Correct language code -- "Danish" is English The menu entry "Danish ISO-8859-1 (macbook)" was first added to the syscons(4) INDEX.keymaps in r241851 with no language code, and then in r256367 incorrectly tagged with "da". It is a Danish keyboard map, but the description is in English and therefore must be "en". This error subsequently propagated into the vt(4) INDEX.keymaps. r282905: Restore 'he' language code for Hebrew kbdmap(1) menu title r282914: kbdmap(1): Correct menu title: keyboards have a layout, not a language PR: 146793, 193656 Changes: _U stable/10/ stable/10/share/syscons/keymaps/INDEX.keymaps stable/10/share/vt/keymaps/INDEX.keymaps