I am working on Solaris 9 and using the emacs editor version 21.4. The problem is that when I use the
emacs -nw command and turn the font-lock-mode on, I don't get the syntax highlighting by color like in the XWindow mode. The syntax highlighting is only done by bolding or by background coloring. The
list-colors-display command also gives a blank window. I know that the terminal supports colors because when I use the
ls --color command, the directories and executables are displayed in blue and green. Any idea on how I can get colors for emacs in the nw mode?
Jump to Post
Well, I haven't used emacs enough to know what I'm doing in regards to syntax coloring... :rolleyes:
I found a few links though:
To run emacs in text mode with syntax coloring
host:~> setenv TERMINFO /home/user/.terminfo host:~> infocmp host:~> emacs -nw global-font-lock-mode xterm-mouse-mode
I also found this mailing list where …
All 2 Replies
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.