Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Mar 2003 09:25:10 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Stacey Roberts <stacey@vickiandstacey.com>
Cc:        Ceri Davies <setantae@submonkey.net>, FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Upgraded mutt, now all colours gone
Message-ID:  <20030321152510.GA52864@dan.emsphone.com>
In-Reply-To: <1048254007.1773.72.camel@localhost>
References:  <20030321130829.GA28368@crom.vickiandstacey.com> <20030321133433.GA44753@submonkey.net> <1048254007.1773.72.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Mar 21), Stacey Roberts said:
> On Fri, 2003-03-21 at 13:34, Ceri Davies wrote:
> > On Fri, Mar 21, 2003 at 01:08:29PM +0000, Stacey Roberts wrote:
> > > I've portupgraded mutt to mutt-1.4.1 just now, and I noticed that
> > > all my colour settings have disappeared (not working), where this
> > > was fine before the upgrade. Specifically, none of the text of
> > > messages appear with the colours that they previously had with
> > > the old version of mutt. Now everything in mutt is the same green
> > > (text) on the termincal background.
> > 
> > Try adding
> > 	WITH_MUTT_SLANG=yes
> > to /etc/make.conf and then recompiling.
> > 
> > Actually, add WITH_SLANG=yes as well, as I think it's different for
> > the mail/mutt port.
> 
> What do those variables (for the mutt port) do? And is there
> something not right in the way the mutt port is handled by
> portupgrade or something?

No; the reason this "fixes" your problem is that slang ignores the
contents of the terminal description and assumes that if TERM=xterm,
you have color.  Ncurses will only send escape sequences allowed by
your TERM variable, and 'xterm' has no color capability.  The real
solution is to either put

*TermName: xterm-color

in your .Xresources file, or edit /usr/share/misc/termcap and make
xterm a copy of xterm-color.
 
-- 
	Dan Nelson
	dnelson@allantgroup.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030321152510.GA52864>