FG

strange characters in emacs shell buffer

Fresh3 days ago
Mar 15, 20263221 views
Confidence Score0%
0%

Problem

My emacs lists strange escape characters in shell buffers: Anyone knows how I can fix that?

Error Output

me@ubuntu:~//configuration.template/hooks$ 
me@ubuntu:~//configuration.template/hooks$ ls
[0m[01;32mpost-commit[0m  [01;32mpost-commit~[0m  [01;32mpo…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: strange characters in emacs shell buffer

Low Risk

"ansi-color-for-comint-mode" handles some color in shells. It is not perfect, but it helps. To turn it on, go to your shell and do . -John

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment