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

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

Thread Previous | Thread Next
Tony Cook via RT
July 16, 2013 06:35
[perl #118817] [PATCH] lib/perldb5.t fails with TERM=vt100
Message ID:
On Thu Jul 11 00:43:57 2013, ppisar wrote:
> On 2013-07-11, Tony Cook via RT <> 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


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

prevents the failure?


via perlbug:  queue: perl5 status: open

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About