From owner-freebsd-questions Fri Mar 21 7:25:16 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ACFEE37B401 for ; Fri, 21 Mar 2003 07:25:14 -0800 (PST) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB16143FAF for ; Fri, 21 Mar 2003 07:25:13 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.7/8.12.7) id h2LFPAVi060746; Fri, 21 Mar 2003 09:25:10 -0600 (CST) (envelope-from dan) Date: Fri, 21 Mar 2003 09:25:10 -0600 From: Dan Nelson To: Stacey Roberts Cc: Ceri Davies , FreeBSD Questions Subject: Re: Upgraded mutt, now all colours gone Message-ID: <20030321152510.GA52864@dan.emsphone.com> References: <20030321130829.GA28368@crom.vickiandstacey.com> <20030321133433.GA44753@submonkey.net> <1048254007.1773.72.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1048254007.1773.72.camel@localhost> X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.3i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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