Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > No line editing within perl -d on RedHat

Reply
Thread Tools

No line editing within perl -d on RedHat

 
 
Theo van den Heuvel
Guest
Posts: n/a
 
      05-16-2005
Hi,

Line editing doesn't work when debugging on my
RedHat Linux machine.
For example, I cannot edit/repeat previous commands.
According to the Camel Book, I need to have
Term::ReadKey and Term::ReadLine installed.
I tested both, and they seem to work allright.

Does anybody have an idea what I am missing?

Thanks,

Theo van den Heuvel


 
Reply With Quote
 
 
 
 
Joe Smith
Guest
Posts: n/a
 
      05-17-2005
Theo van den Heuvel wrote:

> Line editing doesn't work when debugging on my RedHat Linux machine.
> For example, I cannot edit/repeat previous commands.


It works for me.

linux% cat /etc/redhat-release
Red Hat Linux release 9 (Shrike)
linux% perl -d -e 1

Loading DB routines from perl5db.pl version 1.23
Editor support available.
Enter h or `h h' for help, or `man perldebug' for more help.

"Editor support" = Control-P and up-arrow are functional.

> Term::ReadKey and Term::ReadLine installed.
> I tested both, and they seem to work allright.


Make sure all the parts are there.

/usr/lib/perl5/5.8.3/perl5db.pl
/usr/lib/perl5/5.8.3/i586-linux/IO/Handle.pm
/usr/lib/perl5/5.8.3/strict.pm
/usr/lib/perl5/5.8.3/Carp.pm
/usr/lib/perl5/5.8.3/Exporter.pm
/usr/lib/perl5/5.8.3/Symbol.pm
/usr/lib/perl5/5.8.3/SelectSaver.pm
/usr/lib/perl5/5.8.3/i586-linux/IO.pm
/usr/lib/perl5/5.8.3/i586-linux/XSLoader.pm
/usr/lib/perl5/5.8.3/warnings.pm
/usr/lib/perl5/5.8.3/i586-linux/auto/IO/IO.so
/usr/lib/perl5/5.8.3/Term/ReadLine.pm
/usr/lib/perl5/5.8.3/Carp/Heavy.pm
/usr/lib/perl5/site_perl/5.8.3/Term/ReadLine/Perl.pm
/usr/lib/perl5/site_perl/5.8.3/Term/ReadLine/readline.pm
/usr/lib/perl5/5.8.3/SelfLoader.pm
/usr/lib/perl5/site_perl/5.8.3/i586-linux/Term/ReadKey.pm
/usr/lib/perl5/5.8.3/AutoLoader.pm
/usr/lib/perl5/5.8.3/i586-linux/DynaLoader.pm
/usr/lib/perl5/5.8.3/vars.pm
/usr/lib/perl5/5.8.3/warnings/register.pm
/usr/lib/perl5/5.8.3/i586-linux/Config.pm
/usr/lib/perl5/site_perl/5.8.3/i586-linux/auto/Term/ReadKey/ReadKey.so
/usr/lib/perl5/5.8.3/Term/Cap.pm
/etc/termcap

-Joe
 
Reply With Quote
 
 
 
 
Theo van den Heuvel
Guest
Posts: n/a
 
      05-17-2005
"Joe Smith" <(E-Mail Removed)> schreef in bericht
news:(E-Mail Removed)...
> Theo van den Heuvel wrote:
>
>> Line editing doesn't work when debugging on my RedHat Linux machine.
>> For example, I cannot edit/repeat previous commands.

>
> It works for me.
>

[...]

>
> Make sure all the parts are there.
>

[clipped listing of relevant modules]

>
> -Joe


Thanks Joe,

I noticed some differences (apart from version stuff)
that lead me to reinstall Readline and Term-ReadLine-Perl.
That took care of it. It works.

Thanks,

Theo van den Heuvel


 
Reply With Quote
 
Theo van den Heuvel
Guest
Posts: n/a
 
      05-17-2005
"Joe Smith" <(E-Mail Removed)> schreef in bericht
news:(E-Mail Removed)...
> Theo van den Heuvel wrote:
>
>> Line editing doesn't work when debugging on my RedHat Linux machine.
>> For example, I cannot edit/repeat previous commands.

>
> It works for me.
>

[...]

>
> Make sure all the parts are there.
>

[clipped listing of relevant modules]

>
> -Joe


Thanks Joe,

I noticed some differences (apart from version stuff)
that lead me to reinstall Readline and Term-ReadLine-Perl.
That took care of it. It works.

Thanks,

Theo van den Heuvel



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can someone try this on RedHat Linux/jre1.5 or redhat linux/jdk1.6? U. George Java 4 08-11-2005 12:33 PM
Re: Problem with Storable.pm (.xs), Perl 5.8.0, Redhat 9 Daniel Hembree Perl 0 01-12-2004 03:31 AM
Perl 5.8 UTF-8 RedHat SLOW Mike Perl Misc 0 10-02-2003 03:48 PM
CGI.pm problem under Redhat Linux 9.0 (perl-5.8.0) marmot101 Perl Misc 5 07-28-2003 11:30 PM
perlio problem? redhat 9, perl 5.8.0 gordon Perl Misc 3 06-27-2003 09:39 AM



Advertisments