next up previous
Next: Something to hand in Up: Assignment 1: UNIX intro Previous: Check out your environment

Teach yourself a little emacs

1.
Emacs is the text editor we will be using to compose source code. If you already use vi and would rather use it instead of emacs, you may, but keep in mind that I don't know vi at all, so if you have a problem I can't help you.
2.
If you run emacs in a local window, you have the option of running it in the background (emacs &), in which case it will create a new window for itself.

3.
If you run emacs on a remote host (like iris12), you will want it to run in the existing window. To make sure that happens, check that the environment variable DISPLAY is not set. If it is, type unsetenv DISPLAY.

4.
Once you have started emacs, type Control-h followed by a t. A document will appear that will teach you how to use emacs.

5.
There is an emacs quick-reference sheet on the cs357 web page. Pick up and print a copy if you want.



Allen B. Downey
2/27/1998