On 9/16/19 8:44 AM, Osipov, Michael wrote:
Hi Chet,
first of all, thanks for pushing my changes into devel.
I am a bit unhappy with the wording "TGETENT_BROKEN" and "It's not clear
how HPUX is so broken here." Initially, I shared the same view, but when
looking into the POSIX definition of tgetent(2) and (tgetflag) by the Open
Group [1], it says:
The tgetent routine loads the entry for name. It returns:
1 on success,
0 if there is no such entry (or that it is a generic type, having
too little information for curses applications to run), and
-1 if the terminfo database could not be found.
This is the traditional return value, dating back to the original BSD
implementation. If HPUX does it differently, it's broken.