Simon Josefsson <si...@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.

  • Emacs AngeF... Alex Bochannek
    • Re: Em... Simon Josefsson via Bug reports for the GNU Internet utilities
      • Re... Alex Bochannek
        • ... Simon Josefsson via Bug reports for the GNU Internet utilities
          • ... Alex Bochannek
            • ... Simon Josefsson via Bug reports for the GNU Internet utilities
              • ... Alex Bochannek
                • ... Alex Bochannek
                • ... Simon Josefsson via Bug reports for the GNU Internet utilities
                • ... Alex Bochannek
                • ... Simon Josefsson via Bug reports for the GNU Internet utilities
                • ... Alex Bochannek

Reply via email to