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

FWD: [PATCH] Workaround for Term::Readline termcap warning



This is a fix for what is probably the most-reported perl bug. (Well, not a
fix, since it should be using terminfo, but at least a workaround..)

----- Forwarded message from Joel Klecker <jk@espy.org> -----

Date: Sat, 1 Jan 2000 18:49:41 -0800
To: debconf@packages.debian.org
From: Joel Klecker <jk@espy.org>
Subject: [PATCH] Workaround for Term::Readline termcap warning

--- /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/>

----- End forwarded message -----
-- 
see shy jo


Reply to: