EDT--THE DEC STANDARD EDITOR This file is not intended as a replacement of the EDT manual. It is meant to give a skeleton overview of the commands available and the various useful range specifiers. TO ENTER EDT: Type: EDT Then enter the filename you wish to create or modify. EDT always saves a *.BAK file of your original file. TO EXIT FROM EDT: Type: EX Your edited file will be saved. EDT works by creating a buffer into which your file is read. Each line of your file is assigned a number in increments of ten. When you execute a command you must refer to a specific line by the line number it has been assigned or use a range specifier. Like any other editor it has a pointer that can be moved all over the buffer. SINGLE LINE RANGE SPECIFIERS nn Line number nn . (period) The current line "object" The first line that contains "object" %BE The first line of the current text buffer %E the last line of the current text buffer VARIABLE LINE RANGE SPECIFIERS %BEF All lines in the current text buffer from the first line in the buffer through the current line. %R All lines in teh current text buffer from the current line through the last line in the buffer. %WH All lines in the current text buffer. COMPOUND RANGE SPECIFIERS nn:mm The lines between and including line numbers nn and mm COMMANDS: The commands are fairly self-explanatory. Where range is specified you may use any of the conventions explained above. CHANGE Invokes Character Editing mode on a CRT only. COPY range1 %TO range2 Copies the lines in range-1 to a position ahead of the first line in range 2. DELETE [range] Deletes lines from the buffer EXIT Terminates the EDT; writes the contents of MAIN test buffer to specified output file. FIND range moves the line pointer to the first line in the range. INClude [range] /FI:filename.typ Locates a file and copies it into a text buffer. Insert [range] Invokes Insert Mode and places the text typed at the terminal in the buf- fer ahead of the first line in the range. Move rang1 %TO rang2 Transfers the lines in range 1 to a po- sition ahead of the first line in range 2. PRint [range] /FI:filename Generates an output file from the contents of the range. The output file contains EDT line numbers as part of the text. QUIT Terminates EDT; saves no edits or text buffers; generates no files. REplace [range] First deletes the lines in the range, then invokes INsert mode and places text typed at terminal in buffer in place of deleted text. RESequence [range] Assigns new line numbers to the lines in the range. Substitute/str1/str2/[range] Changes str-1 to str-2. If range is specified, changes all str-1s in the range. If no range, changes only the first str-1 encoun- tered. Type range Displays teh contents of the range on or your terminal. Type [range] [/BRief] WRite [range] /FI:filename Creates an output file from the contents of the range. NOTE: This is NOT a complete listing of EDT commands. If you want to do more exotic things like create addi- tional text buffers or create EDT command sequences, or save and restore the current state of your files-consult the manual!