delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/06/12/16:28:36

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
Message-ID: <20030611165402.38063.qmail@web14903.mail.yahoo.com>
Date: Wed, 11 Jun 2003 09:54:02 -0700 (PDT)
From: Matt <grnfvr AT yahoo DOT com>
Reply-To: matt AT mattflo DOT com
Subject: Re: Processes are unable to fully discard their controlling terminal
To: cygwin AT cygwin DOT com
MIME-Version: 1.0

I would like ssh-agent to function like you say it is
for you... but i can't understand what you did besides
obtain the latest versions which i should have..  what
else do i need to do?
-------------------------------------------------
Christopher Faylor wrote:
> On Sun, Mar 02, 2003 at 12:43:28PM -0500,
Christopher Faylor wrote:
>> On Sun, Mar 02, 2003 at 12:33:04PM -0500,
Christopher Faylor wrote:
>>> On Sun, Mar 02, 2003 at 03:33:56PM -0000, Max
Bowsher wrote:
>>>> Processes that attempt to shed their controlling
terminal do so
>>>> well enough for the tty to show as ? in ps
output, but they still
>>>> keep the console window they were launched from
open, after all
>>>> other processes using it have exited.
>>>>
>>>> This is particularly annoying with ssh-agent - if
I exit the shell
>>>> in the terminal that launched it, that terminal
becomes a zombie,
>>>> hanging around for no purpose. If I close that
window using the
>>>> Windows close box, the ssh-agent is killed.
>>>>
>>>> I'm not an expert in the ways of Unix ttys. Can
anyone help me
>>>> understand where the problem lies?
>>>
>>> setsid()
>>
>> I think I see the problem.  It will be tricky to
fix but I'll see
>> what I can do.
>
> I've checked in some changes that seem to fix the
reported behavior.
>
> Does the current snapshot rectify this behavior?

It does. Thankyou *very* much! A same-day bugfix is
absolutely amazing!

I can now successfully share an ssh-agent between all
my shells, with it
starting with the first one, and ending with the last,
and no zombie windows
if I end shells in the wrong order.


Max.


__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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