At 2025-10-04T16:41:43-0400, Thomas Dickey wrote: [snip] > > @@ -6210,6 +6210,10 @@ if test "$with_overwrite" != yes ; then > > cat >>$cf_edit_man <<CF_EOF > > sed -e "/\\#[ ]*include/s,<curses.h,<ncurses$ABI_SUFFIX/curses.h," \ > > -e "/\\#[ ]*include/s,<term.h,<ncurses$ABI_SUFFIX/term.h," \ > > + -e "/\\#[ ]*include/s,<form.h,<ncurses$ABI_SUFFIX/form.h," \ > > + -e "/\\#[ ]*include/s,<menu.h,<ncurses$ABI_SUFFIX/menu.h," \ > > + -e "/\\#[ ]*include/s,<panel.h,<ncurses$ABI_SUFFIX/panel.h," \ > > + -e "/\\#[ ]*include/s,<unctrl.h,<ncurses$ABI_SUFFIX/unctrl.h," \ > > < \$TMP >\$TMP.out > > same issue as patch #11
And I have a similar complaint about the installed man pages' accuracy.
Building and installing stock ncurses 20250927:
$ find ~/ncurses-HEAD/include | grep -E '(form|menu|panel|unctrl)\.h' | sort
/home/branden/ncurses-HEAD/include/ncursestw/form.h
/home/branden/ncurses-HEAD/include/ncursestw/menu.h
/home/branden/ncurses-HEAD/include/ncursestw/panel.h
/home/branden/ncurses-HEAD/include/ncursestw/unctrl.h
$ man -w form menu panel unctrl
/home/branden/ncurses-HEAD/share/man/man3/form.3form
/home/branden/ncurses-HEAD/share/man/man3/menu.3menu
/usr/share/man/man3/panel.3curses.gz
/home/branden/ncurses-HEAD/share/man/man3/util.3ncurses
[not sure why man-db man(1) finds the wrong "panel" page first...]
$ man -aw panel
/usr/share/man/man3/panel.3curses.gz
/home/branden/ncurses-HEAD/share/man/man3/panel.3ncurses
$ man form menu panel unctrl | sed -n '/^SYNOPSIS/,+1p'
SYNOPSIS
#include <form.h>
SYNOPSIS
#include <menu.h>
SYNOPSIS
#include <panel.h>
SYNOPSIS
#include <ncursesw/curses.h>
Okay, so maybe I don't need the "unctrl" line of the patch.[1] ;-)
For my own test programs to build against the correct header files, I
need cpp to resolve the correct location.
Regards,
Branden
[1] ncurses(3X):
Header Files
The header file curses.h itself includes the header files stdio.h
and unctrl.h.
signature.asc
Description: PGP signature
