develooper Front page | perl.perl5.porters | Postings from July 2013

[perl #118817] [PATCH] lib/perldb5.t fails with TERM=vt100

Thread Previous | Thread Next
From:
Tony Cook via RT
Date:
July 16, 2013 06:35
Subject:
[perl #118817] [PATCH] lib/perldb5.t fails with TERM=vt100
Message ID:
rt-3.6.HEAD-2552-1373956519-316.118817-15-0@perl.org
On Thu Jul 11 00:43:57 2013, ppisar wrote:
> On 2013-07-11, Tony Cook via RT <perlbug-followup@perl.org> w> How
does the perl debugger get terminal capabilites. Does the
> Term::ReadLine::Perl have built a terminal database in? Or does it use
> system terminfo/termcap?

It uses Term::Cap to work out terminal capabilities.

On my Debian system I think it falls back to using infocmp -C to fetch
termcap data, but still doesn't fail.

Do you get the failure if you build perl with -Dprefix=/somewhere where
/somewhere doesn't have a perl build under it?

Perl doesn't include Term::ReadLine::Perl itself, so I assume the test
is picking it up from an installed perl.

Can you please let me know if changing line 29 from:

    $ENV{PERL_RL} = 'Perl'; # Suppress system Term::ReadLine::Gnu

to

    $ENV{PERL_RL} = 'Stub'; # Suppress system Term::ReadLine::Gnu

prevents the failure?

Tony

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org:443/rt3/Ticket/Display.html?id=118817

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About