vt(4) iso-8859-1 latin accentuated characters do not show on console

Polytropon freebsd at edvax.de
Mon Dec 11 20:22:58 UTC 2017


On Mon, 11 Dec 2017 14:28:52 +0000, Vitalio D wrote:
> I'm running 11.1-STABLE snapshot from November. By default my
> vty driver is vt(4) as seen from
> sysctl kern.vty
> kern.vty=vt
> 
> I've tried to configure french keyboard so to be able to see and
> type accentuated characters, but could not succeed.
> 
> I've amended ~/.login_conf with
> me:\
>     :charset=ISO-8859-1:\
>    :lang=fr_FR.ISO-8859-1:
> 
> but to no avail. 
> The only solution I've found is to switch to sc(4) in /boot/loader.conf
> 
> So my question is: should i file a bug ?

Definitely. I have the same problem with vt and de_DE.ISO8859-1
if I want to use the Umlauts ö ä ü Ö Ä Ü and Eszett ß. This is
one of the cases where vt cannot do what sc could do for decades.

Maybe a workaround for you is this:

Set fr_FR.UTF-8 and check if you get the correct accents on
the vowels (or just "escaped unprintable" representation).

However, according to _my_ documentation the setting does not
have a 2nd "-" in it, not fr_FR.ISO-8859-1, but fr_FR.ISO8859-1
(only one "-") should be used. Maybe you can try this as well?


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...


More information about the freebsd-questions mailing list