This is the mail archive of the cygwin 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: [ANNOUNCEMENT] Updated: cygwin-1.5.25-15


On Jun 14 13:05, Corinna Vinschen wrote:
> I've uploaded a new release Cygwin 1.5.25-15.  This is a bug fix
> release.
> 
> 
> Changes since version 1.5.25-14:
> 
> - Fix a potential problem with pressing Ctrl-C in remote sessions from
>   within a Windows console.  Under some circumstances a Ctrl-C keypress
>   in a remote session can end the remote session unexpectedly.  This can
>   happen, for instance, when running an ssh session with X11 forwarding.

On second thought, this description is a bit misleading.  Actually
the problem might occur in pure local circumstances as well.

What happens is that a parent process sets the console to raw mode and
then starts a child process.  When the child process starts, Cygwin
might set the console back to cooked mode without the child process
actually requesting that.  When you now press Ctrl-C, instead of just
returning the ASCII value of that control code, a SIGINT signal is sent
to the parent process.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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