Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Jun 2010 10:13:34 -0700
From:      Chip Camden <sterling@camdensoftware.com>
To:        Thomas Dickey <dickey@radix.net>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: ncurses
Message-ID:  <20100605171334.GA60226@libertas.local.camdensoftware.com>
In-Reply-To: <20100604235256.GA14240@saltmine.radix.net>
References:  <20100604150234.GA56195@libertas.local.camdensoftware.com> <20100604235256.GA14240@saltmine.radix.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jun 04 2010 19:52, Thomas Dickey wrote:
> On Fri, Jun 04, 2010 at 08:02:34AM -0700, Chip Camden wrote:
> > Thanks to some help from Joel Dahl on the mutt-users list, I was able to
> > restore correct color support in my mutt installation.  But it raises a
> > question about ncurses.
> > 
> > It seems that building mutt with the devel/ncurses port installed creates
> > the problem I was experiencing: most colors do not show up in mutt, and
> 
> sounds familiar (layout differences, etc, depending on whether wide- or
> narrow characters are used).
> 
> > the line-drawing characters are borked.  Deinstalling devel/ncurses and
> > rebuilding mutt with the base version of ncurses solves the problem.
> > 
> > However, x11/rxvt-unicode depends on devel/ncurses, so any time urxvt
> > needs rebuilding we get devel/ncurses reinstalled.  Any subsequent rebuild
> > of mutt restores the original problem.
> > 
> > Is there any way to sort this out?
> 
> given a copy of the two build logs, I might be able to guess what's amiss.
> 
> (I don't have a current FreeBSD to test directly on...)
> 
> -- 
> Thomas E. Dickey
> http://invisible-island.net
> ftp://invisible-island.net

Thanks for your response, but I solved the problem by specifying that
mutt should use slang instead of ncurses.  That works better in a couple
of ways, so I'll go with that.

I do, however, still have one small problem.  I can't seem to get mutt to
see that my urxvt has 256 colors enabled.  infocmp shows "colors#256" for
rxvt-256color, but if I do 'export TERM=rxvt-256color' then zsh complains
"can't find terminal definition for rxvt-256color" (though it lets me set
it anyway).  However, mutt still complains if I try to use any color
above 8.  With TERM set to "rxvt" infocmp shows "colors#8" and tput
colors shows "145".  I'm confused.  Obviously, not everyone is on the
same page here.

-- 
Sterling (Chip) Camden | camdensoftware.com | chipstips.com | chipsquips.com



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