GNU bug report logs -
#39827
[PATCH] dircolors: add *direct* to TERM matching
Previous Next
To reply to this bug, email your comments to 39827 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-coreutils <at> gnu.org
:
bug#39827
; Package
coreutils
.
(Fri, 28 Feb 2020 17:01:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
L A Walsh <coreutils <at> tlinx.org>
:
New bug report received and forwarded. Copy sent to
bug-coreutils <at> gnu.org
.
(Fri, 28 Feb 2020 17:01:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
xterm-TrueColor
and xterm-24bit
I've heard of, but direct? Isn't that a direct serial line
connection?
But suffice it to say, I haven't seen any _concensus_ on a name
or terminal-name for that feature.
Certainly TrueColor or 24-bit (or maybe 32) would be more descriptive
that something used for a direct connetion?
On 2020/02/28 01:07, nl6720 wrote:
> * src/dircolors.hin: Add *direct* to match terminals that
> support direct colors (24-bit color / TrueColor).
>
---
Direct colors isn't an industry term that I've ever heard of.
Besides, it takes about 13 bits per color to represent full color, so
16-bits seems likely as an upper bound using 64-bits total (upper 16 for
alpha?).
> ---
> src/dircolors.hin | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/src/dircolors.hin b/src/dircolors.hin
> index 8f795bc99..b22643dbb 100644
> --- a/src/dircolors.hin
> +++ b/src/dircolors.hin
> @@ -17,6 +17,7 @@ TERM con[0-9]*x[0-9]*
> TERM cons25
> TERM console
> TERM cygwin
> +TERM *direct*
> TERM dtterm
> TERM gnome
> TERM hurd
>
Information forwarded
to
bug-coreutils <at> gnu.org
:
bug#39827
; Package
coreutils
.
(Fri, 28 Feb 2020 18:18:02 GMT)
Full text and
rfc822 format available.
Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):
On Friday, 28 February 2020 19:00:36 EET L A Walsh wrote:
> xterm-TrueColor
> and xterm-24bit
> I've heard of, but direct? Isn't that a direct serial line
> connection?
>
> But suffice it to say, I haven't seen any _concensus_ on a name
> or terminal-name for that feature.
>
> Certainly TrueColor or 24-bit (or maybe 32) would be more descriptive
> that something used for a direct connetion?
>
That's the term I found in
https://invisible-island.net/ncurses/ncurses.faq.html#xterm_16MegaColors
and https://invisible-island.net/xterm/terminfo.html (search for the phrase
"direct color").
The point of this patch is for dircolors to support TERM values like:
alacritty-direct
iterm2-direct
kitty-direct
konsole-direct
mintty-direct
mlterm-direct
nsterm-direct
st-direct
vscode-direct
vte-direct
xterm+direct
xterm+direct2
xterm+indirect
xterm-direct
xterm-direct2
Some of them are already matched by "xterm*", but that's beside the point.
> On 2020/02/28 01:07, nl6720 wrote:
> > * src/dircolors.hin: Add *direct* to match terminals that
> > support direct colors (24-bit color / TrueColor).
>
> ---
> Direct colors isn't an industry term that I've ever heard of.
> Besides, it takes about 13 bits per color to represent full color, so
> 16-bits seems likely as an upper bound using 64-bits total (upper 16 for
> alpha?).
>
> > ---
> >
> > src/dircolors.hin | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/src/dircolors.hin b/src/dircolors.hin
> > index 8f795bc99..b22643dbb 100644
> > --- a/src/dircolors.hin
> > +++ b/src/dircolors.hin
> > @@ -17,6 +17,7 @@ TERM con[0-9]*x[0-9]*
> >
> > TERM cons25
> > TERM console
> > TERM cygwin
> >
> > +TERM *direct*
> >
> > TERM dtterm
> > TERM gnome
> > TERM hurd
Forcibly Merged 39827 49745.
Request was from
Pádraig Brady <P <at> draigBrady.com>
to
control <at> debbugs.gnu.org
.
(Wed, 15 Sep 2021 14:04:02 GMT)
Full text and
rfc822 format available.
This bug report was last modified 3 years and 274 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.