Questions tagged [ansi]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
21 views

OSC 8 links not working in the Comint mode

According to the NEWS for Emacs 28.1 (Ctrl-f "OSC 8, for hyperlinks"), the comint-mode supports the OSC 8 styled links. But when I compile (interpret) a file "test.py" with ...
2 votes
1 answer
106 views

Escape sequences like [<8;38;34m being inserted into my document when I middle click

I recently updated to emacs 25.1, and I'm noticing that sometimes escape sequences like [<8;38;34m or [<8;20;27m are being inserted into my document. I use emacs in the terminal (emacs -nw). I ...
1 vote
1 answer
534 views

How can I apply ansi-color to complete buffer?

I am using following code to apply colorize text in emacs, such as for ^[ characters to apply color. In order to use this code I have to select text to apply it reference: https://unix.stackexchange....
1 vote
1 answer
34 views

vt100 codes in man-mode

Emacs in this particular installation doesn't parse hyphens in Man-mode. I found the definition and initialization of Man-filter-list, but I don't really know what to do with it, as I cannot really ...
3 votes
1 answer
655 views

How to change visual appearance of ANSI colors for *shell* buffers running on "GUI Emacs"?

OS: Linux 4.19.0-16-amd64 #1 SMP Debian 4.19.181-1 (2021-03-19) x86_64 GNU/Linux Emacs: GNU Emacs 28.0.50, with a solarized theme from here Terminal emulator: terminator 1.91, with a solarized (dark) ...
5 votes
3 answers
379 views

ipdb displaying ansi color escape sequences

I'm trying to set up realgud using ipdb with emacs. The problem is that the following is displayed at the command prompt (running realgud:ipdb): [6n[Jipdb> [6D[6C[6D[J[6n[Jipdb> [6D[6C From googling ...
7 votes
1 answer
2k views

ANSI escape sequences in compilation-mode

When you run various "modern" compilation or test tools you get ANSI codes in the output. I'd like to either render them correctly (ideally) or otherwise strip them. I've tried applying either term-...
6 votes
2 answers
243 views

ANSI / xterm font-locking

I have a buffer with terminal escape codes in it and I want them to be colored: I was able to do this with (ansi-color-apply-on-region (point-min) (point-max)): However, my file is really big and ...