My Emacs installation has full color support (displays a list-colors-display). However, Emacs * shell * is apparently capable of handling the main 8 ANSI screens. I have the ones that are being processed in my .emacs:
(autoload 'ansi-color-for-comint-mode-on "ansi-color" nil t) (add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)
Is there a way to increase the number of colors supported in * shell *?
To get a 256-color terminal, you must use the appropriate terminal emulator.
Check if your terminal supports this:
$ infocmp -1 $ TERM | grep colors colors # 8,
For example xterm allow this, but you must set TERM = xterm-256color .
If I read the ansi flags / settings setting correctly, this will allow only 8 colors, get rid of them and replace tty-color-mode 256 with this parameter
tty-color-mode 256
From:
http://www.gnu.org/software/emacs/elisp/html_node/Font-and-Color-Parameters.html
http://www.gnu.org/software/libtool/manual/emacs/Colors.html
Source: https://habr.com/ru/post/893025/More articles:Can I run a Qt application with a specific theme? - qtMagento 1.5 Paypal Express Review Shipping Page - No Quotation Marks - magentogit Failure to merge with "Untraceable working tree file" on case change - gitbasic data structure for float in python - pythonHow to unzip a gzip file and write it to an uncompressed file on iPhone - iosenum [tag] [: type] {enum-list} [declarator] in C ++ - is this legal? - c ++VS2010 Add a link to the service is missing (it is impossible to add a link to the service) - visual-studio-2010Optimal Point Layout / GraphViz for graph chart diagram - graphvizDistinguish MMS and SMS through MMS / SMS listeners in Android - androidVS2010 cannot add service link - web-servicesAll Articles