Re: ncurses 6.6-20260314 can no longer read xterm_256color extended attributes on redhat 8+ systems

Thomas Dickey <[email protected]> Mon, 20 Jul 2026 17:56:31 -0400
Newsgroups gmane.comp.lib.ncurses.bugs
Message-ID <[email protected]>
--MFufsKdlaxQfUFcP
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Jul 20, 2026 at 10:22:10PM +0200, Sven Joachim wrote:
> On 2026-07-16 17:17 -0400, Thomas Dickey wrote:
>=20
> > On Thu, Jul 16, 2026 at 05:15:42PM -0400, Thomas Dickey wrote:
> >>=20
> >> Reading that, there's no compile changes (attaching diff, for convenie=
nce)
> >
> > adding it...
>=20
> > Index: ncurses/tinfo/read_entry.c
> > Prereq:  1.175=20
> > --- ncurses-6.6-20260301+/ncurses/tinfo/read_entry.c	2025-01-11 23:52:1=
8.000000000 +0000
> > +++ ncurses-6.6-20260307/ncurses/tinfo/read_entry.c	2026-03-07 17:49:54=
=2E000000000 +0000
> > @@ -517,13 +517,8 @@
> >  				    _nc_visbuf(ptr->Strings[i + STRCOUNT])));
> >  	    }
> >  	    TR(TRACE_DATABASE, ("Check table-size: %d/%d", check, ext_str_usa=
ge));
> > -#if 0
> > -	    /*
> > -	     * Phasing in a proper check will be done "later".
> > -	     */
> >  	    if (check !=3D ext_str_usage)
> >  		returnDB(TGETENT_NO);
> > -#endif
> >  	}
> > =20
> >  	if (need) {
>=20
> I suspect it is this check which fails with the old terminfo files built
> by tic 6.1, but have not tested that.  Todd might want to revert this
> change and see if it helps.

He replied off-list regarding the two .c changes, and I indicated this
was more likely.

(I didn't happen to see how to reproduce the issue as described, otherwise
I'd have made some change this weekend).

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

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

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

iQGzBAABCgAdFiEEGYgtkt2kxADCLA1WzCr0RyFnvgMFAmpemYsACgkQzCr0RyFn
vgPACgv9E3ZtNzmFkJcMRo/YFVUEQWhy+H8XZrZHOojwHa8568EryqLd8YWaTMQz
sg5qoGnr7aeY+AN4lrvsy8G+tKp8JeWUNCvysoSklBDIYwjeZgq976Nulv7oWuEs
ZWL5MNWL1gykz/d5HuFPd6UZ8XVAAsLD68vJdnePlxZ29CAODnnAZdzfsJvDDh07
HWCD4bLr0WxZ3AG2Z1EW47mohHQ1yMWFPv12DI0WtcxvkBMdNw4XThesNsqQlr3P
i0yjOTAv5gMvJphX0P3zqpuXa7Ywzv9P3fyDulZ4GUAlnOLlAqfwiAjA/DA0gldI
4Amiu1+QD6Il0OrrSTuhVEpSZ3mgrqk1z8zbcTy4Aco3WTbpcQCcLgwj+vcmSIbv
RBiMw8GQb2rL+M8yY1tA53mQNwbTNUqk4NuvhmXGLNRFCovVaLIAAa0aDPOFEXbJ
4FTZHyE9vPCXq8Qx4bkt8DN4HSAvgu4C+HDMQ1CpwcM8Eai7kr2oMBSw+ZyBuWnT
z20QVAhy
=+7Js
-----END PGP SIGNATURE-----

--MFufsKdlaxQfUFcP--