"G. Branden Robinson" <[email protected]> writes:
> At 2025-12-18T12:41:02+0100, Dirk Gouders wrote: >> Thomas Dickey <[email protected]> writes: >> > ncurses 6.5 does have a use for u6 and u7, but only in a special >> > case where it matches common variants of that particular string: >> > >> > 20231001 >> > + modify setupterm to provide for using ANSI cursor-position >> > report (in user6/user7 terminfo capabilities) to obtain >> > screensize if neither environment variables or ioctl is used. >> > The ncurses test-program with options "-E -T" demonstrates >> > this feature. >> >> Thank you for that hint, in ncurses/tinfo/lib_setup.c I found some >> code that I am now trying to understand and maybe I find other >> locations (I didn't grep for "user6" before your answer, but only "u6" >> and "%dR".). >> >> The above text says "The ncurses test-program". Which program is >> meant by this? > > I suspect he means the program named "ncurses" that appears in the > "test" directory of an ncurses build. > > For example, here's my build tree. > > $ ls -l test/ncurses* > -rwxr-xr-x 1 branden branden 230048 Nov 30 00:23 test/ncurses > -rw-r--r-- 1 branden branden 187048 Nov 10 09:11 test/ncurses.c > -rw-r--r-- 1 branden branden 3029 Aug 9 2024 test/ncurses_tst.hin Ah yes, thank you very much - and now I understand the expression "The ncurses test-program" ;-) Nice, I will look at it and try to understand what it does with user6 and user7. Regards, Dirk
signature.asc
Description: PGP signature
