On 3/28/12 11:11 PM, Yichao Yu wrote:

>> Pretty much everything else in bash uses characters, which may be bytes
>> depending on the locale.
>>
>> Can someone who's more familiar with the bash completion package tell me
>> whether or not it uses COMP_POINT at all?  That's about that only thing
>> I can think of that would use it.
> 
> It DOES use COMP_POINT. And this is the most annoy thing and also how
> I notice the issue. I reported a bug for bash-completion here
> (https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=313583&group_id=100114)
> and soon discovered this is a bush issue.

Yep, it seems pretty clear that the appropriate fix is to make COMP_POINT
a locale-aware character count rather than a locale-independent byte
count.

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

Reply via email to