From owner-freebsd-current@FreeBSD.ORG Mon Feb 2 08:20:18 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E1A79106574C for ; Mon, 2 Feb 2009 08:20:18 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from mail-bw0-f21.google.com (mail-bw0-f21.google.com [209.85.218.21]) by mx1.freebsd.org (Postfix) with ESMTP id 40C5D8FC1E for ; Mon, 2 Feb 2009 08:20:17 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: by bwz14 with SMTP id 14so357636bwz.19 for ; Mon, 02 Feb 2009 00:20:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=2nIpjpa0wqiyW+ryphF1tAR8KtLaGPu+VlJ99OXQumk=; b=DjN0DFEdRAIc+I4vPea0ZTQ7iLg/NNoBEpcI6AnyTZh6MBV0Oktn/drFb11wxwmd3f LKCB9dvaq+oEJWL6YhCmstiOlQXL/GbVqnClgVyTlreYA+SN9o1+n2iclTikmbIt8cU3 /i78/QWXXwk+F22wMuIMwr8qhJ+RD5H4j0/G8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=LLOWNeWzvaD7b/lgRKK0zXxpaRjCg0sw/A1kYIXEoBu7hsA9EB3ab8UpuUrFuuR34i 5QIrBpeTo/3a1d/+TAv00Ucy3mcnaJFPRADJzNbUhg9RhOvWF/9E6atayPzj+15rJOem 6j4LmTrTm/SmRyGwiBJh3b38TQq+PKjN+5C4A= MIME-Version: 1.0 Received: by 10.180.233.15 with SMTP id f15mr1582796bkh.188.1233562816607; Mon, 02 Feb 2009 00:20:16 -0800 (PST) In-Reply-To: References: <87223.61659.qm@web32707.mail.mud.yahoo.com> Date: Mon, 2 Feb 2009 00:20:16 -0800 Message-ID: <7d6fde3d0902020020n3d5aac5cu4f3381a195d6fdcf@mail.gmail.com> From: Garrett Cooper To: Garance A Drosihn Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: giffunip@tutopia.com, freebsd-current@freebsd.org Subject: Re: Alternatives to gcc (was Re: gcc 4.3: when will it becomestandard compiler?) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Feb 2009 08:20:19 -0000 On Sun, Feb 1, 2009 at 9:28 PM, Garance A Drosihn wrote: > At 3:22 PM -0800 1/31/09, Pedro F. Giffuni wrote: >> >> --- On Sat, 1/31/09, Mark Linimon wrote: >> >> On Sat, Jan 31, 2009 at 01:08:54PM -0800, Pedro F. Giffuni wrote: >> > > The effort didn't go far enough. Why haven't we removed GNU >> > > readline ? >> > >> > Probably either because someone hasn't written a BSD-licensed >> > one, or someone hasn't done the work to test-compile src and >> > ports on all the appropriate architectures. >> >> Wrong on both: >> >> - libedit has a readline compatibility mode that has replaced >> GNU readline in the other BSDs. > > One minor datapoint: I use readline in some program that is used > by several people on several platforms. One of those users was on > MacOS 10 (iirc), and used the libedit which was on that platform. > While it could be made compile-time compatible with readline, it > wasn't a completely adequate replacement for this program of ours. > > The guy who tried this said it was because our program takes > advantage of knowing some of the internals of what readline is > doing, so it can implement a few extra features. Now, that can > easily be said to be "the fault" of our program, but who's to say > that other programs don't do the same thing? As such, libedit is > not necessarily a drop-in replacement for libreadline. Someone > would have to do the legwork, and certainly I don't feel like > doing that legwork. I don't even feel like fixing that one program > of my own. It's *mostly* feature complete. The only thing that's really missing is libhistory, which is required for some things like python's readline support. Other programs like MySQL happily used libedit embedded into their source without issues. It all depends on what features people choose to use in GNU's readline that makes it compatible or not with libedit. -Garrett