codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  perl siganl handling in Term::Readline  markvexl at 14:25 on Thursday, August 31, 2006
 

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?








CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
•  Login page authentication
•  Upload zip file
•  Report Printing - With Visual Basic in Access - Help
•  How to construct Self Registration Tool?
•  Re: Script Does Folder Exist – If Not Create It
•  Re: Need help with regular expression for relative addresses
•  A X = B help
•  Making Table Cell Fields Readonly
•  POSTING TOPIC IN FORUMS


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2006