From: Jim Porter <jporterbugs@gmail.com>
To: 51297@debbugs.gnu.org
Subject: bug#51297: 28.0.60; [PATCH] Update termcap/terminfo to indicate 16-color support
Date: Tue, 19 Oct 2021 16:49:53 -0700 [thread overview]
Message-ID: <5317d810-ac3c-23e3-e017-a057406ec6b8@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 286 bytes --]
In bug#50179, I added support for bright ANSI colors, but neglected to
update the termcap/terminfo settings to indicate this. Attached is a
patch to do so. Note that it doesn't need to be merged into Emacs 29,
since bug#50806 already fixed this when adding 256/24-bit color support.
[-- Attachment #2: 0001-Update-termcap-terminfo-to-indicate-16-color-support.patch --]
[-- Type: text/plain, Size: 1893 bytes --]
From cff4300e43cea788450c0f399677c3ff06942de8 Mon Sep 17 00:00:00 2001
From: Jim Porter <jporterbugs@gmail.com>
Date: Tue, 19 Oct 2021 16:42:59 -0700
Subject: [PATCH] Update termcap/terminfo to indicate 16-color support.
* etc/e/eterm-color.ti:
* lisp/term.el (term-termcap-format): Indicate 16-color support.
Do not merge to master.
---
etc/e/eterm-color | Bin 1179 -> 1179 bytes
etc/e/eterm-color.ti | 2 +-
lisp/term.el | 2 +-
3 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/etc/e/eterm-color b/etc/e/eterm-color
index bd3f5003ae620db49b89a2c1387b0ba1c836f4f1..441316517d77a1421b2d2118e47e7d112515b8d3 100644
GIT binary patch
delta 12
TcmbQuIh%7r4Wq!uS~(T~8pi{+
delta 12
TcmbQuIh%7r4I{_KS~(T~8lMBM
diff --git a/etc/e/eterm-color.ti b/etc/e/eterm-color.ti
index a6ef814990..4cc4a3c95e 100644
--- a/etc/e/eterm-color.ti
+++ b/etc/e/eterm-color.ti
@@ -9,7 +9,7 @@ eterm-color|Emacs term.el terminal emulator term-protocol-version 0.96,
# Any change to this file should be done at the same time with a
# corresponding change to the TERMCAP environment variable in term.el.
# Comments in term.el specify where each of these capabilities is implemented.
- colors#8,
+ colors#16,
cols#80,
lines#24,
pairs#64,
diff --git a/lisp/term.el b/lisp/term.el
index e76eb77647..30f26b7ee3 100644
--- a/lisp/term.el
+++ b/lisp/term.el
@@ -1584,7 +1584,7 @@ term-termcap-format
:so=\\E[7m:se=\\E[m:us=\\E[4m:ue=\\E[m:md=\\E[1m:mr=\\E[7m:me=\\E[m\
:UP=\\E[%%dA:DO=\\E[%%dB:LE=\\E[%%dD:RI=\\E[%%dC\
:kl=\\EOD:kd=\\EOB:kr=\\EOC:ku=\\EOA:kN=\\E[6~:kP=\\E[5~:@7=\\E[4~:kh=\\E[1~\
-:mk=\\E[8m:cb=\\E[1K:op=\\E[39;49m:Co#8:pa#64:AB=\\E[4%%dm:AF=\\E[3%%dm:cr=^M\
+:mk=\\E[8m:cb=\\E[1K:op=\\E[39;49m:Co#16:pa#64:AB=\\E[4%%dm:AF=\\E[3%%dm:cr=^M\
:bl=^G:do=^J:le=^H:ta=^I:se=\\E[27m:ue=\\E[24m\
:kb=^?:kD=^[[3~:sc=\\E7:rc=\\E8:r1=\\Ec:"
;; : -undefine ic
--
2.25.1
next reply other threads:[~2021-10-19 23:49 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-19 23:49 Jim Porter [this message]
2021-10-20 8:29 ` bug#51297: 28.0.60; [PATCH] Update termcap/terminfo to indicate 16-color support miha--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-10-20 19:50 ` Jim Porter
2021-10-20 21:06 ` miha--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-10-30 15:53 ` Stefan Kangas
2021-11-04 23:20 ` Lars Ingebrigtsen
2021-11-04 23:47 ` Jim Porter
2021-11-05 2:27 ` Lars Ingebrigtsen
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5317d810-ac3c-23e3-e017-a057406ec6b8@gmail.com \
--to=jporterbugs@gmail.com \
--cc=51297@debbugs.gnu.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.