DOCUMENTATION FOR "C" EDITOR - JULY 20, 1982 (CP/M - H19 - H89 VERSION) (Written by Edward K. Ream) (Dr. Dobb's Journal, Jan. 1982, v. 7 Issue 1) (Modified by Alan D. Howard) COMMAND MODE COMMANDS: (May be entered in upper or lower case) Command Arguments Function append Insert the named file into buffer at cursor change Make indicted changes in lines in range clear Erase the buffer closeread Close the read file closewrite Close the write file copy Copy lines from to before delete Delete all lines in the range delname Make the indicated file the write file; no error if file already exists dos Exit from editor to operating system extract Open a file (name is requested); write the indicated lines to file; close the file; find Search for a pattern; enter edit mode g Go to line and enter edit mode list List the indicated lines to printer load Open the indicated file as the read file; clear the buffer; load the buffer from the file; close the read file if entire file read move Move lines from to before name Make the indicated file the write file; error if file already exists open Open the indicated file as the read file read Read lines from read file to end of buffer; close the read file if entire file read; rename Close the write file; open new write file rest Clear the buffer if requested; load the buffer from the read file; close the read file if entire file read save Save the buffer into the write file; buffer is unchanged; search Print all lines that match a pattern tabs Set tab stops at every columns write Write lines from front of buffer to the write file; the lines are deleted from the buffer (blue key) Enter edit mode (IC key) Enter insert mode EDIT AND INSERT MODE KEY COMMANDS: (Commands marked # not valid in insert mode; Commands marked % force edit mode) Key Action (f1) # Scroll down until any key pressed (f2) # Move to end of line (f3) CR # Go to line (f4) # Move to beginning of line (f5) # Scroll up until any key pressed (ERASE) # Erase from cursor to end of line (Blue) Enter edit mode (Red) Abort changes to current line (White) Enter command mode (BACKSPACE) Delete character before cursor (DELETE) Delete character at cursor; same as (BACKSPACE) at end of line (RETURN) Insert mode: Add line below current line, move to the new line Edit mode: Move to next line (LINE FEED) Insert line at cursor: move current line down, enter insert mode (IC) Enter insert mode (DC) Delete character at cursor; same as (Backspace) at end of line (IL) Insert line at cursor: move current line down, enter insert mode (DL) Delete current line (0) # (Zero on auxiliary keypad); Search for character and move cursor to character (.) # (Period on auxiliary keypad); Delete characters from cursor up to but not including (ENTER) Enter command mode (HOME) # Move cursor alternately to top and bottom of screen (^S) (Control-S) Split line at cursor. (^P) (Control-P) Join current line with line above (if room) (ESC ESC) Enter command mode (Up-arrow) % Up one line (Down-arrow) % Down one line (Left-arrow) Left one character (Right-arrow) Right one character (All others) Any other printing key (and TAB key) act as follows: Edit mode: Replace cursor with character Insert mode: Insert character .