Based on PR pkg/42846
Changelog:
CHANGES FROM 2.40 to 2.50
* Bug fixes
* New compilation procedure for MVS and CMS
CHANGES FROM 2.30 to 2.40
* Bug fixes from Bill Chatfield
* Updated documentation
* Added support for compiling on CMS (another IBM mainframe OS)
CHANGES FROM 2.20pl2 to 2.30
* Minor bug fixes, cosmetic improvements and portability improvements
* Added support for compiling on MVS (IBM mainframe)
Tested on NetBSD/i3865.99.59 and 5.1.
INSTALLATION_DIRS, as well as all occurrences of ${PREFIX}/man with
${PREFIX}/${PKGMANDIR}.
Fixes PR 35265, although I did not use the patch provided therein.
here, find a new fetch site since the previous one didn't work any more.
Patch1:
bwb_cnd.c
Moved init routine for bwb_while so that it would be initialized regardless
of expression value, not just if TRUE. This was causing some segmentation
faults in WHILE-WEND loops.
bwb_elx.c
Plugged gaping memory leak. Temp variable space for expression evaluation
was being allocated but not freed when done (oops!).
bwb_fnc.c
Added check for NULL return from getenv to prevent segmentation faults.
Patch2:
bwb_cmd.c
Fixed calling stack level logic in RETURN statement to prevent erroneous
"RETURN without GOSUB" messages.
bwb_cnd.c
bwb_stc.c
Changed continuation condition for WHILE, ELSEIF, and LOOP UNTIL
to be != FALSE, not == TRUE. More in line with common commercial
BASIC implementations.
bwb_mth.c
Fixed initialization in VAL function so that old results are not later
returned as values.
bwb_var.c
Added parenthesis level checking to dim_getparams. Using multi-level
expressions as array subscripts was causing the program to bomb.
bwx_iqc.c
bwx_tty.c
bwb_mes.h
Added second copyright notice.
bwb_dio.c
bwb_str.c
Added support for strings longer than 255 characters.
bwb_prn.c
Disabled tab expansion and print width checks when not printing to a file.
bwb_inp.c
Fixed LINE INPUT file reads to accommodate strings of length MAXSTRINGSIZE.
bwx_ncu.h
bwx_ncu.c
New files. Code for UNIX ncurses interface, compliments of L.C. Benschop,
Eindhoven, The Netherlands.
Makefile.ncu
New files. Sample makefile for ncurses implementation.
bwbasic.h
Revised defines for MININTSIZE and MAXINTSIZE from 16-bit to 32-bit limits.
Revised define for MAXSTRINGSIZE from 255 to 5000 characters.
Changed string length from unsigned char to unsigned int to support strings
longer than 255 characters.
Added support for new ncurses package.
Revised VERSION define to reflect above changes.
which avoids the hacks for the provided dist-patches. From
Jan Schaumann in pkg/16413.
Don't install documentation in two places, and some other minor cleanups.