This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Mintty Hang on Exit after SSH on Windows 10
- From: Warren Young <wyml at etr-usa dot com>
- To: The Cygwin Mailing List <cygwin at cygwin dot com>
- Date: Thu, 17 Sep 2015 15:36:03 -0600
- Subject: Re: Mintty Hang on Exit after SSH on Windows 10
- Authentication-results: sourceware.org; auth=none
- References: <CAAARkvKRkbruuFyfOJd1qQvFT52oZSSGMKJczr6JtgokrWCHNg at mail dot gmail dot com> <55FA927F dot 60704 at gmail dot com> <55FB2B0C dot 9050004 at towo dot net>
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