πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
4 messages
4 total messages Started by Celelibi Thu, 26 Nov 2026 16:10
Bug#1155450: ncurses: Add terminal screen5.xterm-256color
#6321
Author: Celelibi
Date: Thu, 26 Nov 2026 16:10
44 lines
3070 bytes
Source: ncurses
Version: 6.6+20260608-2
Severity: normal
Tags: upstream
X-Debbugs-Cc: celelibi@gmail.com

Dear maintainer,

I'm not entirely sure whether this bug should be reported against screen
or ncurses. Feel free to reassign it if needed.

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.

However, none of the screen5* terminfo descriptions allow for a 256
color terminal.

Therefore I would like to suggest adding the terminal
screen5.xterm-256color to prevent the loss of the 256 color feature when
using the new version of screen.

I guess it could likely be defined from xterm+256setaf and
screen5.xterm-new. The same way screen.xterm-256color was.

I'm not asking for the other missing screen5 equivalent of the screen.*
terminals because I won't use them. But some people might.

Best regards,
Celelibi

-- System Information:
Debian Release: forky/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 7.2.15+deb14-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Bug#1155450: ncurses: Add terminal screen5.xterm-256color
#6376
Author: Thomas Dickey
Date: Fri, 27 Nov 2026 00:50
65 lines
4518 bytes
--uzYdFioxl4vg/cJH
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Nov 26, 2026 at 04:58:27PM +0100, Celelibi wrote:
> Source: ncurses
> Version: 6.6+20260608-2
> Severity: normal
> Tags: upstream
> X-Debbugs-Cc: celelibi@gmail.com
>=20
> Dear maintainer,
>=20
> I'm not entirely sure whether this bug should be reported against screen
> or ncurses. Feel free to reassign it if needed.

none of the terminal packages provide a good terminfo...

> 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.

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:

screen|VT 100/ANSI X3.64 virtual terminal,
	use=3Dscreen4,
=20
Changing line to "use=3Dscreen5" would solve the problem.

> However, none of the screen5* terminfo descriptions allow for a 256
> color terminal.
>=20
> Therefore I would like to suggest adding the terminal
> screen5.xterm-256color to prevent the loss of the 256 color feature when
> using the new version of screen.

I do not plan to add that (upstream)

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

--uzYdFioxl4vg/cJH
Content-Type: application/pgp-signature; name="signature.asc"

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

iQGzBAABCgAdFiEEGYgtkt2kxADCLA1WzCr0RyFnvgMFAmsI0KQACgkQzCr0RyFn
vgP66QwArm0PKOm1+eb1COXseLFTC8Fwp2iYvwXip6K11bmRmgAooab0xVtdTeTV
2ngm5LnSkcjgn1GXaorlXDFnWuyeyxvA6xdeYUhfHucGA+fPDczo4rf0sEnpjWSo
5eMnsAqHtyw+b8qR1fekiyo90Sbu971u9MtWtc1YlV050jDdr5kYbaJBkV4CeklP
ULEY/9Po+mngQ67aIvuOcsJCDOuAfAe9o0y8Dvyxfs51qPALeRxaZWhMo6Y4Fxay
tmsyVIuZxW8o56AAtxT43Ka7vt941DJOyUj+P4ec0GhkO1gUF7gecKRMwKoh8wYt
MXkK/erAl/rjWA7b0oKhDZmzlDAOHhl10Xg6Z9h76n+w/fJMe7xBV0OBPF1qj7BK
tOzEU/tIFe38KMH7iRtQf+vnnLXyFXvN6nyqO4xeUs66WtXrvSThJ7IYEGu8aIJL
ic28gaAuIx8YMxvzt/MyFIskfSI4jsR/F087epAQvcKfG5nXtidMJrR1LjvL1CbH
4NoHZgZU
=Hhc3
-----END PGP SIGNATURE-----

--uzYdFioxl4vg/cJH--
Bug#1155450: ncurses: Add terminal screen5.xterm-256color
#6580
Author: Celelibi
Date: Sat, 28 Nov 2026 17:10
24 lines
3958 bytes
Le Thu, Nov 26, 2026 at 07:36:52PM -0500, Thomas Dickey a Γ©crit :
> 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.
> 
> 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:
> 
> screen|VT 100/ANSI X3.64 virtual terminal,
> 	use=screen4,
>  
> Changing line to "use=screen5" would solve the problem.

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?

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

Best regards,
Celelibi
Bug#1155450: ncurses: Add terminal screen5.xterm-256color
#6802
Author: 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--
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads