Re: How to read from keyboard?
- From: obduliosantana@xxxxxxxxx (Obdulio Santana)
- Date: Wed, 27 Feb 2008 13:28:12 -0500
2008/2/27, MK <halfcountplus@xxxxxxxxxxxxx>:
On 02/27/2008 09:04:50 AM, obdulio santana wrote:
-> Hi.
->
-> I want to read from keyboard some keys [pagedown],
-> [Home],[End][PageUp][up][left][down][right].
->
-> how can I do it?
->
-> Thanks in advance.
->
->
Term::Readkey also works but is poorly documented.
Does anyone know how to use the hex values from keysymdef.h (which
includes the entire extended keyboard) in a perl statement? So, eg.
if ($char eq "0x0057") {etc...}
Or where to get values for printf "\U" "\u" that will work?
I took a look of Term::Getkeys and Term::Readkey and tested some test code
but none helped me.
I want to read the following keys [home][End][Pageup][Page down]
please if someone has the tested version that read these keys I 'll
appreciate the solution .
Regards
- Follow-Ups:
- Re: How to read from keyboard?
- From: Mk
- Re: How to read from keyboard?
- From: Tom Phoenix
- Re: How to read from keyboard?
- From: Jim Gibson
- Re: How to read from keyboard?
- References:
- How to read from keyboard?
- From: Obdulio Santana
- Re: How to read from keyboard?
- From: Mk
- How to read from keyboard?
- Prev by Date: Re: How to read from keyboard?
- Next by Date: Re: How to read from keyboard?
- Previous by thread: Re: How to read from keyboard?
- Next by thread: Re: How to read from keyboard?
- Index(es):
Relevant Pages
|