I can't seem to identify this color sequence. I have enabled ansi colors successfully (to test, ls shows colored output), however a strange thing happens when I attempt to run
npm and I can't identify the kind of colors these are, or how to make it so eshell can show them. The output is as follows
Usage npm <command> ... <remainder of usage here> npm @ 3.3.10 /usr/lib/node_modules/npm ^[[?25h^[[0G^[[?25h^[[0G~/my/directory/that/i/am/in $
I have tried to look for things like "non-ansi color codes" and "npm color codes" and none of them have pointed me in the correct direction.
Can anyone identify these colors and help me figure out how to display them properly?
I have identified these as unicode sequences. I have added everything in:
as well as the following code for Eshell specifically:
(defun set-buffer-utf8 () (set-buffer-process-coding-system 'utf-8 'utf-8) ) (add-hook 'eshell-mode-hook 'set-buffer-utf8)
This does not work. I have also tried this with the modes
mule-utf-8 with no luck.
Also, if I type
echo $LANG I get
echo $LC_ALL also returns
I have now tried to set the encoding of eshell (in the hook above) to
iso-8859-1 with no luck.