Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Feb 2009 10:27:44 -0500
From:      Thomas Dickey <dickey@radix.net>
To:        Grzegorz Junka <cv@gjunka.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Emacs doesn't want to support 256 colors in terminal window
Message-ID:  <20090228152743.GA9977@saltmine.radix.net>
In-Reply-To: <49A89F91.2010505@gjunka.com>
References:  <49A7E97E.2090306@gjunka.com> <3a142e750902270755w31df9154o7e90268e6f3e908f@mail.gmail.com> <49A8389D.3020804@poczta.onet.pl> <3a142e750902271652o78d80486xa16cabff78c74d63@mail.gmail.com> <49A89F91.2010505@gjunka.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



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