[Linux-disciples] Trapping Keystrokes That Are NOT SIGs in Perl
Adam Rosi-Kessel
adam at rosi-kessel.org
Sun Aug 1 00:36:16 EDT 2004
On Sat, Jul 31, 2004 at 02:43:29PM -0400, Chung-chieh Shan wrote:
> On 2004-07-30T10:41:28-0400, Adam Rosi-Kessel wrote:
> > Anyone know if it's possible to trap keystrokes that are *not* signals in
> > Perl? I.e., I know how to trap a SIGINT; but what if I want to trap the
> > letter "f"?
> I think you want the Term::ReadKey module.
Yup, that does it, thanks.
--
Adam Rosi-Kessel
http://adam.rosi-kessel.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20040801/8300b0d5/attachment.pgp
More information about the Linux-disciples
mailing list