bug-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs AngeFTP fails on macOS 10.14 with GNU inetutils FTP


From: Simon Josefsson
Subject: Re: Emacs AngeFTP fails on macOS 10.14 with GNU inetutils FTP
Date: Fri, 21 May 2021 10:09:11 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Alex Bochannek <alex@bochannek.com> writes:

> Hello!
>
> I sent in bug 48494: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=48494
> to Emacs, but I am starting to think this might be an inetutils issue.
>
> I observed that AngeFTP cannot parse the output of the GNU inetutils FTP
> client on macOS 10.14. It errors out with "FTP Error: OPEN request
> failed:" and the process buffer shows the following:
>
> ftp> open ftp.tcl.tk
> open ftp.tcl.tk
> cd /
> cd /
> cd /
> cd /
> cd /
> cd /
> cd /
> cd /
> cd /
> cd /
> cd /
> cd /
> Connected to ftp.tcl.tk.
> 421 Service not available, remote server has closed connection
> ftp> Not connected.
> ftp> Not connected.
> ftp> Not connected.
> ftp> Not connected.
> ftp> Not connected.
> ftp> Not connected.
> ftp> 
>
> This appears to be caused by readline being enabled for ftp and is
> resolved when disabling it. The tnftp documentation suggests that this
> might be necessary for AngeFTP.
>
> Netkit-ftp on Linux does not exhibit this problem even with readline
> enabled; I could not test GNU inetutils on Linux. I tested tnftp on
> macOS and it also did not exhibit this problem even with readline
> enabled.
>
> Tested versions:
> ftp (GNU inetutils) 2.0 macOS 10.14.6
> tnftp-20200705 macOS 10.14.6
> netkit-ftp 0.17-34.1 Ubuntu 20.04.2 LTS
>
> Is this a known problem? Does this maybe work as intended?

Hi.  Thanks for the report.  It is not a known problem.  The output
looks weird, and it could be readline or related to buffering.  Could
you debug this further to see if you find out why it happens?  Maybe
Netkit-ftp/tnftp disables stdin buffering or something else, and
InetUtils doesn't.  Just an idea.

/Simon

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]