Bug 211128

Summary: sh(1)'s read built-in should support -s option ("silent mode")
Product: Base System Reporter: Enji Cooper <ngie>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: New ---    
Severity: Affects Some People    
Priority: ---    
Version: 11.0-STABLE   
Hardware: Any   
OS: Any   

Description Enji Cooper freebsd_committer freebsd_triage 2016-07-14 21:19:26 UTC
Both sh and zsh support "silent mode", which basically doesn't output echoed characters. This is really helpful for reading in data like passwords.
Comment 1 Enji Cooper freebsd_committer freebsd_triage 2016-07-14 21:36:47 UTC
(In reply to Ngie Cooper from comment #0)

stty -echo
read -p "my prompt" var
stty echo 

works too although. Hmm.