ExReg has asked for the wisdom of the Perl Monks concerning the following question:
I am wondering if there is any way to determine if just the ALT key has been pressed. The biggest problem I have is that I am restricted to a 5.005 machine without the ability to load CPAN answers to my problem. I can do it on the Windows side with Win32::Console, but the linux side does not have that. I do not have Term::ReadKey, just Term::Cap. I can use sysread or read to get the odd keys, such as function keys or arrow keys, but not just the ALT key. I believe this may not be possible with the perl that I have. Ideas?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: ALTernative solutions?
by BrowserUk (Patriarch) on Dec 19, 2011 at 16:55 UTC | |
by ExReg (Priest) on Dec 19, 2011 at 17:29 UTC | |
by BrowserUk (Patriarch) on Dec 19, 2011 at 18:25 UTC | |
by ramlight (Friar) on Dec 19, 2011 at 19:18 UTC | |
by ww (Archbishop) on Dec 19, 2011 at 20:52 UTC | |
Re: ALTernative solutions?
by pobocks (Chaplain) on Dec 20, 2011 at 04:27 UTC | |
by ExReg (Priest) on Dec 21, 2011 at 23:02 UTC | |
by BrowserUk (Patriarch) on Dec 21, 2011 at 23:10 UTC |
Back to
Seekers of Perl Wisdom