[Page 1] Enter for next page: EDT Initializer command files ----------------------------- This portion of the tutorial is being conducted by EDT. We will be describing the EDT initializer file distributed on the MSDGEN distribution kit. The initializer file was included when this EDT session was started. It was also copied into an alternate buffer named EDTINI, so that you can switch to that buffer (via. GOLD B and entering EDTINI when prompted for the buffer name). You can then return to the tutorial in the MAIN buffer (this one) by entering GOLD M or GOLD L (redefined keys) or the normal means of switching to the main buffer, GOLD 7 and then entering "=MAIN." to the command prompt. To proceed with the tutorial, a LINEFEED will get you to the next page of the lesson, while GOLD LINEFEED will get you back to the previous page. If you had already gone through part of the tutorial at some previous time and had to terminate the session prematurely, you can go directly to the page of the tutorial on which you wish to continue. This is done with "GOLD P" and then entering the desired page number, when prompted. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [Page 2] Enter for next page or GOLD for previous page: You can terminate the EDT driven portion of the tutorial at any time with the redefined key "GOLD Q" or the normal method, "GOLD 7" and then entering "QUIT" to the command prompt. You cannot use "EXIT" since this file is being edited as read only, ie. the /RO switch was used on the input command line. As you are going through the tutorial you can try out the new functions if you like but realize that any text you enter will come out wherever the cursor is positioned and will affect the appearance of the tutorial text. Also there is nothing to keep you from deleting words, lines or characters. Since this is a read only edit no harm will be done and you may use this text to experiment with the new functions. However if you do something to totally corrupt this text, you can always "QUIT" this EDT session. The command file will give you the opportunity to restart the session with a fresh copy of the tutorial text and you can skip to the page on which you left off. Now we will start the detailed explanation of each function that has been added by the initializer file and how it is done. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [Page 3] Enter for next page or GOLD for previous page: PF2 The PF2 key which is usually the help key in EDT has been changed to provide help on the additional commands provided by this initializer file. The normal EDT help screen can be obtained with "GOLD PF2". This is accomplished with the following lines in the initializer file: DEF M EDTINI_HELP create and define as a macro, buffer EDTINI_HELP I=EDTINI_HELP go into insert mode in that buffer (line mode commands) line mode commands to be executed when invoked ^Z terminate insert mode DEF M EDTINI_RESTORE create and define as a macro, buffer EDTINI_RESTORE I=EDTINI_RESTORE go into insert mode in that buffer (line mode commands) line mode commands to be executed when invoked ^Z terminate insert mode The PF2 key is initially defined as: DEF K 10 AS "EXT EDTINI_HELP." "EXT" indicates that a line mode command follows. In this case, the command is the EDTINI_HELP macro above. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [Page 4] Enter for next page or GOLD for previous page: The HELP text is stored in an alternate buffer named "HELP_EDTINI". This is is done as follows: F=HELP_EDTINI create and switch to buffer HELP_EDTINI I go into insert mode (help text) the help text ^Z terminate insert mode To see what the HELP text looks like enter PF2. Use PF2 again and you will be returned to where you were when you pressed the PF2 key (this page if you do it now). +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [Page 5] Enter for next page or GOLD for previous page: The following operations occur when the PF2 key is initially struck: 1) EXT EDTINI_HELP causes the macro EDTINI_HELP to execute 2) The EDTINI_HELP buffer contains the following commands to be executed: a) DEF K 10 AS "EXT EDTINI_RESTORE." b) CO =HELP_EDTINI TO =HELP_EDTINI_DISPLAY." Command "a" will redefine the PF2 key to execute a different macro, EDTINI_RESTORE (described on next page) the next time it is struck. Command "b" copies the HELP text from buffer HELP_EDTINI to the buffer used to display the HELP text, HELP_EDTINI_DISPLAY. The copy command also causes our current buffer to switch to the display buffer causing the HELP text to be displayed on our screen. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [Page 6] Enter for next page or GOLD for previous page: Now when PF2 is struck again, the EDTINI_RESTORE macro is executed. This macro contains the following commands: a) DEF K 10 AS "EXT EDTINI_HELP." b) F L c) D =HELP_EDTINI_DISPLAY d) F L Command "a" redefines the PF2 key back to executing the EDTINI_HELP macro described on the previous page. Command "b" takes us back to the buffer that was the current buffer when PF2 was struck the first time. Command "c" returns to and deletes the display buffer. Command "d" again makes the original buffer the current buffer. Command "b" is necessary since command "c" would cause both the previous buffer and the current buffer to be HELP_EDTINI_DISPLAY and command "d" would result in the current buffer remaining at HELP_EDTINI_DISPLAY instead of the original buffer. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [Page 7] Enter for next page or GOLD for previous page: GOLD CURSOR-UP Move the editing window upward 22 lines. The horizontal orientation of the cursor will be maintained from the line it left. This is implemented as follows: DEF K GOLD 12 AS "(-22V)." The nokeypad entity "V" indicates that the cursor is to move to a different line but stay in the same column. This is the same as the "L" (line) entity but "L" will position to the beginning of the selected line. The "-22V" will cause move the current line backwards 22 lines. Note that parentheses are used, so this key may be repeated. For example, to move back 66 lines use: GOLD 3 GOLD cursor-up where the 3 is a repeat count entered from the numbers at the top of the keyboard. It is not the 3 on the keypad. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [Page 8] Enter for next page or GOLD for previous page: GOLD CURSOR-DOWN Move the editing window downward 22 lines. Once again, the horizontal orientation of the cursor will be maintained from the line previous to the GOLD ARROW-DOWN. This is implemented with the following: DEF K GOLD 13 AS "(+22V)." The operation of this key is identical to the operation of the GOLD CURSOR-UP key described on the previous page except it goes forward 22 lines instead of backward. Note that the key definition for GOLD CURSOR-UP and GOLD CURSOR-DOWN use numbers ( 12 and 13 respectively ) to identify the key. This is the method of defining keypad keys, of which the cursor keys are a member. The assigned numbers were given previously in the part of the tutorial driven by the indirect command file processor. If however, you want to refer to that chart, look in chapter 10 of the EDT Editor Manual. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [Page 9] Enter for next page or GOLD for previous page: CONT B and CONT F "CONT B" will move backward a word. "CONT F" will move the cursor forward a word. These are useful if you have changed your current direction with the ADVANCE (keypad key 4) or BACKUP (keypad key 5) keys. The WORD key (keypad key 1) is normally used to advance or backup by words. But if the current direction is ADVANCE, you would have to press BACKUP then WORD to backup a word. "CONT B" will backup a word and "CONT F" will advance a word, no matter what the current direction is, without changing the current direction. These keys are implemented with the following definitions: DEF K CONT B AS "-W." DEF K CONT F AS "+W." The definition does not require parentheses to make the key repeatable since it contains only one nokeypad command. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [Page 10] Enter for next page or GOLD for previous page: CONT P Move to next paragraph. Using this key moves the cursor to the next paragraph. The default definition for a paragraph delimiter is two consecutive carriage returns, ie. two lines separated by an empty line. This is implemented with: DEF K CONT P AS "PAR." PAR is the nokeypad entity for paragraph. Since no direction was given, the cursor will move forward or backward one paragraph, depending on the current direction. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [Page 11] Enter for next page or GOLD for previous page: CONT G This command allows you to paste from a buffer other than the PASTE buffer. Typing "CONT G" will ask for the buffer name on the twenty-third line on the screen. Enter the buffer name, and that buffer's contents will be inserted at the current cursor position. This is implemented with: DEF K CONT G AS "PASTE=?'Put buffer: '." The PASTE command will take the contents of any buffer (with the default being the paste buffer) and insert it at the current cursor location. The "?" causes a prompt for the buffer name to be issued and the prompt text is "'Put buffer: '" to be displayed at the bottom of the screen. You then type in a buffer name followed by the "ENTER" key. The contents of that buffer will then be placed in front of the current cursor location. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [Page 12] Enter for next page or GOLD for previous page: CONT X This command allows you to cut to a buffer other than the PASTE buffer. To use it, select a region of text and type "CONT X". Enter the buffer name. The selected region will be removed from the current editing buffer and placed into the buffer name entered. This is implemented with: DEF K CONT X AS "CUTSR=?'Cut buffer: '." The CUT command will delete the contents of the entity specified, in this case the selected range (SR) and place the text into any buffer (with the default being the paste buffer). The "?" causes a prompt for the buffer name to be issued and the prompt text is "Cut buffer: '" to be displayed at the bottom of the screen. You then type in a buffer name followed by the "ENTER" key. The contents of the selected range will be deleted and placed into that buffer. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [Page 13] Enter for next page or GOLD for previous page: GOLD CONT B and GOLD CONT F "GOLD CONT B" moves the cursor to the beginning of the previous sentence. "GOLD CONT F" moves the cursor to the end of the next sentence. If the cursor is in the middle of a sentence then these keys will move to the beginning or end of that sentence. This can be useful for editing text files, and even programs if your sentence delimiters are set right. They are implemented with: DEF K GOLD CONT B AS "BSEN." DEF K GOLD CONT F AS "ESEN." BSEN and ESEN are nokeypad entities indicating beginning and end of sentence. Since they are used by themselves, they imply a MOVE command. The default sentence delimiters are period, exclamation point and question mark. This can be changed, if desired, with the line mode "SET ENTITY SENTENCE" command. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [Page 14] Enter for next page or GOLD for previous page: GOLD CONT D Toggle word delimiter sets. This allows the use of two completely different word delimiter sets. In this initializer is one word delimiter set for programming, and one for word processing. The operation of this key is similar to the operation of the redefined PF2 (Help) key described previously. It uses two macros in which each redefines the key to execute the other macro. The initial operation of the key is: DEF K GOLD CONT D AS "EXT DELIMITERS_WORD_PROCESSING" The nokeypad command "EXT" indicates that line mode commands are to be executed and "DELIMITERS_WORD_PROCESSING" is the command to execute which in this case is a macro to switch word delimiters to the word processing set. Also in the initializer is the command "DELIMITERS_PROGRAMMING" which executes the macro to set word delimiters initially to the programming set. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [Page 15] Enter for next page or GOLD for previous page: The "DELIMITERS_PROGRAMMING" macro is defined as follows: a) DEF M DELIMITERS_PROGRAMMING b) F=DELIMITERS_PROGRAMMING c) I d) DEF K GOLD CONT D AS "EXT DELIMITERS_WORD_PROCESSING" e) ^Z f) C; ISE EN WO '^Z 9ASC 10ASC 11ASC 12ASC 13ASC 27ASC I ()[],-+/='^Z EX "a" creates alternate buffer "DELIMITERS_PROGRAMMING" and defines it as a macro. "b" sets current buffer to that buffer, "c" enters insert mode, "d" is text inserted, and "e" terminates insert mode. "f" starts a nokeypad command sequence. It is used so that nonprintable characters can be inserted into the buffer. It will cause "SE EN WO '" to be inserted followed by the codes for TAB , LINEFEED , VERTICAL TAB , RETURN and ESCAPE. Then the characters " ()[],-+/='" are inserted and change mode is exited with "EX". So when this macro is executed, it redefines "GOLD CONT D" to execute the macro to set word processing delimiters, and then uses the line mode "SET ENTITY WORD" command to set the indicated characters as word delimiters. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [Page 16] Enter for next page or GOLD for previous page: The "DELIMITERS_WORD_PROCESSING" macro is defined as follows: a) DEF M DELIMITERS_WORD_PROCESSING b) F=DELIMITERS_WORD_PROCESSING c) I d) DEF K GOLD CONT D AS "EXT DELIMITERS_PROGRAMMING" e) ^Z f) C; ISE EN WO '^Z 9ASC 10ASC 11ASC 12ASC 13ASC 27ASC I ,'^Z EX This macro is very similar to the "DELIMITERS_PROGRAMMING" macro on the previous page except it redefines "GOLD CONT D" to execute the programming delimiters macro and then executes a "SET ENTITY WORD" command to set the characters TAB, LINEFEED, VERTICAL TAB, RETURN , ESCAPE , space and comma as word delimiters. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [Page 17] Enter for next page or GOLD for previous page: GOLD CONT G Replace selected region with named buffer. This command works very much like the keypad "GOLD 9" (REPLACE) command except it replaces the cut text with the contents of an alternate buffer instead of the paste buffer. To use it, select a region of text and type "GOLD CONT G". Enter the buffer name. The selected region will be replaced with the contents of the entered buffer. This key is implemented with: DEF K GOLD CONT G AS "CUTSR=DELETE PASTE=?'Replace with buffer: '." The command "CUT" causes the entity "SR" (selected range) to be deleted from the current buffer and placed into an alternate buffer named "DELETE". The "PASTE" command then causes the buffer entered by the user in response to the prompt "Replace with buffer:" to be copied into the current buffer at the current cursor location. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [Page 18] Enter for next page or GOLD for previous page: GOLD CONT H or GOLD BACKSPACE Transpose previous two characters. By striking the GOLD key and backspace, the previous two characters will be transposed. This is helpful for typists who frequently type such things as "teh" instead of "the". This is implemented with: DEF K GOLD CONT H AS "(-C D -C +C UNDC)." The "-C" command backs the cursor up one character which places it on the second of the two characters to be transposed. "D" deletes that character. "-C" backs up one more character, placing the cursor on the first of the two characters to be transposed. "UNDC" then undeletes the second character in front of the first character. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [Page 19] Enter for next page or GOLD for previous page: GOLD CONT I or GOLD TAB Move cursor eight characters in the current direction. This command is useful as an "in between" from single character moves and moving big lumps at a time. It works in either direction and makes a line scan a lot easier. It is implemented with: DEF K GOLD CONT I AS "(8C)." The command "8C" will move the cursor in the current direction, 8 characters. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [Page 20] Enter for next page or GOLD for previous page: GOLD CONT T Make current line top line of screen. This command uses the nokeypad command "TOP" which makes the current line the top line on the screen. This is useful when you are interested in what's coming, rather than what has preceded. Implemented with: DEF K GOLD CONT T AS "TOP." +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [Page 21] Enter for next page or GOLD for previous page: GOLD CONT W Toggle 80/132 screen width. A very useful command to switch the screen between 80 and 132 column mode on VT100's. The operation of this key is similar to the operation of the redefined PF2 (Help) and "GOLD CONT D" (Toggle word delimiters) keys described previously. It uses two macros in which each redefines the key to execute the other macro. The initial operation of the key is: DEF K GOLD CONT W AS "EXT WIDTH_132." The nokeypad command "EXT" indicates that line mode commands are to be executed and "WIDTH_132" is the command to execute which in this case is a macro to change screen size to 132 characters. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [Page 22] Enter for next page or GOLD for previous page: The "WIDTH_132" macro is defined as follows: a) DEF M WIDTH_132 b) I=WIDTH_132 c) DEF K GOLD CONT W AS "EXT WIDTH_80." d) SE SC 132 e) SE WR 130 f) ^Z "a" creates alternate buffer "WIDTH_132" and defines it as a macro. "b" causes insert mode to be entered in that buffer. "c", "d" and "e" are the commands to be exectuted by this macro. "a" redefines "GOLD CONT W" to execute a macro that will set the screen back to 80 characters. "d" uses the line mode "SET SCREEN" command to set the screen to 132 characters and "e" is the "SET WRAP" command to set the automatic word wrap to occur in column 130. "f" terminates insert mode. The "WIDTH_80" macro is very similar except it redefines "GOLD CONT W" to execute the "WIDTH_132" macro, sets the screen to 80 and set word wrap to 78. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [Page 23] Enter for next page or GOLD for previous page: GOLD CONT X Copy selected region to named buffer. Select a region and type "GOLD CONT X" Enter a buffer name when prompted and then the selected region will be copied to that buffer. Implemented with: DEF K GOLD CONT X AS "EXT CO SEL TO=?'Copy to buffer: ' ; F L." "EXT" is the nokeypad command to indicate that the remaining commands will be line mode commands. The operation is copy (CO) selected range (SEL) to (TO) the alternate buffer entered in response to the prompt "=?'Copy to buffer: '". The semicolon allows us to put more than one line mode command on a single line. Note this is different than nokeypad commands. As many of them as will fit in 255 characters or less, can be strung together with zero or more spaces separating them. The "F L" command is necessary to again make the buffer that was the current buffer when "GOLD CONT X" was struck, the current buffer when the operation is completed. This is because the copy command will make the buffer to which the text is copied, the current buffer. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [Page 24] Enter for next page or GOLD for previous page: GOLD CONT Z and GOLD Q "GOLD CONT Z" will complete the edit and exit EDT. It is the equivalent of entering "GOLD 7" (COMMAND) and entering "EXIT" to the command prompt. "GOLD Q" will abort the edit, save the journal file and exit EDT. It is equivalent to "GOLD 7" and "QUIT/SAVE" entered to the command prompt. Implemented with: DEF K GOLD CONT Z AS "EXT EX." DEF K GOLD Q AS "EXT QUIT/SAVE." "GOLD CONT Z" executes the line mode command "EX" and "GOLD Q" executes the line mode command "QUIT/SAVE". +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [Page 25] Enter for next page or GOLD for previous page: GOLD DELETE Clear an entered buffer name. Type GOLD and the delete key and EDT asks for a buffer name. Enter a buffer name and it is cleared of all text so it may be used again for whatever. It even works on the PASTE and MAIN buffers. Implemented with: DEF K GOLD DEL AS "EXT CL ?'Clear what buffer: '." "CL" is the line mode command "CLEAR" which will delete all text in the specified buffer which in the case is the buffer name entered to the prompt, "Clear what buffer: ". +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [Page 26] Enter for next page or GOLD for previous page: GOLD . and GOLD / "GOLD ." will insert a special file marker. It inserts the string "~~/\~~" at the current cursor location. "GOLD /" can later be used to find the marker and delete it. These commands are useful when you leave EDT and come back later and want to find your place or if you want to temporarily go to another area of the current buffer and want an easy means to return to your present location. Implemented with: DEF K GOLD . as "I~~/\~~^Z -6C." DEF K GOLD / AS "S%~~/\~~%%." "GOLD ." inserts the marker and then backs up to the beginning of it. "GOLD /" does a nokeypad substitute command which will search for the marker and then replace it with a null string. Note that if you want to temporarily go to an area beyond the current location, you will either have to use the keypad "5" (BACKUP) key or use "GOLD 5" (top of buffer) prior to "GOLD /" . +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [Page 27] Enter for next page or GOLD for previous page: GOLD B Switch to a named buffer. Type "GOLD B", then enter the buffer name to switch into followed by the ENTER key. That buffer will become the current buffer and the cursor will position to whatever the current position was the last time that buffer was used ( or top of buffer if this is the first time ). This is equivalent to entering "GOLD 7" (COMMAND) and "=buffer-name." to the command prompt. Implemented with: DEF K GOLD B AS "EXT F=?'Buffer: '.." "F" is the line mode command to make the buffer entered as a response to the prompt "Buffer: " , the current buffer. Note that the define key command is terminated with two periods. The first period is a range specifier for the buffer name entered. It indicates that the last current position used in that buffer should become the present cursor position. If that period were not there then the whole buffer would be printed on the screen and finally the top of the buffer would become the current location. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [Page 28] Enter for next page or GOLD for previous page: GOLD C Change case, but retain first letter. This command will advance a character, and change case on the remainder of the word. It is very useful for changing totally uppercase words to capitalized lowercase, or capitalized words to all uppercase. Implemented with: DEF K GOLD C AS "(C SEL W CHGCSR)." The operation is to advance a character "C", start a select range (SEL), select a word (W) and the change case (CHGC) on the selected range (SR). Also since parentheses are used, "GOLD C" can be preceded with a repeat count. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [Page 29] Enter for next page or GOLD for previous page: GOLD F Fill a paragraph. Entering this command will cause EDT to start a select range, move to next paragraph, and fill the selected region. Implemented with: DEF K GOLD F AS "(SEL PAR FILLSR)." The operation is to start a select range (SEL), select a paragraph (PAR) and then fill in to current wrap position (FILL) the text in the select range (SR). Note that paragraph delimiters can be changed with the line mode "SET ENTITY PARAGRAPH" command. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [Page 30] Enter for next page or GOLD for previous page: GOLD I Read file into buffer. Enter the file to be included in response to the prompt followed by "ENTER". Then you will be prompted for the buffer to copy the file into. EDT will leave you in the buffer selected after the read is completed. This is useful in extracting needed text from other files. Implemented with: DEF K GOLD I AS "EXT INC ?'Input file: ' =?' Buffer: '." The operation is to copy (INC) the file entered in response to the prompt "Input file: " into the buffer entered in response to the prompt "Buffer: ". +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [Page 31] Enter for next page or GOLD for previous page: GOLD L Return to last current position in the buffer that was the current buffer prior to the present one. This executes the line mode "FIND LAST" command. It is most useful in bouncing between two buffers without entering the buffer names with the "GOLD B" command. EDT does, however, seem to lose what the other buffer name was when a cut or paste is performed. Implemented with: DEF K GOLD L AS "EXT F L." +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [Page 32] Enter for next page or GOLD for previous page: GOLD M Make the "MAIN" buffer the current buffer with the cursor position set to the location it occupied the last time "MAIN" was the current buffer. This is the same as entering "GOLD 7" (COMMAND) followed by "=MAIN." to the command prompt. This is also equivalent to using the redefined key "GOLD B" and entering "MAIN" as the buffer to switch to. Implemented with: DEF K GOLD M AS "EXT F=MAIN.." +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [Page 33] Enter for next page or GOLD for previous page: GOLD O Output named buffer to a file, EDT will ask for the output filename, and then the buffer name to write to that file. You will be left in the buffer name selected after the output is complete. Implemented with: DEF K GOLD O AS "EXT WR ?'Output file: ' =?'Buffer: '." The operation is to execute the line mode write (WR) command to create the file entered in response to "Output file: " and write the contents of the buffer entered in response to "Buffer: " into that file. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [Page 34] Enter for next page or GOLD for previous page: GOLD R Remove all carriage returns, line feeds and form feeds from a file. This is useful for example, to make FORTRAN listings readable while in EDT change mode. The implementation of this command illustrates that special characters can be included in line mode commands, without having to resort to the nokeypad "ASC" command. The definition of this key is: DEF K GOLD R AS "EXT S///WH ; S///WH ; S///WH." The , and are the actual control characters and were entered using "GOLD 3" (Special Insert) when the initializer file was created. The only drawback in doing it this way is that if the initializer file is printed on a carriage control device, the device will do a carriage return, line feed and formfeed instead of printing , and . Note that this is another example of putting multiple line mode commands on a single line, using the semicolon as a delimiter. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [Page 35] Enter for next page or GOLD for previous page: GOLD S Show all named buffers. Same as the line-mode command "SHOW BUFFER". This command helps when you've forgotten what buffers were in use. Implemented with: DEF K GOLD S AS "EXT SH BU." If you use this key when this initializer file is included, you will also see all the alternate buffers created by it for macros, the help screen, etc. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [Page 36] Enter GOLD for previous page: This now concludes the portion of this tutorial driven by EDT. The remainder will be conducted again by the indirect command file processor. To exit this portion, enter "GOLD Q" or "GOLD 7" (COMMAND) and then "QUIT" to the "Command:" prompt. Since this file is being accessed read only you cannot use the "GOLD CONT Z" or the "EXIT" command.