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 é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?

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'.
 
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 it's
being used (because it's far more useful to be able to detach from the remote
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.

-- 
Thomas E. Dickey <[email protected]>
https://invisible-island.net

Attachment: signature.asc
Description: PGP signature

Reply via email to