Thank you for your reply Stuart, I will look at ncurses extensions.
-Andres
Stuart Dallas wrote:
On 4 May 2012, at 15:48, Andres Gonzalez wrote:
I am trying to code a CLI PHP script that will give me the keycodes for these
(and other) keyboard keys. I want to basically block until the us
On 4 May 2012, at 15:48, Andres Gonzalez wrote:
> I am trying to code a CLI PHP script that will give me the keycodes for these
> (and other) keyboard keys. I want to basically block until the user presses a
> single key, then I want to process that event without the user having to
> press the
David,
Thank you for your response.
The code does not run on my box. I get an undefined variable error on the:
if ($buffer != "") {
line.
Also, I need the code to block until the user presses a single key.
Plus, the fgets() routine does not return extended codes for pgUp, pgDn,
etc, only code
On Fri, May 4, 2012 at 10:48 AM, Andres Gonzalez wrote:
> I am trying to code a CLI PHP script that will give me the keycodes for
> these (and other) keyboard keys. I want to basically block until the user
> presses a single key, then I want to process that event without the user
> having to pr
I am trying to code a CLI PHP script that will give me the keycodes for
these (and other) keyboard keys. I want to basically block until the
user presses a single key, then I want to process that event without the
user having to press the Enter key after pressing a single key.
I have tried sev
5 matches
Mail list logo