Date: Sat, 5 Jun 2010 15:39:31 -0400 From: Thomas Dickey <dickey@radix.net> To: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: ncurses Message-ID: <20100605193931.GA29539@saltmine.radix.net> In-Reply-To: <20100605171334.GA60226@libertas.local.camdensoftware.com> References: <20100604150234.GA56195@libertas.local.camdensoftware.com> <20100604235256.GA14240@saltmine.radix.net> <20100605171334.GA60226@libertas.local.camdensoftware.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100605193931.GA29539>