[Bug 2155] sftp program has tty attributes setting problem

bugzilla-daemon at mindrot.org
Sun, 22 Sep 2013 13:24:29 -0000

Darren Tucker <dtucker at zip.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |minor

--- Comment #11 from Darren Tucker <dtucker at zip.com.au> ---
(In reply to robie.basak from comment #9)
> I feel that I have been mispresented here.

I get that impression after having read the ubuntu bug, so my
apologies.

anyway, having looked at this some more I'm not convinced it's a bug,
or at least that that fact that it behaves that way without libedit is
anything more than an implementation detail.  Even in batch mode, sftp
makes a point of echoing the commands:

    if (!interactive) { /* Echo command */
            printf("sftp> %s", cmd);

I also tried disabling libedit ("sftp:edit off" in ~/.editrc) however
that didn't change the behaviour.

@wzis what exactly are you trying to do here?  ie what's the objective
of the exercise?