From 7123f4413bd02e2ae9a9f762012ba7906b0e7bfd Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 22 Aug 2002 12:57:43 +0000 Subject: 17544: implement read -s to suppress tty echo --- Doc/Zsh/builtins.yo | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Doc') 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. -- cgit 1.4.1