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 c...@case.edu http://cnswww.cns.cwru.edu/~chet/