Am 2019-09-16 um 17:50 schrieb Chet Ramey:
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.
This is a pretty good argument for my beloved BSD. Accepted. Comment
revoked.
Thank you for enlightening me. Looking forward for a new release to drop
my local patch.
Regards,
Michael
_______________________________________________
Bug-readline mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-readline