reasonablekeith has asked for the wisdom of the Perl Monks concerning the following question:
As far as I can see, the lack of compiler means I can't install Term::Readkey, (which doesn't come with the recent version of active-state perl I'm using). I did find Hotkey.pm in the docs, but that dies because...
I also tried the solution proposed in How can I read a single character from a file? From the keyboard?, that got a single character, but I still had to wait for <RETURN>POSIX::termios not implemented on this architecture
I do have Term::Cap, so if there's a way of doing a readmode('cbreak') equivalent that might be an option. Other than that I've drawn a bit of a blank. Anyone?
Cheers, Rob.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Reading char-by-char from STDIN
by davidrw (Prior) on May 13, 2005 at 15:28 UTC | |
by reasonablekeith (Deacon) on May 13, 2005 at 16:09 UTC | |
|
Re: Reading char-by-char from STDIN
by Anonymous Monk on May 14, 2005 at 03:38 UTC |