public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Warren Young <wyml@etr-usa.com>
To: The Cygwin Mailing List <cygwin@cygwin.com>
Subject: Re: Mintty Hang on Exit after SSH on Windows 10
Date: Thu, 17 Sep 2015 21:36:00 -0000	[thread overview]
Message-ID: <B104D358-D8E8-452B-9CDA-ADDB34764CFD@etr-usa.com> (raw)
In-Reply-To: <55FB2B0C.9050004@towo.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

  reply	other threads:[~2015-09-17 21:36 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-17  8:10 Mintty Crash " Bryan Tong
2015-09-17 10:14 ` Marco Atzeri
2015-09-17 21:05   ` Mintty Hang " Thomas Wolff
2015-09-17 21:36     ` Warren Young [this message]
2015-09-30  5:10 ` Mintty Crash " Bryan Tong
2015-09-30  5:15   ` Bryan Tong
2015-09-30  5:21     ` Bryan Tong
2015-11-21  1:19       ` Bryan Tong
2017-11-03 20:02         ` Rick Maus
2018-04-23 15:48           ` cyg
2018-04-23 17:38             ` Thomas Wolff
2015-09-30  8:54     ` Thomas Wolff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=B104D358-D8E8-452B-9CDA-ADDB34764CFD@etr-usa.com \
    --to=wyml@etr-usa.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).