From: Eli Zaretskii <eliz@gnu.org>
To: chohag@jtan.com
Cc: 69598@debbugs.gnu.org, jca@wxcvbn.org
Subject: bug#69598: 29.2; colour support based on $TERM value not terminfo database
Date: Thu, 07 Mar 2024 08:47:37 +0200 [thread overview]
Message-ID: <86o7bqk06u.fsf@gnu.org> (raw)
In-Reply-To: <202403062301.426N1ms7277304@zeus.jtan.com> (bug-gnu-emacs@gnu.org)
> Cc: Jeremie Courreges-Anglas <jca@wxcvbn.org>
> Date: Wed, 06 Mar 2024 23:01:46 +0000
> From: chohag--- via "Bug reports for GNU Emacs,
> the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
>
> (CC'd OpenBSD maintainer in case it's a packaging issue somehow)
>
> Emacs with direct colour works only if $TERM is set to xterm-direct.
> Even if $TERM refers to a terminfo entry that is identical (confirmed
> by infocmp):
>
> turtle-direct|Test Emacs,use=xterm-direct,
>
> Within xterm, if TERM is set to turtle-direct and emacs launched with
> -nw, list-colors-display only lists 8 colours.
I believe this is some issue with terminfo, since I see no hits for
the "xterm-direct" string in our sources.
> I am on OpenBSD -current as of a day or so ago.
>
> I haven't tested any other values of $TERM and don't know of any
> with direct colour support anyway.
From NEWS:
** Emacs can support 24-bit color TTY without terminfo database.
If your text-mode terminal supports 24-bit true color, but your system
lacks the terminfo database, you can instruct Emacs to support 24-bit
true color by setting 'COLORTERM=truecolor' in the environment. This is
useful on systems such as FreeBSD which ships only with "etc/termcap".
*** Emacs will now use 24-bit colors on terminals that support "Tc" capability.
This is in addition to previously-supported ways of discovering 24-bit
color support: either via the "RGB" or "setf24" capabilities, or if
the 'COLORTERM' environment variable is set to the value "truecolor".
Did you try the COLORTERM=truecolor setting?
next prev parent reply other threads:[~2024-03-07 6:47 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-06 23:01 bug#69598: 29.2; colour support based on $TERM value not terminfo database chohag--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-07 6:47 ` Eli Zaretskii [this message]
2024-03-07 17:32 ` chohag--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-07 17:47 ` Eli Zaretskii
2024-03-07 18:31 ` chohag--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-07 19:26 ` Eli Zaretskii
2024-03-07 19:59 ` chohag--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-07 20:10 ` Eli Zaretskii
2024-03-07 21:45 ` chohag--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-07 21:50 ` chohag--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-08 7:11 ` Eli Zaretskii
2024-03-08 11:36 ` chohag--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-08 12:22 ` Eli Zaretskii
2024-03-08 14:23 ` chohag--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-08 15:09 ` Eli Zaretskii
2024-03-08 18:52 ` chohag--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-08 19:50 ` Eli Zaretskii
2024-03-08 21:13 ` chohag--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-09 7:18 ` Eli Zaretskii
2024-03-21 8:33 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86o7bqk06u.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=69598@debbugs.gnu.org \
--cc=chohag@jtan.com \
--cc=jca@wxcvbn.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).