From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29671 invoked by alias); 9 May 2011 17:16:31 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 29204 Received: (qmail 3181 invoked from network); 9 May 2011 17:16:30 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.1 Received-SPF: pass (ns1.primenet.com.au: SPF record at lorien.comfychair.org designates 173.8.144.98 as permitted sender) Date: Mon, 9 May 2011 10:16:21 -0700 From: Danek Duvall To: Peter Stephenson Cc: zsh-workers@zsh.org Subject: Re: patch to make $TERMINFO special Message-ID: <20110509171620.GC3073@lorien.comfychair.org> Mail-Followup-To: Danek Duvall , Peter Stephenson , zsh-workers@zsh.org References: <20110508201312.GA5170@lorien.comfychair.org> <20110509121653.793dcd62@pwslap01u.europe.root.pri> <20110509155138.GA3073@lorien.comfychair.org> <20110509172014.26217434@pwslap01u.europe.root.pri> <20110509162302.GB3073@lorien.comfychair.org> <20110509180226.33b5df2a@pwslap01u.europe.root.pri> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110509180226.33b5df2a@pwslap01u.europe.root.pri> User-Agent: Mutt/1.5.20 (2010-04-22) On Mon, May 09, 2011 at 06:02:26PM +0100, Peter Stephenson wrote: > Hmmm... the code that sets the exported value (that terminfo uses) is > probably being set later, in which we do need to fix up exports. I > think it should be conditionalised, however... Okay. FWIW, I'm happy with the TERM=$TERM solution, too. > +/* Function used when we need to reinitialies the terminal */ "reinitialise" > +/**/ > +char * > +terminfogetfn(Param pm, char *x) The second parameter causes the compiler to emit a warning, and the first should probably be marked UNUSED(). Danek