INTRODUCTION TO THE EMACS EDITOR The software package "emacs" is a screen-oriented editor found on many UNIX systems. When running in an X window, you can use "xemacs", which has a graphical user interface. The "emacs" editor is always in insert mode (which allows you to enter new characters into a textfile), but it also recognizes a large set of commands (which are usually signaled by typing a control character). It includes a tutorial, which may be invoked by typing CTL-h t. In the descriptions below, the notation "CTL-x" means to hold down the control key and touch the character "x". The notation "ESC x" means to touch and release the escape key, then touch the character "x". If you start typing a command consisting of several key strokes, you can cancel it by typing CTL-g. Controlling an editing session: execute the editor emacs filename exit from the editor CTL-x CTL-c save the file to disk CTL-x CTL-s Cursor movement: forward one character right arrow or CTL-f back one character left arrow or CTL-b next line down arrow or CTL-n previous line up arrow or CTL-p next screen CTL-v previous screen ESC v move cursor to start of line CTL-a move cursor to end of line CTL-e move cursor to end of file ESC > move cursor to start of file ESC < show cursor line number ESC ? move cursor to line nnn ESC # nnn Deleting text: delete character at cursor CTL-d delete to end of line CTL-k (second CTL-k deletes newline) delete at left of cursor DEL Deleting a block of text: move cursor to start of block, CTL-@ move cursor to end of block, CTL-w Moving a block of text: move cursor to start of block, CTL-@ move cursor to end of block, CTL-w move cursor to new location, CTL-y Copying a block of text: move cursor to start of block, CTL-@ move cursor to end of block, CTL-w, CTL-y move cursor to new location, CTL-y Additional information about "emacs" is available as on-line documentation.