From owner-freebsd-questions@FreeBSD.ORG Sat Jun 5 19:39:34 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 0A754106566C for ; Sat, 5 Jun 2010 19:39:34 +0000 (UTC) (envelope-from dickey@saltmine.radix.net) Received: from saltmine.radix.net (saltmine.radix.net [207.192.128.40]) by mx1.freebsd.org (Postfix) with ESMTP id A17908FC18 for ; Sat, 5 Jun 2010 19:39:33 +0000 (UTC) Received: from saltmine.radix.net (localhost [127.0.0.1]) by saltmine.radix.net (8.12.2/8.12.2) with ESMTP id o55JdWV4000824 for ; Sat, 5 Jun 2010 15:39:32 -0400 (EDT) Received: (from dickey@localhost) by saltmine.radix.net (8.12.2/8.12.2/Submit) id o55JdWs6000821 for freebsd-questions@freebsd.org; Sat, 5 Jun 2010 15:39:32 -0400 (EDT) Date: Sat, 5 Jun 2010 15:39:31 -0400 From: Thomas Dickey To: FreeBSD Questions Message-ID: <20100605193931.GA29539@saltmine.radix.net> References: <20100604150234.GA56195@libertas.local.camdensoftware.com> <20100604235256.GA14240@saltmine.radix.net> <20100605171334.GA60226@libertas.local.camdensoftware.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0F1p//8PRICkK4MW" Content-Disposition: inline In-Reply-To: <20100605171334.GA60226@libertas.local.camdensoftware.com> User-Agent: Mutt/1.3.27i 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 19:39:34 -0000 --0F1p//8PRICkK4MW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jun 05, 2010 at 10:13:34AM -0700, Chip Camden wrote: =2E.. > 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. >=20 > 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=3Drxvt-256color' then zsh complai= ns > "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. There is more than one potential problem - here're a few: ncurses' default configuration doesn't support 256 colors ("only" 16, which was more than the standard 15 years ago). It supports 256 colors as a binary-incompatible extension of ncursesw, which could be provided in a port. With/without the extension, infocmp would show the 256. zsh may be looking in the termcap interface, which iirc on FreeBSD is using a separate database. FreeBSD may still be using a tput that's not based on ncurses. "145" is puzzling here, too. --=20 Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net --0F1p//8PRICkK4MW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (SunOS) Comment: For info see http://www.gnupg.org iD8DBQFMCqfvtIqByHxlDocRAiCiAJ0VfL0gzg0tQVk6NNgRyzAZ5qrMmQCggtks S446v0MuL9GZJO+RSXcyIkk= =+0nq -----END PGP SIGNATURE----- --0F1p//8PRICkK4MW--