The GNU Readline library provides a set of functions for use by applications that allow users to edit command lines as they are typed in. Both Emacs and vi editing modes are available. The Readline library includes additional functions to maintain a list of previously-entered command lines, to recall and perhaps reedit those lines, and perform csh-like history expansion on previous commands. The include files are kept in PREFIX/include/readline5 and the library files are kept in PREFIX/lib/readline5.
The GNU Readline library provides a set of functions for use by applications that allow users to edit command lines as they are typed in. Both Emacs and vi editing modes are available. The Readline library includes additional functions to maintain a list of previously-entered command lines, to recall and perhaps reedit those lines, and perform csh-like history expansion on previous commands. The include files are kept in PREFIX/include/readline5 and the library files are kept in PREFIX/lib/readline5.
To install readline-5, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install readline-5
To see what files were installed by readline-5, run:
port contents readline-5
To later upgrade readline-5, run:
sudo port selfupdate && sudo port upgrade readline-5
Reporting an issue on MacPorts Trac
The MacPorts Project uses a system called Trac to file tickets to report bugs and enhancement requests.
Though anyone may search Trac for tickets, you must have a GitHub account in order to login to Trac to create tickets.