This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: ESC followed by UP-arrow cause bash shell to hang
- From: Steven Penny <svnpenn at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Sat, 06 Jan 2018 17:54:01 -0800 (PST)
- Subject: Re: ESC followed by UP-arrow cause bash shell to hang
- Authentication-results: sourceware.org; auth=none
- References: <CAK-n8j6pzV8p8to89s0k_H+Cc2uJ=YvZXZ56wRnH08uARChJGg@mail.gmail.com>
On Sat, 6 Jan 2018 17:49:08, Jim Reisert AD1C wrote:
I do a lot of command recall on the command line (xterm running on
Xorg server in Cygwin). One of the most common things I do is type
the UP-arrow once, then ESC-backspace to get rid of the last word on
the line, so I can change it to something else.
Ctrl + W also works:
$ bind -q unix-word-rubout
unix-word-rubout can be invoked via "\C-w".
Occasionally I type these two keys out-of-order, ESC followed by UP-arrow.
This seems to lock up the bash shell for about 30 seconds before control
returns.
not for me - it prints "[A", as well as triggering a "bell", but "lock up" for
me is about 1 second - however note i am using "Cygwin.bat" and custom
terminal [1].
also note if you chose to start using "Ctrl + W" it would avoid the problem, as
a mistaken "Ctrl, Up" would be the same as simply "Up"
[1] http://github.com/svnpenn/bay/blob/master/config/bash/cygwin-readline.ti
--
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