From owner-freebsd-current Mon Jul 16 3:33:21 2001 Delivered-To: freebsd-current@freebsd.org Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by hub.freebsd.org (Postfix) with ESMTP id A4A4D37B403; Mon, 16 Jul 2001 03:33:16 -0700 (PDT) (envelope-from ache@nagual.pp.ru) Received: (from ache@localhost) by nagual.pp.ru (8.11.4/8.11.4) id f6GAX2b11158; Mon, 16 Jul 2001 14:33:03 +0400 (MSD) (envelope-from ache) Date: Mon, 16 Jul 2001 14:33:00 +0400 From: "Andrey A. Chernov" To: David Malone Cc: Kris Kennaway , current@FreeBSD.org, brian@FreeBSD.org, imp@FreeBSD.org Subject: Re: libedit replacement for libreadline Message-ID: <20010716143259.A11043@nagual.pp.ru> References: <20010716013127.A16058@xor.obsecurity.org> <20010716103351.A81876@walton.maths.tcd.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20010716103351.A81876@walton.maths.tcd.ie> User-Agent: Mutt/1.3.19i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Jul 16, 2001 at 10:33:51 +0100, David Malone wrote: > On Mon, Jul 16, 2001 at 01:31:27AM -0700, Kris Kennaway wrote: > > > I've just finished syncing up our libedit to the version in NetBSD, > > which includes a number of bugfixes, but perhaps more interestingly it > > can function as a drop-in (apparently binary compatible) replacement > > for GNU libreadline (unfortunately it's not binary compatible with our > > present libedit). > > It doesn't actually impliment all of libreadline - just it's most > common uses. Last time I checked libedit couldn't emulate readline's > callback mode. I looked at implimenting the callback stuff, but it > would be really hard to do properly 'cos of how libedit is structured. > (In the end I hacked something together, but it's really ugly.) I don't think that libreadline replacement is good idea. Libreadline is moving target - every version adds new functions and renames old ones. I doubt that NetBSD people will follow libreadline closely. Moreover, I think some libreadline stuff is very libreadline specific and will be not implemened in any case. So libedit as libreadline replacement can be used only if you want to save some space on floppy for very simple libreadline application, but not in general case. -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message