Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Aug 2014 17:14:26 -0400
From:      Ed Maste <emaste@freebsd.org>
To:        Erik Cederstrand <erik+lists@cederstrand.dk>
Cc:        "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>, Aleksandr Rybalko <ray@ddteam.net>
Subject:   Re: Keymap definitions for VT / NEWCONS
Message-ID:  <CAPyFy2ChyeyK7tZUj4WSOgNreQZZrx-ur97-BrSQDkP%2Bm_vn_A@mail.gmail.com>
In-Reply-To: <26160DA3-2BCA-434A-B3E3-F522490A70DF@cederstrand.dk>
References:  <53EA0EC2.2070601@freebsd.org> <53EA1E5A.5020707@FreeBSD.org> <53EA2D00.7010307@freebsd.org> <CAPyFy2DMtFhwosD4z4sVHANB3Bp9_kECNrMWHOH=VpJiPyg2aQ@mail.gmail.com> <53EB0DA0.5000305@freebsd.org> <CAFHbX1%2B%2B1f1AYoTE9jLODbLPciOyrL77ca_4EBA5YUcvHBvFOw@mail.gmail.com> <53EB5CA9.5@freebsd.org> <26160DA3-2BCA-434A-B3E3-F522490A70DF@cederstrand.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
On 13 August 2014 09:47, Erik Cederstrand <erik+lists@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 inste=
ad of bailing and using a default keymap. Trying to desperately remember th=
e default US layout just to edit rc.conf and reboot is a pain. Preferably a=
s a warning at boot time like 'keymap "danish.iso.kbd" is deprecated. The n=
ew 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=3Dvt and that
/usr/share/vt/keymaps/${keymap} does not exist), and then just have a
big switch statement of old and new names.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPyFy2ChyeyK7tZUj4WSOgNreQZZrx-ur97-BrSQDkP%2Bm_vn_A>