On Mon, Jul 23, 2012 at 12:55:38PM -0500, Derek Martin wrote:
> I'm at a loss... Everything looks to be configured right on your
> system, and the e-mail displays correctly in Mutt for me; the hex dump
> was also not especially helpful. I would normally be inclined to
> point to your font, but you say when you use w3m as your pager, it
Not only w3m, it works for less, joe and emacs as well !
> works. That has me stumped. So, in spite of that, you might try
> installing the GNU Unifont (if you haven't already), and using that
> instead, and see if that helps -- though based on what you've said, I
> wouldn't expect so.
I've worked some hours the last days to find fonts in my system
which work for the pager. I've put the result in .Xdefaults:
! The following fonts work with mutt's builtin pager:
!
!XTerm*font: -schumacher-clean-medium-r-normal--12-120-75-75-c-60-iso10646-1
!XTerm*font: -misc-DejaVu Sans Mono-medium-r-normal--0-0-0-0-m-0-iso10646-1
!XTerm*font: -misc-fixed-medium-r-normal-ja-13-120-75-75-c-120-iso10646-1
!XTerm*font: -misc-fixed-medium-r-normal-ko-18-120-100-100-c-180-iso10646-1
!XTerm*font: -misc-fixed-medium-r-semicondensed--12-110-75-75-c-60-iso10646-1
XTerm*font: -gnu-unifont-medium-r-normal--16-160-75-75-c-80-iso10646-1
! The following fonts work with mutt's builtin pager
! except for one symbol ('∧'):
!
!XTerm*font: -adobe-courier-medium-r-normal--14-100-100-100-m-90-iso10646-1
!XTerm*font: -adobe-courier-medium-r-normal--14-140-75-75-m-90-iso10646-1
!XTerm*font:
-b&h-lucidatypewriter-medium-r-normal-sans-14-140-75-75-m-90-iso10646-1
! The following font works with mutt's builtin pager
! except for two special arrow symbols ('⇔' and '⇒'):
!
!XTerm*font: -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1
! The following fonts do not work with mutt's builtin pager,
! but they do work for w3m, less, joe and emacs:
!
!XTerm*font: -misc-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-1
!XTerm*font: -misc-fixed-medium-r-normal--15-140-75-75-c-90-iso10646-1
> If you do try it, I use that in my xterms with the following resource
> setting:
>
> XTerm*font: -misc-fixed-medium-r-semicondensed-*-13-*-*-*-*-*-iso10646-*
Where have you got this one from ?
> Presumably you've already made sure you're running with the latest
> versions of ncursesw, iconv, and any other relevant system libraries
> (i.e. your system is up to date). The last thing I can think to look
> at is to also run ldd on the w3m binary, and compare the sorted output
> to the sorted output of ldd mutt (perhaps with diff). This might
> suggest a different library that one is using, which may be a problem.
me@pollux:~ % ldd `which mutt`
/usr/local/bin/mutt:
libncursesw.so.8 => /lib/libncursesw.so.8 (0x2810d000)
libgssapi.so.10 => /usr/lib/libgssapi.so.10 (0x2815b000)
libheimntlm.so.10 => /usr/lib/libheimntlm.so.10 (0x28164000)
libkrb5.so.10 => /usr/lib/libkrb5.so.10 (0x28169000)
libhx509.so.10 => /usr/lib/libhx509.so.10 (0x281c7000)
libcom_err.so.5 => /usr/lib/libcom_err.so.5 (0x281fd000)
libcrypto.so.6 => /lib/libcrypto.so.6 (0x281ff000)
libasn1.so.10 => /usr/lib/libasn1.so.10 (0x2835b000)
libroken.so.10 => /usr/lib/libroken.so.10 (0x283d0000)
libcrypt.so.5 => /lib/libcrypt.so.5 (0x283e0000)
libssl.so.6 => /usr/lib/libssl.so.6 (0x28406000)
libintl.so.9 => /usr/local/lib/libintl.so.9 (0x2844f000)
libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x28458000)
libc.so.7 => /lib/libc.so.7 (0x28550000)
me@pollux:~ % ldd `which less`
/usr/bin/less:
libncurses.so.8 => /lib/libncurses.so.8 (0x280a8000)
libc.so.7 => /lib/libc.so.7 (0x280e8000)
me@pollux:~ % ldd `which joe`
/usr/local/bin/joe:
libm.so.5 => /lib/libm.so.5 (0x280e4000)
libncurses.so.8 => /lib/libncurses.so.8 (0x280fe000)
libutil.so.8 => /lib/libutil.so.8 (0x2813e000)
libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x2814d000)
libc.so.7 => /lib/libc.so.7 (0x28245000)
me@pollux:~ % ldd `which w3m`
/usr/local/bin/w3m:
libm.so.5 => /lib/libm.so.5 (0x28100000)
libgc.so.1 => /usr/local/lib/libgc.so.1 (0x2811a000)
libssl.so.6 => /usr/lib/libssl.so.6 (0x28155000)
libcrypto.so.6 => /lib/libcrypto.so.6 (0x2819e000)
libncurses.so.8 => /lib/libncurses.so.8 (0x282fa000)
libc.so.7 => /lib/libc.so.7 (0x2833a000)
The next one filtered because too long otherwise.
me@pollux:~ % ldd `which emacs` |grep libncurses
libncurses.so.8 => /lib/libncurses.so.8 (0x28e13000)
libncursesw.so.8 versus libncurses.so.8 ! Could that make the difference ?
Is +HAVE_CURS_SET or +HAVE_WC_FUNCS responsible here ?
Okay, basically the problem is solved. And I like the GNU Unifont.
Thank you very much, Derek, for your great help.
Our mutt port is version 1.5 since 22-Jul-12.
I hesitate to upgrade again for the moment, because last time everything
worked like 1.4 except .mailcap for some reason. So I went back to 1.4.
Harald
> > > > > Output of mutt -v is:
> > > > > Mutt 1.4.2.3i (2007-05-26)
> > >
> > > As I've already suggested, at least if we don't get you fixed with
> > > this version, you should really consider getting the latest (1.5.21)
> > > and compiling from scratch. It's not that hard, and it may contain
> >
> > No problem for me. Have followed this advice and reported in post dated
> > 8 Jul 2012. The port is mutt-devel-1.5.21_4 for us.
> > Didn't help. So I recompiled my original mutt.
> >
> > > bug fixes that eliminate your issues.
> > >
> > > Leaving this in for easy reference:
> > >
> > > > > System: FreeBSD 8.3-RELEASE (i386) [using ncurses 5.7]
> > > > > Compile options:
> > > > > -DOMAIN
> > > > > -DEBUG
> > > > > -HOMESPOOL +USE_SETGID +USE_DOTLOCK +DL_STANDALONE
> > > > > -USE_FCNTL +USE_FLOCK
> > > > > +USE_POP +USE_IMAP +USE_GSS +USE_SSL -USE_SASL
> > > > > +HAVE_REGCOMP -USE_GNU_REGEX +COMPRESSED
> > > > > +HAVE_COLOR +HAVE_START_COLOR +HAVE_TYPEAHEAD +HAVE_BKGDSET
> > > > > +HAVE_CURS_SET +HAVE_META +HAVE_RESIZETERM
> > > > > +HAVE_PGP -BUFFY_SIZE -EXACT_ADDRESS -SUN_ATTACHMENT
> > > > > +ENABLE_NLS +LOCALES_HACK +HAVE_WC_FUNCS +HAVE_LANGINFO_CODESET
> > > > > +HAVE_LANGINFO_YESEXPR
> > > > > +HAVE_ICONV -ICONV_NONTRANS +HAVE_GETSID +HAVE_GETADDRINFO
> > > > > -ISPELL
> > > > > SENDMAIL="/usr/sbin/sendmail"
> > > > > MAILPATH="/var/mail"
> > > > > PKGDATADIR="/usr/local/share/mutt"
> > > > > SYSCONFDIR="/usr/local/etc"
> > > > > EXECSHELL="/bin/sh"
> > > > > -MIXMASTER
> > > > > To contact the developers, please mail to <[email protected]>.
> > > > > To report a bug, please use the flea(1) utility.
> > > > >
> > > > > vvv.initials
> > > > > 1.3.28.nr.threadcomplete
> > > > > rr.compressed