TED.COM Reference: PC Magazine November 15, 1988: The tiniest editor you'll ever need by Tom Kihlken. Summary of keys and commands: Keypad keys: Up arrow Moves cursor up one row Down arrow Moves cursor down one row Left arrow Moves cursor left one column Right arrow Moves cursor right one column PgUp Moves text window up one page PgDown Moves text window down one page Home Moves cursor to start of row End Moves cursor to end of row Ins Toggles insert/overstrike mode Del Deletes character at cursor Ctrl-PgUp Moves to top of file Ctrl-PgDown Moves to bottom of file Ctrl-Right arro Moves text window right eight columns Ctrl-Left arrow Moves text window left eight columns Editing functions: Editing functions are shown on menu-bar at the bottom row of the screen. Function Key Operation ABORT F1 Exit without saving changes UNDO F2 Replaces recently deleted characters PRINT F3 Prints the marked text MARK F4 Toggles mark state on/off CUT F5 Moves marked text to paste buffer PASTE F6 Inserts contents of paste buffer EXIT F7 Saves changes and exits DEL EOL F8 Deletes from cursor to the end of line DEL L F9 Deletes the current line UDEL L F10 Inserts the last deleted line Tiny EDitor TED =============== Purpose: A small, full-screen editor for line-oriented files of up to 64K in length that supports scrolling, cut, copy, paste and printing operations, and permits entry of (almost) all members of the IBM character set. Usage: TED [filespec] Remarks: TED will open and read a file whose name (and path, if required) are supplied initially. If no filespec is provided, it will open a new file and prompt for a filename when F7 is pressed to save and exit. The original of a modified file is saved with a .BAK extension. The ABORT command (F1), when verified, abandons any modifications and leaves the original file intact. Lines may be of any length, and each must be terminated by pressing enter. Lines longer than the screen width display a diamond in the rightmost column. Offscreen characters (up to 248 columns) may be viewed by using the Ctrl-arrow keys. Lines may be broken by pressing Enter at any point, and may be conflated by pressing Del at the line end. A block of text is defined by toggling the MARK command (F4) on and moving the cursor with the arrow keys. The marked area is shown in inverse video. Pressing F3 prints the blocked text; F5 (CUT) removes it to a buffer from which it can be pasted (F6) at any point where cursor is located. The paste buffer remains intact until another section is marked and cut. Pressing F8 deletes to the end of a line; F9 deletes the entire line. F10 restores the most recent deletion of F8 or F9. The UNDO command (F2) restores letters deleted by the Del (but not by the Backspace) key if the cursor has not been moved. The Home and End keys move the cursor to the beginning and end of the current screen line; the Tab key moves to the next column evenly divisible by eight. Text is entered in insert mode by default; pressing the Ins key toggles to overstrike mode (I or O in rightmost end of the bottom row). TED configures itself to the display in use and supports EGA and VGA text modes other than the standard 80 columns by 25 rows. PgUp and PgDown scroll the file by the number of rows displayed, minus 5. Ctrl-PgUp and Ctrl-PgDown move to the top and bottom of the file. Any character in the IBM character set [except NULL] can be entered by pressing the Alt key, typing its ASCII value on the numeric keypad, then releasing the Alt key. Normal control character can be entered by just simply typing it (formfeed can be entered by typing Ctrl-L, Bell can be entered by Ctrl-G etc.). Missing Move cursor one word left/right, include (read in another) file, features: search, search and replace (and - of course - text processing features like hyphenation or reformatting of paragraphs. On-line help is not available but it is not needed.