aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Mahoney <github@gushi.org>2026-04-14 03:53:51 +0000
committerCy Schubert <cy@FreeBSD.org>2026-04-28 14:20:05 +0000
commit2a32297a6d9f0c82e64d315239693fcf4bc7bc23 (patch)
treee6ed427525cc6a9e80c9723f1ddc404570822e28
parent4a56a9aae6e3c71f7ecbfb31304609db34e1d8ce (diff)
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)
-rw-r--r--share/termcap/termcap4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/termcap/termcap b/share/termcap/termcap
index 892f17c90e80..8f1ad4fcc3ee 100644
--- a/share/termcap/termcap
+++ b/share/termcap/termcap
@@ -2771,8 +2771,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:\