X-Spam-Check-By: sourceware.org From: "Dave Korn" To: Subject: RE: Signals Date: Wed, 4 Jan 2006 18:47:04 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit In-Reply-To: <20060104183552.GA15026@trixie.casa.cgf.cx> Message-ID: Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Christopher Faylor wrote: > On Wed, Jan 04, 2006 at 11:25:27AM -0700, John Buttitto wrote: >> I wrote some simeple test code in Java to trap signals. Seems to work >> well, I then ported it to cygwin. The code listens for the SIGINT and >> prints a message. When I hit Ctrl-C while it is running the proper >> signal gets sent and traped. >> >> I then go to a second shell/Window and do a ps on the process running >> and try to send a kill -s SIGINT . In cygwin this does not work the >> process dies with out traping the signal. >> >> Was wondering if anyone else ran into this and what silly thing I am >> doing that causes the issue? >> >> Thanks! > > There was a problem with the setup.ini file on sourceware.org. It should > be fixed now but it will take a while to propagate. > > cgf Yes, but on the other hand I think the best way to get the IP address of the local machine would be something like curl 'http://ipid.shat.net/iponly/' 2> /dev/null | egrep -o '[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+' | sort | uniq cheers, DaveK -- Can't think of a witty .sigline today.... -- 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/