X-Recipient: archive-cygwin@delorie.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@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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@cygwin.com>
Reply-to: cygwin@cygwin.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@cygwin.com
Subject: Re: 1.7.28: Ctrl-C not working reliably
References: <BLU404-EAS2010888D40BD8823CCAC899D96F0@phx.gbl>
In-reply-to: <BLU404-EAS2010888D40BD8823CCAC899D96F0@phx.gbl>
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 7bit

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

