From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15606 invoked from network); 12 Feb 2002 17:41:58 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 12 Feb 2002 17:41:58 -0000 Received: (qmail 26239 invoked by alias); 12 Feb 2002 17:41:34 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 16615 Received: (qmail 26199 invoked from network); 12 Feb 2002 17:41:24 -0000 From: "Bart Schaefer" Message-Id: <1020212174100.ZM17598@candle.brasslantern.com> Date: Tue, 12 Feb 2002 17:40:59 +0000 In-Reply-To: <20020212171620.GC17816@fysh.org> Comments: In reply to Zefram "Re: PATCH: Re: zsh: can't find terminal definition on vt100" (Feb 12, 5:16pm) References: <1020212165549.ZM15901@candle.brasslantern.com> <20020212171620.GC17816@fysh.org> X-Mailer: Z-Mail (5.0.0 30July97) To: Zefram , zsh-workers@sunsite.dk Subject: Re: PATCH: Re: zsh: can't find terminal definition on vt100 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Feb 12, 5:16pm, Zefram wrote: } Subject: Re: PATCH: Re: zsh: can't find terminal definition on vt100 } } Bart Schaefer wrote: } > #ifdef TGETENT_ACCEPTS_NULL } >+# ifdef TGETENT_ZERO_SUCCESS } >+# else } >+# endif } > #else } > #endif } } Surely these two conditions are orthogonal Theoretically, yes; practically, no. TGETENT_ZERO_SUCCESS only applies to a slightly twisted interpretation of the X/Open standard, as far as I know; and that same implementation does accept a NULL buffer, as far as I know. } -- your configure tests are orthogonal -- Only because it was easier to write them that way ... } Or, of course, make it clearer by defining macros for TGETENT_SUCCESS etc. I would have done that if there'd been more than one place in the code where they were needed. Based on previous discussions, there may already be macros for this in the HP-UX curses package; but I don't know, and don't have access to it. I haven't committed the patch and it'd be better if somebody who does have HP-UX 11 does so, or at least posts a revised and known-working patch. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net