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.
I've tried everything from this duplicate question but I still can't get it to work. The only difference from that question is that when I run env | grep TERM I get TERM=xterm instead of TERM=xterm-color. I dont think it matters though, they seem to be pretty interchangeable.
What I don't understand however is that the only thing that has disappeared is the colors in the actual prompt.
I want to do a full screen copy of some terminal output, with ANSI colors, and generate HTML so I can post to a blog or wiki.
My real world example: I want to document top with all of its ANSI color goodness. (I'd rather not do a bitmap screenshot. Text is more efficient.) Ideas?
Hi,
I have defined .bashrc custom colors. Escape secuences for bold colors is "\e[1;" and the same for dark colors.
So, on a real console (tty) I'll see darker colors, but on xterm/rxvt on X I'll see bold colors.
Then, how can I set it to see 16 colors (8 normal/8 darker or lighter) on a X server terminal app?
The package now contains a supplementary module for working with colorized text. It can convert to and from HTML, BBCode, ANSI, etc. and provides some functions for applying custom gradients and other fun stuff. This text was generated with the code. It could have just as easily been display in a compatible terminal.Yes, I am aware that I appear to have too much time on my hands.
I want to use st with solarized colors like I can with urxvt (of course this is done via .Xresources, in st the colors are defined in a header file). I've tried to put the colors in st's config file (config.h), but the colors are "used for the wrong things" in st (eg.
Hi,
I want to use vim but after opening any files, it is not showing comments, syntax in different colors.
Hi,
I want to use vim but after opening any files, it is not showing comments, syntax in different colors.
I'm using xterm windows within a VNC session, and they are not displaying colors at all. The main thing I need colors for is syntax highlighting in vim, but ls highlighting is useful also.
The default "$TERM" is "xterm".