Bob, et al --

...and then Bob Showalter said...
% 
% > -----Original Message-----
% > From: David T-G [mailto:[EMAIL PROTECTED]]
...
% > 
% > Is there a simple way to get perl to spit out one line per incoming
% > keycode?  That is, get it to spit out
% > 
% >   27, 79, 80
% >   27, 91, 50, 51, 126
% > 
% > when it sees F1 followed by Shf-F1 without a newline between them?
% 
% Well, if you want to really be using function keys and arrow keys
% and that kind of stuff, you really should use something like curses.

True, I'm sure, but that's part of this particular problem: we are trying
to figure out what shf-f1 and ctl-f1 send so that we can properly map
them in [n]curses or slang.


% 
% Then you can just refer to F1 as K_F1, etc.

Hmmm...  Any codes for shifted, controlled, alted?


% 
% Perl has a nice Curses.pm module to handle this.

I'm sure it does :-)  One step at a time for me, though...


Thanks again & HAND

:-D
-- 
David T-G                      * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/    Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

Attachment: msg25407/pgp00000.pgp
Description: PGP signature

Reply via email to