6
1
As far as I can tell from browsing around, I should be getting 256 colors in my Emacs, but I'm not.
I'm running CentOS 5.4 on an ec2 instance. I'm running Putty 0.60 on Windows 7. Putty is set to send xterm-256color
for its terminal string. Putty is set to allow 256 colors. On CentOS, my $TERM
is set to xterm-256color
.
tput colors
shows 256. I recompiled Emacs to 23.2, making sure to install libtermcap-devel
beforehand, because someone claimed they needed that. But still, when I M-x list-colors-display
in Emacs, it only shows 8 colors.
1What happens if you start
emacs
with--colors=256
? – Paused until further notice. – 2011-01-21T21:00:53.197Thanks for the suggestion. As it happens, got it working a couple minutes after posting. I did two things, so it's one or the other: 1) Turned on global font lock and 2) ran an elisp script I found on emacswiki that "filled in" the color names or some dumb thing. – mwt – 2011-01-21T22:09:05.237
"Putty is set to send xterm-254color" is a typo, right? and you could also use .. vim :) /me pats his shiney 256-color-vim ... – akira – 2011-01-22T06:26:44.957
1@akira: It should be 256, but no editor wars please. – user1686 – 2011-01-22T14:48:59.460
4mind to answer your own question and accept your own answer? that would close this open question :) – akira – 2011-01-31T15:33:46.203