bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Issues with `rl_vi_change_char' function in combination with `_rl_vi


From: Chet Ramey
Subject: Re: Issues with `rl_vi_change_char' function in combination with `_rl_vi_redoing = 1'
Date: Sat, 17 Jun 2017 14:50:15 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.1.1

On 6/17/17 5:27 AM, Eduardo A. Bustamante López wrote:
> # When bash is compiled with multibyte support, the following happens:
> 
> - set -o vi
> - Type: <a><ESC><r><ñ><.>
> - Bash writes \261 to `mb[0]' and '\0' to `mb[1]' (ñ is U+00F1, or in
>   UTF-8, \303\261)

This needs changes similar to _rl_vi_last_search_char.

> - `mb' is of type signed char, and not really suitable to store a wide
>   character.

This doesn't really matter, since that's not the intent.

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]