Subject: Re: bug#48494: 28.0.50; [PATCH] AngeFTP fails on macOS 10.14 with GNU inetutils FTP

From: Alex Bochannek <[email-masked]>
Date: Mon, 24 May 2021 11:59:00 -0700

Michael Albinus <[email-masked]> writes:

> Alex Bochannek <[email-masked]> writes:
>
> Hi Alex,
>
>>> Perhaps the `ange-ftp-ftp-program-args' doc string should mention that
>>> some ftp clients require "-e"?  That should help with discoverability
>>> for people who have these problems.
>>
>> diff --git a/lisp/net/ange-ftp.el b/lisp/net/ange-ftp.el
>> index 04ea809127..064aca5abf 100644
>> --- a/lisp/net/ange-ftp.el
>> +++ b/lisp/net/ange-ftp.el
>> @@ -949,7 +949,9 @@ ange-ftp-gateway-ftp-program-name
>>    :type 'string)
>>
>>  (defcustom ange-ftp-ftp-program-args '("-i" "-n" "-g" "-v")
>> -  "A list of arguments passed to the FTP program when started."
>> +  "A list of arguments passed to the FTP program when started.
>> +Some FTP clients may also require the \"-e\" argument, which disables
>> +command line editing."
>>    :group 'ange-ftp
>>    :type '(repeat string))

Follow-up to this. The issue on macOS appears to be caused by inetutils
picking up libedit for Readline during configuration. Once I installed a
proper libreadline and configured with the right prefix, the problem was
resolved.

Adding the -e comment to the docstring still seems sensible to me.

-- 
Alex.