Re: [Freedos-devel] Thought I'd mention - An updated bc(1) for 16-bit DOS

2020-09-09 Thread Rugxulo
Hi,

On Wed, Sep 2, 2020 at 4:27 PM Steve Nickolas  wrote:
>
> GNU's bc ... I ported it to DOS using Borland C++ 3.1

I'll be honest, although I've heard of it, I'm not directly familiar
with the syntax of "bc", but thanks for the port! I'll look closer
eventually.
(The makefile is a bit confusing and could use some cleanups, IMO.)

> Last night I sent an e-mail to the author asking if he was able to do the
> same with dc, and expressing curiosity at the license change.  He said he
> wasn't (since dc was written by someone else, just shared some of its code
> with bc),

Years ago, one guy (Greg Ubben) wrote most of a "dc" clone in Sed
(presumably p.d. since .mil)!

* http://sed.sourceforge.net/local/scripts/dc.sed.html

While I've not really used this script at all, I have delved a lot
into Sed, even on DOS.

> and explained that he had balked at the GPL3, but that he had
> retained rights to the code so that he could maintain it separately for
> Minix ... 3-clause BSD license, and that's the one I ported to DOS.
>
> http://6.buric.co/dosbc.zip

Jim has mirrored this to iBiblio now:

* http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/util/unix/bc/

Thanks again.


___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] Thought I'd mention - An updated bc(1) for 16-bit DOS

2020-09-03 Thread Jim Hall
Seems to work for me too, as much as I am familiar with *bc*. I'll post a
news item about this.

I'll also plan to mirror this on ibiblio - but the ibiblio folks recently
upgraded the server, and they temporarily disabled logins. I should have
access in a day or two, and I'll mirror this to ibiblio then.

Jim

On Thu, Sep 3, 2020 at 2:44 AM Jim Hall  wrote:

> Very cool! I'll try this out tomorrow.
>
> On Wed, Sep 2, 2020, 4:27 PM Steve Nickolas  wrote:
>
>> So last month I raided NetBSD's repo for a project I'm working on, and I
>> found something familiar there - GNU's bc, under a different license.  I
>> ported it to Linux, then to DOS using Borland C++ 3.1.  (It's a
>> calculator.  It has its quirks but I've been using it as my calculator
>> tool of choice for many years on Linux, Windows and 32-bit DOS.)
>>
>> Last night I sent an e-mail to the author asking if he was able to do the
>> same with dc, and expressing curiosity at the license change.  He said he
>> wasn't (since dc was written by someone else, just shared some of its
>> code
>> with bc), and explained that he had balked at the GPL3, but that he had
>> retained rights to the code so that he could maintain it separately for
>> Minix.  (so when I surmised it was like what is going on with ncurses, I
>> appear to have been correct.)  NetBSD needed a bc, and he was a fan of
>> theirs, so he provided them the same bc he maintained for GNU, under a
>> 3-clause BSD license, and that's the one I ported to DOS.
>>
>> So here's what I've kitbashed quickly and dirtily.  As far as I can tell,
>> it is equivalent and nearly identical to the current (1.07.1) GNU
>> version.
>> I don't really care what if anything you do with it, I just figured I'd
>> link it.
>>
>> http://6.buric.co/dosbc.zip
>>
>> -uso.
>>
>>
>> ___
>> Freedos-devel mailing list
>> Freedos-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/freedos-devel
>>
>
___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] Thought I'd mention - An updated bc(1) for 16-bit DOS

2020-09-03 Thread Jim Hall
Very cool! I'll try this out tomorrow.

On Wed, Sep 2, 2020, 4:27 PM Steve Nickolas  wrote:

> So last month I raided NetBSD's repo for a project I'm working on, and I
> found something familiar there - GNU's bc, under a different license.  I
> ported it to Linux, then to DOS using Borland C++ 3.1.  (It's a
> calculator.  It has its quirks but I've been using it as my calculator
> tool of choice for many years on Linux, Windows and 32-bit DOS.)
>
> Last night I sent an e-mail to the author asking if he was able to do the
> same with dc, and expressing curiosity at the license change.  He said he
> wasn't (since dc was written by someone else, just shared some of its code
> with bc), and explained that he had balked at the GPL3, but that he had
> retained rights to the code so that he could maintain it separately for
> Minix.  (so when I surmised it was like what is going on with ncurses, I
> appear to have been correct.)  NetBSD needed a bc, and he was a fan of
> theirs, so he provided them the same bc he maintained for GNU, under a
> 3-clause BSD license, and that's the one I ported to DOS.
>
> So here's what I've kitbashed quickly and dirtily.  As far as I can tell,
> it is equivalent and nearly identical to the current (1.07.1) GNU version.
> I don't really care what if anything you do with it, I just figured I'd
> link it.
>
> http://6.buric.co/dosbc.zip
>
> -uso.
>
>
> ___
> Freedos-devel mailing list
> Freedos-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freedos-devel
>
___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


[Freedos-devel] Thought I'd mention - An updated bc(1) for 16-bit DOS

2020-09-02 Thread Steve Nickolas
So last month I raided NetBSD's repo for a project I'm working on, and I 
found something familiar there - GNU's bc, under a different license.  I 
ported it to Linux, then to DOS using Borland C++ 3.1.  (It's a 
calculator.  It has its quirks but I've been using it as my calculator 
tool of choice for many years on Linux, Windows and 32-bit DOS.)


Last night I sent an e-mail to the author asking if he was able to do the 
same with dc, and expressing curiosity at the license change.  He said he 
wasn't (since dc was written by someone else, just shared some of its code 
with bc), and explained that he had balked at the GPL3, but that he had 
retained rights to the code so that he could maintain it separately for 
Minix.  (so when I surmised it was like what is going on with ncurses, I 
appear to have been correct.)  NetBSD needed a bc, and he was a fan of 
theirs, so he provided them the same bc he maintained for GNU, under a 
3-clause BSD license, and that's the one I ported to DOS.


So here's what I've kitbashed quickly and dirtily.  As far as I can tell, 
it is equivalent and nearly identical to the current (1.07.1) GNU version. 
I don't really care what if anything you do with it, I just figured I'd 
link it.


http://6.buric.co/dosbc.zip

-uso.


___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel