I’ve set up two versions:
My computer apt-get emacs 23.0.91
Remote server yum emacs 21.4
I’ve downloaded color-theme-6.6.0, put the files in /usr/share/emacs/-version-/lisp/, and I have this in my .emacs:
(require 'color-theme)
(color-theme-initialize)
(color-theme-midnight)
Running emacs in a terminal, all the colors show up correctly on my computer, but on the server, I only get two colors??? The background is one color, and the text is another, no matter what theme I choose. No errors show up when I start emacs.
Any suggestions?
Paraphrased from Unix and Color Highlighting:
To be able to use syntax highlighting on a Unix/Linux box you need either a terminal that supports color. Some systems (AIX for me) require a TERMINFO file generated by tic on a xterm-color.tic file. Here’s a snip:
Again, read the Unix and Color Highlighting article for all the details.
On another note, this is what my .emacs file contains for setting color (on a dark background).