ctrl-c swallowed

Anders Lindén cygwin@cardioid.se
Mon Sep 1 06:23:00 GMT 2003


----- Original Message ----- 
From: "Brian Dessent" <brian@dessent.net>
To: <cygwin@cygwin.com>
Sent: Monday, September 01, 2003 1:56 AM
Subject: Re: ctrl-c swallowed


> Christopher Faylor wrote:
> 
> > >I don't know if this is the "officially correct" answer or not, but I
> > >find that ^C doesn't work right with some programs when run from
> > >CMD.EXE unless I have the "tty" flag added to the CYGWIN environment
> > >variable.  The users' guide has a section on how to do this, I'm sure.
> > 
> > CTRL-C is designed to work correctly with cygwin applications in either
> > tty or notty mode.  Please don't spread FUD if you aren't providing
> > details.
> 
> In pico, without CYGWIN=tty, pressing ^C does nothing.  With CYGWIN=tty,
> it works as it's supposed to (displays the current position.)  That's
> all, just my observation.


Yeah! Thats correct! For some reason, if pico (or nano) is runned with CYGWIN=tty,
it will make the terminal go crazy when it is terminating. The terminal will not display any output, just consume input.
"stty sane" or "reset" did not alter that behaviour...

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


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



More information about the Cygwin mailing list