Skip Menu |

This queue is for tickets about the POE CPAN distribution.

Report information
The Basics
Id: 1749
Status: resolved
Priority: 0/
Queue: POE

People
Owner: Nobody in particular
Requestors: troc [...] netrus.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Date: Fri, 1 Nov 2002 03:20:32 -0500
From: Rocco Caputo <troc [...] netrus.net>
To: poe [...] perl.org
Cc: bug-POE [...] rt.cpan.org
Subject: Re: readline issues
On Thu, Oct 31, 2002 at 11:52:18PM -0600, Bob Maccione wrote: Show quoted text
> Hello all, I'm getting the following errors when I run the readline.perl > sample (as well as my code) > > Terminal does not support: (LE RI) at ../POE/Wheel/ReadLine.pm line 191 > Compilation failed in require at (eval 34) line 1. > BEGIN failed--compilation aborted at (eval 34) line 1. > could not import qw(Wheel::ReadLine) at readline.perl line 9 > BEGIN failed--compilation aborted at readline.perl line 9. > > POE - 0.23 (although it also failed on 0.19) > > Term::ReadKey - 2.21 > > Solaris Sparc - 2.8
Term::Cap was not able to find LE or RI capabilities for your terminal. These move the cursor left and right, respectively. ReadLine uses Term::Cap instead of Term::Info because the former module comes standard with Perl. The main causes of this problem have been: An incomplete termcap database. Your termcap may not support LE and RI capabilities even if your terminal does. A mis-set TERM environment variable. A terminal type that doesn't support these features. This has been very rare, though. I'm confident the problem can be worked around, but I haven't had the opportunity to work on it. Patches are welcome. In the meantime, I'm sending a copy of this message to POE's bug tracker so it's on file. -- Rocco Caputo - troc@pobox.com - http://poe.perl.org/
RT-Send-CC: poe [...] perl.org
I have committed work-arounds for the LE/RI issue in Wheel::ReadLine. The wheel will try the "le" terminal capability if "LE" is not present. It will avoid "RI" altogether, instead printing characters directly from the input buffer. -- Rocco Caputo - troc@pobox.com - http://poe.perl.org/