Tutorials 1 & 2: How to use your environment 0) Google http://www.google.com/ 1) Linux/unix and accessing it mills.mcmaster.ca 1.1) Dual booting with Linux 1.2) VMWare with the virtual appliance for Ubuntu 9.04 or 8.04 (Windows) http://www.vmware.com/products/player/ http://www.vmware.com/appliances/ 1.3) Cygwin (Windows) -- Alternate version if you can't get a full Linux installation thought methods 1 or 2 http://cygwin.com/ 1.4) PuTTY (Windows) -- SSH client for connecting to mills http://www.chiark.greenend.org.uk/~sgtatham/putty/ 1.5) Macports/fink (Mac OSX 10.4+) 1.6) How to connect to mills: ssh smithj1@mills.mcmaster.ca (replace smithj1 is your student id) 2) Editors 2.1) vi and emacs 2.2) Modern text editors like gedit (Linux), ultraedit (Win), PSPad (Win) http://www.pspad.com/en/ My version of syntax highlighter of OCaml: OCaml.INI is attached -- Add the custom highlighter optionally 2.3) File names are case sensitive! Follow the instructions on naming your files carefully 3) OCaml http://caml.inria.fr/ocaml/ 3.1) What is interactive environment ocaml 3.2) How to compile ocaml projects ocamlc myfile.ml 3.3) Manual http://caml.inria.fr/pub/docs/manual-ocaml/index.html 4) Subversion http://subversion.tigris.org/ 4.1) Make sure Suvbersion svn package is installed (Linux, Mac+ports, cygwin) 4.2) TortoiseSVN (Windows native) http://tortoisesvn.net/ 4.3) How to put files into your repository: ## Assuming your student id is smithj1, working on assignment 1, and course code se2s03 # Making a new directory on your svn repository: svn mkdir https://websvn.mcmaster.ca/se2s03/smithj1/a1 -m "Your message here (you can leave it empty)" # Importing it to your local computer for working: svn checkout https://websvn.mcmaster.ca/se2s03/smithj1/a1 # Go into that directory to work: cd a1 # Add your files here ... ## Assuming you have made a1.ml and log.txt in here # Add files to svn: svn add a1.ml svn add log.txt # Your files are "added", but not transferred yet!! # To commit first revision: svn commit # After you change your files, you will have to do svn commit again to update the new versions of files 4.4) If your credentials to svn aren't working or your directory doesn't exist AFTER Sept 21 Notify the instructor immediately at least 2 days before the assignment is due.