bright colors with GNOME Terminal / 256-color terminals

Thomas Dickey dickey at his.com
Sat Dec 15 20:50:26 UTC 2018


On Fri, Dec 14, 2018 at 05:15:07AM +0100, Vincent Lefevre wrote:
...
> For instance, in xterm, one uses
> 
>   tput bold; tput setaf 3; echo abcdef
> 
> but in GNOME Terminal, one uses
> 
>   tput setaf 11; echo abcdef
> 
> I assume that the reason is that xterm just has 8 colors:

You appear to be confused by the difference between the terminal description,
and the terminal itself.  For xterm, depending on your _preference_, you
could use TERM=xterm, TERM=xterm-16color, TERM=xterm-256color.

VTE developers prefer to use TERM=xterm-256color, even though it's not
a good match.  But that's done solely for nontechnical reasons.
...
the suggested hardcoded behavior doesn't appear to be an improvement.

-- 
Thomas E. Dickey <dickey at invisible-island.net>
https://invisible-island.net
ftp://ftp.invisible-island.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.mutt.org/pipermail/mutt-dev/attachments/20181215/2e59fbcb/attachment.asc>


More information about the Mutt-dev mailing list