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

Warning: readline is GPL - incompatible with MPL


A friend of mine reminded me lately, that libreadline is GPL not LGPL
library so it can only be used in GPL-compatible software.

Under the Subject: "Bug#150941: firebird-utils: Autocompletion and last
commands used on ISQL" 26.VI.2002 I can read in a reply from 
Mark O'Donohue <mark.odonohue@ludwig.edu.au> :

> I would like isql-fb (console) to let me relaunch last typed commands,
readline is already in firebird2  :-).

However AFAIK GPL is incompatible with MPL type licenses like IPL
used by FireBird
(http://firebird.sourceforge.net/index.php?op=doc&id=ipl )
I am Cc:ing debian-legal to be corrected if I am wrong somewhere.

I'd suggest using editline as a replacement, which is available
under BSD-type license.

About libeditline I can read:
Description: Line editing library similar to readline
 This is a line-editing library.  It can be linked into almost any
 program to provide command-line editing and recall.
 It is call-compatible with a subset of the FSF readline library, but it
 is a fraction of the size (and offers fewer features).
 This is the runtime library only.

So I think it would be good to link that lib and use it's features and
NOT to GNU libreadline.

However it may be not 100% drop-in replacement.


					Grzegorz B. Prokopski

Attachment: signature.asc
Description: PGP signature

Reply to: