Subject: Re: misc/34995
To: None <misc-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Onno van der Linden <o.vd.linden@quicknet.nl>
List: netbsd-bugs
Date: 02/15/2007 20:30:02
The following reply was made to PR misc/34995; it has been noted by GNATS.
From: Onno van der Linden <o.vd.linden@quicknet.nl>
To: Sergey Svishchev <svs+pr@grep.ru>
Cc: wiz@netbsd.org, gnats-bugs@netbsd.org
Subject: Re: misc/34995
Date: Thu, 15 Feb 2007 21:24:44 +0100
On Thu, Feb 15, 2007 at 10:41:34PM +0300, Sergey Svishchev wrote:
> >It's caused by wsvt using tc=vt220-8 instead of tc=vt220.
> >This changes the ae and as capabilities to ^O and ^N, which
> >aren't handled in wsemul_vt100.c
>
> They are, actually. grep ASCII_SI and ASCII_SO.
Oops, I did a grep once but obviously my brain left me when I failed
to match ^N and ^O with ASCII_SI and ASCII_SO :-)
> >/usr/bin/tput as;echo "tq";/usr/bin/tput ae
> >
> >It should give some graphic lines in both cases, but it doesn't.
>
> That's because the alternate charset is identical to primary. My
> working copy (in $HOME/.termcap) had ti= and te= sequences that define
> and reset alternate charset, but I've managed to forget about that...
>
> Here it is, please test. (I've verified that mutt displays line
> drawing characters.)
It works, in slrn and mutt.
You might as well skip the ae and as definitions, they're already
in vt220-8.
Thanks for the fix,
Onno