Martin Holm wrote:
I'm currently working on some stuff with php-cli and got a few problem.
I want to be able to read one single character from stdin via keyboard,
ie. pressing a button.
It works fine if I use enter as newline afterwards, but I would like to
do it without pressing enter.
Thus, I
On Thu, 2004-09-09 at 14:10, Martin Holm wrote:
I'm currently working on some stuff with php-cli and got a few problem.
I want to be able to read one single character from stdin via keyboard,
ie. pressing a button.
It works fine if I use enter as newline afterwards, but I would like to
do
On Thu, 2004-09-09 at 14:10, Martin Holm wrote:
I'm currently working on some stuff with php-cli and got a few problem.
I want to be able to read one single character from stdin via keyboard,
ie. pressing a button.
It works fine if I use enter as newline afterwards, but I would like to
On Thu, 2004-09-09 at 15:25, Jim Grill wrote:
exec(stty -icanon min 0 time 0);
Nice.
I suspect 'phpSnake' will appear on freshmeat in a couple days.
:)
--
Greg Donald
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Greg Donald wrote:
On Thu, 2004-09-09 at 15:25, Jim Grill wrote:
exec(stty -icanon min 0 time 0);
Nice.
I suspect 'phpSnake' will appear on freshmeat in a couple days.
:)
thats more or less what we are trying to do. =)
pong as a start at least.
doing it all over again, this time
5 matches
Mail list logo