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


Groups > gnu.bash.bug > #14550

Re: Bash vi mode's e command (end of word) goes to eol when hitting a unicode character

From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: Bash vi mode's e command (end of word) goes to eol when hitting a unicode character
Date 2018-09-05 09:45 -0400
Message-ID <mailman.406.1536155146.1284.bug-bash@gnu.org> (permalink)
References <CAO_nHy=zert9rccYGQQOAcYmi5V=bq6eTgtx+AeANFoS_-HDww@mail.gmail.com>

Show all headers | View raw


On 9/3/18 7:13 AM, Enrico Maria De Angelis wrote:
> This is kind of a pedantic bug report.
> Basically it seems that bash's vi-mode doesn't use the same definition of
> words/Words/... that Vim uses (which is the facto the always installed
> version of vi), but I write you the same, just in case it's an easy task to
> do the fix (if you think this is really a bug).

Thanks for the report. The readline vi-mode code needs to be updated to
better handle multibyte characters in a few places; this is one.

Chet

-- 
``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: Bash vi mode's e command (end of word) goes to eol when hitting a unicode character Chet Ramey <chet.ramey@case.edu> - 2018-09-05 09:45 -0400

csiph-web