From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18272 invoked from network); 9 Apr 2001 16:58:59 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 9 Apr 2001 16:58:59 -0000 Received: (qmail 16563 invoked by alias); 9 Apr 2001 16:58:55 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 13931 Received: (qmail 16546 invoked from network); 9 Apr 2001 16:58:54 -0000 From: "Bart Schaefer" Message-Id: <1010409165840.ZM27604@candle.brasslantern.com> Date: Mon, 9 Apr 2001 16:58:39 +0000 In-Reply-To: <1010409162431.ZM5909@candle.brasslantern.com> Comments: In reply to "Bart Schaefer" "More ramblings Re: zsh/termcap and zsh/terminfo modules" (Apr 9, 4:24pm) References: <1010405001506.ZM644@candle.brasslantern.com> <001801c0bd94$16f37f80$21c9ca95@mow.siemens.ru> <20010405095812.A18353@dman.com> <1010406183939.ZM14729@candle.brasslantern.com> <20010409091249.A1844@dman.com> <1010409154550.ZM29096@candle.brasslantern.com> <20010409115241.A4549@dman.com> <1010409160903.ZM29234@candle.brasslantern.com> <1010409162431.ZM5909@candle.brasslantern.com> X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-workers@sunsite.dk Subject: Re: More ramblings Re: zsh/termcap and zsh/terminfo modules MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Apr 9, 4:24pm, Bart Schaefer wrote: } } Having stuck in an AC_SEARCH_LIBS(tigetstr, ...) I now have a working } zsh/terminfo module (but zsh is being linked against libcurses). However, now neither zsh/termcap nor zsh/terminfo is autoloaded; I just realized that the `load' directive is not eval'd the way `link' is, so that part of my last patch didn't work. Fortunately, it's not needed. Index: Src/Modules/termcap.mdd =================================================================== RCS file: /cvsroot/zsh/zsh/Src/Modules/termcap.mdd,v retrieving revision 1.3 diff -u -r1.3 termcap.mdd --- Src/Modules/termcap.mdd 2001/04/09 15:58:55 1.3 +++ Src/Modules/termcap.mdd 2001/04/09 16:47:16 @@ -10,12 +10,7 @@ echo either; fi ' -load='if test "x$ac_cv_func_tgetent" = xyes; then - echo yes; - else - echo no; - fi -' +load=yes autobins="echotc" Index: Src/Modules/terminfo.mdd =================================================================== RCS file: /cvsroot/zsh/zsh/Src/Modules/terminfo.mdd,v retrieving revision 1.5 diff -u -r1.5 terminfo.mdd --- Src/Modules/terminfo.mdd 2001/04/09 15:58:55 1.5 +++ Src/Modules/terminfo.mdd 2001/04/09 16:47:16 @@ -10,12 +10,7 @@ echo either; fi ' -load='if test "x$ac_cv_func_tigetstr" = xyes; then - echo yes; - else - echo no; - fi -' +load=yes autobins="echoti" autoparams="terminfo" -- 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