Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
zsh/terminfo parameter "terminfo" cannot be queried using ${+terminfo}
- X-seq: zsh-workers 27984
- From: Martin Buchholz <martinrb@xxxxxxxxxx>
- To: Peter Stephenson <pws@xxxxxxx>, zsh-workers@xxxxxxx
- Subject: zsh/terminfo parameter "terminfo" cannot be queried using ${+terminfo}
- Date: Tue, 1 Jun 2010 14:23:59 -0700
- Cc: Joel Ebel <jbebel@xxxxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1275427451; bh=2TiE0RhvMWrkGiyyyO2IsIF9U78=; h=MIME-Version:Date:Message-ID:Subject:From:To:Cc:Content-Type; b=KpOh1LGzu16HnITxXmGWNxE/vVlT0jZKf1JFH1w+5/y2ZRC1jq4Mn2qRGaWBv7t93 ur9vp3tuLoyHryl/hG92w==
- Domainkey-signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=mime-version:date:message-id:subject:from:to:cc: content-type:x-system-of-record; b=TM5mAW6ZbSk+E2dXKb/PQqpa+nj8N7P0ncnGQtX+Yf/+FdaOPdNeRX+vG3juEb9Sj O5Mfvxd+k6HWVALuQfa0g==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
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