Keymap definitions for VT / NEWCONS

Ed Maste emaste at freebsd.org
Wed Aug 13 21:14:48 UTC 2014


On 13 August 2014 09:47, Erik Cederstrand <erik+lists at cederstrand.dk> wrote:
>>
>> I wonder if we should use this opportunity to rationalize the keyboard
>> layout names, using two letter codes consistently (so dk.kbd).
>
> Sounds like a good idea. Just provide some kind of translation file instead of bailing and using a default keymap. Trying to desperately remember the default US layout just to edit rc.conf and reboot is a pain. Preferably as a warning at boot time like 'keymap "danish.iso.kbd" is deprecated. The new name is "da_DK.kbd". Please edit /etc/rc.conf'.

Yeah, that's important.  It should be straightforward for us to
identify an old keymap variable (test that sysctl kern.vty=vt and that
/usr/share/vt/keymaps/${keymap} does not exist), and then just have a
big switch statement of old and new names.


More information about the freebsd-hackers mailing list