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 reply to Re^2: Perl Term::ReadLine::Gnu Signal Handling Difficulties
by sgt_b2002
in thread Perl Term::ReadLine::Gnu Signal Handling Difficulties
by sgt_b2002
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |