From owner-freebsd-current Mon Jul 16 3:40: 1 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 2405B37B403; Mon, 16 Jul 2001 03:39:52 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id D537F6769D; Mon, 16 Jul 2001 03:39:50 -0700 (PDT) Date: Mon, 16 Jul 2001 03:39:50 -0700 From: Kris Kennaway To: "Andrey A. Chernov" Cc: David Malone , Kris Kennaway , current@FreeBSD.org, brian@FreeBSD.org, imp@FreeBSD.org Subject: Re: libedit replacement for libreadline Message-ID: <20010716033949.B9822@xor.obsecurity.org> References: <20010716013127.A16058@xor.obsecurity.org> <20010716103351.A81876@walton.maths.tcd.ie> <20010716143259.A11043@nagual.pp.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="24zk1gE8NUlDmwG9" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010716143259.A11043@nagual.pp.ru>; from ache@nagual.pp.ru on Mon, Jul 16, 2001 at 02:33:00PM +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 --24zk1gE8NUlDmwG9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jul 16, 2001 at 02:33:00PM +0400, Andrey A. Chernov wrote: > > 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.) >=20 > 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. Well, it depends on how you think of it; if you think of it instead as a "minimal libreadline" which does enough to support the other readline consumers in the FreeBSD base OS, then it makes a lot more sense to replace, IMO. We can make a port of GNU libreadline to satisfy ports which need more. Referring to Section 1.3.2 (FreeBSD Project Goals), this move seems to be well in line with the charter of the project. Kris --24zk1gE8NUlDmwG9 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 iD8DBQE7UsR1Wry0BWjoQKURAk/vAJ90AUpRKm2mXYHTLz6NySYhJH4drACfQ/wL Uuz8q0uHSHPWE/K0rxlpIeo= =+D9Y -----END PGP SIGNATURE----- --24zk1gE8NUlDmwG9-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message