On Mon, 22 May 2006, Paul Dorman wrote: > Hi all, > > I've been racking my brains trying to read keystrokes in a Cygwin > shell with ActiveState Perl. Has anyone worked out how to read > individual keystrokes with a Perl script running in a Cygwin shell or > SSH session? We have standardized on ActiveState perl here (as not all > servers are actually running Cygwin).
Windows applications (like ActivePerl) are mostly off-topic on this list, especially since there's a perfectly good Cygwin alternative available (which, BTW, comes with Term::ReadKey). However, you do realize that "a Perl script running in a Cygwin shell or SSH session" may not even be running in a terminal as ActivePerl understands it, right? Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ [EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte." "But no -- you are no fool; you call yourself a fool, there's proof enough in that!" -- Rostand, "Cyrano de Bergerac" -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/