delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/09/17/17:36:29

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
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
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 AT etr-usa DOT 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 AT mail DOT gmail DOT com> <55FA927F DOT 60704 AT gmail DOT com> <55FB2B0C DOT 9050004 AT towo DOT net>
To: The Cygwin Mailing List <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
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


- Raw text -


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