Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
read -s doesn't work with -t?
- X-seq: zsh-users 12584
- From: "Mikael Magnusson" <mikachu@xxxxxxxxx>
- To: "zsh users" <zsh-users@xxxxxxxxxx>
- Subject: read -s doesn't work with -t?
- Date: Fri, 15 Feb 2008 22:27:48 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=nnSiTH31qis3PzFsAB7lMGtQHcg86hYj0m3k3WC3SRQ=; b=AnJqX/OlmW9C7PQBsN6FGCCbuIsYmUoqHOO+XiR6iUpNtEZdbjVQQRZq+07LhdKFsmsnaAPZQO6eWE4x1gkjb33H4DQYloQZo2c+7mdjKZHRu0Mk9fgqoVUzaWP3LORttvXuN7TdZP1JPF+4J0IHab8dr0dGJZVUI38mQveCZEY=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=DVdcsQM2c0kDWa1aFq2wTx3xvdSm/+vm/TGqAnxjXEDF1NcwzTs46sKn3dpM4kqsEg/Xa2in803JvPxbasn99sgEuoAwu17Km0WMlfnKhuL+VKkm/6ivEm1B9Ns0eNupK9mIgtxnka2SdIf65hsFq8Dhj25Sv+JFFUP1QYur7wI=
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
I'm trying to do something silly with mouse reporting mode, and I
don't want zsh to echo the stuff to the terminal, but I also don't
want to block until I click the mouse, so read -s fulfills the first
criteria while read -t 60 fulfills the second one. However, when I
give read -s -t 60, the -s seems to be ignored. Bug or feature? Either
way it seems to be undocumented, the entry for read mentions -s does
not work with -q, but -t is not -q.
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author