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:content-type:mime-version:subject:from
	:in-reply-to:date:content-transfer-encoding:message-id
	:references:to; q=dns; s=default; b=Lji8wPOpFcB51vZ8BDjYWygQ528J
	FeDtRoKCSj7ScWR6UmsTo528ek5sE1kOXDiTxBFzon90YTR2ZXFcW/QsdtA8zH4c
	ieBPhyn8nk45ixl6IQ3Ks/bSJWF9SOL5NANIMp5iO5tq9rtAJRUN7tAyub9n7BNX
	aQpXkVzM8YKQyrQ=
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:content-type:mime-version:subject:from
	:in-reply-to:date:content-transfer-encoding:message-id
	:references:to; s=default; bh=Ptu280RZ05jjW77rxYJ6Arg98o4=; b=o3
	1/VbZ8Ymzj4PqyEhS5gmgB6XixSX1EwuC5+lPEgmKLOd0lAvgRJrfFxrAk3wog6P
	MpF6miZpB/N53AyPd/oWijwWEUgoWUbq5m3GW7+nMThu71KvthBezGcG0+QvnLdG
	SjYsDacYrzC3xUiHHO9Mv1pq6WIZ44M4hDyehDkFs=
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-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.0 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,T_RP_MATCHES_RCVD autolearn=no version=3.3.2
X-HELO: etr-usa.com
Content-Type: text/plain; charset=windows-1252
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\))
Subject: Re: Mintty Hang on Exit after SSH on Windows 10
From: Warren Young <wyml@etr-usa.com>
In-Reply-To: <55FB2B0C.9050004@towo.net>
Date: Thu, 17 Sep 2015 15:36:03 -0600
Message-Id: <B104D358-D8E8-452B-9CDA-ADDB34764CFD@etr-usa.com>
References: <CAAARkvKRkbruuFyfOJd1qQvFT52oZSSGMKJczr6JtgokrWCHNg@mail.gmail.com> <55FA927F.60704@gmail.com> <55FB2B0C.9050004@towo.net>
To: The Cygwin Mailing List <cygwin@cygwin.com>
X-IsSubscribed: yes
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t8HLaPxp019561

On Sep 17, 2015, at 3:05 PM, Thomas Wolff wrote:
> 
>> what happens if you type "exit" instead of "ctl + a + d" ?
> What is ctl+a+d anyway? Both ctrl+a and ctrl+d in sequence?

It’s probably some bit of voodoo learned in a situation where Ctrl-D alone didn’t do what the OP wanted.  Ctrl-A goes to the beginning of the line in Bash’s default input mode, so it’s a no-op any time a subsequent Ctrl-D would exit the shell.

If there is input text at the shell prompt, Ctrl-A will go to the beginning of it, but Ctrl-D in that case does a backwards delete, like DEL on an IBM PC keyboard.  So again, there is no case I can think of where Ctrl-A + Ctrl-D is a better way to exit the shell than just Ctrl-D.
--
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


