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]

From: Xin LI <delphij_at_delphij.net>
Date: Thu, 04 Feb 2010 09:59:50 -0800
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2010/02/04 09:52, Lucius Windschuh wrote:
> 2010/2/4 Xin LI <delphij_at_gmail.com>:
>> Hi, Lucius,
>>
>> On Thu, Feb 4, 2010 at 2:31 AM, Lucius Windschuh
>> <lwindschuh_at_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).

libedit has provided most functionality that GNU readline provided under
a BSD license.  (We may want to update it to a newer snapshot from
NetBSD anyways).

> Lucius
> 
> BTW: Pastebin converted the line endings to DOS format, which I find a
> bit strange.

Em...  That's weird, maybe I should have uploaded the patch instead of
pasting it?

- -- 
Xin LI <delphij_at_delphij.net>	http://www.delphij.net/
FreeBSD - The Power to Serve!	       Live free or die
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)

iQEcBAEBAgAGBQJLawsWAAoJEATO+BI/yjfBM1YIAJ1H58m0Kbh+AhFB5pm+pxLG
M0MilVACBDbKmINmR9RRuF8N9x3gEIdYgO41UC69ggUlMDN9b9sZk7dbN09tVKRr
2O58kHrW1MHWgdgv85ayRyBCC3oGs0PKqPwzHLyj9lYd6w7P5YAhiVAvArjdzvJM
+lftPKZOdY+0iP7ACGOmcpFlCN23sF+AdcyJA281z41iOcwNXztHgqZIgZSGUyI6
HWFyeeGaJuAOWhSP0uhnpkoUkvMDAggAPRAfdi8DXPioWbn5GB/PkOjsC54TmINC
GSwCqpDeW2W6+GfxMlhh8nT5Z0zLXvta5KrOUszUq8hKnJSgV+ickwmpxkYaW/k=
=42x1
-----END PGP SIGNATURE-----

Received on Thu Feb 04 2010 - 17:00:07 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:00 UTC