Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have noticed that some colors in LS_COLORS don't work when running a shell inside M-x-ansi-term in Emacs.

For exmaple;

di 00 94 

is supposed to turn on bold on light blue on directories on LS_COLORS (see a list of the codes here), but ansi-term in Emacs does not show it in color. In fact, only the simple colors listed on that website seem to work under ansi-term in Emacs, while they work perfectly well on my regular gnome terminal.

Is there a way to get ansi-term to recognize the so called extra colors? Where/how can I look up the colors supported by ansi-term in Emacs?

share|improve this question
add comment

1 Answer

How about this command?

M-x ansi-color-for-comint-mode-on
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.