vt(4) iso-8859-1 latin accentuated characters do not show on console
Vitalio D
v.dol_s at hotmail.com
Mon Dec 11 20:48:42 UTC 2017
Hello, Polytropon, Steve
Thank you guys for your help. I've figured it out finally.
So to use vt(4) with accented west European glyphs I had to do the following
in ~/.login_conf
me:\
:charset=UTF-8:
in rc.conf
keymap=fr.acc
Steve, yes the handbook I was trying to read is fr_FR.ISO8859-1. There is no fr_FR.UTF-8 handbook unfortunately (at least did not find on svn).
Also should the handbook (the i18l section) be updated since vt(4) is default driver?
________________________________________
From: Polytropon <freebsd at edvax.de>
Sent: Monday, December 11, 2017 8:22:52 PM
To: Vitalio D
Cc: freebsd-questions at freebsd.org
Subject: Re: vt(4) iso-8859-1 latin accentuated characters do not show on console
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