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 <dic...@invisible-island.net>
https://invisible-island.net
ftp://ftp.invisible-island.net

Attachment: signature.asc
Description: Digital signature

Reply via email to