|
|
|
Clear questions and runnable code get the best and fastest answer |
|
| PerlMonks |
Re^2: Perl Term::ReadLine::Gnu Signal Handling Difficultiesby sgt_b2002 (Initiate) |
| on Nov 13, 2012 at 13:50 UTC ( #1003614=note: print w/ replies, xml ) | Need Help?? |
|
Hi Mr. Muskrat Thanks for the help. I tried the script you provided and can see how to set the Gnu variables now, but my script still doesn't act how I think it should. Given the script you provided, I'll hit control-c to send an INT to the script while at the prompt. I expect to see "I got a INT" right after I hit control-c. Instead, the script stays at the prompt until I hit enter. After hitting enter I see "I got a INT". Is this the designed behavior? Ideally, I'd like to have the signal handlers trigger as soon as the signal is received. Thanks again for helping me out. :)
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||