Re: History for bc(1)

2011-03-07 Thread Otto Moerbeek
On Wed, Mar 02, 2011 at 12:33:49PM +0100, Otto Moerbeek wrote: > On Wed, Mar 02, 2011 at 10:18:08AM +, Jason McIntyre wrote: > > > On Wed, Mar 02, 2011 at 10:13:35AM +0100, Otto Moerbeek wrote: > > > > > > Lets try to make some progress here. This is the diff I have had in > > > my tree for

Re: History for bc(1)

2011-03-02 Thread Otto Moerbeek
On Wed, Mar 02, 2011 at 10:18:08AM +, Jason McIntyre wrote: > On Wed, Mar 02, 2011 at 10:13:35AM +0100, Otto Moerbeek wrote: > > > > Lets try to make some progress here. This is the diff I have had in > > my tree for a while. It is a port of the freebsd code. > > > > What is lacking is the

Re: History for bc(1)

2011-03-02 Thread Jason McIntyre
On Wed, Mar 02, 2011 at 10:13:35AM +0100, Otto Moerbeek wrote: > > Lets try to make some progress here. This is the diff I have had in > my tree for a while. It is a port of the freebsd code. > > What is lacking is the man page stuff. So if sombody could merge that > from freebsd, I'd be happy.

Re: History for bc(1)

2011-03-02 Thread Otto Moerbeek
On Tue, Feb 15, 2011 at 01:01:33PM +0100, Otto Moerbeek wrote: > On Tue, Feb 15, 2011 at 12:23:41PM +0100, Gabriel Linder wrote: > > > On 02/14/11 17:43, Christiano F. Haesbaert wrote: > > >Any news on this ? > > > > > > > The diff still apply on -current. If there are changes needed I can > > w

Re: History for bc(1)

2011-02-16 Thread Gabriel Linder
On 02/15/11 13:01, Otto Moerbeek wrote: sorry, in have a diff in my tree, but I see myself always ignoring it. I just almost never actually use the editing capabilities. It seems my 25yr finger memory is too strong. So I'm not a proper tester for this diff, other than it does not seem to cause a

Re: History for bc(1)

2011-02-15 Thread Otto Moerbeek
On Tue, Feb 15, 2011 at 12:23:41PM +0100, Gabriel Linder wrote: > On 02/14/11 17:43, Christiano F. Haesbaert wrote: > >Any news on this ? > > > > The diff still apply on -current. If there are changes needed I can > work on it, but I have no news. sorry, in have a diff in my tree, but I see myse

Re: History for bc(1)

2011-02-15 Thread Gabriel Linder
On 02/14/11 17:43, Christiano F. Haesbaert wrote: Any news on this ? The diff still apply on -current. If there are changes needed I can work on it, but I have no news.

Re: History for bc(1)

2011-02-14 Thread Christiano F. Haesbaert
Any news on this ?

Re: History for bc(1)

2010-08-20 Thread Christiano F. Haesbaert
On 20 August 2010 03:48, Matthieu Herrb wrote: > On Fri, Aug 13, 2010 at 02:30:50PM +0200, Otto Moerbeek wrote: >> On Fri, Aug 13, 2010 at 01:26:37PM +0200, Gabriel Linder wrote: >> >> > This diff implements history for bc(1) using editline(3). >> > >> >

Re: History for bc(1)

2010-08-19 Thread Matthieu Herrb
On Fri, Aug 13, 2010 at 02:30:50PM +0200, Otto Moerbeek wrote: > On Fri, Aug 13, 2010 at 01:26:37PM +0200, Gabriel Linder wrote: > > > This diff implements history for bc(1) using editline(3). > > > > History is not persistent, I can add this feature if needed. >

Re: History for bc(1)

2010-08-17 Thread Gabriel Linder
On Fri, 13 Aug 2010 15:09:20 +0200 Gabriel Linder wrote: > On Fri, 13 Aug 2010 14:30:50 +0200 > Otto Moerbeek wrote: > > > Take a look at freebsd. They have added editline support to bc. If > > (big if) we're going to add command line editing and history, I'd > > rather take that. > > I will

Re: History for bc(1)

2010-08-13 Thread Daniel B.
On Fri, 13 Aug 2010, Otto Moerbeek wrote: > On Fri, Aug 13, 2010 at 01:26:37PM +0200, Gabriel Linder wrote: > > > This diff implements history for bc(1) using editline(3). > > > > History is not persistent, I can add this feature if needed. > > > > el_init

Re: History for bc(1)

2010-08-13 Thread Gabriel Linder
On Fri, 13 Aug 2010 14:30:50 +0200 Otto Moerbeek wrote: > Take a look at freebsd. They have added editline support to bc. If > (big if) we're going to add command line editing and history, I'd > rather take that. I will take a look at their implementation then, thank you.

Re: History for bc(1)

2010-08-13 Thread Otto Moerbeek
On Fri, Aug 13, 2010 at 01:26:37PM +0200, Gabriel Linder wrote: > This diff implements history for bc(1) using editline(3). > > History is not persistent, I can add this feature if needed. > > el_init with stderr should not be a problem for an interactive program, > let

History for bc(1)

2010-08-13 Thread Gabriel Linder
This diff implements history for bc(1) using editline(3). History is not persistent, I can add this feature if needed. el_init with stderr should not be a problem for an interactive program, let me know otherwise. This is my first diff, so hints/advices/crucifixion are welcome :) Index