Interested in getting a single character at a time on the command line using
php.
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
I've got PHP up and running partially under Apache 2.0 quite some time ago,
however despite the sweetness of Apache 2, this is probably not something
you want to do. Looking forward to PHP coming out more fully for Apache 2.0,
if there is anything we can do to help it along I'm all ears.
August
How about giving users a chance to pass some context to the completion
function, like an array of acceptable commands? Otherwise for a system with
200 various menues you end up coding 200 function names.
August
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PR
3 matches
Mail list logo