[Bug 2155] sftp program has tty attributes setting problem

bugzilla-daemon at mindrot.org
Mon, 30 Sep 2013 11:58:03 -0000

--- Comment #12 from wzis <wzis at hotmail.com> ---
By right, a well behaved program should handle the echo only at the
necessary point: for example, to read password/passphrase, the echo
needs be turned off, but after that, echo should be recovered to what
user set. If the program wants to make sure a string be visible, it
should explicitly output it, not by turn on the echo when user wants to
turn it off. Only that way, both program can work properly and user's
requirement can be met.
We use that feature to give user a menu to download files, but not let
user see which files.