diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2002-08-22 12:57:43 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2002-08-22 12:57:43 +0000 |
commit | 7123f4413bd02e2ae9a9f762012ba7906b0e7bfd (patch) | |
tree | 761f18f0d80c4b01a1df90ad38d072bdadcb776f /Doc/Zsh | |
parent | 1c5d5bb1f4a2552364d96acfd5c9f6dbd25aaa80 (diff) | |
download | zsh-7123f4413bd02e2ae9a9f762012ba7906b0e7bfd.tar.gz zsh-7123f4413bd02e2ae9a9f762012ba7906b0e7bfd.tar.xz zsh-7123f4413bd02e2ae9a9f762012ba7906b0e7bfd.zip |
17544: implement read -s to suppress tty echo
Diffstat (limited to 'Doc/Zsh')
-rw-r--r-- | Doc/Zsh/builtins.yo | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo index 88e7e266f..5c084302d 100644 --- a/Doc/Zsh/builtins.yo +++ b/Doc/Zsh/builtins.yo @@ -811,8 +811,8 @@ contain symbolic links. alias(r)(fc -e -) findex(read) vindex(IFS, use of) -ifzman(xitem(tt(read) [ tt(-rzpqAclneEt) ] [ tt(-k) [ var(num) ] ])) -item(ifnzman(tt(read) [ tt(-rzpqAclneEt) ] [ tt(-k) [ var(num) ] ]) [ tt(-u)var(n) ] [ var(name)[tt(?)var(prompt)] ] [ var(name) ... ])( +ifzman(xitem(tt(read) [ tt(-rszpqAclneEt) ] [ tt(-k) [ var(num) ] ])) +item(ifnzman(tt(read) [ tt(-rszpqAclneEt) ] [ tt(-k) [ var(num) ] ]) [ tt(-u)var(n) ] [ var(name)[tt(?)var(prompt)] ] [ var(name) ... ])( vindex(REPLY, use of) vindex(reply, use of) Read one line and break it into fields using the characters @@ -829,6 +829,10 @@ Raw mode: a `tt(\)' at the end of a line does not signify line continuation and backslashes in the line don't quote the following character and are not removed. ) +item(tt(-s))( +Don't echo back characters if reading from the terminal. Currently does +not work with the tt(-q) option. +) item(tt(-q))( Read only one character from the terminal and set var(name) to `tt(y)' if this character was `tt(y)' or `tt(Y)' and to `tt(n)' otherwise. |