Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Feb 2014 22:51:41 +0400
From:      Andrey Chernov <ache@freebsd.org>
To:        Ed Schouten <ed@80386.nl>
Cc:        arch@freebsd.org, dickey@his.com, Bryan Drewery <bdrewery@freebsd.org>
Subject:   Re: terminfo
Message-ID:  <530A433D.1040907@freebsd.org>
In-Reply-To: <CAJOYFBBQvR_hNnkZPiOohqHtFwjzCmxbtkjKF=FA-gVLgCusfQ@mail.gmail.com>
References:  <5304A0CC.5000505@FreeBSD.org>	<CAJOYFBCMS4k7pyRk2YHZm81F6iP=SApZhbCm0MO4P-pvXbTCxQ@mail.gmail.com>	<20140223115939.GB4084@aerie.jexium-island.net>	<CAJOYFBB_K0ziNaTg=ThnCBN1EPU-b_H2kUxsc-MPYNEJHb3Y7w@mail.gmail.com>	<530A296E.9090805@freebsd.org> <CAJOYFBBQvR_hNnkZPiOohqHtFwjzCmxbtkjKF=FA-gVLgCusfQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 23.02.2014 22:09, Ed Schouten wrote:
> On 23 February 2014 18:01, Andrey Chernov <ache@freebsd.org> wrote:
>> It is your emulation which always displays ASCII now, which is step backward.
> 
> Indeed. But you know what the awesome thing is? Because ACS is now
> part of the terminal emulator itself, you can actually make this work
> with a single TERM type, regardless of the character set used.
> 
> Be sure to extend sys/teken/teken_scs.h to include additional maps for
> each character set. 

In the /sys/teken/teken_scs.h you use just one bit to distinguish
between ASCII fallback and Unicode boxdrawing, it is not enough. There
must be a field for the current character set somewhere in the teken
internals and vidcontrol(1) must be able to set it. The whole processing
chain is architectural decision I prefer to not interfere with. If
you'll make it ready, I could give you KOI8-R map for it.

-- 
http://ache.vniz.net/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?530A433D.1040907>