delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/07/23/08:49:48

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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=iP/KTaENhufysLSpv7TtSE5VlkrOzI5T8eEPMocx2vmOwdfNgKv6E
mEs6c34hpYmRWOy67ZgmghNVu3c828a1SzSMavUki6mFUYx0zI5p6V4pswJt4B2E
VUKUgXtkp8Fct88z02GKI8ed8mUSy/MeOfRhpbtu2TXEnEQVFtHcTI=
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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=LTmQ/B8LE/Rmwhc6wQab8DcLAGE=; b=LkQL4AqFPoNJxwp4vPiW42tQ/Svz
BYjSiFlPFRb5tdAZnRWRzrjjipAcManJy3T3jH5HGRO/hUJ4CLRvn/7L3/aSH4Jh
d6mNIP3zOE5FJGtm0yxT92Fs7aBYpwPeDXOs8LDSJQ+MQJU9xwAtMUG6t/bWwYwh
jr0uoImLfwFoM4s=
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
X-Spam-SWARE-Status: No, score=0.1 required=5.0 tests=AWL,BAYES_50,RDNS_NONE autolearn=no version=3.3.1
Date: Tue, 23 Jul 2013 14:49:24 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: 1.7.22: CTRL+C on mingw applications
Message-ID: <20130723124924.GF9689@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <51EE6025 DOT 8070105 AT onevision DOT de>
MIME-Version: 1.0
In-Reply-To: <51EE6025.8070105@onevision.de>
User-Agent: Mutt/1.5.21 (2010-09-15)

On Jul 23 12:51, Roland Schwingel wrote:
> Hi...
> 
> Due to some odd hangs in some past versions of cywin1.dll (1.7.18 -
> 1.7.21) I was still using 1.7.17. Now I gave 1.7.22 a new try. The
> blocks seem to be resolved but well it appears that cygwin can now
> no longer break running standard windows/mingw tools.
> 
> I am using 1.7.22 (32bit) with mintty on windows 7 Ultimate 64bit.
> All cygwin packages are up to date. My $CYGWIN is set to
> "nodosfilewarning".
> 
> Pressing CTRL+C is simply ignored for mingw apps while it works for
> cygwin executables.

I would check for BLODA.  I just tried it with 1.7.22/32 bit on Windows
8/64.  I can break a system ping just fine, and I created a simple Mingw
application.  I tested them from bash and tcsh in mintty as well as in a
Windows console with identical behaviour:

  $ ping www.wdr.de

  Pinging e2636.g.akamaiedge.net [2.19.250.210] with 32 bytes of data:
  Reply from 2.19.250.210: bytes=32 time=59ms TTL=59

  Ping statistics for 2.19.250.210:
      Packets: Sent = 1, Received = 1, Lost = 0 (0% loss),
  Approximate round trip times in milli-seconds:
      Minimum = 59ms, Maximum = 59ms, Average = 59ms
  Control-C

  $ cat > x.c <<EOF
  #include <windows.h>
  #include <stdio.h>

  int main(void)
  {
    for (;;)
      {
	printf ("Hallo\n");
	fflush (stdout);
	Sleep (1000L);
      }
    return 0;
  }
  EOF
  $ i686-w64-mingw32-gcc -g -o x x.c
  $ ./x
  Hallo
  Hallo
  [Press ^C]
  $ 


Corinna

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

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