This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Mintty Hang on Exit after SSH on Windows 10


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]