Hi, On Tue, Apr 24, 2007 at 12:57:38AM +0200, Alain Bench wrote: > >| set index_format="%4C %Z %[%a·%d·%b] %-16.16F [%-12.12L] (%4c %4l) %s%> %M" > > It works fine since years and even inside uxterms with > > LC_CTYPE=en_US.UTF-8, but no other locale environment variables set. > > I sowewhat doubt this can work fine alone in an UTF-8 environment, > because the string contains Latin-1 chars.
I somehow knew that this kind of comment will come. :-) And yes, with only this line, it has those "can't decipher this UTF-8 character" boxes instead of the wanted mid dots. My mutt config is far more complex (beyond others it depends on the terminal and display settings) and has a lot of historically grown parts like pine-like keybindings (Christoph probably knows that from my university days), but works really fine with less than 254 columns. To determine what caused the segfault, I just comment out and in parts of my mutt config until I had one single configuration line causing a segfault. If mutt would only show garbage, refuses to cope with my config or just doesn't work right anymore, I would have fixed up my config instead of reporting bugs. But it segfaulted, so I reported it. :-) > Of course it starts working fine in all locales when the muttrc > charset is properly declared first: > > | set config_charset="iso-8859-1" > | set index_format="%4C %Z %[%a·%d·%b] %-16.16F [%-12.12L] (%4c %4l) %s%> %M" > > Do these 2 lines still segfault for you? Yes. Started it in an uxterm, having only these two lines in the .muttrc: env -i LC_CTYPE=en_US.UTF-8 USER=$USER HOME=$HOME TERM=xterm mutt -F ~/.muttrc Still segfaults if there are mails in the mailbox and independent of what kind of mailbox (checked mbox over NFS as well as our local default, which is IMAP via /etc/Muttrc.d/). And my .mutt/muttrc indeed has that line: | set charset="iso-8859-1" But as just tested, it's not necessary for the segfault. BTW: -F doesn't seem to prevent loading /etc/Muttrc (which is plain Debian, we just have IMAP and LDAP querys configured via /etc/Muttrc.d/). Any idea how I can prevent this without fiddling around as root? Didn't find anything in the man page except -F which only seems to count for ~/.muttrc. Oh, and I also was able to reproduce the same behaviour with Sarge on amd64. Kind regards, Axel Beckert -- Axel Beckert <[EMAIL PROTECTED]> support: +41 44 633 2668 IT Support Group, HPR E 86.1 voice: +41 44 633 4189 Departement Physik, ETH Zurich fax: +41 44 633 1239 CH-8093 Zurich, Switzerland http://nic.phys.ethz.ch/