MMBasic ANSI - MMBasic on Mac/Windows/Linux in a terminal


Author Message
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2541
Posted: 03:09pm 25 May 2026      

have downloaded mmbasic_ansi-linux-x64.zip on a couple of machines running 64-bit Linux Mint and was able to run it with 'varying' success.


first problem was a series of GLIBC error messages:
./mmbasic_ansi: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by ./mmbasic_ansi)
./mmbasic_ansi: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./mmbasic_ansi)
./mmbasic_ansi: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by ./mmbasic_ansi)
./mmbasic_ansi: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by ./mmbasic_ansi)

this is caused by the binary being built in such a way that it will only run on a machine having the same or later version of libc (GLIBC) installed as was on the machine it was built on. you can check the installed version by typing ldd --version.

there are a couple of solutions to this problem:
1. when linking, specify to use unversioned or base GLIBC symbols, or,
2. build the binary on a VM that is running an older version of Linux. Mint 19.3 is a  good choice (uses libc version 2.27) that i have used in the past.


second problem (on another machine) was getting open a terminal window that was (a) large enough and (b) using a small enough font, such that i could view the graphic rendition of the font in half-block characters. while i made some small progress, on the whole i failed abysmally here! i did get some readable text, but not in a way that the editor was usable or with the whole area used by mmbasic was viewable.

is there any chance you could create a build that is non-graphical and just uses the terminal screen as normal text at 80x24? this would allow for easily testing out the rest of the (non-graphics) features of your version of mmbasic.


the third problem, which i only briefly encountered, is that pressing ctrl-Z at the end of an autosave command just pushes mmbasic into the background. can/have you mapped the ctrl-Z key function to another keycode?


despite the above problems, i was still pretty impressed with your efforts!


cheers,
rob   :-)
Edited 2026-05-26 01:11 by robert.rozee