On Jul 5 17:41, Corinna Vinschen wrote: > On Jul 5 07:50, David Rothenberger wrote: > > On 11:59 AM, Corinna Vinschen wrote: > > >On Jul 3 14:02, Auteria Wally Winzer Jr. wrote: > > >>I noticed some very strange behavior with Ctrl-C. [...] > > >>$ ping www.yahoo.com > > >>PING www.yahoo.akadns.net (209.73.186.238): 56 data > > >>bytes > > >>Ctrl-C is not functioning... > > > > > >Thanks for the report. I fixed it in CVS. Check out the next developer > > >snapshot from http://cygwin.com/snapshots/ > > > > ping now seems to drop all but the first packet. > > Ok, I reverted the previous patch. For now you have to live with Ctrl-C > being unable to interrupt a hanging ping. I'm going to revamp the > socket handling in the next weeks anyway and I'm not quite ready to put > more time into this single problem.
Btw., the problem can be circumvented in ping itself, by applying the below patch. Corinna --- ping-1.0-1.c.orig 2006-07-05 19:45:23.452828500 +0200 +++ ping-1.0-1.c 2006-07-05 19:37:31.535938000 +0200 @@ -347,6 +347,7 @@ char *argv[]; setlinebuf( stdout ); signal( SIGINT, finish ); + siginterrupt (SIGALRM, 1); signal(SIGALRM, catcher); /* fire off them quickies */ -- 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/