From owner-freebsd-questions@FreeBSD.ORG Sat Feb 28 15:27:46 2009 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 1DD201065691 for ; Sat, 28 Feb 2009 15:27:46 +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 C70428FC13 for ; Sat, 28 Feb 2009 15:27:45 +0000 (UTC) (envelope-from dickey@saltmine.radix.net) Received: from saltmine.radix.net (localhost [127.0.0.1]) by saltmine.radix.net (8.12.2/8.12.2) with ESMTP id n1SFRifP012867; Sat, 28 Feb 2009 10:27:44 -0500 (EST) Received: (from dickey@localhost) by saltmine.radix.net (8.12.2/8.12.2/Submit) id n1SFRijZ012864; Sat, 28 Feb 2009 10:27:44 -0500 (EST) Date: Sat, 28 Feb 2009 10:27:44 -0500 From: Thomas Dickey To: Grzegorz Junka Message-ID: <20090228152743.GA9977@saltmine.radix.net> References: <49A7E97E.2090306@gjunka.com> <3a142e750902270755w31df9154o7e90268e6f3e908f@mail.gmail.com> <49A8389D.3020804@poczta.onet.pl> <3a142e750902271652o78d80486xa16cabff78c74d63@mail.gmail.com> <49A89F91.2010505@gjunka.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6TrnltStXW4iwmi0" Content-Disposition: inline In-Reply-To: <49A89F91.2010505@gjunka.com> User-Agent: Mutt/1.3.27i Cc: freebsd-questions@freebsd.org Subject: Re: Emacs doesn't want to support 256 colors in terminal window 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, 28 Feb 2009 15:27:47 -0000 --6TrnltStXW4iwmi0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Feb 28, 2009 at 02:21:05AM +0000, Grzegorz Junka wrote: > colors on the Windows terminal. For that I reconfigured putty/rxvt to=20 > report the (logical) terminal type as xterm-256color. That didn't work=20 ncurses has an rxvt-256color entry... > so I tried to redefine the TERM environment variable on my account, but= =20 > that didn't work either. The problem seems to be with the Co value=20 > defined for the xterm terminal type, because 'tput Co' shows 8 instead=20 > of 256 for all physical/logical terminal configurations. I hope now it=20 > is clear what I am running where. tput is only going to show what's in the terminal database. For "xterm", that's normally 8 colors, unless someone's modified it. --=20 Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net --6TrnltStXW4iwmi0 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 iD8DBQFJqVfmtIqByHxlDocRAvIqAJ0ULvDTj1Ul2P79k+kV7gfHJ+cDBACgjGcK sQ2Q3a2B+YNiylN/kIn6L/4= =sASC -----END PGP SIGNATURE----- --6TrnltStXW4iwmi0--