🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #6802

Bug#1155450: ncurses: Add terminal screen5.xterm-256color

#6802
From: Thomas Dickey
Date: Sun, 29 Nov 2026 21:40
76 lines
5357 bytes
--euJgbgPWMwSHHG/T
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Nov 28, 2026 at 06:06:29PM +0100, Celelibi wrote:
> Le Thu, Nov 26, 2026 at 07:36:52PM -0500, Thomas Dickey a =E9crit :
> > On Thu, Nov 26, 2026 at 04:58:27PM +0100, Celelibi wrote:
> > > It looks like there's been some change between screen 4 and screen 5.
> > > Most notably, the escape codes for italics and standout have changed,
> > > and the terminfo for screen5 reflect that change.
> >=20
> > In an earlier discussion, I pointed out that I'd allowed for the change
> > which would involve the least impact on users.  The terminal database
> > has this:
> >=20
> > screen|VT 100/ANSI X3.64 virtual terminal,
> > 	use=3Dscreen4,
> > =20
> > Changing line to "use=3Dscreen5" would solve the problem.
>=20
> Couldn't that break for people using a machine with screen 4 installed
> to ssh into a machine with the updated definitions of the screen.*
> terminals?

That would make "standout" (reverse-video highlighting) not work for
remote applications:

comparing screen4 to screen5.
    comparing booleans.
    comparing numbers.
    comparing strings.
	ritm: NULL, '\E[23m'.
	rmso: '\E[23m', '\E[27m'.
	sgr: '\E[0%?%p6%t;1%;%?%p1%t;3%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;2=
%;m%?%p9%t\016%e\017%;', '\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t=
;5%;%?%p5%t;2%;m%?%p9%t\016%e\017%;'.
	sitm: NULL, '\E[3m'.
	smso: '\E[3m', '\E[7m'.
=20
That's no worse (just different) from the case where they may get italics
instead of standout.  Most people tend to run screen on the machine where i=
t's
being used (because it's far more useful to be able to detach from the remo=
te
session than to have a cluster of remote sessions in one frontend screen
sesson).

> But if that's the only change you're willing to make, then I'll take it.

I'm upstream.  Debian packagers haven't responded.

--=20
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net

--euJgbgPWMwSHHG/T
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQGzBAABCgAdFiEEGYgtkt2kxADCLA1WzCr0RyFnvgMFAmsMmTAACgkQzCr0RyFn
vgPtSAwA9HOm7pgL8EIRYWRuoj5Akd1CuLL37YhsjimHxhSYQAleYbNFz4aAPTrz
ZinDt1PtzTpl3EoI8WAsOc2tg0jjj4pPrKb45EjH6MLOQCs5pEWPPIfU7IQ1HdYT
b8mbYkDfKxFfRoA2FMEFW102zXzliYkBGQyslQGLDZQ4U3hfqsvl7FDt1cCTiayu
OH0MtBThCg9SSLoS/lhPLKcIUKhBoyqkGoysw/8vgXln2Kf3YBUCtExmZJC/r789
1eEnB4xeX0IHCYX3edkkT30Cgo34CQpd70TLL4WVEXN4hql9BPzaLpCePxWkpy1q
9bQFCl7mRJvfOKsRGPhTwOHeeVOOxMx+4OL6viP8dOkcM0kGv3uyyw5l+5urjaGI
TaCwl7ODMhUxw6mxlRg/mTZDwEw3I7j5/G8nI1nyEOB5OMu7KcUyHkS6VeHs6bQd
K/a+Ryb+dkKeriDLr+OCgw/GgfkncLtJqBvGmjoS6QZEcrsPstm/fOrLsHxen6FB
nCc6NZbG
=VGUe
-----END PGP SIGNATURE-----

--euJgbgPWMwSHHG/T--
Technical Details
Message-ID: <O4UMN-eZCJ-11@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <O3KcN-eigM-1@gated-at.bofh.it> <O3KcN-eigM-1@gated-at.bofh.it> <O3Sk1-emCx-1@gated-at.bofh.it> <O4u5X-eI2a-3@gated-at.bofh.it> <O3KcN-eigM-1@gated-at.bofh.it> <O4u5X-eI2a-3@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Thomas Dickey <dickey@invisible-island.net>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1155450: ncurses: Add terminal screen5.xterm-256color
Date: Sun, 29 Nov 2026 22:40:01 +0100
Message-ID: <O4UMN-eZCJ-11@gated-at.bofh.it>
References: <O3KcN-eigM-1@gated-at.bofh.it> <O3KcN-eigM-1@gated-at.bofh.it> <O3Sk1-emCx-1@gated-at.bofh.it> <O4u5X-eI2a-3@gated-at.bofh.it> <O3KcN-eigM-1@gated-at.bofh.it> <O4u5X-eI2a-3@gated-at.bofh.it>
X-Original-To: 1155450@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Sun Nov 29 21:31:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.651
Reply-To: dickey@invisible-island.net, 1155450@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: ncurses@packages.debian.org
X-Debian-Pr-Message: followup 1155450
X-Debian-Pr-Package: src:ncurses
X-Debian-Pr-Keywords: upstream
X-Debian-Pr-Source: ncurses
Authentication-Results: psa2415.his.com;
        spf=pass (sender IP is 96.255.221.90) smtp.mailfrom=dickey@invisible-island.net smtp.helo=prl-debianold-64.jexium-island.net
Received-Spf: pass (psa2415.his.com: connection is authenticated)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
	protocol="application/pgp-signature"; boundary="euJgbgPWMwSHHG/T"
Content-Disposition: inline
X-Ppp-Message-ID: <179598776590.750299.11170485208754031742@psa2415.his.com>
X-Ppp-Vhost: invisible-island.net
X-Crossassassin-Score: 2
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2005984
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 76
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: 1155450-submitter@bugs.debian.org
X-Original-Date: Sun, 29 Nov 2026 16:29:24 -0500
X-Original-Message-ID: <awyZNLvwXvRCQ35i@prl-debianold-64.jexium-island.net>
X-Original-References: <179570870718.717676.13929998500231082741.reportbug@RBSylaptop> <179570870718.717676.13929998500231082741.reportbug@RBSylaptop> <awjQpAPGyF2xYfpf@prl-debianold-64.jexium-island.net> <awsKFRycBVDat8kp@Celap> <179570870718.717676.13929998500231082741.reportbug@RBSylaptop> <awsKFRycBVDat8kp@Celap>