Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

zsh/terminfo parameter "terminfo" cannot be queried using ${+terminfo}



Hi zsh module "feature" maintainers,

This is a bug report.

It seems that the expression ${+terminfo} does not
resolve to either 0 or 1 as expected.


$ for m in HARDY LUCID; do echo ---; ssh $m /bin/zsh -i -c 'pwd;
lsb_release -cs; echo ZSH_VERSION=${ZSH_VERSION}; echo ${+terminfo}';
done
---
/home/martinrb
hardy
ZSH_VERSION=4.3.4
0
---
/etc/zsh/zshrc:10: unknown parameter: terminfo
/home/martinrb
lucid
ZSH_VERSION=4.3.10
zsh:1: unknown parameter: terminfo


(Aside: The message
/etc/zsh/zshrc:10: unknown parameter: terminfo
comes from the default zshrc config file on Ubuntu
(and probably also debian) which you guys should
examine.  That prompted this investigation and bug report)

I'm suspicious this is due to some interaction with the
"features feature" introduced into module loading in
zsh 4.3.6.  Perhaps the features system does not
expect an autoloaded variable to be unset after autoloading?

Thanks,

Martin



Messages sorted by: Reverse Date, Date, Thread, Author