http://qs321.pair.com?node_id=944274

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?