X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Tue, 11 Sep 2007 16:50:14 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: cygrunsrv and pause? Message-ID: <20070911205014.GB14421@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20070911192917 DOT GI4000 AT interface DOT famille DOT thibault DOT fr> <20070911203400 DOT GA14421 AT ednor DOT casa DOT cgf DOT cx> <20070911204436 DOT GL4000 AT interface DOT famille DOT thibault DOT fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070911204436.GL4000@interface.famille.thibault.fr> User-Agent: Mutt/1.5.16 (2007-06-09) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: 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 On Tue, Sep 11, 2007 at 10:44:37PM +0200, Samuel Thibault wrote: >Christopher Faylor, le Tue 11 Sep 2007 16:34:00 -0400, a ?crit : >> On Tue, Sep 11, 2007 at 09:29:17PM +0200, Samuel Thibault wrote: >> >Could cygrunsrv have an option to set signals that should be sent on net >> >pause / net continue? >> >> Dunno. Does it seem feasible after looking at the source code? > >The issue I can see is the feedback from the application, telling "ok, >I'm now paused". One way could to use signals again, by using siginfo >in the SIGPAUSE handler in the application for knowing who to send a >signal back. The same signal could be used for both ways for instance. A quick grep does not unearth anything with the term "SIGPAUSE" or "siginfo" in the cygrunsrv sources. You seem to be talking about some other sources. My thinly veiled suggestion was that you should take a stab at doing this yourself by inspecting the cygrunsrv sources. The ChangeLog for this application shows a fair number of submissions from different people so you would be in good company if you provided a patch. cgf -- 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/