If we're printing password prompts to /dev/tty rather than standard
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 11 Aug 2011 18:13:34 +0000 (18:13 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 11 Aug 2011 18:13:34 +0000 (18:13 +0000)
commite1cef38a3fe94b0379f2f6e5dc4006584b728966
tree6f466886dc6b65f32beedaa7e898d4d335ed5081
parentee07dce4bc01900faf5c9b14e14803705e239b5d
If we're printing password prompts to /dev/tty rather than standard
error, we should also read the corresponding password inputs from
/dev/tty. That way, redirection of Plink's standard input will play
nicely with SSH sessions that need interactive login.

(This is what we get for disdaining getpass(3) and going it alone, of
course. But we had no choice, due to the extra output part way through
keyboard-interactive.)

git-svn-id: svn://svn.tartarus.org/sgt/putty@9262 cda61777-01e9-0310-a592-d414129be87e
unix/uxcons.c