X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:content-type
	:content-transfer-encoding:date:from:to:subject:in-reply-to
	:references:message-id; q=dns; s=default; b=gyY8FCqc8zNgNUFcywXp
	QvC6PBoOCXA/gj7sjoOmpqPhTlSmGvVYZFnyZfOC4kxhOq9riimQ/G1VbfPP+2FZ
	14FGP6oqENVvL26o5R4Wg9kpCMn+Z1YBt9KIVUMAYMMHHSckgS74b+x5WX2THgNI
	RjImFX82Sn3seBTZVra0Rn0=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:content-type
	:content-transfer-encoding:date:from:to:subject:in-reply-to
	:references:message-id; s=default; bh=r5ntFRqA9HHZfDIE5g2QL/Q6XI
	M=; b=O1DFXtJEAB3+Ja9OtMJbuO3/Riyt1GKTp7sESJkuZB8vHW2y21kirYdkNW
	KSBRHlUv3BqEXrSJE3wvkpwIkwSdLDUj9sah1C2evCqrbP1T0tZdzJLEqJDQY7Jz
	b34h0Yss4dRPhA41btc0iyHMUsCGlR+e9a+Y+KwwZutSqFnuE=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-4.7 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,KAM_ASCII_DIVIDERS,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=Greetings, how's, hows, occasion
X-HELO: tha.dds.dk
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII; format=flowed
Content-Transfer-Encoding: 7bit
Date: Fri, 03 Aug 2018 12:01:50 +0200
From: nkj@internetgruppen.dk
To: cygwin@cygwin.com
Subject: Re: ssh cause mintty terminal not to close (tested on 4 cygwin installations)
In-Reply-To: <1907135563.20180803000839@yandex.ru>
References: <CAOxx+NJJJggH93wpULm8TrRO-M-M3FPdiu=UQ3QtRRwO-BYFSg@mail.gmail.com> <1907135563.20180803000839@yandex.ru>
Message-ID: <592e78b20f5c81db97104f235696e422@internetgruppen.dk>
X-Sender: nkj@internetgruppen.dk
User-Agent: Roundcube Webmail/1.3.0

On 2018-08-02 23:08, Andrey Repin wrote:
> Greetings, Niels Kristian Jensen!
> 
(cut)
> 
> A long known issue.
> mintty holds terminal open if last program finished with failure.
> ssh somehow tripping this wire on occasion.

OK.

>> This may seem like a minor thing, but we have much trouble with 
>> Jenkins
>> builds (started via Cygwin OpenSSH) which randomly hang forever - I 
>> wonder
>>  if this could be a clue in this investigation.
> 
(cut)
> 
> Try upgrading your mintty, also, if it's about automated building 
> environment,
> I don't see how's mintty can be involved.

If the "non-closure" of mintty  is completely internal in mintty and not 
a handshake-mistake with the cygwin dll or the OS, then I agree. It 
seems to be the case, reading the link provided by Thomas Wolff.


For cyg Simple:
I am stuck with Cygwin 32 bit because of some tools, we use. A team is 
trying to get it to work with 64 bits, but that is not there yet.


For Thomas Wolff:
The link explains return code handling in mintty & ssh. A valid reason 
to update mitty.

Thank you, Andrey, cyg Simple & Thomas Wolff :-)

------------------------------------------
Spejd er sejt!

Det Danske Spejderkorps
------------------------------------------

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

