On Tue, Dec 20, 2005 at 03:33:57PM -0600, Richard Ray wrote:
> I'm trying to use ftp as a co-process
Interactive programs like ftp often want to talk to a tty instead
of just a pipe. For these programs, you can use a pseudo-tty (pty).
After adding :pty t to run-program's arguments, and changing all
calls to both process-input and process-output by calls to
process-pty, your code worked for me.