special characters All special characters may be used in edit and insert modes, but only the command, edit, insert, undo and delete character keys may be used in command mode. The function of each special character is given below: up key: (default is line feed) Move the cursor up one line unless the cursor is already at the top line of the file. Enter edit mode. down key: (default is carriage return) Move the cursor down one line unless the cursor is already at the bottom line of the file. Enter edit mode. right key: (default is control-r) Move the cursor right one character. left key: (default is back space) Move the cursor left one character. insert up key: (default is control-u) Insert a new line above the current line and enter insert mode. insert down key: (default is control-d) Insert a new line below the current line and enter insert mode. delete character key: (default is del) Delete the character to the left of the cursor. delete line key: (default is control-z) Delete the line on which the cursor rests. insert key: (default is control-n) Enter insert mode. command key: (default is escape) Enter command mode. edit key: (default is control-e) Enter edit mode. Undo key: (default is control-x) Undo any editing done since the cursor last came to the current line. Split key: (default is control-s) Split the current line into two lines. Join key: (default is control-p) Append the current line to the line above it. Then delete the lower line. edit mode The following are the edit mode commands: Move the cursor right one character. b (beginning) Move the cursor to the beginning of the current line. c (command) Enter command mode. d (scroll down) Scroll the cursor down rapidly. Hit any key to stop scrolling. e (end) Move the cursor to the end of the line. g (go to line) Move the cursor to the start of the indicated line. i (insert) Enter insert mode. k (kill up to ) Delete from the cursor up to, but not including . Delete to the end of the line if does not appear to the right of the cursor. Do not delete anything if is a special character. s (search for ) Move cursor to the next occurence of to the right of the cursor. Move cursor to the end of the current line if does not appear to the right of the cursor. u (scroll up) Scroll the cursor up rapidly. Hit any key to stop. x (eXchange one character) If is not a special character then replaces the character under the cursor. anything else (ignored) If is neither a special character nor an edit mode mode command it is completely ignored. insert mode Use insert mode to enter multiple lines of text into the buffer. All characters which are not special characters are simply inserted into the buffer. command mode Use command mode to load or save files or to do things which might cause drastic changes to the edit buffer. Here is a list of the command mode commands and what they do: append Append the file to the main buffer at the current cursor postion. change Change the first instance of on each line in the line range to . Question marks match any character in . Question marks in match the character that the corresponding question mark matched in . A leading up arrow (^) anchors the search mask to the start of the line. clear Erase the entire buffer. delete Delete all lines with numbers in . dos Return to the operating system (exit from the editor). find Search for the next occurance of . Enter edit mode if is found. Otherwise, stay in command mode. The '?' and '^' characters are treated just as in the change command. g Enter edit mode and set the cursor on line . If you do not type , the current line is used for . list List all lines with numbers in on the list device (printer). load Erase the buffer, then load it with the file named by . becomes the current file name which is used by the save and resave commands. name Make the current file name for use by the save and resave commands. resave Save the buffer in the file named in the load or name commands. The file must already exist. save Save the buffer in the file named in tahe load or name commands. The file must not already exist. search Print all lines on the display which contain an instance of . The '?' and '^' characters are treated just as in the change command. tabs Cause tabs to be printed as blanks on the screen and on the list device.