Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:62035 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 94801 invoked from network); 4 Aug 2012 19:50:57 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Aug 2012 19:50:57 -0000 Authentication-Results: pb1.pair.com smtp.mail=ajf@ajf.me; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ajf@ajf.me; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ajf.me designates 64.22.89.133 as permitted sender) X-PHP-List-Original-Sender: ajf@ajf.me X-Host-Fingerprint: 64.22.89.133 oxmail.registrar-servers.com Linux 2.6 Received: from [64.22.89.133] ([64.22.89.133:37917] helo=oxmail.registrar-servers.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3C/91-19861-12D7D105 for ; Sat, 04 Aug 2012 15:50:57 -0400 Received: from [192.168.0.200] (5ad4bfa0.bb.sky.com [90.212.191.160]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by oxmail.registrar-servers.com (Postfix) with ESMTPSA id D271DC30002; Sat, 4 Aug 2012 15:50:53 -0400 (EDT) Message-ID: <501D7D06.3060701@ajf.me> Date: Sat, 04 Aug 2012 20:50:30 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0 MIME-Version: 1.0 To: Ferenc Kovacs CC: PHP Internals References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] php interactive shell without readline From: ajf@ajf.me (Andrew Faulds) 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/