Simon Josefsson <[email protected]> writes: > I don't really know what to try -- debugging stdin/stdout and > sub-process behaviour is tricky. If you can reproduce any difference > between libreadline-ftp and libedit-ftp in some other way, that may > help. It could also be a bug in emacs. FWIW, I found a Mac and was > able to build inetutils on it and as you said, ftp works fine > standalone. If you don't come up with anything more, having this e-mail > thread document the behaviour is a good result anyway, in case anyone > else discovers it in the future.
I keep debugging what's going on there. I have found an interesting, platform-dependent behavior in Emacs that may or may not be related to this problem. In the meantime, it may make sense to either change the autoconf scripts to force a GNU readline dependency on systems that have a BSD editline or at least introduce a GNU readline dependency to the Inetutils distributed by Homebrew for macOS. I have also submitted a documentation patch against Ange-FTP that suggests a user configures '-e' for FTP clients that use editline. -- Alex.
