Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Mon, 7 May 2001 13:22:42 -0400 From: Christopher Faylor To: "'cygwin AT cygwin DOT com'" Subject: Re: Brainstorming a fix for CTRL-C handling in an emacs shell buf fer (non-TTY) Message-ID: <20010507132242.D27883@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: "'cygwin AT cygwin DOT com'" References: <8F23E55D511AD5119A6800D0B76FDDE11E100F AT cpex3 DOT channelpoint DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.11i In-Reply-To: <8F23E55D511AD5119A6800D0B76FDDE11E100F@cpex3.channelpoint.com>; from troy.noble@channelpoint.com on Sun, May 06, 2001 at 10:16:38PM -0600 On Sun, May 06, 2001 at 10:16:38PM -0600, Troy Noble wrote: >Christopher, > >Looks like t->getpgid() is OK, it's the > > t->getpgid () != myself->pid > >that's causing the behavior... and I think I understand why >now. Thanks for leading me in the right direction. > >What do you think about the patch below for exceptions.cc >instead? No extra environment variables required this time ;-> You're still fixing the symptom rather than the problem. If the program doesn't have a controlling tty then t->getpgid should be zero. If it isn't zero, then I want to know why it isn't zero. >to kill other non-cygwin child processes (like java.exe for example) >when running bash in a shell buffer. They probably had CYGWIN=tty >set. You probably already knew that, No, I didn't know that. It's difficult to understand why anyone would do something that dumb. If they do, they get what they paid for. Or, rather, I guess I'll get what they paid for because then they'll send email whining about cygwin instabilities. cgf -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple