I forgot to Cc this here.

----- Forwarded message from Walter Alejandro Iglesias <[email protected]> -----

From: Walter Alejandro Iglesias <[email protected]>
To: Anton Lindqvist <[email protected]>
Subject: Re: ksh(1): vi mode UTF-8 bug
In-Reply-To: <[email protected]>
X-Newsgroups: gmane.os.openbsd.tech
User-Agent: tin/2.4.1-20161224 ("Daill") (UNIX) (OpenBSD/6.1 (amd64))
Status: RO
Content-Length: 703
Lines: 25

Hi Anton,

In article <[email protected]> you wrote:
> Hi,
> Another UTF-8 related bug reported by tb@. How to re-produce:
> 
> 1. Enable vi mode:
> 
>    $ set -o vi
> 
> 2. Input the following characters: ??a
> 
> 3. Press escape and then x twice.
> 
> 4. An invalid UTF-8 character is displayed.
> 
> Similar to one of my previous diffs, looks like the column counter is
> wrong. The diff below fixes the problem and includes a regression test.
> I'm not running vi mode myself so further testing would be appreciated.
> 

There is still a similar issue when you try to "replace" a utf-8
character (in command mode press 'r' to replace a single character or
'R' to replace a string).


----- End forwarded message -----

Reply via email to