1 | initial version |
I think this is helpful (see William Stein's response):
https://groups.google.com/forum/#!msg/sage-cloud/CjnZ2fAT2go/YD2EXUgcSZUJ
Ways to run Macaulay2 in SageMathCloud:
Create a Sage worksheet and at the top of each cell type "%macaualay2" (see attached screenshot).
Create a Sage worksheet and at the very top type "%default_mode macaulay2" (see attached screenshot).
a. Start a Terminal ("+New--> Terminal") and type M2. Then type "setupEmacs()". Then exit M2.
b. Start emacs (by typing "emacs" in the terminal) and type "M-x M2" to start Macaulay2 mode. (Here M-x might be "escape" then x... but I assume you know emacs.)
Note: when using emacs in a terminal, you may need to use Firefox instead of Chrome (or use the SMC app from the Chrome web store), since with Chrome browser several common emacs shortcuts will close the browser window. This mainly impacts non-OS X operating systems.
-- William