Feb2001 hugs98 on MacOS

Hans Aberg haberg@matematik.su.se
Wed, 28 Feb 2001 12:28:56 +0100


At 13:40 +1300 2001/02/28, Richard A. O'Keefe wrote:
>The February 2001 release of Hugs 98 unpacked fine and seems to run fine
>on my PowerMac 7600/120 running Mac OS 8.6
>
>HOWEVER, the characters in the console window are teeny tiny wee characters
>indeed.  What are they, 8 point?  I could live with 10 point, but would
>personally rather have 12 point.  So what do I do to change the size of
>the text in this window?

At 20:05 -0800 2001/02/27, Ashley Yakeley wrote:
>Product: Hugs 98 MacOS Feb-2001
>To Repro:
>In the Finder, drop a haskell source file on the "Hugs 98" application.
>Results:
>Hugs 98 launches, but doesn't read source file.
...
>The worked OK in previous versions of Hugs 98 (although you couldn't drop
>source files on an already-running app).

The explanation of these problems is this:

The first joint version I and Pablo MacOS made, happened at right the time
MPJ wrote the last version and then left the Hugs team. So because of that,
the MacOS modification where never written into that version.

Nor has the subsequent Hugs team ever written in those or any later MacOS
versions into the Hugs sources. So what you have in those sources are some
very old MacOS stuff.

Now, it seems, somebody at the Hugs team (Johan?) has tacitly assumed that
these old Mac modifications are OK, and compiled it. But then most of the
later stuff breaks.

So in order to get all the latest MacOS features, one has to take the
latest Hugs Feb 2001 sources, and patch them up with the MacOS Feb 2000
sources.

Fortunately for you, I have just made it, so hopefully you don't have to do
it. :-) Hope it works.

Johan:
I will send the stuff to you, so you can make a new binary distribution,
and perhaps also patch up the current sources.

The stuff I patched up has some experimental AppleEvent's code installed,
so if one does not load a file named Events.hs, bringing it up front by
double-clicking its icon will printout "Receive event error -10", meaning
that the event isn't handled.

But I hope the AppleEvent code will not break anything else.

  Hans Aberg