Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: More ramblings Re: zsh/termcap and zsh/terminfo modules
- X-seq: zsh-workers 13931
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: More ramblings Re: zsh/termcap and zsh/terminfo modules
- Date: Mon, 9 Apr 2001 16:58:39 +0000
- In-reply-to: <1010409162431.ZM5909@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <1010405001506.ZM644@xxxxxxxxxxxxxxxxxxxxxxx> <001801c0bd94$16f37f80$21c9ca95@xxxxxxxxxxxxxx> <20010405095812.A18353@xxxxxxxx> <1010406183939.ZM14729@xxxxxxxxxxxxxxxxxxxxxxx> <20010409091249.A1844@xxxxxxxx> <1010409154550.ZM29096@xxxxxxxxxxxxxxxxxxxxxxx> <20010409115241.A4549@xxxxxxxx> <1010409160903.ZM29234@xxxxxxxxxxxxxxxxxxxxxxx> <1010409162431.ZM5909@xxxxxxxxxxxxxxxxxxxxxxx>
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author