From owner-freebsd-current@FreeBSD.ORG Thu Feb 4 17:52:41 2010 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 A08B2106566B; Thu, 4 Feb 2010 17:52:41 +0000 (UTC) (envelope-from lwindschuh@googlemail.com) Received: from mail-fx0-f225.google.com (mail-fx0-f225.google.com [209.85.220.225]) by mx1.freebsd.org (Postfix) with ESMTP id 0A3898FC0A; Thu, 4 Feb 2010 17:52:40 +0000 (UTC) Received: by fxm25 with SMTP id 25so779848fxm.34 for ; Thu, 04 Feb 2010 09:52:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=o4IVjcwZ5KnIIRJCX+i/lS5QMugjs6zn1xTgBWOpKx0=; b=dumv27fncpPc4u30mO0I2vyp+xqsGK9FlIq3Elhr0CBZQWnZ2vBq5PH4milFdN4HRR PnRuXgQE40Ta9BkB6WzRFpAJ+fmqmlz67E9q5Zl5yBNaAxuv3PuD74D5NMkarfk+Ee4i T9dHInpE2X90QUoX9gRjkPYL8D9iUKPCYYVKQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=EIZruv6RnjGaIwWUUbZzPGXpGPJCn3IR0iHBAF5ncO0G5ttBTIiYP5P9M4diPywN0p dnWHHeoKRd6J8BsY7Ky/egYIaPbBxGlu6yB+6ss0XkydIeAr7PrsMEfOzSALIcCQZAWy +RBXQirGddKL3LDU0NBRLlQh7wmBHaufkh36M= MIME-Version: 1.0 Received: by 10.216.89.209 with SMTP id c59mr767951wef.181.1265305958850; Thu, 04 Feb 2010 09:52:38 -0800 (PST) In-Reply-To: References: <4B57780F.4070907@FreeBSD.org> <4B6970F8.2030807@FreeBSD.org> <90a5caac1002040231i13c2b47mc733947a767d3488@mail.gmail.com> Date: Thu, 4 Feb 2010 18:52:38 +0100 Message-ID: <90a5caac1002040952i43dc3512ue483d2af5d997d26@mail.gmail.com> From: Lucius Windschuh To: Xin LI Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Current , Gabor Kovesdan Subject: Re: HEADSUP: BSDL bc/dc in head [Was: svn commit: r202719 - in head: . gnu/usr.bin usr.bin usr.bin/bc usr.bin/bc/USD.doc usr.bin/dc usr.bin/dc/USD.doc] 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: Thu, 04 Feb 2010 17:52:41 -0000 2010/2/4 Xin LI : > Hi, Lucius, > > On Thu, Feb 4, 2010 at 2:31 AM, Lucius Windschuh > wrote: >> Hi Gabor, >> is there any chance that the BSD-licensed bc will get readline support >> or that you add a switch in math/gnubc to re-enable readline support? >> This i a huge enhancement if you use bc interactively. >> I know that libreadline is GPL-licensed. But maybe, there is an alternative. > > Try this patch: > > http://pastebin.com/m3f92c202 Thanks. :-D That's what I missed. And I didn't know about libedit. I really wondered if there was no alternative to GNU readline (as I need a command line parser in some other projects). Lucius BTW: Pastebin converted the line endings to DOS format, which I find a bit strange.