mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-27 04:40:59 +01:00
17544: implement read -s to suppress tty echo
This commit is contained in:
parent
1c5d5bb1f4
commit
7123f4413b
3 changed files with 36 additions and 5 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue