bug-bash
[Top][All Lists]
Advanced

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

Re: accents


From: Thomas De Contes
Subject: Re: accents
Date: Thu, 25 Aug 2011 00:24:33 +0200

Le 16 mai 2011 à 17:02, Chet Ramey a écrit :

> On 5/9/11 10:46 AM, Thomas De Contes wrote:
>> 1
>> - execute
>> PS1="&# $PS1"
>> - drag & drop the file with the accent
>> - use "top arrow" and "bottom arrow" to move in the history :
>> at each time you move on the line containing an accent, it eats one character
>> 
>> 2
>> - type "enter" several times, to get a lot of lines printed on the terminal
>> - drag & drop the file with the accent several times, until it makes a 
>> command line too long to be written on only one line (the command line 
>> should be larger than the terminal) :
>> it should already begin to have a strange behavior, at this time (it doesn't 
>> continue on the next line)
>> - use "top arrow" and "bottom arrow" to move in the history :
>> at each time you move on the line containing an accent, it eats not only 
>> characters, but lines
> 
> These are both the result of a bug in Mac OS X.  Its implementation of
> wcwidth doesn't return correct results for Unicode and UTF-8 combining
> characters.

so, wcwidth is apple's responsibility, then no libre-software developer can do 
anything,
Am I right ?

How to report this problem to apple ? Or maybe is it already done ?


well, i don't think that apple will correct it in 10.6,

So, to work quietly, I think there is an other option :
ask bash to not display special characters on the interactive line (all what i 
type)

i think that 10.4 was configured so that, but i don't know how apple had 
configured bash
it displayed things like "\65\301" instead of "é" (i think)

it was not very nice for eyes, but at least there was no big bugs like 
described above :-)


> Take a look at my messages from yesterday for more details.

well, i red them, but i don't understand a lot of thing in this domain :-/

thank you very much for all :-)


-- 
Téléassistance / Télémaintenance
(adresse temporaire)
http://biocer.fr/invites/thomas-de-contes/




reply via email to

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