You are not logged in. Login Now
 0-13          
 
Author Message
papa
/cyberspace/contrib policy Mark Unseen   Jun 24 00:03 UTC 2017

What is the policy on putting files under /cyberspace/contrib? Anything a
member thinks would be useful to others, or should there be some evaluation
process?
13 responses total.
papa
response 1 of 13: Mark Unseen   Jun 24 12:27 UTC 2017

... Or is it for member-created software only?
cross
response 2 of 13: Mark Unseen   Jun 26 14:54 UTC 2017

It's user-only software (not just member). Some users have been added to
the group that can write into that directory hierarchy because they've
demonstrated proficiency and good judgement; what they put there is up to
their discretion. Have fun!

(papa, I' think you are in the group.)
papa
response 3 of 13: Mark Unseen   Jun 27 12:19 UTC 2017

(Yes, I am, Thank you.)

papa
response 4 of 13: Mark Unseen   Jun 27 12:22 UTC 2017

So are the BASIC interpreters I downloaded and compiled (bas, bwbasic)
appropriate to install in /cyberspace/contrib, or would you rather do a normal
site installation into /usr/local?
cross
response 5 of 13: Mark Unseen   Jun 27 18:19 UTC 2017

/usr/local is only for stuff installed via ports/packages; that'd be
my first choice for something like a BASIC interpreter. Let me see if
one is available.

Otherwise, /cyberspace/local would generally be the place for that.
cross
response 6 of 13: Mark Unseen   Jun 27 18:24 UTC 2017

Hmm, it appears that something called bacon is installed.  That's a
BASIC to C translator.  Does that work?
papa
response 7 of 13: Mark Unseen   Jun 28 23:23 UTC 2017

Not at the moment. I'm getting a missing library error, which suggests that
the bacon installation is incomplete:

==========
Compiler error:

/usr/bin/ld: cannot find -lbacon
collect2: ld returned 1 exit status
==========

Bacon looks interesting, but it appears to implement its own version of BASIC,
which I can't tell how compatible it is with other BASICs until I run some
old sources through it.

I note that bwbasic is available on pkgsrc.org (while bacon isn't).
papa
response 8 of 13: Mark Unseen   Jun 29 00:03 UTC 2017

libbacon.a is in /usr/local/lib, so I can get past the above error by adding
the argument "-l-L/usr/local/lib" when runnning bacon.

The next error produced is the following:

==========
Compiler error:

Description:
         file 'helloop.bac' line 1: FOR I=1 TO 10
Cause:
         strcat() is almost always misused, please use strlcat()

==========

However, the above is not actually an error, but more like a warning, since
a working executable file is still produced. You can change the above message
to one that looks like a warning by adding the argument "-o '-Wno-deprecated
-Wno-deprecated-declarations'", but I don't think it makes a difference.

Immediately obvious quirks in BaCon BASIC:

- Does not support numbered lines.

- Keywords must be ALL-CAPS (-z argument is supposed to allow lower case
  keywords, put produces an error)
mijk
response 9 of 13: Mark Unseen   Jan 28 18:36 UTC 2018

I was just about to start a topic requesting the package: bwbasic, to be
installed here on Grex; as i found this topic, i thought i would add this to
the discussion here.
I have just started palying about with BASIC, and bwbasic is my weaponj of
choice. It is in most of the UNIX-like O/S repos, and runs on multiple
platforms. It is very close to the classic basics alot of people would have
grown up with, and includes various options to make it compatible with a  long
list of classic BASIC implimentations. It runs in the terminal without the
need for an x-server. And i like it. :) (it is very close to the BASIC used
in my old Computer Studies textbooks from the early 80s also)

So: could we have  bwbasic here on Grex? <grovel> 
cross
response 10 of 13: Mark Unseen   Jan 29 03:11 UTC 2018

If it's in the ports collection, then sure. But it doesn't seem to be.
Hmm. That's kind of lame.... Let me see when I get a spare moment.
mijk
response 11 of 13: Mark Unseen   Jan 29 21:35 UTC 2018

Suprising actually. I run a debian based distro, and they have an ancient
version of bwbasic, as most linux distros seem to have. Linux mint has version
2.10, which seems to be from 2002. But, there is a new release of bwbasic on
sourceforge, which is version 3.20 dated 2017-07-07. It has some major new
features - like matrix operations. Alas being such a newb i couldn't get it
to compile on my machine :( but i got to read the files and see the new
features, which looks very good) It would be nice for openBSD to have a newer
version then version 2, but any version would be good. 
It has been ported to a few other platforms also. It runs on a few of the IBM
mainframe operating systems, aswell as DOS and POSIX systems.
papa
response 12 of 13: Mark Unseen   Feb 24 01:01 UTC 2018

I'd almost forgotten this item.

I think mijk and others have been using bwbasic from my ~papa/share directory,
but I'll put copies of bwbasic and bas under /cyberspace for posterity's sake.
papa
response 13 of 13: Mark Unseen   Feb 24 01:46 UTC 2018

I've put source for both bas and bwbasic in /cyberspace/contrib/src and
executables in /cyberspace/contrib/bin. (And removed the same from
~papa/share/bin.)

The bas manual page has also been installed in /cyberspace/contrib. bwbasic
documentation is spottier, but docs for older versions are here;

  http://web.cs.mun.ca/~ed/cs2602/basic1.html
  http://manpages.ubuntu.com/manpages/precise/man1/bwbasic.1.html
  http://purple.niagara.edu/boxer/essays/soft/bwbasic.htm
 0-13          
Response Not Possible: You are Not Logged In
 

- Backtalk version 1.3.30 - Copyright 1996-2006, Jan Wolter and Steve Weiss