Comment 24 for bug 1225327

Revision history for this message
In , Darren Tucker (dtucker) wrote :

(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?