This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ctrl-c swallowed


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]