garbled display from mutt-devel?

Andrew Sullivan andrew at ca.afilias.info
Thu Oct 19 10:59:07 PDT 2006


Hello,

I recently was adding some packages from the ports collection, and in
the process my formerly-working mutt-devel installation went away. 
I've reinstalled it, but I now get garbled display in any mailbox. 
Specifically, wide characters, and especially the arrows for threads,
no longer display correctly.  So, where once I'd have had the little
line with the arrow, I get this:

?~T~T?~T~@>

This happens although I have not changed the terminal setting at all. 
As I say, it used to work, but I have no recollection of how I
installed it that time (since it was more than a year ago).

It happens irrespective of what locale I use.  Some wide glyphs,
however (particularly CJK glyphs) appear correctly.

I have a suspicion that it's because the program is linked against
libncurses instead of libncursesw.  How can I convince it to pick up
libncursesw?

The output of mutt -v:

ajs$ mutt -v
Mutt 1.5.13 (2006-08-11)
Copyright (C) 1996-2006 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type 
utt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: Darwin 8.8.0 (Power Macintosh) [using ncurses 5.4] [using
libiconv 1.11]
Compile options:
-DOMAIN
-DEBUG
-HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE  
+USE_FCNTL  -USE_FLOCK   -USE_INODESORT   
+USE_POP  +USE_IMAP  -USE_GSS  +USE_SSL_OPENSSL  -USE_SSL_GNUTLS
+USE_SASL  +HAVE_GETADDRINFO  
+HAVE_REGCOMP  -USE_GNU_REGEX  
+HAVE_COLOR  +HAVE_START_COLOR  +HAVE_TYPEAHEAD  +HAVE_BKGDSET  
+HAVE_CURS_SET  +HAVE_META  +HAVE_RESIZETERM  
+CRYPT_BACKEND_CLASSIC_PGP  +CRYPT_BACKEND_CLASSIC_SMIME
-CRYPT_BACKEND_GPGME  
-BUFFY_SIZE -EXACT_ADDRESS  -SUN_ATTACHMENT  
+ENABLE_NLS  -LOCALES_HACK  +HAVE_WC_FUNCS  +HAVE_LANGINFO_CODESET
+HAVE_LANGINFO_YESEXPR  
+HAVE_ICONV  -ICONV_NONTRANS  -HAVE_LIBIDN  +HAVE_GETSID  -USE_HCACHE  
-ISPELL
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/mail"
PKGDATADIR="/opt/local/share/mutt"
SYSCONFDIR="/opt/local/etc"
EXECSHELL="/bin/sh"
-MIXMASTER
To contact the developers, please mail to <mutt-dev at mutt.org>.
To report a bug, please visit http://bugs.mutt.org/.

And the reason I think it's not using libncursesw:

ajs$ otool -L `which mutt` | grep curs
        /opt/local/lib/libncurses.5.dylib (compatibility version
5.0.0, current version 5.0.0)


This is on a PB G4, 10.4.8.  


-- 
Andrew Sullivan                         204-4141 Yonge Street
Afilias Canada                        Toronto, Ontario Canada
<andrew at ca.afilias.info>                              M2P 2A8
jabber: ajsaf at jabber.org                 +1 416 646 3304 x4110



More information about the macports-users mailing list