Results 1 to 1 of 1
Related
-
Ecover graphic needed + long term graphic artist Forum: Internet Services
Replies: 0 -
Hi! Need help, don't know the term to search even... Forum: HTML Forum
Replies: 1 -
Form Handling Script for 'Tell A Friend' Form Forum: Javascript Forum
Replies: 1
-
08-31-2006, 09:43 AM #1
perl siganls handling with Term::Readline
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?
Cloudjiffy- PaaS for Developers
10-05-2020, 12:30 AM in Web Hosting Forum