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

Re: echo -e \\c or any other non-newline fails for zh_TW.Big5 bash



On Sat, 22 Feb 2003, Dan Jacobson wrote:
> please paste a=zh_TW.Big5;LC_CTYPE=$a;echo -e saw $a\\c
> into a xcinterm, xterm etc window and hit return.
> 
> z@debian:~$ a=zh_TW.Big5;LC_CTYPE=$a;echo -e saw $a\\c
> z@debian:~$ g5

I'm not sure it is an error / bug \\c cut the end char 
and the shell redraw over the your line 
with out the \\c you should able to get the same result
saw zh_TW.Big5 (instead of ) 
z@debian:~$ g5

> 
> look at that, a "g5" is left on the command line. a carriage return
> has covered up the rest.
> 
> now try
> z@debian:~$ a=C;LC_CTYPE=$a;echo -e saw $a\\c
> saw Cz@debian:~$ 
> 

I'm not sure this the correct result, since there is no 100% sure 
the shell will not draw over the char everytime. I try a loop with 
both case... they randomly show and not show 

> so C gives correct results. Anyway, I submitted a bash bug but they
> think i am crazy so dont answer. please submit a bug for me.
> 
> p.s. i dont subscribe to gmane.linux.debian.user.chinese.big5 due do
> spam, so CC me.
> 

-- 
To UNSUBSCRIBE, email to debian-chinese-big5-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

-- 
| This message was re-posted from debian-chinese-big5@lists.debian.org
| and converted from big5 to gb2312 by an automatic gateway.



Reply to: