(load "/local/Macaulay2-0.9/lib/Macaulay2-0.9/emacs/M2-init.el")
and in a running emacs on a machine with Macaulay 2 installed type CTRL-c m and Macaulay will begin. The Rutgers copy of Macaulay 2 resides on the machine compute. After logging on to that machine, the program can be started by entering the command
M2 |
The program will print some version information then print an input prompt. The weekly Macaulay worksheets will be similar to this . You should place a copy in your working directory, then at the input prompt enter the following
i1 : input "work0.m2" |
replacing "work0.m2" by the name of the script you wish to run, and Macaulay executes the commands in the file, echoing the output
i2 : --Week 0 Macaulay 2 script : Basics on rings and ideals |
The weekly worksheets will contain comments explaining the concepts to be explored. After inputting the file, read over the responses that Macaulay gives, and then answer the questions at the end. The worksheets are designed to minimize the typing required, as many of the relevant objects were defined in the file.
For a quick introduction to the syntax and commands of Macaulay 2 read the getting started page and the notes on using polynomials.