Re: [pcre-dev] [Bug 620] Edition of pattern with readline

Page principale
Supprimer ce message
Auteur: Bob Rossi
Date:  
À: Nuno Lopes
CC: pcre-dev, 620
Sujet: Re: [pcre-dev] [Bug 620] Edition of pattern with readline
On Thu, Oct 18, 2007 at 10:29:42PM +0100, Nuno Lopes wrote:
> >>I suppose it could be made conditional. I will look at this when I next
> >>work on PCRE (not for a few weeks).
> >
> >That brings up a good point. If it's conditional, is it only GPL'd if
> >the resulting binary had the readline stuff enabled?
>
> sure. PHP is also licensed under a BSD-like license and you can compile it
> with readline to get a PHP shell-like CLI interpreter. But that doesn't
> make PHP GPL licensed or something like that.


No, it just makes the executables that you linked to readline under the
GPL.

> Anyway, there is a drop-in replacement for readline which is (near) 100%
> API compatible and is licensed under the BSD license. It's called Libedit.


Yup, I'm familiar with it.

Bob Rossi