From owner-freebsd-current Tue Jul 17 9:40:36 2001 Delivered-To: freebsd-current@freebsd.org Received: from obsecurity.dyndns.org (adsl-63-207-60-62.dsl.lsan03.pacbell.net [63.207.60.62]) by hub.freebsd.org (Postfix) with ESMTP id 3C84F37B401; Tue, 17 Jul 2001 09:40:32 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id D98C06769D; Tue, 17 Jul 2001 09:40:30 -0700 (PDT) Date: Tue, 17 Jul 2001 09:40:28 -0700 From: Kris Kennaway To: Garance A Drosihn Cc: Kris Kennaway , David Malone , current@FreeBSD.ORG, brian@FreeBSD.ORG, imp@FreeBSD.ORG, ache@FreeBSD.ORG Subject: Re: libedit replacement for libreadline Message-ID: <20010717094027.A78232@xor.obsecurity.org> References: <20010716013127.A16058@xor.obsecurity.org> <20010716103351.A81876@walton.maths.tcd.ie> <20010716031932.A5930@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="yrj/dFKFPuw6o+aM" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from drosih@rpi.edu on Tue, Jul 17, 2001 at 12:23:28PM -0400 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 --yrj/dFKFPuw6o+aM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jul 17, 2001 at 12:23:28PM -0400, Garance A Drosihn wrote: > I may be misunderstanding what you mean here, but I don't think > we should replace libreadline with libedit. However, I do find > this very interesting, as some of my friends and I have a program > that we're going to switch from "gnu" to "bsd" licensing, and it > would be nice if we could use this libedit instead of libreadline. >=20 > Is there some way freebsd could switch base-system components to > use libedit, and then turn libreadline into a port for any other > ports which need libreadline? I think hacking gdb to use libedit would cause a lot of pain for future maintenance, although bc allegedly supports libedit already (I say allegedly because last time I tried to build with it, it didn't compile). Vinum is the third thing in the base system which uses libreadline: it could feasibly be rewritten. However, gdb, vinum and bc all compile fine using the libreadline API shim for libedit (modulo bugs and missing features which people need to investigate and tell me about), leaving no dependencies on GNU libreadline in the base system at the present time. Kris --yrj/dFKFPuw6o+aM Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE7VGp7Wry0BWjoQKURAj2qAJsFmKsUgRcpx29l9QGfp5Yd/VY5vACfbrF3 Z0K38IOrJtWWhXOMIfEUGG8= =ydFJ -----END PGP SIGNATURE----- --yrj/dFKFPuw6o+aM-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message