Emacs doesn't want to support 256 colors in terminal window

Thomas Dickey dickey at radix.net
Sat Feb 28 07:27:47 PST 2009


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 
> report the (logical) terminal type as xterm-256color. That didn't work 

ncurses has an rxvt-256color entry...

> so I tried to redefine the TERM environment variable on my account, but 
> that didn't work either. The problem seems to be with the Co value 
> defined for the xterm terminal type, because 'tput Co' shows 8 instead 
> of 256 for all physical/logical terminal configurations. I hope now it 
> 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.

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090228/2fcd6ae0/attachment.pgp


More information about the freebsd-questions mailing list