On 2008-10-01, at 08:15, Joshua Juran wrote:
My plan is to use Unix filing calls and multiple processes:
// Pseudo-code follows
setsid();
int window = open( "/dev/new/window", O_RDWR );
ioctl( window, TIOCSCTTY, NULL ); // Yes, a window is a terminal
ioctl( window, WIOCSTITLE, "Untitled 1" );
ioctl( window, WIOCSHOW, NULL );
Plan 9?
The BLIT/Layers/Plan 9/UW/MGR family of APIs, in general?
I would suggest something that lets you say something like
"cat file > /dev/win/anon//mode=text/geometry=80x24+30+30/
title=filename/close=retain"
And while you're fixing stuff, "/dev/tcp/anon//port=80/
host=www.google.com/" would be spiffy.
And, for that matter, replace ioctls with "touch /dev/tty//
speed=9600/..."
It's less silly than Cygwin in the sense that classic Mac OS has a
more solid API than Windows.
You're not just a masochist, you're crazy. It may have a more
consistent API in some ways, but the whole Handle business was
obviously ass when I first read about it in 1984, and the subsequent
Great Multitasking Charade proved me right. Fixed size memory
partitions in 1997? Mac OS 8 ran faster under Sheepshaver than
native. Mac OS 9 was slower on a 233 MHZ 604e than NeXTstep on a 40
MHz 68030.
I have perfectly usable hardware that I'm not willing to throw away
just because Apple would prefer I buy new machines to run their
bloatware. Besides, I'd much rather use 68K and PowerPC assembler
than 32-bit Intel.
You can probably still get legal BeOS from purplus, and while there's
so much just plain wrong about BeOS it's about infinity squared times
better than the upside-down OS that Apple built on top of a GUI.
Classic Mac OS was my first love. I don't hate it, because I see
in it (or perhaps beyond it) the ideal system that Apple never
shipped.
Classic Mac OS was botched from the first, it was unfixable, it had
failure baked into its genes.
Instead my hate is directed toward Apple for botching it. I mean,
it's not the *software's* fault that Apple made it that way, right?
It's never the software's fault, even Windows, if that stops you from
hating it, you are lost.