Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #15542

Re: Binding Containing Escape Key Fails to Escape History Search

From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: Binding Containing Escape Key Fails to Escape History Search
Date 2019-10-30 13:43 -0400
Organization ITS, Case Western Reserve University
Message-ID <mailman.3.1572457422.3687.bug-bash@gnu.org> (permalink)
References <20191022025648.GA19869@midnight> <20191022214541.GC19869@midnight> <df23170a-8c66-9672-d03c-53215211e169@case.edu>

Show all headers | View raw


On 10/22/19 5:45 PM, sunnycemetery@gmail.com wrote:
> Moreover, the history search should be closed when the cursor is moved
> (e.g. as with the left arrow key bound to backward-char), but the cursor
> does not move (even with “æ” bound directly to forward-word).

Because that character doesn't terminate the search. The arrow keys "work"
because the ESC prefix terminates the search and the isearch code is
helpful and recognizes that input has arrived fast enough that it's
probably a multi-key sequence generated by an arrow key.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
		 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

Re: Binding Containing Escape Key Fails to Escape History Search Chet Ramey <chet.ramey@case.edu> - 2019-10-30 13:43 -0400

csiph-web