Directions for using ML (spring 95)

    Make sure your path is set right

    Make sure /user2/C341/c341/bin is in your path (you should have done this for the LISP part of the course).

    SML in the Unix shell

    The easiest way to start the interprete now is to type sml at the unix prompt when you log in.
    1. The interpreter should start up, and a - prompt should appear.
    2. To quit, type ctrl-d.

    SML in emacs

    The only problem with the above problem is that saving a transcript of your solution. When you want to save a transcript, you can start sml in emacs as follows:
    1. Start emacs (type emacs at the unix prompt)
    2. Inside emacs, type: Alt-x shell ; this should pop up a unix prompt in emacs.
    3. Type sml at the unix prompt in emacs. The interpreter should now start up and pop up the - prompt in emacs.
    4. Do your stuff.
    5. To save your stuff, type ctrl-x ctrl-s in emacs. It'll prompt you for the name of the file you want to save the transcript in.
    6. To quit sml, type ctrl-c ctrl-d
    7. To quit the shell in emacs, type exit at the unix prompt in emacs.
    8. To quit emacs, type ctrl-x ctrl-c