Re: [hatari-devel] Setting TOS language / keyboard |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: Eero Tamminen <oak@xxxxxxxxxxxxxx>
- Subject: Re: [hatari-devel] Setting TOS language / keyboard
- From: Thomas Huth <th.huth@xxxxxxxxx>
- Date: Sun, 12 Jun 2022 13:43:06 +0000
- Cc: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1655041389; bh=n/kCeBjHcWgBV8jkevckFRmHaA5Dfqq8D7YQYxlyG3o=; h=Date:From:To:Cc:Subject:From; b=h+Bk7A8PeI1Ilf1/h5TMPBzoWbnDOeFG8lpGOZLmnerJmICBSYBANQPzo19fotcYP sX84Xicj688OrLZjFCRp7h6UAVwaeloN+7dsHq0B0Jk1s2iUZ6IUadV7VpSqUlvB4A QinDL+1TE/NtM4d9T4YJSC+17U1c0essg0FgM1vEGEjI6foF70jNagWyJcOto+r9tr 5iBrtn4jc7R9LAUd8hXWlT+nTSBWpt+LFK8Sd3quHrd8l4D1ae07UEUMRjAqiPojm7 DN7CYCQ3B9vgrdNxZQUDGEeV++HgUbPp71uu0gKIZHL4Fj4pg9SnX7WlF/i5KbGTpV VFHmvI1CEfOvA==
Am Sat, 11 Jun 2022 19:02:17 +0300
schrieb Eero Tamminen <oak@xxxxxxxxxxxxxx>:
> Hi,
>
> On 4.6.2022 17.37, Eero Tamminen wrote:
> > On 29.5.2022 21.57, Thomas Huth wrote:
> >> Am Sun, 29 May 2022 12:30:17 +0300
> >> schrieb Eero Tamminen <oak@xxxxxxxxxxxxxx>:
> >>> What if I add separate "--country-code" option for setting TOS country
> >>> code on non-NVRAM machines?
> >>
> >> Honestly, I don't have a real good opinion here. --country-code is maybe
> >> cleaner, but it could also be more confusing to the user if we provide
> >> more
> >> and more options. So maybe start with --language and see whether users
> >> complain?
> >
> > Attached are patches to get NVRAM language default from LANG, and new
> > "--country" option to set country code for NVRAM-less machines +
> > appropriate documentation update.
> >
> > How does that look like?
>
> Thomas, Nicolas, any comments, does it look clear enough based on the
> documentation?
Looks reasonable to me at a quick glance. The parsing of $LANG is likely a
little bit inprecise (looking at the output of "localedef --list-archive",
there are also locales that use three letters instead of two, for example),
but I guess it will be enough for the common languages that are supported
by EmuTOS...?
Thomas