cli input and screen question(s)
| From: | Matthias Nothhaft | Date: | Fri, 13 Feb 2004 23:25:41 +0000 |
| Subject: | cli input and screen question(s) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-177663@lists.php.net to get a copy of this message | ||
Hi all of you,
does someone know how to "observe" the keyboard input
e.g. in a while loop so that I can do other stuff
between two keypresses!?
And is it possible to make a cli script responsable
for special keys like cursor, function (F1, F2...)
or Control/Alt-[somekey], PageUp/Down, Enter, Esc,...?
The other problem is: I would like to draw a screen
like midnight commander does. Is there a way to get that
work with PHP ?
How is it possible to clear the screen and to check out
row nums and column nums from within PHP?
Thanks in advance,
regards,
Matthias