Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh/termcap and zsh/terminfo modules
- X-seq: zsh-workers 13921
- From: Clint Adams <schizo@xxxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- Subject: Re: zsh/termcap and zsh/terminfo modules
- Date: Mon, 9 Apr 2001 09:12:49 -0400
- Cc: zsh-workers@xxxxxxxxxx
- In-reply-to: <1010406183939.ZM14729@xxxxxxxxxxxxxxxxxxxxxxx>; from schaefer@xxxxxxxxxxxxxxxxxxxxxxx on Fri, Apr 06, 2001 at 06:39:39PM +0000
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <1010405001506.ZM644@xxxxxxxxxxxxxxxxxxxxxxx> <001801c0bd94$16f37f80$21c9ca95@xxxxxxxxxxxxxx> <20010405095812.A18353@xxxxxxxx> <1010406183939.ZM14729@xxxxxxxxxxxxxxxxxxxxxxx>
> 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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author