delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/07/13:25:55

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <cgf AT redhat DOT com>
To: "'cygwin AT cygwin DOT com'" <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'" <cygwin AT cygwin DOT com>
References: <8F23E55D511AD5119A6800D0B76FDDE11E100F AT cpex3 DOT channelpoint DOT com>
Mime-Version: 1.0
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

- Raw text -


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