Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Feb 2010 18:52:38 +0100
From:      Lucius Windschuh <lwindschuh@googlemail.com>
To:        Xin LI <delphij@gmail.com>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>, Gabor Kovesdan <gabor@freebsd.org>
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]
Message-ID:  <90a5caac1002040952i43dc3512ue483d2af5d997d26@mail.gmail.com>
In-Reply-To: <a78074951002040807u68752180i25e327a3431f16ad@mail.gmail.com>
References:  <4B57780F.4070907@FreeBSD.org> <4B6970F8.2030807@FreeBSD.org> <90a5caac1002040231i13c2b47mc733947a767d3488@mail.gmail.com> <a78074951002040807u68752180i25e327a3431f16ad@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2010/2/4 Xin LI <delphij@gmail.com>:
> Hi, Lucius,
>
> On Thu, Feb 4, 2010 at 2:31 AM, Lucius Windschuh
> <lwindschuh@googlemail.com> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?90a5caac1002040952i43dc3512ue483d2af5d997d26>