This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Sending signals to a subprocess


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 concerned.

Works for mintty too. Thanks very much!

> ÂI no longer see any difference between Cygwin and Linux there. ÂI also get
> the expected results when I run the test cases that Andy posted. ÂBut when I
> run the original test case that you posted in
>
> Âhttp://cygwin.com/ml/cygwin/2010-10/msg00395.html
>
> I'm getting strange behavior. ÂI ran it with no argument, getting
>
> 0 = tcgetpgrp(4)
> 0 = ioctl(fd, TIOCGPGRP, &pid), pid = 0
>
> but then the terminal seemed to hang, and I didn't get a new prompt. ÂI
> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]