[Bug 2155] sftp program has tty attributes setting problem

bugzilla-daemon at mindrot.org
Fri, 20 Sep 2013 09:32:11 -0000

--- Comment #8 from Darren Tucker <dtucker at zip.com.au> ---
repeated the test with libedit-20130712-3.1 and it fails.  so:

20100424: works
20120601: fails
20130712: fails

I'd be taking a pretty close look at this change, which was just before
the 20120601 release:L

http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libedit/tty.c?rev=1.42&content-type=text/x-cvsweb-markup&sortby=date

save and restore the tty settings on entry and exit respectively.
cleanup debugging printfs