Re: Termcap, Perl5.005, apt-get, rxvt
At 15:54 -0500 2000-02-05, Joey Hess wrote:
>Apt isn't even in the picture. Debconf uses perl libraries that output this
>warning message whenever they are used. Termcap should never be used on
>debian systems, thus this is a perl bug. It's been reported dozens of times,
>and the bugs are just sitting in the BTS waiting for someone to fix it.
There is a workaround to shutup the warning though.
--- /usr/lib/perl5/Debian/DebConf/FrontEnd/Text.pm.~1~ Thu Dec 23 12:52:19
1999
+++ /usr/lib/perl5/Debian/DebConf/FrontEnd/Text.pm Sat Jan 1 18:13:40
2000
@@ -31,6 +31,7 @@
my $proto = shift;
my $class = ref($proto) || $proto;
my $self = bless $proto->SUPER::new(@_), $class;
+ $Term::ReadLine::termcap_nowarn = 1;
$self->{'readline'}=Term::ReadLine->new('debian');
$self->{'readline'}->ornaments(1);
$self->{'interactive'}=1;
--
Joel Klecker (aka Espy) Debian GNU/Linux Developer
<URL:mailto:jk@espy.org> <URL:mailto:espy@debian.org>
<URL:http://web.espy.org/> <URL:http://www.debian.org/>
Reply to: