delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/06/14/07:56:07

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Sat, 14 Jun 2008 13:55:38 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] Updated: cygwin-1.5.25-15
Message-ID: <20080614115538.GA731@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <announce DOT 20080614110510 DOT GY731 AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
In-Reply-To: <announce.20080614110510.GY731@calimero.vinschen.de>
User-Agent: Mutt/1.5.16 (2007-06-09)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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 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/

- Raw text -


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