On 12/02/2022 21:54, Arsen Arsenović wrote:
COLORTERM is an environment used usually to expose truecolor support in
terminal emulators. If a terminal emulator supports truecolor, it is
surely reasonable to assume it also supports 8/16/256 colors.

This implicitly supports foot, alacritty and any other truecolor
terminal emulator with unmatched $TERM.
---
Good evening,

I've noticed dircolors does not work in foot and alacritty, and on previously
raised patches about adding a TERM entry for them the concern of a nongeneric
solution was brought up. This is a valid concern, and as many terminals
(including these two) export COLORTERM to advertise 24-bit color support, it'd
appear to be a good way to pick up on color support.

I did suggest this at:
https://lists.gnu.org/archive/html/coreutils/2021-10/msg00008.html
Though it was pointed out that COLORTERM may not be preserved across ssh etc.
Now doing this would be no worse, so I'm inclined to apply this.

BTW alacritty was just added as an explicitly matched terminal.

cheers,
Pádraig


Reply via email to