delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/06/12:36:37

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
From: "Matthew Dornquast" <matthew AT code42 DOT com>
To: <cygwin AT cygwin DOT com>
Subject: orphaned child processes with rxvt
Date: Fri, 6 Sep 2002 11:36:40 -0500
Message-ID: <LPEKLFOGIADMAFCPPKAGAENPCAAA.matthew@code42.com>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

Hi Gang!

I've been living with this bug for 9 months, just upgraded and it appears to
still be there.

Background
I use windows XP and I like to use the Windows-R key to fire off various
handy remote shells.  i.e. my gw.bat file contains something like this:

start rxvt +sb -fn "fixedsys-9" -sl 5000 -geometry 120x40 -e ssh
gw.domain.com

I then hit windows-R .. type "gw" and hit return.

TADA!  I'm now ssh'd in a new window to the gateway host.  (Note:  I've
already authenticated via another method so I don't have to type password)

Here is where the bug comes in.

If I hit the "close" button in the window rather than typing "exit", rxvt
cleans up.. but there is still an "ssh" process alive and well sucking up 3
megs of ram.

I've tried various alternate command structures but it always has the same
result.  If you use the "-e" function in rxvt, and close the window, the
process you ran will most likely hang around.

I've searched the lists, I cannot find an alternate route to this solution
without incurring orphans.

(Yeah ok, if I type "exit" and hit return in the window, it will work.  But
for some reason I find myself unable to consistently do this.)

-Matthew

/**
 * Matthew Dornquast
 * Code 42, Inc.
 * Yahoo:  mdornquast
 * http://www.code42.com
 */


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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