Search code examples
emacsputtysecure-crt

keyword colors in emacs on terminal


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.


Solution

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