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: 1.7.22: CTRL+C on mingw applications


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]