lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]




On Thu, Oct 28, 2021 at 5:07 AM eugeny gladkih <john@drweb.com> wrote:


> On 28 Oct 2021, at 09:50, Andrew Gierth <andrew@tao11.riddles.org.uk> wrote:
>
>>>>>> "eugeny" == eugeny gladkih <john@drweb.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
> https://cgit.freebsd.org/ports/tree/lang/lua54/files/extra-patch-libedit-dl
>

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

Uh... what?

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

/s/ Adam