Alex Bochannek <a...@bochannek.com> writes: >> Probably gnulib's m4/readline.m4 should detect that this particular >> libreadline is not usable, but I wonder exactly what is wrong with it >> (and how to detect that). Maybe it is possible to make it work (the >> problem still seems related to stdin/stdout buffering somehow -- but >> that is just a guess). > > Agreed. If you have any changes you would like me try out or suggestions > for how to debug, I am happy to keep looking.
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. /Simon
signature.asc
Description: PGP signature