Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Aug 2014 09:35:32 -0500
From:      Pedro Giffuni <pfg@freebsd.org>
To:        Stefan Esser <se@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Stefan Esser <se@localhost.FreeBSD.org>
Subject:   Re: svn commit: r270114 - head/share/vt/keymaps
Message-ID:  <16F39FE4-93FE-4C43-AE3F-88DDC34A8796@freebsd.org>
In-Reply-To: <53F1D78B.7070606@freebsd.org>
References:  <201408171954.s7HJsLmX099240@svn.freebsd.org> <53F10E95.30108@freebsd.org> <53F11A04.504@freebsd.org> <D91A1AD0-2097-4095-AE1F-0685BF876F54@freebsd.org> <53F1D78B.7070606@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

Il giorno 18/ago/2014, alle ore 05:38, Stefan Esser <se@freebsd.org> ha =
scritto:

> Am 17.08.2014 um 23:40 schrieb Pedro Giffuni:
>>=20
>> Il giorno 17/ago/2014, alle ore 16:09, Stefan Esser <se@freebsd.org
>> <mailto:se@freebsd.org>> ha scritto:
>>> Therefore, what you'd name "es_LA" (or es-la) is now latinamerican
>>> (it could be "latinamerican-es" if you wanted to make the language
>>> visible in the name). The country comes first, and if there is no
>>> country code (e.g. because the keymap is used in many countries),
>>> a longer name is used.
>>=20
>> That would, IMHO, be fine. What I dislike is that all other files are =
using
>> two letter codes and meanwhile the latinamerican thing has the long
>> name :-P.
>=20
> Ahh, I see. Well, this long name is meant to stand out when looking at
> the keymap files. If you use kbdmap to select a keymap, then it does
> not matter how long the name is. And if you select the file by name
> from within the keymaps directory, then a short name could easily be
> overlooked.
>=20
> And se-la would mean "Spain using the latinamerican language" ;-)
> since the first part is the country, not the language.
>=20


I should have been clearer: I meant la-es would be fine.


> But you are not suffering alone: there is "centraleuropean.iso", too.
>=20

Funny thing is almost all latin-american countries speak Spanish but in =
Spain
there is Catalan and other languages as well so when looking at the =
directories
(ls -la) the keyboards will look unordered. Sorting the keyboards by =
language
would be more natural, but I guess that as an exercise for the =
installer.


>> FWIW, I tried to change that in syscons but the reduced nomenclature
>> came too late and changing names caused too much trouble in
>> sysinstall..
>=20
> I thought it was a good time since nearly all files needed to change
> anyway, because of the removal of the encoding from the names.
>=20
> Names in syscons are probably encoded in lots of rc.conf files, and
> changing them might have been a big POLA.
>=20

Yes, we renamed the latin-american keyboard once (before I was a =
commiter)
and the related bug report remained open for some years.

Pedro.

> one thing that I'm thinking about is whether we should have an
> optional keymap_sc and keymap_vt in rc.conf, which allows to have
> different keymap files when running under SYSCONS vs. NEWCONS.
>=20
> This would be easy to implement, with keymap still being used,
> unless the more specific variable for the console driver used has
> an override.
>=20
> I think I'll just implement this for -CURRENT and wait for opinions,
> whether this should be merged to -STABLE ...
>=20
> Best regards, Stefan




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16F39FE4-93FE-4C43-AE3F-88DDC34A8796>