bug-bash
[Top][All Lists]
Advanced

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

Re: [Bug-readline] incorrect "erase" of multibyte characters in "reverse


From: Chet Ramey
Subject: Re: [Bug-readline] incorrect "erase" of multibyte characters in "reverse-i-search" mode.
Date: Wed, 14 Jan 2015 11:01:56 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.3.0

On 1/13/15 6:05 AM, Kyrylo Shpytsya wrote:
> readline version: 6.3_p8 and the one in devel branch of bash
> OS: gentoo linux "unstable", kernel 3.17, UTF-8 locale
> To reproduce:
> 
> in bash, press Ctrl-R to invoke reverse-i-search mode, enter any multi-byte
> character (on US keyboard layout LAlt+1 seems to produce "±" which is multi
> byte), press backspace.
> 
> Expected behaviour: last character being erased. Actual behaviour:
> apparently a single byte is erased instead, leaving an incorrect UTF-8
> character.

Thanks for the report.  This will be fixed in the next version of bash
and readline.

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



reply via email to

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