On Thu, Oct 28, 2021 at 5:07 AM eugeny gladkih <email@example.com
> On 28 Oct 2021, at 09:50, Andrew Gierth <firstname.lastname@example.org> wrote:
>>>>>> "eugeny" == eugeny gladkih <email@example.com> writes:
> eugeny> re,
> eugeny> you know, redline is viral GNU monster, many people want to
> eugeny> avoid usage of it.
> Libedit (BSD license) works just fine, too, just by replacing the
> #include lines.
> For the FreeBSD port I wrote a patch that loads libedit dynamically on
> demand, with RTLD_LOCAL, to avoid issues with libedit or readline
> loading a different version of libcurses than one that a script using
> lcurses might want to use. This can be found at
libedit is UNIX only library and requires NCURSES or SysV CURSES. good but still viral and unportable.
Yours sincerely, Eugeny.
+33 6 38 52 27 93
"Viral": libedit is BSD-licensed and ncurses is MIT-licensed. Not sure where you're getting that it's viral.
"Unportable": The only major platform not supported by libedit is Windows, and you can use WinEditLine there, which is API-compatible and BSD-licensed.