bug-readline
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-readline] Comment on c612c3607b183ae654d6c920c729de5444fdb899 (


From: Osipov, Michael
Subject: Re: [Bug-readline] Comment on c612c3607b183ae654d6c920c729de5444fdb899 (commit readline-20190906)
Date: Mon, 16 Sep 2019 17:56:00 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0



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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]