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: Alex Bochannek
Subject: Re: Emacs AngeFTP fails on macOS 10.14 with GNU inetutils FTP
Date: Mon, 24 May 2021 13:21:17 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin)

Simon Josefsson <simon@josefsson.org> writes:

> What is /usr/lib/libreadline.dylib on MacOS?  I suppose it does provide
> 'readline' function or linking would have failed.  Is the tool usable on

libedit is editline in macOS, which offers readline emulation (according
to the man page.) It looks like even in the latest macOS it's still
based on the 2012 NetBSD version:
https://opensource.apple.com/source/libedit/libedit-55/

> the command-line?  If you just start 'ftp' manually and type some
> commands, try simple editing of the command, and arrow-up etc.

Yes, it works. There is a subset of readline commands. Simple example in
Emacs mode: C-t works, but M-t does not (M-d also works.)

> 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.

Thanks!

-- 
Alex.



reply via email to

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