[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: linux-utf8 terminfo description



On Sun Nov  7 19:02:49 1999 -0600
           (Pirmadienis, 1999 m. lapkričio  8 d. 03:02:49 EET),
  Klaus Weide wrote:

> Bruno Haible's terminfo description source file, in
> 
>    <ftp://ftp.ilog.fr/pub/Users/haible/utf8/linux-utf8.terminfo>,
> 
> has the following contents:
> 
>    linux-utf8|linux in Unicode (UTF-8) mode,
>            use=linux,
> 
> in other words, no change from the regular "linux" terminal type except
> for the name.  This should be adapted to better describe the capabilities
> that are actually there when the console is in UTF-8 mode.  Maybe we can
> come up with the necessary changes here, and "linux-utf8" can become
> somewhat more "offical" (as far as that goes; I guess it would mean its
> becomes part of the ncurses distribution and/or esr's distribution).
> 
> There are two points I am aware of:
> 
> 1)
>        acs_chars                 acsc   ac   graphics charset
>                                              pairs, based on
>                                              vt100
> 
> Afaik these don't work in UTF-8 mode at all.  So no acsc capability
> should be in the "linux-utf8" description at all.  (Ncurses will
> use builtin ASCII fallbacks in that case).
> 

I have used this hack for acsc:

	enter_alt_charset_mode=\E%@\E[11m,
	enter_pc_charset_mode=\E%@\E[11m,
	enter_bold_mode=\E[37;42;1m,
	enter_secure_mode=\E[32;42m, 
	exit_alt_charset_mode=\E[10m\E%G,
	exit_attribute_mode=\E[0;10m\E%G,
	exit_pc_charset_mode=\E[10m\E%G,

Full description is at http://metalab.unc.edu/pub/Linux/system/keyboards/x-lt-1.19.tar.gz
if somebody is interested. I don't use Linux console and character-cell terminals
in general anymore :(




-- 

                                      Ričardas Čepas
~~
~

PGP signature