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


Groups > gnu.bash.bug > #14547

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

Path csiph.com!goblin3!goblin2!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail
From Enrico Maria De Angelis <enricomaria.dean6elis@gmail.com>
Newsgroups gnu.bash.bug
Subject Bash vi mode's e command (end of word) goes to eol when hitting a unicode character
Date Mon, 3 Sep 2018 13:13:03 +0200
Lines 23
Approved bug-bash@gnu.org
Message-ID <mailman.330.1535979772.1284.bug-bash@gnu.org> (permalink)
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding quoted-printable
X-Trace usenet.stanford.edu 1535979773 3865 208.118.235.17 (3 Sep 2018 13:02:53 GMT)
X-Complaints-To action@cs.stanford.edu
To bug-bash@gnu.org
Envelope-to bug-bash@gnu.org
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=PWWLBLY9g8eyp7Z03M02VtLOI252DBif1D9uIQVucaM=; b=lRvUXgzfNHTkkfuknXjOydPBhoiQlUYbOrc5hTbaTNGRRWqXDkLw5QF2jP0UUG6nvl fHtv3O7vUUH+O/fYSU3eaLnnJ6/hBBppPcHC13ifVWTmBnFukhZAdPHDE3x6XOlLZwpd Nw3BHSUmlH392TNgF8c2X2aBdj8YfppDfAAzKUU6k3pvjku2doZ2/RSOVTW5O+UKpDfQ yPHOIMNokDFrazmuofjwfeIv1lRvnNyh75gCk2zY3q1MD8iPspxYGqMDVZup7PM/9X7U 6zo1VZTHSPtQoDu1HW3ruM653nU/8oViQ4AVrs3u9TRAtKC52+ndk16isUBPw22IgcLm JLsA==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=PWWLBLY9g8eyp7Z03M02VtLOI252DBif1D9uIQVucaM=; b=bspdpdJh0EeqIZ/c6Gpw0isOZLCzG8FND0jcnaS0bdqc7QBGW2O3VAtjkGU6+RzlSB ls8s2aTOyXl6ljVqC5con1X5N2FOEop38il/mgbt/ri4EWUSPLfWcMn0QTV5KlFhgIZW iXPUgn1pwNT+UcMzey2mt8uLtIYacxr1DlgkKjSivNwEO2DQiR3hOFdna/tmHCQNt6So SChhoGEmP3rAiL6+gg+lL1S43MOzzN2vFhqmn/8Gbkz8fq7JWLaZ2blB7MZLW/4pAngF xrzUazLdDkGvwbyEAnmzO7rBMdA4It0l/rtdgtoKSVhXu12GSCeUI07k20XO0NcGgYpA QTaw==
X-Gm-Message-State APzg51Csgo9CSzNTOsk13kvMaopav0qeX6i5zEIop7CXvlDhHKX1Wpyk xcDc0mkjnENAmGt0HMBs8M05oNgfCbtrSvhrEwHwFq7o
X-Google-Smtp-Source ANB0VdbUMn31y4BYBLjY//L2vqoXUjYT8xBonDhF2WPm/irhHlkjRYEGWvheqsopgZ/LlyIcShf5YS/AD5NQyO6QT4M=
X-Received by 2002:a5d:5685:: with SMTP id f5-v6mr19927711wrv.58.1535973195021; Mon, 03 Sep 2018 04:13:15 -0700 (PDT)
X-detected-operating-system by eggs.gnu.org: Genre and OS details not recognized.
X-Received-From 2a00:1450:4864:20::42f
X-Mailman-Approved-At Mon, 03 Sep 2018 09:02:51 -0400
X-Content-Filtered-By Mailman/MimeDel 2.1.21
X-BeenThere bug-bash@gnu.org
X-Mailman-Version 2.1.21
Precedence list
List-Id Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe>
List-Archive <http://lists.gnu.org/archive/html/bug-bash/>
List-Post <mailto:bug-bash@gnu.org>
List-Help <mailto:bug-bash-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe>
Xref csiph.com gnu.bash.bug:14547

Show key headers only | View raw


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).

The version number of bash: GNU bash, version 4.4.23(1)-release
The hardware and operating system: Arch LInux (constatly update)
The compiler used to compile: I didn't compile bash myself
A description of the bug behaviour: & A short script or `recipe' which
exercises the bug:
While vi-editing a line like the following
$ ls bulk32³ grids.dat COPYING
with the cursor in normal mode at the beginning of the line, hitting e
repeatedly, cause the cursor to move in order to
s of ls (correct)
2 of bulk32³ (correct, since Vim itself works like this, with an end of
word being detected in between 2 and ³)
end of line (wrong)

Kind regards,
Enrico Maria De Angelis

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


Thread

Bash vi mode's e command (end of word) goes to eol when hitting a unicode character Enrico Maria De Angelis <enricomaria.dean6elis@gmail.com> - 2018-09-03 13:13 +0200

csiph-web