<<< Date Index >>>     <<< Thread Index >>>

Re: index_format and <bar> vs <space>, segment fault



hi,
When reading Rado's message, my Mutt
(Mutt 1.5.11+cvs20060403) stops working. 
It quits with a segment fault.

The message can be displayed by vim and does
not make vim collapse, though vim can not 
display the message correctly. 

Similar problem appeared several times before.
I think it is because some "characters" which
can not be treated correctly by mutt in the 
zh_CN.GBK locale.

Can anyone tell me why? Is it a bug of Mutt?
Thank you.

I use debian testing, the following is the relevant
informations. The original message by Rado is attached
below.

The output of locale is
LANG=zh_CN.GBK
LANGUAGE=en_CN:en_US:en_GB:en:zh_CN
LC_CTYPE="zh_CN.GBK"
LC_NUMERIC="zh_CN.GBK"
LC_TIME=C
LC_COLLATE="zh_CN.GBK"
LC_MONETARY="zh_CN.GBK"
LC_MESSAGES="zh_CN.GBK"
LC_PAPER="zh_CN.GBK"
LC_NAME="zh_CN.GBK"
LC_ADDRESS="zh_CN.GBK"
LC_TELEPHONE="zh_CN.GBK"
LC_MEASUREMENT="zh_CN.GBK"
LC_IDENTIFICATION="zh_CN.GBK"
LC_ALL=

My charset of Mutt: 
set charset="gbk"
charset-hook ^us-ascii$ gbk
charset-hook ^gb2312$ gbk
charset-hook ^iso-8859-1$ gbk
charset-hook !utf-8 gbk
unset strict_mime
set assumed_charset="gbk"

On 2006-05-30, Rado S (rado@xxxxxxxxxxxxxxxxxxx) wrote:
> [=- Michelle Konzack wrote on Fri 26.May'06 at 14:26:46 +0200 -=]
> 
> > currently I am using in the index_format
> >     "%5C  %S  %4c  %D  %-30.30s  %> %n
> > but I want to have something like
> >     "%6C|%S|%4c|%D|%-35.35s|%>%n
> > which is not realy what I want, because the <bar> "|" is
> > not continious.
> > {...}
> > How can I get a <bar> liket this from the old IBM-Terminals on
> > the <number-block>?
> 
> This is a font issue. Use anotherone where the | looks like you
> want it to be. But maybe another char exists in your font that is
> more what you're looking for. Choose from:
> 
> oct dec hex ASCII
>  40  32 20:  !"#$%&'()*+,-./
>  60  48 30: 0123456789:;<=>?
> 100  64 40: @ABCDEFGHIJKLMNO
> 120  80 50: PQRSTUVWXYZ[\]^_
> 140  96 60: `abcdefghijklmno
> 160 112 70: pqrstuvwxyz{|}~
> 
> 
> 240 160 a0: 牎ⅲぅΗī??????
> 260 176 b0: 氨渤吹斗腹夯冀究
> 300 192 c0: 懒旅呐魄壬仕掏蜗
> 320 208 d0: 醒矣哉肿刭谯茌捱
> 340 224 e0: 噌忏溴骁栝觌祉铒
> 360 240 f0: 瘃蝮趱鲼????????
> 
> -- 
> ? Rado S. -- You must provide YOUR effort for your goal!
> Even if it seems insignificant, in fact EVERY effort counts
> for a shared task, at least to show your deserving attitude.