zsh-workers
 help / color / mirror / code / Atom feed
From: Martin Buchholz <martinrb@google.com>
To: Peter Stephenson <pws@csr.com>, zsh-workers@zsh.org
Cc: Joel Ebel <jbebel@google.com>
Subject: zsh/terminfo parameter "terminfo" cannot be queried using  ${+terminfo}
Date: Tue, 1 Jun 2010 14:23:59 -0700	[thread overview]
Message-ID: <AANLkTikM2LyZfA_brCgsTpAK5LAeP1YAH9vi6zJvLoVv@mail.gmail.com> (raw)

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


                 reply	other threads:[~2010-06-01 21:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTikM2LyZfA_brCgsTpAK5LAeP1YAH9vi6zJvLoVv@mail.gmail.com \
    --to=martinrb@google.com \
    --cc=jbebel@google.com \
    --cc=pws@csr.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).