hello, i have a problem with the Term::Readline packages.
on one hand if i use Term::Readline::Stub then all the out put chars are bold.
on the other hand if i use Term::Readline::Gnu then if i redefine a sginal handling then when i send a signal it is activate only after pressing ENTER.
here is anexample program::
use Term::ReadLine;
STDOUT->autoflush();
$SIG{INT} = sub { die("CTRL-C"); };
$term = new Term::ReadLine 'ProgramName';
while (1) {
$input = $term->readline('prompt> ');
print "Got: $input\n";
}
can anyone help?