This is the mail archive of the cygwin@sources.redhat.com 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]

Re: subprocs in Emacs shells won't die with comint-interrupt-subjob


>>>>> "Jeff" == Jeff Jensen <jeffjensen@nospam.visi.com> writes:
  Jeff> I also have the same issue most of the time.  I resort to using the Kill
  Jeff> option on the Signals menu and it always works.  I may try the Quit option
  Jeff> first and occasionally it works too (C-c C-\).

  Jeff> -----Original Message-----
  Jeff> From: cygwin-owner@sources.redhat.com
  Jeff> To: cygwin@sourceware.cygnus.com
  Jeff> Subject: subprocs in Emacs shells won't die with comint-interrupt-subjob

  Jeff> With the new Cygwin, when I run a subprocess in an Emacs shell,
  Jeff> pressing C-c C-c (which executes "comint-interrupt-subjob") does not
  Jeff> kill the subprocess.  The title bar flashes, but that's all.  When the
  Jeff> running process is a Java application, it also does a thread dump,
  Jeff> which is supposed to happen when it gets a "QUIT" signal.  I've
  Jeff> verified these symptoms with Emacs v 20.4, 20.6, and 20.7.

  Jeff> However, if I retreat to Cygwin B20.1, without changing anything else,
  Jeff> this symptom goes away.  Pressing C-c C-c in the shell properly kills
  Jeff> the subprocess.

  Jeff> I'd really like to move up to the new cygwin, but not being able to
  Jeff> easily kill subprocesses in the shell is extremely inconvenient.

So it appears that with the old cygwin, it is sending the correct
"interrupt" signal, but with the new cygwin, it is sending the "quit"
signal.  Does anyone know why this might be happening?  Is anyone
addressing this issue?

-- 
===============================================================================
David M. Karr     ; dkarr@tcsi.com  ; w:(425)487-8312 ; TCSI & Best Consulting
Software Engineer ; Unix/Java/C++/X ; BrainBench CJ12P (6/12/2000)


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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