X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <4CC39F3A.8040808@cornell.edu> References: <20101018183438 DOT GA25878 AT ednor DOT casa DOT cgf DOT cx> <4CBCA2A5 DOT 4010601 AT cornell DOT edu> <20101018201805 DOT GA26254 AT ednor DOT casa DOT cgf DOT cx> <4CBD9DF2 DOT 3090804 AT cornell DOT edu> <20101019141557 DOT GA31784 AT ednor DOT casa DOT cgf DOT cx> <4CBE5F53 DOT 30402 AT cornell DOT edu> <4CBED0C3 DOT 6080001 AT cornell DOT edu> <20101020203254 DOT GA11903 AT ednor DOT casa DOT cgf DOT cx> <4CC39F3A DOT 8040808 AT cornell DOT edu> Date: Sun, 24 Oct 2010 06:10:37 +0100 Message-ID: Subject: Re: Sending signals to a subprocess From: Andy Koppe To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes 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 24 October 2010 03:51, Ken Brown wrote: > On 10/20/2010 4:32 PM, Christopher Faylor wrote: >> I think I'm seeing some pattern to the way Linux handles [tcgetpgrp] and= I >> should be able to make Cygwin work the same way. > > This seems to be fixed in the latest snapshot, as far as emacs is concern= ed. Works for mintty too. Thanks very much! > =C2=A0I no longer see any difference between Cygwin and Linux there. =C2= =A0I also get > the expected results when I run the test cases that Andy posted. =C2=A0Bu= t when I > run the original test case that you posted in > > =C2=A0http://cygwin.com/ml/cygwin/2010-10/msg00395.html > > I'm getting strange behavior. =C2=A0I ran it with no argument, getting > > 0 =3D tcgetpgrp(4) > 0 =3D ioctl(fd, TIOCGPGRP, &pid), pid =3D 0 > > but then the terminal seemed to hang, and I didn't get a new prompt. =C2= =A0I > tried this both in mintty and xterm. It worked for me a couple of times before I got the hang. Locking trouble? Andy -- 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