MacRelix – Unix-like features for classic Mac OS
macrelix.org
macrelix.org
They were archived using tar(1) to dump the files to a floppy disk on a PowerBook 150 running MacMinix. I don't know why I did that. :-)
Like: https://macintoshgarden.org/apps/mac06
Or MachTen: https://macintoshgarden.org/apps/professional-machten-68k
Or Mac Minix: https://macintoshgarden.org/apps/macminix-15
Really fun and wild stuff. Curious how MacRelix relates or differs.
Would a full wintel+nvidia gpu daughterboard move any needles? Or something oddball and hardware like the lamp imac, idk.
Basically, computing nowadays feels very well baked and staid at times. Stuff like a unixy subsystem feels experimental in ways computing hasn't in decades.
ARM Macs with unified memory, and on the software side WSL on Windows (maybe even Proton, although Wine has been a thing for more than two decades now) felt experimental enough for a while.
Sure, nothing as crazy as running Unix on an Apple ][ (http://web.archive.org/web/20230122214955/http://www.gno.org...)
We tend to forget that, but Macs are the last standing members of the Unix workstation family, and quite good ones at that.
I'm delighted that you've noticed and appreciate this. :-)
Have a look at tools/mac/system-info/system-info.cc and mac/libs/mac-sys-utils/mac_sys/has/virtualization.hh in the metamage_1 repository.
This is not something any reasonable user would ever do but I was impressed at its versatility. For the ultimate janky-Carbon-environment test I will have to try it in the Mac OS X Developer Previews, but PB was the earliest that would run on the hardware I was using. I do have all the necessary hardware since DP1 calls out wanting specifically either a Beige G3 or a Blue G3, and I ♡ PowerMac1,1 and have like three of them lol
https://www.metamage.com/text/relix/origins.html
I still use MPW's ToolServer for running the Metrowerks build tools, but sadly it's no longer available as an official download from Apple.
I reverse-engineered enough of the .o header format so that MacRelix's ar and ld could retrieve architecture and runtime information from a static library instead of making the caller provide it via a switch.
Separately, I've been writing post-linkers that patch or rewrite the Metrowerks-provided startup code in 68K code resources. The next step on this path might be writing my own compatible linker.
Essentially, you coded in vi, you used make, had the basic shell commands (notably ls, cat, mv, cp). I can't speak to it much deeper than that. I used it for some time, but I had no Unix experience, so I can't say what was missing.
I'm sure, today, if I tried to work on it like a would a normal Unix environment, even a limited one, I would run smack into some deficiency. For example, I doubt you can shell out in vi, something that is bread and butter in my toolbox and workflow.
But, it was a very early (1985) "Unix on Mac" experience.
Can't say I actually had Aztec C at the time, but it wouldn't have surprised me one way or the other.
Short answer, no I no longer have access to it any longer.
I used to run it on my basement upgraded, 512K Mac with 2 400K drives. Spent real money on it. I think it was $499 at the time. Maybe less, it was certainly no Turbo Pascal that's for sure.
Heh. That's an understatement.
My Mac was $1800 (college discount), the 512K upgrade was $400, the extra drive was $400, and $499 for Aztec C.
That's ~$9000 in todays dollars.
I spent almost $5K (today) for my Atari 800 system (essentially obsolete by the time I got my Mac, < 5 years, gave it away to a friend).
I remember being excited when I got my first 1GB drive, since it was only $1/MB. (We already had $1/MB drives, but not that big -- and not SCSI).
I later sold that Mac and put the money towards a motorcycle. Boy, that was one of the best trades I ever did. I had that bike for 26 years. I can't say either was an investment, but that bike aged a lot better than the Mac did!
Anyway, yea, computing was expensive.
Once it says Done you can trash the installer. There will be a new folder in the same location as the installer, and within that folder you can run `MacRelix`.
The last two screenshots are me using the `sbin/upgrade` script from within the first Relix flavor to fetch a second Relix flavor.
I also use .mbim for MacBinary+, which encodes a directory tree instead of a single file.
e: it also comes with Git (among other utilities) which might make it worth it to some people for that alone.
One of the appeals of Amiga was to only dive into the Amiga DOS shell if I really needed to.
[1] https://github.com/jjuran/metamage_1/blob/4d1a24875036fee128...
This is the same version that was available as “MacPerl” back in The Day https://macintoshgarden.org/apps/macperl-561
Unlike MacPerl, it supports system(), exec(), and backticks in the Unixy way you'd expect. In fact, the program that packages up a MacRelix archive is a Perl script running in MacRelix.
I guess we'll just have to disagree about the Tolkien references. :-)
Does it boil down to compatibility with older hardware?
OpenTransport was fully multithreaded and based on SysV UNIX streams. Technically much superior. It has partial MacTCP API support for older apps but some programs demanded real MacTCP to work properly. I think Mac was the only place that really used Streams widely. Mac network programming in the OpenTransport days was alien from a Unix perspective.
OS X now uses sockets like everyone does these days.
Going off memory here it has been a long long time.
(I seem to recall there's a version of OT you can use with System 7 Pro, a.k.a. System 7.1.1.)
The Macintosh Toolbox is a bit verbose, though.
[1] I've daily driven it back in high-school, for all that's worth. Wrote assignments in troff and all. Some people might be able to tell of less mundane success stories as well.
The scroll wheel on any wheelmouse is a button and you can click it as well as spinning it.
All wheel mice are also 3-button mice.
https://github.com/artginzburg/MiddleClick-Sonoma
Works well, but I miss the physical middle button on my Thinkpads.
The chording isn't really cumbersome, just unfamiliar. You get used to it quite quickly with a few tens of minutes of practice.
Note that because it's an API-compatible reimplementation of AmigaOS, it's not really a "fantasy OS". Hosted mode is rather a tool for serious OS development. Nevertheless, it's much more like a modernized retro Amiga than it is any extant DE for Windows/Linux/Mac.
The installer is merely a stripped-down, single-file build of MacRelix with just enough tools to run the installer script, including `upgrade`.
I didn’t feel like setting up open WiFi or WEP WiFi (same thing amirite) for my PowerBook so to install it I had my ThinkPad running internet connection sharing, connected through two patch cables and an old PowerConnect switch since I couldn’t find a crossover cable.