I am connecting to a server through SecureCRT and am using command line emacs (not X11). Is there a way to get color? In particular, when I code I would like emacs to color keywords etc. Currently everything is either black or white.
Asked
Active
Viewed 545 times
0
-
What is the value of your `TERM`, obtained with `echo $TERM`? Emacs under xterm-like terminals does colors, so you can try starting it with `TERM=xterm emacs`. – user4815162342 Nov 13 '12 at 23:01
-
just got it - emulation type has to be linux not vt100 – Alex Nov 13 '12 at 23:35
-
@user4815162342 Please submit a proper answer so that Alex can mark it as correct. – Thomas Nov 14 '12 at 00:40
-
@Thomas Thanks, I've now done so. I didn't want to write an answer in the first place because my answer felt too question-y. – user4815162342 Nov 15 '12 at 22:11
1 Answers
0
Check the value of the TERM
environment variable, obtained with echo $TERM
. Emacs under xterm-like terminals does colors, so you can try starting it with TERM=xterm emacs
.

user4815162342
- 141,790
- 18
- 296
- 355