Greg A. Woods writes:
> I think sftp is simply for people who's ability to learn and adapt has
> been somehow lost or turned off or something! ;-) Otherwise it was
> just a waste of a "small matter of programming."
Of course it is sometimes programs that have difficulty learning and
adapting!
But, unfortunately, the current implementation of sftp is completely
useless for interfacing to other programs. (The last version I tries was
2.0.12. I think the same applies to 2.0.13.)
Case in point: sftp with ange-ftp in Emacs.
My attempts to use these two in conjunction failed because sftp tries to be
"too helpful". In particular:
sftp uses a readline-like interface and can't talk to a non-TTY
output is paged
ls produces multi-column output
Along with these go some inconveniences
you can't ctrl-Z out of sftp
typeahead to sftp is lost
>From my perspective, a useful implementation of sftp would be one which
slavish mimics ftp (down to those funny numbers at the beginnings of the
lines). [The one thing that I would try to standardize is the format of
'dir' listings -- again to make the listing easier for programs like
ange-ftp to interpret.]
In the meantime, I'm using Kerberos FTP with ange-ftp.
--
Charles Karney
Plasma Physics Laboratory E-mail: [EMAIL PROTECTED]
Princeton University Phone: +1 609 243 2607
Princeton, NJ 08543-0451 FAX: +1 609 243 3438