[PATCH] update to the latest libedit version and remove libreadline deps

Jilles Tjoelker jilles at stack.nl
Fri Nov 5 20:01:09 UTC 2010


On Fri, Nov 05, 2010 at 04:32:56PM +0100, Baptiste Daroussin wrote:
> I've updated libedit to the latest version available in the netbsd cvs.
> UTF8 support is disabled for now has it seems to be experimental and segfault.
> I also patch and tested all the sources that used to be linked against
> libreadline so that it now uses libedit making libreadline unused (I
> guess, perhaps I have missed some)

> beware that there are collision between libreadline and libedit
> (/usr/include/readline/readline.h) is provided by both of them.

> You can find the patch against current here:
> http://people.freebsd.org/~bapt/update-libedit.patch

This patch reverts various local enhancements to libedit, such as:
* r212191 more expected behaviour of ed-delete-next-char
* r212235 <delete> key support
* r209217,r209219,r209224 completion improvements for sh(1)
* built-in "\033[1~" and "\033[4~" support (not sure how useful this is)
* .An macros in man pages

If the csh-style history expansion gets in, a "set -o histexpand" for sh
could be useful. I think this is not important enough to add all the
code for, but if we have the code anyway why not allow using it. On the
other hand, if we can replace it with stubs and is very simplistic,
perhaps it is better to stub it out and not change sh.

-- 
Jilles Tjoelker


More information about the freebsd-hackers mailing list