|
|
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.
... Or is it for member-created software only?
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.)
(Yes, I am, Thank you.)
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?
/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.
Hmm, it appears that something called bacon is installed. That's a BASIC to C translator. Does that work?
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).
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)
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>
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.
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.
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.
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
Response not possible - You must register and login before posting.
|
|
- Backtalk version 1.3.30 - Copyright 1996-2006, Jan Wolter and Steve Weiss