Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^4: Perl Term::ReadLine::Gnu Signal Handling Difficulties

by sgt_b2002 (Initiate)
on Nov 13, 2012 at 14:35 UTC ( #1003625=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Perl Term::ReadLine::Gnu Signal Handling Difficulties
in thread Perl Term::ReadLine::Gnu Signal Handling Difficulties

Thanks again for the reply. I'll be sure to mention cross positing if it happens again as well.

So I've tested this in two environments and in each, the ctrl-c isn't handled until I press enter. Here are the two environments.

OS: Gentoo Linux 2.6.35 x86_64 Perl: 5.12.4 Term::ReadLine::Gnu: 1.20 readline version: 6.2_p1 OS: Gentoo Linux 3.3.8 x86_64 Perl: 5.16.1 Term::ReadLine::Gnu: 1.20 readline version: 6.2_p1

As an aside, I added the following line as a quick check to make sure I'm using Term::ReadLine::Gnu when testing this on different machines.

print $term->ReadLine."\n";

Again, thanks for your help with this. :)


Comment on Re^4: Perl Term::ReadLine::Gnu Signal Handling Difficulties
Select or Download Code
Re^5: Perl Term::ReadLine::Gnu Signal Handling Difficulties
by Mr. Muskrat (Abbot) on Nov 13, 2012 at 14:45 UTC

    My apologies. Apparently I tested this on the wrong box. I was using Term::ReadLine::Stub instead of Term::ReadLine::Gnu. I'll try again in a bit and keep you updated with what I find.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1003625]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2014-12-20 05:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (95 votes), past polls