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-22 03:03:23 +0000
commit2bff747bb04db6beb19678abc45edd96be0a1347 (patch)
tree45a013e62f9f72e3a7bceaca9f38c290266de5ba
parent8bbba9f681ecccc6f6adcdb820c28df71f028e37 (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 MFC after: 1 week Signed-off-by: Dan Mahoney <freebsd@gushi.org>
-rw-r--r--share/termcap/termcap4
1 files 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:\