delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/04/05/16:43:59

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:reply-to:mime-version:to
:subject:references:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=j6ELuflSB6mNWvxm
nAFLMWeNcr2wenwKeHTT77+JtMkdNvJmymYpH4e8YBMQxjn4caMP3CjvPWvYbldt
t13dWNznjIxlC3H78KhIdSlxcWjzP/TlZr1ZwIWe6VGFX8hGvMgE3StGnnUl/jQj
9ApTBCYUvGfaCpb5rGP8SSbQ7ho=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:reply-to:mime-version:to
:subject:references:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=mlHYLEPcE93AS5C8YOtK3J
AsMqU=; b=uj4KUe45GXSzIaGaOY02OOnnXLDYT/1moBBYN6UZVtZBMSH6X2wY+X
PcHwAHQw89w72TVTvyShNSX/x7VFNdqG0cWQBW9G9jlAb5s6s9A8xZN1YfDdZ5Aw
GiHnQ/PISSuyro04i1GDxsRuJB6+tc/07hzXSzZrItZUYEVgE+y6E=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2
X-HELO: vms173019pub.verizon.net
Message-id: <53406AEF.80309@cygwin.com>
Date: Sat, 05 Apr 2014 16:43:27 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-to: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0
MIME-version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: 1.7.28: Ctrl-C not working reliably
References: <BLU404-EAS2010888D40BD8823CCAC899D96F0 AT phx DOT gbl>
In-reply-to: <BLU404-EAS2010888D40BD8823CCAC899D96F0@phx.gbl>

On 4/4/2014 3:35 PM, Ivan Todoroski wrote:
> Cygwin DLL 1.7.28 32-bit
> Windows 8.1 64-bit (build 6.3.9600)
>
> *Steps to reproduce*
> 1) Open Cygwin bash prompt
> 2) Type: ssh blargh  # or any non-existent host
> 3) Press Ctrl-C immediately after that
>
> On my machine, the Ctrl-C doesn't stop SSH from trying to look up the
> non-existent host, it keeps going until it gives up and times out (which
> takes about 10 seconds of my machine, YMMV).
>
> This problem is not specific to SSH, it just happens to be the most reliable
> way to reproduce it.
>
> It happens frequently with other programs too, but I haven't been able to
> find any pattern, it seems Ctrl-C sometimes works and sometimes doesn't.
> It's a regression because the cases where Ctrl-C doesn't work used to work
> in earlier Cygwin releases, but unfortunately I can't give you exact version
> numbers...
>
> I also checked that this happens both inside mintty and the native Win32
> console, it made no difference.

Right, I noticed no difference in behavior between either.  But ^C worked
for me, although with a slight (1 second) delay.  Interestingly enough,
using a qualified name (i.e. blargh.com) made it respond immediately.

-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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