git: 7dcfbf4a8bf3 - stable/15 - termcap: fix screen entry standout mode (so/se) capabilities
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 28 Apr 2026 14:21:11 UTC
The branch stable/15 has been updated by cy:
URL: https://cgit.FreeBSD.org/src/commit/?id=7dcfbf4a8bf3553993569b3a3c5bca906e8f450a
commit 7dcfbf4a8bf3553993569b3a3c5bca906e8f450a
Author: Dan Mahoney <github@gushi.org>
AuthorDate: 2026-04-14 03:53:51 +0000
Commit: Cy Schubert <cy@FreeBSD.org>
CommitDate: 2026-04-28 14:19:25 +0000
termcap: fix screen entry standout mode (so/se) capabilities
so=\E[3m (italic) is incorrect, should be so=\E[7m (reverse video).
se=\E[23m (italic off) is incorrect, should be se=\E[27m (reverse off).
mr=\E[7m (reverse video) is correctly defined in the same entry.
screen-256color inherits from screen via tc=screen and is fixed
transitively.
PR: 294499
Pull Request: https://github.com/freebsd/freebsd-src/pull/2139
Signed-off-by: Dan Mahoney <freebsd@gushi.org>
(cherry picked from commit 2bff747bb04db6beb19678abc45edd96be0a1347)
---
share/termcap/termcap | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/share/termcap/termcap b/share/termcap/termcap
index 44704653045d..46a1ba0a59bd 100644
--- a/share/termcap/termcap
+++ b/share/termcap/termcap
@@ -2769,8 +2769,8 @@ SC|screen|VT 100/ANSI X3.64 virtual terminal:\
:k;=\E[21~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kd=\EOB:\
:ke=\E[?1l\E>:kh=\E[1~:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
- :nw=\EE:op=\E[39;49m:rc=\E8:rs=\Ec:sc=\E7:se=\E[23m:sf=\n:\
- :so=\E[3m:sr=\EM:st=\EH:ta=^I:te=\E[?1049l:ti=\E[?1049h:\
+ :nw=\EE:op=\E[39;49m:rc=\E8:rs=\Ec:sc=\E7:se=\E[27m:sf=\n:\
+ :so=\E[7m:sr=\EM:st=\EH:ta=^I:te=\E[?1049l:ti=\E[?1049h:\
:ue=\E[24m:up=\EM:us=\E[4m:vb=\Eg:ve=\E[34h\E[?25h:\
:vi=\E[?25l:vs=\E[34l:
SB|screen-bce|VT 100/ANSI X3.64 virtual terminal with bce:\