delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/05/23/03:05:49

X-Spam-Check-By: sourceware.org
Date: Tue, 23 May 2006 00:05:23 -0700
From: Yitzchak Scott-Thoennes <sthoenna AT efn DOT org>
To: cygwin AT cygwin DOT com
Subject: Re: Reading Term::ReadKey support for ActiveState Perl and Cygwin
Message-ID: <20060523070523.GA756@efn.org>
References: <85a409ca0605211622q7acb3708v897b20652c7c31d0 AT mail DOT gmail DOT com> <Pine DOT GSO DOT 4 DOT 63 DOT 0605212133300 DOT 21697 AT access1 DOT cims DOT nyu DOT edu>
Mime-Version: 1.0
In-Reply-To: <Pine.GSO.4.63.0605212133300.21697@access1.cims.nyu.edu>
User-Agent: Mutt/1.4.2.1i
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Sun, May 21, 2006 at 09:39:16PM -0400, Igor Peshansky wrote:
> 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?

Hence his question, I believe.  I'd think ways of making a windows app
happy with pty stdin/stdout would be on-topic (though in most cases,
changes to the windows app seem to be not an option, so there's not
much to talk about.)

Paul, can you show what you've tried, and what exactly is the trouble
spot?  If people really think it's not appropriate to discuss here,
perhaps you could ask at:

http://perlmonks.org/?node=Seekers+of+Perl+Wisdom.

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019