Interested in getting a single character at a time on the command line using

ie, I'd like to type 2 and be able to trap that keystroke right away and act
on it.

Before spending a lot of time tracking down possibilites (readline
input_buffer, reading the stdin pipe) thought I'd ask if anyone's done this
already and has an elegant way I'm missing.


- August

PHP General Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to