next up previous
Next: Dot Mode Up: No Title Previous: The args command

The stand-alone Macintosh application

A stand-alone version of Macaulay for the Macintosh now exists, as an alternative to the MPW Macaulay tool, which requires the MPW Shell (We are working on getting a license allowing the distribution of the MPW Shell to Macaulay users). The stand-alone version can be found as a bin-hexed self-extracting archive under the name MacintoshSIOW.hqx. It has been compiled using MPW's Standard Input-Output Window package (SIOW), with a few minor modifications made to the source code for the MPW tool version of Macaulay. The MPW SIOW package comes with scant documentation, hence the speculative tone that follows. Nevertheless, this version is snappy and fun to use, even if one is used to the MPW tool.

The options for setting the search path and the current directory are discussed in full in Section 1; only the environment variables MacaulayPath and MacaulayCdir cannot be used with this application, because the Macintosh Finder doesn't support Unix-style environment variables. The easiest way to set the search path and current directory for this application is to place files called Macaulay.path and Macaulay.cdir in the same directory as the application. This is also the most convenient place to put the file Macaulay.init.

An alias to Macaulay can then be placed anywhere. However, the directory containing the actual application will still become the default directory. For this reason, you will want to use the current directory mechanism, which most users of other versions of Macaulay are likely to ignor.

Apparently, any editor (TeachText, Textures, Word, ...) can be used to modify and save scripts to be read by this version of Macaulay; it doesn't complain when a file is already open.

The menus can be used to save or print the window at any time. The application appears to run OK in 32-bin mode, despite SIOW documentation to the contrary. It also appears to be cooperative with multifinder.

The interrupt mechanism for this application is the ancient Macintosh Macaulay protocol of a mouse click in the application window while the application window is in the foreground.

If you instead try to interrupt a calculation using command-. (the method for interrupting the MPW tool), then stdin will get destroyed without interrupting the calculation, because SIOW doesn't support Unix-style interrupt handling. When Macaulay finally comes up for air on its own, it will immediately quit. This can be upsetting.

After Macaulay quits, this application sticks around as a menu-driven shell so its window can be saved, edited, or printed. After the message [Macaulay has quit] appears, there is no way to restart Macaulay. To exit the application, use the menu, or type command-q followed by n to decline file-saving. (command-. is easier to reach, but a dangerous habit.)


next up previous
Next: Dot Mode Up: No Title Previous: The args command

Sorin Popescu
Sun Dec 22 18:20:57 EST 1996