terminfo

Andrey Chernov ache at freebsd.org
Sun Feb 23 19:14:06 UTC 2014


On 23.02.2014 22:09, Ed Schouten wrote:
> On 23 February 2014 18:01, Andrey Chernov <ache at 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/


More information about the freebsd-arch mailing list