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/11/2007 20:00:06
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: gnats-bugs@netbsd.org
Cc: wiz@netbsd.org, svs+pr@grep.ru
Subject: Re: misc/34995
Date: Sun, 11 Feb 2007 20:57:40 +0100

 I've twice tried to send-pr this one. No idea why it didn't
 come through (problems with gnats on the server side ?)
 
 This PR (misc/34995) breaks the display of alternate charsets
 as used for example in mutt or slrn.
 
 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
 
 Try the following with a -current that has termcap rev 1.98
 TERM=vt220
 /usr/bin/tput as;echo "tq";/usr/bin/tput ae
 TERM=wsvt25
 /usr/bin/tput as;echo "tq";/usr/bin/tput ae
 
 It should give some graphic lines in both cases, but it doesn't.
 
 Possible fixes:
 1) Handle ^N and ^O in wsemul_vt100.c
 2) Use tc=vt220 instead of tc=vt220-8 for wsvt25
 3) Change all the as and ae capabilities of DEC terminals
    to \E(0 and \E(B respectively (ncurses did this in its termcap
    in july 2004)
 
 Onno