delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/24/10:50:20

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-Id: <5.1.0.14.2.20020924074432.0315cc50@pop3.cris.com>
X-Sender: rrschulz AT pop3 DOT cris DOT com
Date: Tue, 24 Sep 2002 07:49:01 -0700
To: cygwin AT cygwin DOT com
From: Randall R Schulz <rrschulz AT cris DOT com>
Subject: Re: Promoting rxvt (non-X11)
In-Reply-To: <200209240734.g8O7YGX27232@mailgate5.cinetic.de>
Mime-Version: 1.0

Thomas,

I don't know much about readline, but Vi (and Vim) themselves don't respond 
to an escape immediately (as a command terminator or cancellation or a mode 
terminator). Rather, those applications require a timeout before taking the 
action associated with a single excape. Only if no other characters arrive 
before that timeout is the escape seen as an isolated input character. That 
way sequences that begin with escape are not incompatible with Vi's and 
Vim's use of a single escape to terminate or cancel a command or a mode.

Whether this applies to readline or not I don't know, but it does seem like 
an obvious oversight if it doesn't work this way.

Randall Schulz
Mountain View, CA USA


At 00:34 2002-09-24, Thomas Mellman wrote:
> > I also have a file in my home directory called .inputrc which
> > is used to configure the key used by bash, ftp, and some other
> > programs, I use the following entries (literal text) which mean
> > I can use the delete key as well as the backspace key, and other
> > keys, try it and see
>
>
>Am I correct in assuming you use the emacs-mode, not the vi-mode, of bash?
>
>I'd love to use .inputrc, but it seems that it's basically incompatible with
>vi-mode, because "escape-sequences" all begin with escape, and in
>vi-mode, the escape key switches to command mode.
>
>Somebody please tell me I'm wrong, and I've just always configured it wrong.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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