From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9086 invoked from network); 9 Apr 2001 13:13:13 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 9 Apr 2001 13:13:13 -0000 Received: (qmail 13384 invoked by alias); 9 Apr 2001 13:13:09 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 13921 Received: (qmail 13373 invoked from network); 9 Apr 2001 13:13:08 -0000 Date: Mon, 9 Apr 2001 09:12:49 -0400 From: Clint Adams To: Bart Schaefer Cc: zsh-workers@sunsite.dk Subject: Re: zsh/termcap and zsh/terminfo modules Message-ID: <20010409091249.A1844@dman.com> References: <1010405001506.ZM644@candle.brasslantern.com> <001801c0bd94$16f37f80$21c9ca95@mow.siemens.ru> <20010405095812.A18353@dman.com> <1010406183939.ZM14729@candle.brasslantern.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <1010406183939.ZM14729@candle.brasslantern.com>; from schaefer@candle.brasslantern.com on Fri, Apr 06, 2001 at 06:39:39PM +0000 > Can someone who has terminfo confirm that (( $+terminfo )) is a valid > test of whether the terminfo module is available? Of course, zsh could > have been configured via config.modules to not autoload it ... $+terminfo returns 1 (after autoloading the module). > The other thought I had was to make both modules loadable, but simply > not do anything useful if the corresponding library wasn't available > (e.g. on my system "echoti ..." would always return nonzero, and the > $terminfo hash would be empty). That makes (( $+terminfo )) useless. Perhaps the libraries to link to for each module should be dictated by the .mdd files.