From owner-freebsd-questions@FreeBSD.ORG Sat Jun 5 17:13:41 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A3DC1065678 for ; Sat, 5 Jun 2010 17:13:41 +0000 (UTC) (envelope-from sterling@camdensoftware.com) Received: from wh2.interactivevillages.com (wh2.interactivevillages.com [75.125.250.34]) by mx1.freebsd.org (Postfix) with ESMTP id 551838FC19 for ; Sat, 5 Jun 2010 17:13:40 +0000 (UTC) Received: from 174-21-99-21.tukw.qwest.net ([174.21.99.21] helo=_HOSTNAME_) by wh2.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1OKwpD-0007vN-Nv; Sat, 05 Jun 2010 10:06:25 -0700 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Sat, 05 Jun 2010 10:13:34 -0700 Date: Sat, 5 Jun 2010 10:13:34 -0700 From: Chip Camden To: Thomas Dickey Message-ID: <20100605171334.GA60226@libertas.local.camdensoftware.com> Mail-Followup-To: Thomas Dickey , FreeBSD Questions References: <20100604150234.GA56195@libertas.local.camdensoftware.com> <20100604235256.GA14240@saltmine.radix.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100604235256.GA14240@saltmine.radix.net> User-Agent: Mutt/1.4.2.3i Company: Camden Software Consulting URL: http://camdensoftware.com X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - wh2.interactivevillages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - camdensoftware.com Cc: FreeBSD Questions Subject: Re: ncurses X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jun 2010 17:13:41 -0000 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