Re: php interactive shell without readline

From: Date: Sat, 04 Aug 2012 19:50:30 +0000
Subject: Re: php interactive shell without readline
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-62035@lists.php.net to get a copy of this message
Well, I saw it, and I say for a ~600 line library, why not? Heck, we could maybe reimplement the readline extension with it. On 04/08/12 20:49, Ferenc Kovacs wrote:
Hi, As most of you know, the current php interactive shell is pretty much useless without compiling php --with-readline, but for the most users this the first impression what they experience (eg. using the php interactive shell without readline support). There is an alternative readline replacement called linenoise ( https://github.com/antirez/linenoise/) written by the author of Redis, and I would like to know, what do you think about using that for the interactive shell if php is built without readline support. It is really small/compact and it is under the two clause BSD license so I think it would be a good candidate for bundling it in php. What do you think about it? Is it something worth looking into?
-- Andrew Faulds http://ajf.me/

« previous php.internals (#62035) next »