delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/10/24/03:43:41

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> <AANLkTikUc9i0h-g3QHGzqKKRGoJf0-xSPgu6wy1U+zZ=@mail.gmail.com> <4CBED0C3 DOT 6080001 AT cornell DOT edu> <AANLkTinoRNBvUpiCGpVWXKLh4kYtyF=USrVhSuOX7_18 AT mail DOT gmail DOT com> <AANLkTi=RPo4mvZzB_NTwwJ_2tX_R4OcjPLH6M5==4VrW AT mail DOT gmail DOT com> <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: <AANLkTik+ma_d6dQqf5tboS2v-vTnwg+ki-b7FL2v9o0C@mail.gmail.com>
Subject: Re: Sending signals to a subprocess
From: Andy Koppe <andy DOT koppe AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019