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

Re: Trying to fix slang

On Wed, 2002-01-30 at 10:32, Glenn Maynard wrote:
> sure exactly how it's really supposed to work.  (The character set is
> really a part of the terminal type, in a sense; if TERM=xterm, it'll get
> the ACS definitions, even if it's in UTF-8 and doesn't really have
> them.  Whose job is it to nuke those properties?  Terminfo?)

Pretty much.  Xterm ought to provide an alternative terminfo entry with
the correct ACS characters, and arrange to set TERM=xterm-utf8 or
whatever when you use the -u8 option.  The thing about a 256-byte table
in slang sounds a bit unfortunate though.

The quick fix to get things like mutt going (after a fashion) would
probably be to hack up an xterm-utf8 terminfo entry that just didn't
declare any alternate character set at all.  That should cause slang to
fall back on using ASCII characters for line drawing (|+_ and so on)
which is ugly but at least serviceable.


Reply to: