www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/01/06/20:54:18

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:message-id:date:from:to:references:subject
:content-type; q=dns; s=default; b=Ewakx8iZwZ1VFbiNq6y1XUeDoKqrf
UgA9M0LMVfsw3BT9YgOoDdrurQk1TCFfo/fgcOTDs/n/Ls9TOirpxpVSY7Dtdn8s
oZtHtAMo/BrztjOAhSnmryJBVuRZH2Nu26Z2+zkMlF6LTrD1nD62HsW6q67PYIRN
Jg2hnlp+yrKo8Q=
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:message-id:date:from:to:references:subject
:content-type; s=default; bh=FLxsL4os5Oujk3EAUiQBwGgzXcU=; b=phu
7ByEWdVERKRfS2toZvkWPb9L6nKqmv46/lUJWNr6PRzHd1Rt/FNU9+9L6+W/M3k3
3gB+l90Y1313uiwAi+5viz9dCg5XmCcAK9U1p9TtQN22qhU9fctbQbQSNIYeqq8g
95W1xul3hwRkeB5HyK1OT6ba/R76lgSADK4PR2Rs=
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.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=cw, bell, Cw, ctrl
X-HELO: mail-ot0-f177.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:to:references:subject :user-agent; bh=YgwZ5CsRB2nGs4BzCr8DCjuOibZzcJb+5UNogGnKn/Y=; b=FW6FBbAU45EY5PaLaByWQkAYGK5Fv4mSwJeXtmy8Pb9sDmMrWo7tTm3lx5TkNtXmrc 9iihZR4xho3KEWVO4VSiTYm57WSkSDEL7hm78mNHwFzaKtjIIFWpi/yMDDb97FLJTZkF f1R0+KBWIZ1sBlwOg8Hv+W+a795sIs7fiqYLFH/3BZpWFZYPrmRjz2MLWuDT880jYkUW LQ1rvST8FD6Ll4WzE3FyS8en+gj6Rf1GknEychE/fGx2+azVoU1pK0ZdzQzl9roByH5J +uur31iI5ajdDG/WNc/5rbgesui95PHv4/md+l1TV80JDbYCvZN0ozCaMs9+IsrELgyF N+rA==
X-Gm-Message-State: AKwxytcYzLiNFj0Qtqa9Y8hL9bI5kK503/qotzyBMyr44aePlx7sM3gz UdDlLx6+P2XpGVFCxyNMS/FIrg==
X-Google-Smtp-Source: ACJfBoskdkHnaK6/Ar/u39xorW7X8ksyK/b/UpchNXxcV0ZmUAJp3WJi5iL3nCkpP7gSP9cn/q0nUw==
X-Received: by 10.157.56.247 with SMTP id k52mr1460172ote.118.1515290042159; Sat, 06 Jan 2018 17:54:02 -0800 (PST)
Message-ID: <5a517db9.85e4ca0a.d4b73.6c57@mx.google.com>
Date: Sat, 06 Jan 2018 17:54:01 -0800 (PST)
From: Steven Penny <svnpenn AT gmail DOT com>
X-Google-Original-From: Steven Penny
To: cygwin AT cygwin DOT com
References: <CAK-n8j6pzV8p8to89s0k_H+Cc2uJ=YvZXZ56wRnH08uARChJGg AT mail DOT gmail DOT com>
Subject: Re: ESC followed by UP-arrow cause bash shell to hang
User-Agent: Tryst/2.1.0 (github.com/svnpenn/tryst)

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

- Raw text -


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