Re: ncurses 6.6-20260314 can no longer read xterm_256color extended attributes on redhat 8+ systems
Sven Joachim <[email protected]> Mon, 20 Jul 2026 22:22:10 +0200
| Newsgroups | gmane.comp.lib.ncurses.bugs |
|---|---|
| Message-ID | <[email protected]> |
On 2026-07-16 17:17 -0400, Thomas Dickey wrote:
> On Thu, Jul 16, 2026 at 05:15:42PM -0400, Thomas Dickey wrote:
>>=20
>> Reading that, there's no compile changes (attaching diff, for convenien=
ce)
>
> adding it...
> Index: ncurses/tinfo/read_entry.c
> Prereq: 1.175=20
> --- ncurses-6.6-20260301+/ncurses/tinfo/read_entry.c 2025-01-11 23:52:18=
.000000000 +0000
> +++ ncurses-6.6-20260307/ncurses/tinfo/read_entry.c 2026-03-07 17:49:54.=
000000000 +0000
> @@ -517,13 +517,8 @@
> _nc_visbuf(ptr->Strings[i + STRCOUNT])));
> }
> TR(TRACE_DATABASE, ("Check table-size: %d/%d", check, ext_str_usag=
e));
> -#if 0
> - /*
> - * Phasing in a proper check will be done "later".
> - */
> if (check !=3D ext_str_usage)
> returnDB(TGETENT_NO);
> -#endif
> }
> =20
> if (need) {
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.
Cheers,
Sven