HELP A '?' may be entered at most line mode prompts for help during a line mode command. The 'HELP' key on a VT200 series terminal will display the keypad and keyboard diagrams and their functions. The complete EDX documentation file is SYS$HELP:EDX_DOCUMENTATION.DOC which you may view or print. 1 Line_mode The following keys let you edit line mode commands: Up arrow, CTRL-B Recalls up to 40 previously entered commands Down arrow Displays the next line in the recall buffer Left arrow, CTRL-D Moves the cursor one character to the left Right arrow, CTRL-F Moves the cursor one character to the right DELETE key Deletes the last character entered CTRL-A, F14 Switches between overstrike and insert mode. The default mode is determined by the DCL command $ SET TERMINAL/INSERT or $ SET TERMINAL/OVERSTRIKE CTRL-E Moves the cursor to the end of the line CTRL-H, BACKSPACE, F12 Moves the cursor to the beginning of the line CTRL-J, LINEFEED, F13 Deletes the word to the left of the cursor CTRL-U Deletes to the beginning of line 1 Pressing the RETURN key at the line mode prompt exits line mode and returns to screen mode. This can also be achieved by entering the line mode command CHANGE. 1 {line-number} Entering a line-number at the line mode prompt causes the cursor to position itself at the beginning of the specified line. This can also be achieved by the key sequence GOLD # when in EDT keypad mode. To determine your current line number use the EDT keypad mode key sequence GOLD CTRL-L. Example: * 976 (go to line # 976) 1 =buffer-name Places the specified buffer in the current window, and positions the cursor at the last cursor position for that buffer. For example, the command =MAIN will put buffer MAIN in the current window. If the specified buffer doesn't exist, it is created. A line number following the =buffer-name causes the cursor to position itself at the beginning of the specified line. Examples: * =MAIN (go to buffer MAIN) * =A (go to buffer A) * =DIR (go to buffer DIR) * =MAIN 976 (go to line # 976 of buffer MAIN) 1 'search-string' This command is identical to the FIND 'search-string' command. See the line mode command FIND 'search-string' for a complete description. Examples: * "HELLO" * 'GOODBYE' 1 ADJUST 2 WINDOWS Adjusts the height of the windows when in dual window mode. Use the up/down arrow keys to adjust the height. Entering a number followed by either the up or down arrow key will adjust the window by the specified number of lines. Examples: * ADJUST WINDOWS * ADJUST WINDOWS 6 * ADJUST WINDOWS -3 1 ATTACH ATTACH [process-name] Suspends the current EDX editing session and connects the terminal to another process or subprocess. The process or subprocess must already exist. If you do not specify a process-name, by default you are attached to the parent process. (Use the DCL command SHOW PROCESS/SUBPROCESS to determine the names of your current processes and subprocesses.) Examples: * ATTACH * ATTACH "Deley 2" 1 CALCULATE Performs simple integer arithmetic. A math-expression is prompted for with a "CALC> " prompt if one was not already given on the command line. The following mathematical symbols are recognized: + Addition - Subtraction * Multiplication / Division () Parenthesis determines precedence of operators For example, the line mode command: CALC (1 + 2) * 3 would display the result: 9 1 CENTER Centers the current line on the screen between the left and right margins. The left margin is set by the line mode command SET LEFT_MARGIN, and the right margin is set by the line mode command SET WRAP. If there is no right margin set (SET NOWRAP or SET WRAP 0) then the right edge of the screen is used for the right margin. (See also the EDT mode key sequence GOLD =) (See also the WPS mode key sequence GOLD C) 1 CHANGE CHANGE [=buffer-name] [line-number] Change back to screen mode. The cursor returns to its former location in the text unless the optional line number is specified. Pressing the RETURN key at the line mode prompt without entering anything will also change back to screen mode. If the optional buffer-name is included, the specified buffer is placed in the current window and the cursor is positioned at the last cursor position for that buffer. If the optional line number is specified, then the cursor positions itself at the beginning of the specified line. This can also be achieved by entering a line number at the line mode prompt without the CHANGE command, or by the EDT mode key sequence GOLD #. If both the optional buffer-name and line number are specified, the specified buffer is placed in the current window and the cursor is positioned at the specified line number. Examples: * CHANGE * CHANGE 976 (go to line # 976) * C * * CHANGE =MAIN (go to buffer MAIN) * CHANGE =A (go to buffer A) * CHANGE =MAIN 976 (go to line # 976 of buffer MAIN) 1 CLEAR 2 TABS CLEAR TABS n,n... CLEAR TABS # CLEAR TABS ALL Clears the tabs set at the specified column values. Use GOLD CTRL/R to toggle on/off the ruler line which shows where the tabs are set. These tab settings are used when SET TAB_KEY SPACES is in effect. More than one column value may be specified. Separate multiple values with commas or spaces. The keyword ALL may be used to clear all the tab settings. The symbol '#' will clear the tab at the current cursor position. Examples: * CLEAR TABS 4, 8, 12 * CLEAR TABS 4 8 12 * CLEAR TABS # * CLEAR TABS ALL 1 DCL Executes a DCL command. A DCL command is prompted for if one was not already included on the command line. Enter CTRL-Z at the prompt to cancel this function. A subprocess is created, the DCL command is executed, and the DCL command and resulting output are displayed in a buffer named DCL. The subprocess is retained for the remainder of the editing session. For example, the command DCL SHOW USERS would display the output from the DCL command SHOW USERS. The entire DCL command must be given on the command line. A VAX/VMS limitation prevents DCL from prompting for additional information. The DCL buffer grows to a maximum size of 500 lines, after which the oldest information is lost off the top of the buffer. Examples: * DCL SHOW USERS * DCL SUBMIT/NOPRINT/KEEP/QUEUE=BATCH1/NOTIFY MYBATCH.COM 1 DCL_HELP This command accesses the DCL help library normally available at the DCL $ prompt. All output goes into the buffer named HELP. At any time you may return to this buffer as you would go to any other buffer. 1 DECIPHER Decipher has been discontinued. 1 DECRYPT Decrypt has been discontinued. 1 DEFINE DEFINE {logical} {equivalence} Define a logical name. Similar to the DCL command DEFINE for creating logical names. Example: * DEFINE MYDIR DISK3:[DELEYD.WORK] 1 DELETE 2 BUFFER Deletes the current buffer and its contents. You are prompted for confirmation before the buffer is deleted. 1 DIFFERENCES DIFFERENCES [buffer_1 buffer_2] Compares line by line buffer_1 with buffer_2 and stops when a difference is found. If the optional parameters buffer_1 and buffer_2 are given, then the screen is split into two windows, buffer_1 is displayed in the top window, and buffer_2 is displayed in the bottom window. The comparison starts with the first line of each buffer. If buffer_1 and buffer_2 are not specified, then it is assumed that dual windows are already in use with buffer_1 in the top window and buffer_2 in the bottom window. The comparison starts with the current line in each window. The buffer in the top window may be the same buffer as in the bottom window. The buffers are compared line by line until a difference is found, or until the end of one of the buffers is reached. If a difference is found, the two lines that don't match are highlighted. After two non-matching lines are found, you may enter the line mode command DIFFERENCES again to search for the next two non-matching lines. Examples: * DIFFERENCES * DIFFERENCES A B 1 DIRECTORY Displays a directory listing. A directory specification is prompted for if one was not already included on the command line. Enter CTRL-Z at the prompt to cancel the function. All wildcards are accepted in the directory specification, including [*...]*.*;*. The optional negatable qualifiers /SIZE and /DATE may also be added to the directory specification. If no directory specification is given at the prompt, then your current default directory is used. The directory listing is displayed in buffer DIR. At any time you may return to this buffer as you would go to any other buffer. After the directory is displayed, the user may select a file by moving the cursor to that filename. The following functions may then be preformed: 1. Read selected file into a buffer. 2. Delete selected file. 3. Lock or unlock selected file preventing others from editing it. 2 default_qualifiers The default for /SIZE and /DATE is determined by examining the DCL symbol 'DIR' which the user may have previously defined in his login.com file. If the user has not previously defined the DCL symbol 'DIR', then the default is /NOSIZE/NODATE. If the user has previously defined the DCL symbol 'DIR' to be something of the form DIR :== DIRECTORY/SIZE/DATE/qualifier/..., then the default is determined by whether or not a /SIZE and/or /DATE qualifier is present in the translation of that symbol. 2 window_display If user is currently in full-window mode, the screen is split in two, the current buffer moves to the top half of the screen and the directory is displayed in the bottom half. If two windows are currently in use, the directory is displayed in the other window. The user is left in the directory buffer where he may scroll up/down to view the whole listing. 2 Read_selected_file Pressing the RETURN or ENTER key will read the selected file into a buffer and display it in the current window, replacing the directory listing. Pressing the SPACE_BAR will read the selected file into a buffer and display it in the other window, preserving the directory listing. At the prompt you may specify a buffer name to read the file into, or you may accept the default new buffer name. New buffer names are created with the names A, B, C,..., Z, AA, AB,..., ZZ. 2 Deleting_files Pressing the DELETE key or the letter 'D' key will delete the selected file. You are prompted for confirmation before the selected file is actually deleted. 2 Locking_files Pressing the letter 'L' key will lock the selected file preventing others from editing or accessing that file. Pressing the letter 'U' key will unlock a previously locked file. (Files are locked by performing an RMS $OPEN with noshare attributes on the selected file. This prevents others from opening the file for any purpose.) 2 /SIZE Displays the size of the file. 2 /DATE Displays the creation date of the file. 1 ELIMINATE 2 TABS Converts all tab characters in the current buffer to the equivalent number of spaces, so that the position of the text is unchanged. (This assumes the terminal has tabs set at the usual default of one every eighth column.) 1 ENCIPHER Encipher has been discontinued. 1 ENCRYPT ENCRYPT (Alternate forms: ENCIPHER, DECRYPT, DECIPHER) Encrypt has been discontinued. 1 ERASE 2 BUFFER Erases the entire contents of the current buffer. You are prompted for confirmation before the buffer is erased. 1 EXIT EXIT [file-name] [/SAVE] [/ALL] Exits the editor, saving a copy of buffer MAIN in an external file. If there are other modified buffers that will not be saved a list of those buffers is shown and you are asked if you still wish to exit. 2 /ALL This qualifier causes all modified buffers to be written. If a modified buffer does not have a filename associated with it, one is prompted for. The file-name qualifier is ignored if /ALL is present. Buffer MAIN is written only if it has been modified. 2 /SAVE This qualifier causes the keystroke journal file to be saved. Keystroke journal files are used before VMS 5.3 As of VMS 5.3 buffer journal files are used instead and this qualifier has no effect. The keystroke journal file is a temporary file kept by the editor which contains a history of all the keystrokes entered since the editing session began. The keystroke journal file is created in your default directory, with the same file name as was specified when EDX was invoked, but with a file extension of .TJL. If no file name was specified when EDX was invoked, then the keystroke journal file name is TPU.TJL. Normally the journal file is deleted when the user exits or quits the editor in the normal manner. However, if the editing session should end abruptly, such as due to system failure, the journal file will not be deleted, and it is usually possible to recover the work done by reinvoking the EDX editor with the /RECOVER qualifier. Using the /RECOVER qualifier works for both keystroke journal files and buffer journal files. 2 file-name A file name for buffer MAIN. If no file-spec is given, then the file name already associated with buffer MAIN is used. If there is no file name for buffer MAIN, then one is prompted for. 2 Examples * EXIT * EXIT myfile.dat * EXIT/ALL 1 FIND FIND 'string' FIND =buffer-name 2 =buffer-name Places the specified buffer in the current window, and positions the cursor at the last cursor position for that buffer. If the specified buffer doesn't exist, then it is created. For example, the command FIND =MAIN will put buffer MAIN in the current window and position the cursor at the last cursor position for buffer MAIN. Using an asterisk ('*') in place of the buffer name causes a new buffer name to be generated. New buffer names are created with the names A, B, C,..., Z, AA, AB,..., ZZ. 3 Examples * FIND =MAIN * FIND =A * FIND =DIR * FIND =* 2 'search-string' Searches in the forward direction for the first occurrence of the specified 'search_string'. After searching once using the line mode FIND command, subsequent searches can be made using the keypad 'Find Next' key. (EDT Keypad PF3, or press 'Find' Edit key E1 twice). If you wish to include a space, tab, slash ('/'), or equals sign ('=') within the search-string, then enclose the string in either single or double quotes. Otherwise the search-string does not have to be enclosed in quotes. If you wish to include within a quoted string the same quote character used to quote the string, use two consecutive quotes. For example, the string: "quote ""this"" string" would be interpreted as: quote "this" string. An alternate form of this line mode command is to simply enter the search-string at the line mode prompt without the FIND. In this case the search string must be enclosed in either single or double quotes. The following qualifiers may be added to the FIND command line: 3 /EXACT /EXACT or /NOEXACT Determines if the search-string, exclude-string, or replace-string should be case sensitive, depending upon the relative position of the qualifier. This qualifier may be used more than once. If placed after the FIND or after the 'search-string', it specifies whether or not the search should be case sensitive. If placed after the /EXCLUDE='exclude-string', it specifies whether or not the exclude test should be case sensitive. If placed after the /REPLACE='replace-string', it specifies whether or not the replacement should try to match the case of the string being replaced. /EXACT requires both the letters and the case of the letters to match. For example, the search-string 'XYZ' would not match the string 'xyz', or the exclude-string 'XYZZY' would not exclude the string 'xyzzy'. /NOEXACT requires only the letters to match. The default search mode is set by the line mode commands SET SEARCH EXACT and SET SEARCH NOEXACT. The initial setting of the default search mode upon entering the editor is SET SEARCH NOEXACT. The default for the exclude-string and for the replace-string is /NOEXACT. 3 /EXCLUDE /EXCLUDE='exclude-string' Specifies a string to exclude as a match. If you wish to include a space, tab, slash ('/'), or equals sign ('=') within the exclude-string, then enclose the string in either single or double quotes. Otherwise the exclude-string does not have to be enclosed in quotes. If you wish to include within a quoted string the same quote character used to quote the string, use two consecutive quotes. For example, the string: "quote ""this"" string" would be interpreted as: quote "this" string. After the editor finds a string which matches the search-string, it then checks to see if a match for exclude-string can also be made. If there is a successful match for exclude-string, and the exclude-string match overlaps part or all of the search-string match, then the string is rejected as a match and the search continues. 3 /NUMBER={number-of-substitutions-to-make} Specifies the number of substitutions to make. The default is to make substitutions until either the end of the buffer is reached or the user instructs the command to terminate when queried. 3 /QUERY or /NOQUERY Specifies whether or not the user is queried before a substitution is made. The default is /QUERY. This qualifier is relevant only if /REPLACE='replace-string' is also specified. 3 /REVERSE Causes the search to proceed in the reverse direction, moving from the current cursor position toward the top of the buffer. The default is to search in the forward direction, from the current cursor position toward the end of the buffer. 3 /REPLACE='replace-string' Converts the FIND command into a FIND and REPLACE command. Specifies a replacement string to replace the found string with. After finding a match for search-string (which does not also match exclude-string if specified), the search string is highlighted and you are asked if you wish to replace it with the replace-string. You may answer with one of the following: Yes - makes replacement and asks if you wish to search again No - searches for next occurrence of search-string All - makes replacement throughout the rest of the buffer Last - makes replacement and quits Quit - command terminates 3 /TYPE or /NOTYPE Specifies whether or not substitutions are displayed as they are made. This qualifier is relevant only if /REPLACE='replace-string' is also specified. The default is /TYPE. Substitutions are not displayed as they happen if you specify both /NOTYPE and /NOQUERY, or if you specify /NOTYPE and answer 'all' to the query of would you like to make the current substitution. 3 /WHOLE or /ALL Specifies that the search for search-string begin at the beginning of the current buffer, or if the /REVERSE qualifier was also specified, specifies that the search begin at the end of the current buffer. The default is to begin the search for search-string at the current cursor position. 3 /WILD or /NOWILD Determines if the search-string, exclude-string, or replace-string should be processes for wildcards, depending upon the relative position of the qualifier. This qualifier may be used more than once. If placed after the FIND or after the 'search-string', it specifies whether or not the search string should be processed for wildcards. If not specified, then the current default search mode set by the line mode commands SET SEARCH WILD and SET SEARCH NOWILD is used for the search-string. The initial setting of the default search mode upon entering the editor is SET SEARCH NOWILD. If placed after the /EXCLUDE='exclude-string', it specifies whether or not the exclude-string should be processed for wildcards. If not specified then the default is /NOWILD. If placed after the /REPLACE='replace-string', it specifies whether or not the replace-string should be processed for wildcards. Only wildcard representations of control characters may be present in the replace-string. Wildcards such as * or % are not allowed, but strings such as ^B for CTRL-B are allowed in the replace-string. 3 Examples * FIND HELLO * FIND/EXACT hello * FIND/EXACT hello /EXCLUDE="hello there" * FIND hello /REPLACE=goodbye * FIND/WILD proc*do /EXCLUDE= "procedure do" * FIND/WILD ^Bprocedure^B * FIND/NOWILD "A ^B means CTRL-B" 1 FIX 2 CRLFS Removes all the carriage return and line feed characters ('s, ASCII 13 and ASCII 10) from the current buffer and sets the buffer's file attributes to the standard text file attributes of Carriage Control Carriage Return. This command may be used to convert a file which explicitly contains within the text the carriage return and line feed characters to a file which does not contain those characters but implies their existence by using the file attributes of Carriage Control Carriage Return. This is an example of how text containing explicit carriage control line feed characters might appear in the EDT editor. FIX CRLFS can also fix up text which looks a lot worse than this. 1 INCLUDE INCLUDE file-name [=buffer] [/MODULE=module-name] Copies in the specified file at the current cursor position. Prompts for a file-name if none is given. The following qualifiers may be added after the file-name: 2 =buffer-name Alternate for of /BUFFER=buffer-name. See /BUFFER=buffer-name. 2 /BUFFER=buffer-name Specifies a buffer to copy the file or text library module into. If this qualifier is included, then the specified buffer becomes the current buffer, and the file or text library module is inserted into the buffer at the last cursor position for that buffer. If the specified buffer does not exist, then it is created. If an asterisk ('*') is specified as the buffer name then a new buffer is created. New buffer names are created with the names A, B, C,..., Z, AA, AB,..., ZZ. 2 /MODULE=module-name Indicates that we are reading a module from a VMS text library file. In this case the file-name specified is the name of a VMS text library and module-name as specified here is the name of the module to read in. (To list the names of modules within a text library while in the editor, use the line mode command: DCL LIBRARY/TEXT/LIST/FULL filename.TLB A future version of EDX will include the ability to list the names of modules within text libraries more directly.) 2 Examples * INCLUDE myfile.dat * INCLUDE myfile.dat =A * INCLUDE myfile.dat /BUFFER=A * INCLUDE mylibrary.tlb /MODULE=mymod * INCLUDE mylibrary.tlb /MODULE=mymod =A * INCLUDE mylibrary.tlb /MODULE=mymod /BUFFER=A 1 LOCK 2 BUFFER LOCK BUFFER [buffer-name] Locks the file associated with the buffer preventing others from editing that same file. The default is to lock the file associated with your current buffer unless the optional buffer-name parameter is specified. When EDX edits a file it initially reads the entire contents of the file into a buffer and leaves the file itself available for others to use. By locking the file after reading it into a buffer you can prevent others from editing that same file while you are editing it. (Files are locked by performing an RMS $OPEN with noshare attributes on the selected file. This prevents others from opening the file for any purpose.) Examples: * LOCK BUFFER * LOCK BUFFER MAIN 2 FILE LOCK FILE file-name Locks the specified file preventing others from using that file. (Files are locked by performing an RMS $OPEN with noshare attributes on the selected file. This prevents others from opening the file for any purpose.) Example: * LOCK FILE myfile.dat 1 QUIT QUIT [/SAVE] Quits the editing session without saving a copy of any buffers. If there are modified buffers a list of those buffers is shown and you are asked if you still wish to quit. A special prompt is used if the current buffer you are in will not be saved. 2 /SAVE This qualifier causes the keystroke journal file to be saved. Keystroke journal files are used before VMS 5.3 As of VMS 5.3 buffer journal files are used instead and this qualifier has no effect. The keystroke journal file is a temporary file kept by the editor which contains a history of all the keystrokes entered since the editing session began. The keystroke journal file is created in your default directory, with the same file name as was specified when EDX was invoked, but with a file extension of .TJL. If no file name was specified when EDX was invoked, then the keystroke journal file name is TPU.TJL. Normally the journal file is deleted when the user exits or quits the editor in the normal manner. However, if the editing session should end abruptly, such as due to system failure, the journal file will not be deleted, and it is usually possible to recover the work done by reinvoking the EDX editor with the /RECOVER qualifier. Using the /RECOVER qualifier works for both keystroke journal files and buffer journal files. 1 RECOVER As of VMS 5.3 there are now two types of journaling available: keystroke journaling and buffer journaling. Prior to VMS 5.3 only keystroke journaling was available. As of VMS 5.3 buffer journaling is used. It is much easier to recover using buffer journal files than it is from a keystroke journal file, and the success rate is much higher. 2 BUFFER_JOURNAL_FILES Buffer journal files are temporary files created by the editor which contain a history of all the modifications made to a buffer. A separate buffer journal file is created for each buffer. The buffer journal file is created in the directory pointed to by the logical name TPU$JOURNAL, with the same file name as the buffer being journaled, and with a file extension of .TPU$JOURNAL. To recover an editing session from buffer journal files, enter a command to invoke the EDX editor and add the /RECOVER qualifier to the command line. Further prompts will follow. It is not necessary to enter the exact command used to start the editing session being recovered. Note that unlike the EVE editor, the EDX editor accepts the /RECOVER qualifier to recover both keystroke journal files and buffer journal files. The type of recovery done is determined by the type of buffer journaling that would normally be done if the /RECOVER qualifier were not present. Note that the EVE editor may also be used to recover buffer journal files. 2 KEYSTROKE_JOURNAL_FILES A keystroke journal file is a temporary file created by the editor when it first starts up which contains a log of all the keystrokes entered by the user. The journal is created in your default directory, with the same file name as was specified when EDX was invoked, but with a file extension of .TJL. If no file name was specified when EDX was invoked, then the journal file name is TPU.TJL. To recover an editing session from a keystroke journal file, enter the EXACT command used to start the editing session being recovered, and add the /RECOVER qualifier to the command line. The editor will be invoked and then will read and execute all the keystrokes stored in the journal file. 1 REPLACE REPLACE [old_string] [new_string] Searches for old-string, highlights the old-string when found, and asks if you wish to replace it with new-string. You may answer with one of the following: Yes - makes replacement and searches for next "old-string" No - searches for next "old-string" All - makes replacement throughout the rest of the buffer Last - makes replacement and quits Quit - command terminates The old-string and new-string will be prompted for if you do not include them on the command line. If included on the command line, enclose the old-string and/or new-string in either single or double quotes if you wish to include a space or tab character within the string. Otherwise the strings do not have to be enclosed in quotes. If you wish to include within a quoted string the same quote character used to quote the string, use two consecutive quotes. For example, the string: "quote ""this"" string" would be interpreted as: quote "this" string. See also the following related line mode command: SUBSTITUTE 2 Case_Sensitivity_of_Replacement: This command attempts to do a case sensitive replacement so that: "UPPERCASE STRINGS" are replaced by "UPPERCASE STRINGS" "lowercase strings" are replaced by "lowercase strings" "Capitalized strings" are replaced by "Capitalized strings" The type of search performed is affected by the following line mode commands: SET SEARCH GENERAL SET SEARCH EXACT 2 Examples * REPLACE * REPLACE "hello there" hi 1 SEARCH SEARCH 'search-string' Searches for all occurrences of 'search-string' from the current cursor position to the end of the buffer, and displays all lines containing 'search-string' and the corresponding line number of each line in a buffer named SEARCH. While in the SEARCH buffer you may select a line number using the cursor movement keys. Pressing the RETURN or ENTER key will position you at that line number in the buffer displayed in the other window. The special marker named LAST is set at your previous position in the other window. If you wish to include a space, tab, slash ('/'), or equals sign ('=') within the search-string, then enclose the string in either single or double quotes. Otherwise the search-string does not have to be enclosed in quotes. If you wish to include within a quoted string the same quote character used to quote the string, use two consecutive quotes. For example, the string: "quote ""this"" string" would be interpreted as: quote "this" string. The following qualifiers may be added to the command line: 2 /BUFFER= /BUFFER=buffer-to-search Specifies an alternate buffer to search. The default is to search the current buffer. If this qualifier is specified then the whole buffer specified is searched. 2 /EXACT /EXACT or /NOEXACT Determines if the search should be case sensitive. /EXACT requires both the letters and the case of the letters to match. For example, the search-string 'XYZ' would not match the string 'xyz'. /NOEXACT requires only the letters to match. If neither qualifier is specified, then the current default search mode set by the line mode commands SET SEARCH EXACT and SET SEARCH NOEXACT is used. The initial setting of the default search mode upon entering the editor is SET SEARCH NOEXACT. 2 /EXCLUDE /EXCLUDE = 'exclude-string' Specifies a string to exclude as a match. If you wish to include a space, tab, slash ('/'), or equals sign ('=') within the exclude-string, then enclose the string in either single or double quotes. Otherwise the exclude-string does not have to be enclosed in quotes. If you wish to include within a quoted string the same quote character used to quote the string, use two consecutive quotes. For example, the string: "quote ""this"" string" would be interpreted as: quote "this" string. After the editor finds a string which matches the search-string, it then checks to see if a match for exclude-string can also be made. If there is a successful match for exclude-string, and the exclude-string match overlaps part or all of the search-string match, then the string is rejected as a match and the search continues. 2 /REVERSE Causes the search to proceed in the reverse direction, moving from the current cursor position to the top of the buffer. The default is to search in the forward direction, from the current cursor position to the end of the buffer. 2 /ALL Same as /WHOLE. See /WHOLE. 2 /WHOLE /WHOLE or /ALL Causes the search to go through the entire buffer rather than start at the current cursor position. If the search direction is forward (the default), the search begins at the beginning of the buffer and proceeds to the end of the buffer. If the search direction is reverse (set by the /REVERSE qualifier), the search begins at the end of the buffer and proceeds to the beginning of the buffer. 2 /WILD /WILD or /NOWILD Determines if wildcards may be present in the search-string and the exclude-string. If neither qualifier is specified, then the current default search mode set by the line mode commands SET SEARCH WILD and SET SEARCH NOWILD is used. The initial setting of the default search mode upon entering the editor is SET SEARCH NOWILD. 2 Examples * SEARCH hello * SEARCH/ALL hello /EXCLUDE="hello David" * SEARCH/ALL/WILD ^BSEARCH^B 1 SET SET commands allow you to customize your editing session. 2 COLUMNAR SET COLUMNAR or SET NOCOLUMNAR Sets cut/paste mode to columnar. Move to one corner of the desired box and press the 'SELECT' key. Then move to the other corner of the box and press the 'SELECT' key again. Only the top and bottom of the box selected are permanently highlighted. The rest of the box visible on the screen is briefly swept through once highlighting each line. To exit columnar cut/paste mode use the SET NOCOLUMNAR or SET NORECTANGULAR line mode commands. 3 Cutting_Columnar_Text If the buffer is in INSERT mode a cut operation will remove the selected column and place it in buffer PASTE. (The previous contents of buffer PASTE are erased.) Any text to the right of the column moves left to fill in the space. The text may later be restored at a new location by using the PASTE command (see 'Inserting Columnar Text' below). If the buffer is in OVERSTRIKE mode then a cut operation will copy the selected range to buffer PASTE and then replace the selected range with blanks, leaving the rest of the buffer unchanged. This allows a columnar cut/paste operation to work properly in OVERSTRIKE mode. 3 Copying_Columnar_Text A 'Copy Selected Range to Buffer' operation on a columnar range of text works the same as it does on a regular range of text. The selected columnar range is copied to the specified buffer without removing it. If the contents of the selected range are copied to buffer PASTE, then the previous contents of buffer PASTE are erased. Otherwise, the contents of the selected range are inserted into the specified buffer at the last cursor position for that buffer. 3 Inserting_Columnar_Text The column is inserted at the cursor position with the cursor as the upper left corner of the column. Blanks are added before the column as necessary so the column will be straight. If the buffer is in INSERT mode then any text where the column is inserted will be pushed right. If the buffer is in OVERSTRIKE mode then any text where the column is inserted will be overwritten. 2 CURSOR SET CURSOR BOUND SET CURSOR FREE SET CURSOR top:bottom 3 BOUND Sets the cursor to a bound state, so that the cursor is bound to the text. In a bound state, the cursor is free to move only where there is already text. For example, if the cursor is at the end of a line and you press the right arrow key, the cursor will move to the start of the next line. It can not move past the end of the current line. By contrast, with a free cursor, you can move anywhere in the window whether or not text is there. The initial setting upon entering the editor is SET CURSOR BOUND. 3 FREE Sets the cursor to a free or unbound state, so that the cursor is not bound to the text. In a free state, the cursor is free to move anywhere in the window whether or not text is there. For example, if the cursor is at the end of a line and you press the right arrow key, the cursor moves past the end of the line towards the right edge of the window. By contrast, a bound cursor can not move past the end of a line. Instead a bound cursor would move to the start of the next line. The initial setting upon entering the editor is SET CURSOR BOUND. 3 top:bottom Controls scrolling of the main window relative to the distance of the cursor from the screen top and the screen bottom. Values for the top and bottom can range from 0 to 21. Default: SET CURSOR 7:14. 2 DATE_FORMAT SET DATE_FORMAT [keyword [keyword...]] Sets the format of the date entered by the enter date command (GOLD CTRL-D). Below are the formats: Keyword Example FULL September 15, 1987 (LONG CAPITALIZE NOZEROS) SHORT 15-Sep-1987 LONG September 15, 1987 (Default) FORMAL 15th September, 1987 NUMERIC 9/15/87 EUROPEAN 15/9/87 UPPERCASE SEPTEMBER 15, 1987 LOWERCASE september 15, 1987 CAPITALIZE September 15, 1987 (Default) NOZEROS 9/15/87 (no leading zeros, default) ZEROS 09/15/87 (leading zeros included) DASH 9-15-87 SLASH 9/15/87 (Default) 3 Examples 1. SET DATE_FORMAT FULL The date appears as September 15, 1987. (This is the default setting.) 2. SET DATE_FORMAT NUMERIC ZEROS DASH The date appears as 09-15-87 3. SET DATE_FORMAT SHORT UPPERCASE DASH The date appears as 15-SEP-1987 2 DEFAULT Changes your default directory. Same as the DCL command SET DEFAULT. 2 INDENTATION SET INDENTATION AUTOMATIC SET INDENTATION MANUAL When INDENTATION is set to MANUAL (the default), pressing the key opens a new line and moves the cursor to the left margin. When INDENTATION is set to AUTOMATIC, pressing the key opens a new line and moves the cursor to the indentation level of the previous non-blank line. 2 INSERT Switches the current buffer into INSERT mode. Subsequent text typed in is inserted in between existing text. This is the default mode. 2 KEYPAD Determines the function of the keypad and associated editing keys. 3 EDT Switches the editor to EDT keypad mode, so that the keypad key functions are those of an EDT-style keypad. The 'HELP' key on a VT200 series keyboard will display the keypad and keyboard diagrams showing the functions of all the keys. EDT keypad mode is the default mode upon entering the editor. 3 NUMERIC Switches the keypad to numeric mode, but does not change the editing mode of the rest of the keyboard. When in numeric mode the keypad keys 0-9 enter the corresponding number into the current buffer, the keypad comma, minus sign, and decimal point keys enter their corresponding characters, and the keypad keys PF3 = "(", and PF4 = ")". The functions of all the other keys on the keyboard are not affected by this command. Thus, if the editor is in EDT mode all of the non-keypad keys still perform their corresponding EDT mode functions, or if the editor is in WPS mode then all of the non-keypad keys still perform their corresponding WPS mode functions. (See also the EDT mode key sequence GOLD N) 3 WPS Switches the editor to WPS keypad mode, so that the keypad key functions are those of a WPS-style keypad. The 'HELP' key on a VT200 series keyboard will display the keypad and keyboard diagrams showing the functions of all the keys. The default keypad mode upon entering the editor is EDT. 2 LEFT_MARGIN SET LEFT_MARGIN n SET LEFT_MARGIN # Changes the left margin for the current buffer. The right margin is not changed. For example, the command: SET LEFT_MARGIN 10 sets the left margin to 10. New text will start in column 10. Nine spaces will be inserted before each new line. Using a '#' instead of a numeric value sets the left margin to the current cursor position. The left margin is set to 1 by default. 2 LOCK SET LOCK Locks all files which you are currently editing preventing others from accessing those files. Also, any future file which is read into a buffer is automatically locked, and any file created by writing a buffer to disk is automatically locked. All files are automatically unlocked upon exiting EDX. This command may be useful when a group a people are working on a project and it is important that two people do not try to simultaneously modify the same file. The command SET NOLOCK will unlock all buffers and switch off the automatic locking feature. (Files are locked by performing an RMS $OPEN with noshare attributes on the selected file. This prevents others from opening the file for any purpose.) Files may also be individually locked or unlocked using the following commands: LOCK FILE UNLOCK FILE LOCK BUFFER UNLOCK BUFFER DIRECTORY (Press "L" to lock selected file, "U" to unlock file) SHOW BUFFERS (Press "L" to lock file in buffer, "U" to unlock file) 2 MARKER SET MARKER {marker-name} Sets an invisible marker at the current cursor position. You may return to the marker location at any time by using the 'Go to Marker' command (EDT mode: GOLD G. WPS mode: GOLD Z) or by using the line mode command SHOW MARKERS. Example: * SET MARKER X 2 NOLOCK SET NOLOCK Unlocks all buffers and switches off the automatic locking feature. 2 OVERSTRIKE Switches the current buffer into OVERSTRIKE mode. Subsequent text typed in over strikes existing text, replacing it. 2 PROMPT SET PROMPT VIDEO {BOLD|BLINK|NONE|REVERSE|UNDERLINE} Sets the video attributes of the line mode prompt. Examples: * SET PROMPT VIDEO REVERSE * SET PROMPT VIDEO NONE 2 RECTANGULAR SET RECTANGULAR or SET NORECTANGULAR Same as SET COLUMNAR. See SET COLUMNAR for a complete description. 2 SCREEN SET SCREEN width Sets the screen width, which is the number of columns across the screen that characters are displayed in. For example, SET SCREEN 72 will set the screen width to 72, so that characters are displayed in screen columns 1 through 72. If a line is longer than 72 characters, a diamond is displayed in column 72 to indicate the line continues. As another example, SET SCREEN 132 will cause terminals which have the ability to display 132 characters across the screen. The default width is the same as your current terminal setting shown by the DCL command $ SHOW TERMINAL. The usual value for the default width is 80. (See also the EDT mode key sequence GOLD W) 2 SCREEN_UPDATE SET SCREEN_UPDATE {ON|OFF} Enables or disables screen updating. By default screen updating is set to ON. The screen is constantly updated to display the latest changes within the buffer. SET SCREEN_UPDATE OFF disables screen updating. The screen does not change, only line mode prompts are displayed. For example, say you have defined a key to be a lengthy sequence of keystrokes using the learn key sequence command. You then wish to execute this key 100 times. However, this would be slow in display mode since the screen would display everything as it was happening. It would be much faster if this could be done without the screen displaying the intermediate results. Example: * SET SCREEN_UPDATE OFF * GOLD 100 {learn-key} * SET SCREEN_UPDATE ON 2 SEARCH The SET SEARCH command sets the default search mode used by commands which search for strings. Any command which searches for a string or pattern may be affected by some or all of the default search mode settings. 3 EXACT_or_GENERAL SET SEARCH GENERAL (Default) SET SEARCH EXACT Determines if the search should by default be case sensitive or case insensitive. EXACT requires both the letters and the case of the letters to match. For example, the search-string 'XYZ' would not match the string 'xyz'. NOEXACT, which is the same as GENERAL, requires only the letters to match. The initial setting upon entering the editor is NOEXACT. 3 BEGIN_or_END SET SEARCH BEGIN (Default) SET SEARCH END Determines where the cursor should position itself after finding a string. BEGIN causes the cursor to position itself at the beginning of the found string. END causes the cursor to position itself at the end of the found string. BEGIN is the default. 3 WILD_or_NOWILD SET SEARCH WILD SET SEARCH NOWILD (default) Determines if wildcard characters are allowed in the search string by default. WILD allows the use of the following wildcard characters in the search string for wildcard matching: * - multi-character wildcard (within same line) % - single-character wildcard + - beginning of line ; - end of line \ - quote next character ^ - next char. is ctrl character (e.g. ^B = CTRL-B) If none of the above wildcard characters are used the search is the same as a normal search. 3 BEEP_or_NOBEEP SET SEARCH BEEP (also BELL/NOBELL, QUIET/NOQUIET) SET SEARCH NOBEEP (default) Determines if the terminal beeps when a 'Find String' type command does not find a match and prints a 'String not found' type message. BEEP, BELL, and NOQUIET are functionally identical in specifying that the terminal should beep when a string isn't found. NOBEEP, NOBELL, and QUIET are functionally identical in specifying that the terminal should not beep when a string isn't found. The default is not to beep when a string isn't found. 2 SHIFT_AMOUNT Sets the number of characters the text shifts when a GOLD <- or GOLD -> (GOLD left_arrow or Gold right_arrow) command is issued. The default is 32. Example: * SET SHIFT 32 2 SYMBOL SET SYMBOL symbol-name :=[=] equivalence-string Creates a DCL symbol. The symbol name must begin with an alphabetic character, an underscore, or a dollar sign. If you specify a single equal sign (:=) in the assignment statement, the symbol name is placed in the local symbol table for the current command level. If you specify double equal signs (:==) in the assignment statement, the symbol name is placed in the global symbol table. The maximum length for the equivalence-string is 255 characters. String values are automatically converted to uppercase, any leading and trailing spaces and tabs are removed, and multiple spaces and tabs between characters are compressed to a single space. If you want to inhibit uppercase conversion and retain space and tab characters within a string, you must place quotation marks around the part of the string you wish unchanged. To insert quotation marks as part of the string, use a double set of quotation marks. For example: SET SYMBOL TEST := "this is a ""test"" string" SHOW SYMBOL TEST TEST = "this is a "test" string" Note one difference between this command and DCL is this command treats single quotes the same as double quotes. For example: SET SYMBOL TEST2 := this is another 'test' string SHOW SYMBOL TEST2 TEST2 = "THIS IS ANOTHER test STRING" Whereas DCL would replace the word 'test' enclosed in single apostrophes with the translation of the symbol TEST, this command does not do that. 2 TAB_KEY SET TAB_KEY TABS (default) SET TAB_KEY SPACES Determines the function of the tab key. SET TAB_KEY TABS causes the tab key to insert a tab. SET TAB_KEY SPACES causes the tab key to move the cursor to the next tab stop. If the buffer is in insert mode then spaces are laid and text to the right of the cursor is pushed right. If the buffer is in overstrike mode then the text is not changed and just the cursor moves to the next tab stop. The default is SET TAB_KEY TABS. Examples: * SET TAB_KEY TABS * SET TAB_KEY SPACES 2 TABS SET TABS n,n... SET TABS # SET TABS EVERY n Sets a tab at the specified column values. Use GOLD CTRL-R to toggle on/off the ruler line which shows where the tabs are set. These tab settings are used when SET TAB_KEY SPACES is in effect. More than one column value may be specified. Separate multiple values with commas or spaces. The symbol '#' will set the tab at the current cursor position. Examples: * SET TABS 4, 8, 12, 16, 20 * SET TABS 4 8 12 16 20 (comma is optional) * SET TABS EVERY 4 * SET TAB # (set tab here) 2 WRAP SET WRAP number SET WRAP # SET NOWRAP Sets the right margin to the specified column number. The right margin determines where text being entered will automatically wrap to the next line. The line mode commands SET NOWRAP or SET WRAP 0 will disable the right margin. Using a '#' instead of a number will set the wrap at the current cursor position. Examples: * SET WRAP 72 * SET WRAP # (set wrap here) * SET NOWRAP * SET WRAP 0 (same as SET NOWRAP) 1 SHIFT SHIFT [number] Shifts the text in the current window by the number of columns specified. A positive number shifts the window right to view text off the right hand edge of the screen, and a negative number shifts the window left back towards its normal position. Examples: * SHIFT 80 * SHIFT -132 1 SHOW SHOW commands tell which SET commands are in effect. 2 ASCII Displays the ASCII character set and the DEC Multinational Character Set extension of the ASCII character set in a buffer named ASCII. At any time you may return to this buffer as you would go to any other buffer. 2 BUFFERS Displays a list of all buffers which currently exist, along with the number of lines in each buffer and the name of the file in each buffer. (Note that the editor keeps a number of permanent buffers for its own use). To select a buffer use the up/down arrow keys to move the cursor so it points to the desired buffer name. 3 go_to_a_buffer To go to a buffer: Press one of the keys RETURN, ENTER, SELECT, or DO to go to the selected buffer the cursor points to. Or enter GOLD-B to select the goto buffer function. 3 write_a_buffer To write a buffer: Press the 'W' key to write a selected buffer. If there is no file name associated with the buffer, then one is prompted for. You may optionally specify /MODULE=module-name along with the file-name, in which case then file-name is taken to be the name of a VMS text library and module-name the name of the module to write. 3 delete_a_buffer To delete a buffer: To delete a selected buffer and its contents press either the DELETE key or the 'Remove' edit key E3. You are prompted for confirmation before the buffer is actually deleted. 3 lock_or_unlock_a_buffer To lock or unlock a buffer: To lock a selected buffer press the 'L' key. To unlock a selected buffer press the 'U' key. (Locking a buffer prevents others from editing the file in the buffer while you edit it. See the line mode command LOCK BUFFER for a full description of locking buffers.) 2 CALENDAR Displays the current years calendar in a buffer named CALENDAR and positions the cursor on the current date. You may also optionally specify what calendar year you wish to display. At any time you may return to this buffer as you would go to any other buffer. Examples: * SHOW CALENDAR * SHOW CALENDAR 1991 2 CURSOR Shows the current setting of the cursor state (BOUND or FREE). See the line mode commands SET CURSOR BOUND and SET CURSOR FREE for a description of these two cursor states. The default state is BOUND. This command also shows the cursor boundaries within the current window relative to the top and bottom of the screen. When the cursor reaches either the top or bottom cursor boundary, the text within the window begins to scroll so that the cursor does not pass the boundary. The boundaries are given as two numbers separated by a colon. The first number is the screen line number which the cursor does not cross above, and the second number is the screen line number which the cursor does not cross below. Default: Cursor boundaries 7:14 for the main full-screen window, 4:7 for the top half-screen window, and 15:18 for the bottom half-screen window. The cursor boundaries for the main full-screen window may be changed by the line mode command SET CURSOR top:bottom. 2 DATE Displays the current date. The format of the date can be set with the line mode command SET DATE_FORMAT. 2 DEFAULT Displays your current default directory. 2 INDENTATION Shows whether INDENTATION is set to AUTOMATIC or MANUAL. When INDENTATION is set to MANUAL (the default), pressing the key opens a new line and moves the cursor to the left margin. When INDENTATION is set to AUTOMATIC, pressing the key opens a new line and moves the cursor to the indentation level of the previous non-blank line. 2 LEFT_MARGIN Shows the current setting of the left margin. 2 LOGICAL SHOW LOGICAL logical_name Translates a logical name. Similar to the DCL command $ SHOW LOGICAL. Examples: * SHOW LOGICAL sys$disk * SHOW LOGICAL sys$system 2 MARKERS Displays a list of all markers which currently exist, along with the buffer, line number, and line of text associated with each marker. To select a marker use the up/down arrow keys to move the cursor so it points to the desired marker name. Marker CURRENT is set at your current position. 2 SCREEN Shows the screen width, which is the number of columns across the screen that characters are displayed in. For example, if the screen width was 72, then characters would be displayed in screen columns 1 through 72. If a line was longer than 72 characters, a diamond would be displayed in column 72 to indicate the line continues. As another example, if the screen width were 132, then terminals which had the ability to display 132 characters across the screen would do so. The default width is determined by your current terminal setting shown by the DCL command $ SHOW TERMINAL. The usual value for the default width is 80. 2 SEARCH Shows the current default search settings which determine how strings are searched for. Any command which searches for a string or pattern may be affected by some or all of the following settings. See the SET SEARCH command for a full description. The default settings are: NOEXACT or GENERAL (case is ignored) BEGIN (cursor positions itself at beginning of located string) NOWILD (wildcards are not used) 2 SHIFT_AMOUNT Shows the number of characters the text shifts when a GOLD <- or GOLD -> (GOLD left_arrow or Gold right_arrow) command is issued. The default is 32. 2 SYMBOL SHOW SYMBOL symbol_name Translates a DCL symbol. Similar to the DCL command $ SHOW SYMBOL. Example: * SHOW SYMBOL EDX 2 TIME Displays a message describing the approximate time of day. (e.g. "Almost quarter to ten", "About five after two"). 2 VERSION Displays the version number and the internal upgrade level of the EDX editor's section file, the external ident number of the EDX editor's external shareable image, and the current version of VAXTPU. 2 WRAP Shows the current right margin setting, which determines where text being entered will automatically wrap to the next line. The right margin is set by the line mode command SET WRAP. 1 SORT SORT BUFFER or SORT RANGE qualifiers: /KEYn = ( POSITION:n, SIZE:n [,DESCENDING] ) /DESCENDING or /REVERSE /EBCDIC /MULTINATIONAL /NODUPLICATES /START=column-number /STABLE The SORT command will sort a buffer or a range. Sorting a range works in both columnar and normal select modes. 2 /DESCENDING Specifies that the sort is to be in reverse or descending order. This qualifier is identical to /DESCENDING. This qualifier is not allowed if a /KEYn qualifier is used. 2 /EBCDIC Tells sort to use the EBCDIC collating sequence. By default the ASCII collating sequence is used. 2 /KEYn /KEYn=(POSITION:n,SIZE:n [,DESCENDING or REVERSE]) KEYn is anything from KEY1 - KEY9 or just KEY, giving a total of 10 possible keys to sort on. The keys are ordered KEY, KEY1, KEY2,... KEY9. You are not required to specify the keys in sequential order. POSITION:n specifies the character position within each line. The first character is POSITION:1. Note that tabs count as one character. (See the line mode command ELIMINATE TABS to convert tabs to spaces.) SIZE:n specifies the length of the sort key. DESCENDING is an optional keyword which specifies that the key is to be sorted into descending order. You may substitute the word REVERSE for the word DESCENDING. 2 /MULTINATIONAL Tells sort to use the multinational collating sequence. Characters are ordered according to the following rules: · All diacritical forms of a character are given the collating value of the character. · Lowercase characters are given the collating value of their uppercase equivalents. By default the ASCII collating sequence is used. 3 The_Multinational_Collating_Sequence The DEC Multinational Collating Sequence DEC HEX OCT DESCRIPTION 0 000 000 CTRL-@ NULL null 1 001 001 CTRL-A SOH start of heading 2 002 002 CTRL-B STX start of text 3 003 003 CTRL-C ETX end of text 4 004 004 CTRL-D EOT end of transmission 5 005 005 CTRL-E ENQ enquiry 6 006 006 CTRL-F ACK acknowledge 7 007 007 CTRL-G BEL bell 8 008 010 CTRL-H BS backspace 9 009 011 CTRL-I HT horizontal tab 10 00A 012 CTRL-J LF line feed 11 00B 013 CTRL-K VT vertical tab 12 00C 014 CTRL-L FF form feed 13 00D 015 CTRL-M CR carriage return 14 00E 016 CTRL-N SO shift out 15 00F 017 CTRL-O SI shift in 16 010 020 CTRL-P DLE data link escape 17 011 021 CTRL-Q XON start output 18 012 022 CTRL-R DC2 19 013 023 CTRL-S XOFF stop output 20 014 024 CTRL-T DC4 21 015 025 CTRL-U NAK negative acknowledge 22 016 026 CTRL-V SYN synchronous idle 23 017 027 CTRL-W ETB end of transmission block 24 018 030 CTRL-X CAN cancel 25 019 031 CTRL-Y EM end of medium 26 01A 032 CTRL-Z SUB substitute 27 01B 033 CTRL-[ ESC escape 28 01C 034 CTRL-\ FS file separator 29 01D 035 CTRL-] GS group separator 30 01E 036 CTRL-^ RS record separator 31 01F 037 CTRL-_ US unit separator PRINTABLE CHARACTERS DEC HEX OCT DESCRIPTION 32 020 040 space 33 021 041 ! exclamation point 34 022 042 " quotation mark (double quote) 35 023 043 # number sign 36 024 044 $ dollar sign 37 025 045 % percent sign 38 026 046 & ampersand 39 027 047 ' apostrophe (single quote) 40 028 050 ( opening parenthesis 41 029 051 ) closing parenthesis 42 02A 052 * asterisk 43 02B 053 + plus sign 44 02C 054 , comma 45 02D 055 - hyphen or Minus sign 46 02E 056 . period or Decimal point 47 02F 057 / slash 48 030 060 0 Number zero 49 031 061 1 Number one 50 032 062 2 Number two 51 033 063 3 Number three 52 034 064 4 Number four 53 035 065 5 Number five 54 036 066 6 Number six 55 037 067 7 Number seven 56 038 070 8 Number eight 57 039 071 9 Number nine 58 03A 072 : colon 59 03B 073 ; semicolon 60 03C 074 < left angle bracket 61 03D 075 = equal sign 62 03E 076 > right angle bracket 63 03F 077 ? question mark 64 040 100 @ at sign 97 061 141 a Lowercase a 65 041 101 A Uppercase A 224 0E0 340 à Lowercase a with grave accent 192 0C0 300 À Uppercase A with grave accent 225 0E1 341 á Lowercase a with acute accent 193 0C1 301 Á Uppercase A with acute accent 226 0E2 342 â Lowercase a with circumflex 194 0C2 302  Uppercase A with circumflex 227 0E3 343 ã Lowercase a with tilde 195 0C3 303 à Uppercase A with tilde 228 0E4 344 ä Lowercase a with umlaut, (diaeresis) 196 0C4 304 Ä Uppercase A with umlaut, (diaeresis) 98 062 142 b Lowercase b 66 042 102 B Uppercase B 99 063 143 c Lowercase c 67 043 103 C Uppercase C 231 0E7 347 ç Lowercase c with cedilla 199 0C7 307 Ç Uppercase C with cedilla 100 064 144 d Lowercase d 68 044 104 D Uppercase D 101 065 145 e Lowercase e 69 045 105 E Uppercase E 232 0E8 350 è Lowercase e with grave accent 200 0C8 310 È Uppercase E with grave accent 233 0E9 351 é Lowercase e with acute accent 201 0C9 311 É Uppercase E with acute accent 234 0EA 352 ê Lowercase e with circumflex 202 0CA 312 Ê Uppercase E with circumflex 235 0EB 353 ë Lowercase e with umlaut, (diaeresis) 203 0CB 313 Ë Uppercase E with umlaut, (diaeresis) 102 066 146 f Lowercase f 70 046 106 F Uppercase F 103 067 147 g Lowercase g 71 047 107 G Uppercase G 104 068 150 h Lowercase h 72 048 110 H Uppercase H 105 069 151 i Lowercase i 73 049 111 I Uppercase I 236 0EC 354 ì Lowercase i with grave accent 204 0CC 314 Ì Uppercase I with grave accent 237 0ED 355 í Lowercase i with acute accent 205 0CD 315 Í Uppercase I with acute accent 238 0EE 356 î Lowercase i with circumflex 206 0CE 316 Î Uppercase I with circumflex 239 0EF 357 ï Lowercase i with umlaut, (diaeresis) 207 0CF 317 Ï Uppercase I with umlaut, (diaeresis) 106 06A 152 j Lowercase j 74 04A 112 J Uppercase J 107 06B 153 k Lowercase k 75 04B 113 K Uppercase K 108 06C 154 l Lowercase l 76 04C 114 L Uppercase L 109 06D 155 m Lowercase m 77 04D 115 M Uppercase M 110 06E 156 n Lowercase n 78 04E 116 N Uppercase N 241 0F1 361 ñ Lowercase n with tilde 209 0D1 321 Ñ Uppercase N with tilde 111 06F 157 o Lowercase o 79 04F 117 O Uppercase O 242 0F2 362 ò Lowercase o with grave accent 210 0D2 322 Ò Uppercase O with grave accent 243 0F3 363 ó Lowercase o with acute accent 211 0D3 323 Ó Uppercase O with acute accent 244 0F4 364 ô Lowercase o with circumflex 212 0D4 324 Ô Uppercase O with circumflex 245 0F5 365 õ Lowercase o with tilde 213 0D5 325 Õ Uppercase O with tilde 246 0F6 366 ö Lowercase o with umlaut, (diaeresis) 214 0D6 326 Ö Uppercase O with umlaut, (diaeresis) 247 0F7 367 ÷ Lowercase oe ligature 215 0D7 327 × Uppercase OE ligature 112 070 160 p Lowercase p 80 050 120 P Uppercase P 113 071 161 q Lowercase q 81 051 121 Q Uppercase Q 114 072 162 r Lowercase r 82 052 122 R Uppercase R 115 073 163 s Lowercase s 83 053 123 S Uppercase S 223 0DF 337 ß German lowercase sharp s 116 074 164 t Lowercase t 84 054 124 T Uppercase T 117 075 165 u Lowercase u 85 055 125 U Uppercase U 249 0F9 371 ù Lowercase u with grave accent 217 0D9 331 Ù Uppercase U with grave accent 250 0FA 372 ú Lowercase u with acute accent 218 0DA 332 Ú Uppercase U with acute accent 251 0FB 373 û Lowercase u with circumflex 219 0DB 333 Û Uppercase U with circumflex 252 0FC 374 ü Lowercase u with umlaut, (diaeresis) 220 0DC 334 Ü Uppercase U with umlaut, (diaeresis) 118 076 166 v Lowercase v 86 056 126 V Uppercase V 119 077 167 w Lowercase w 87 057 127 W Uppercase W 120 078 170 x Lowercase x 88 058 130 X Uppercase X 121 079 171 y Lowercase y 89 059 131 Y Uppercase Y 253 0FD 375 ý Lowercase y with umlaut, (diaeresis) 221 0DD 335 Ý Uppercase Y with umlaut, (diaeresis) 122 07A 172 z Lowercase z 90 05A 132 Z Uppercase Z 230 0E6 346 æ Lowercase ae diphthong 198 0C6 306 Æ Uppercase AE diphthong 248 0F8 370 ø Lowercase o with slash 216 0D8 330 Ø Uppercase O with slash 229 0E5 345 å Lowercase a with ring 197 0C5 305 Å Uppercase A with ring 91 05B 133 [ left bracket 92 05C 134 \ back slash 93 05D 135 ] right bracket 94 05E 136 ^ caret 95 05F 137 _ underscore 96 060 140 ` grave accent 123 07B 173 { left brace 124 07C 174 | stile 125 07D 175 } right brace 126 07E 176 ~ tilde 127 07F 177 DEL delete, rubout 128 080 200 € [reserved] 129 081 201 [reserved] 130 082 202 ‚ [reserved] 131 083 203 ƒ [reserved] 132 084 204 „ IND index 133 085 205 … NEL next line 134 086 206 † SSA start of selected area 135 087 207 ‡ ESA end of selected area 136 088 210 ˆ HTS horizontal tab set 137 089 211 ‰ HTJ horizontal tab set with justification 138 08A 212 Š VTS vertical tab set 139 08B 213 ‹ PLD partial line down 140 08C 214 Œ PLU partial line up 141 08D 215 RI reverse index 142 08E 216 Ž SS2 single shift 2 143 08F 217 SS3 single shift 3 144 090 220 DCS device control string 145 091 221 ‘ PU1 private use 1 146 092 222 ’ PU2 private use 2 147 093 223 “ STS set transmit state 148 094 224 ” CCH cancel character 149 095 225 • MW message waiting 150 096 226 – SPA start of protected area 151 097 227 — EPA end of protected area 152 098 230 ˜ [reserved] 153 099 231 ™ [reserved] 154 09A 232 š [reserved] 155 09B 233 › CSI control sequence introducer 156 09C 234 œ ST string terminator 157 09D 235 OSC operating system command 158 09E 236 ž PM privacy message 159 09F 237 Ÿ APC application program command 160 0A0 240   [reserved] 161 0A1 241 ¡ inverted exclamation point 162 0A2 242 ¢ cent sign 163 0A3 243 £ pound sign 164 0A4 244 ¤ [reserved] 165 0A5 245 ¥ yen sign 166 0A6 246 ¦ [reserved] 167 0A7 247 § section sign 168 0A8 250 ¨ general currency sign 169 0A9 251 © copyright sign 170 0AA 252 ª feminine ordinal indicator 171 0AB 253 « angle quotation mark left 172 0AC 254 ¬ [reserved] 173 0AD 255 ­ [reserved] 174 0AE 256 ® [reserved] 175 0AF 257 ¯ [reserved] 176 0B0 260 ° degree sign 177 0B1 261 ± plus/minus sign 178 0B2 262 ² superscript 2 179 0B3 263 ³ superscript 3 180 0B4 264 ´ [reserved] 181 0B5 265 µ micro sign 182 0B6 266 ¶ paragraph sign, pilcrow 183 0B7 267 · middle dot 184 0B8 270 ¸ [reserved] 185 0B9 271 ¹ superscript 1 186 0BA 272 º masculine ordinal indicator 187 0BB 273 » angle quotation mark right 188 0BC 274 ¼ fraction one quarter 189 0BD 275 ½ fraction one half 190 0BE 276 ¾ [reserved] 191 0BF 277 ¿ inverted question mark 208 0D0 320 Ð [reserved] 222 0DE 336 Þ [reserved] 240 0F0 360 ð [reserved] 254 0FE 376 þ [reserved] 255 0FF 377 ÿ [reserved] 2 /REVERSE Specifies that the sort is to be in reverse or descending order. This qualifier is identical to /DESCENDING. This qualifier is not allowed if a /KEYn qualifier is used. 2 /STABLE Tells sort to keep records with identical keys in their original order. By default records with identical keys may appear in any order. 2 /START /START=n Specifies the starting column within the buffer to base the sort upon. By default the comparison of two lines begins with the first character of each line. With the /START=n qualifier, you can specify which character within each line the comparison should start with. For example, /START=5 would cause the first four characters of each line to be ignored, and comparison would begin with the fifth character of each line. Note that tabs count as one character. (See the line mode command ELIMINATE TABS to convert tabs to spaces.) This qualifier is not allowed if a /KEYn qualifier is used. 2 Examples SORT BUFFER/KEY1=(POSITION:5,SIZE:12,DESCENDING)/EBCDIC/STABLE/NODUP SORT BUFFER/KEY1=(POS:48,SIZE:8)/KEY2=(POS:1,SIZE:10)/KEY5=(POS:32,SIZE:9) SORT RANGE/START=5/REVERSE 1 SPAWN Suspends the current editing session, spawns a DCL subprocess, and connects the terminal to the spawned subprocess. Logging out of the DCL subprocess resumes the editing session. The SPAWN command can be used to run screen-oriented programs and DCL utilities without losing your current editing session. Examples: * SPAWN * SPAWN MAIL (runs MAIL. Returns to EDX when you exit MAIL) 1 SPELL Formats: SPELL SPELL/WORD SPELL {word} SPELL/DICTIONARY {word} SPELL Spell checks your current buffer starting at your current cursor position. Or if a range of text has been selected, spell checks that range of text. SPELL/WORD Spell checks the word the cursor is currently on. SPELL {word} Spell checks the {word} you specify. SPELL/DICTIONARY {word} Displays a page of the dictionary centered on the closest match to the specified {word}. 2 SPELL Spell checks a buffer or range of text. If a range of text has been selected, then spell checks that range of text, otherwise spell checks your current buffer starting at your current cursor position. The check continues forward until an unrecognized word is encountered. The unrecognized word is highlighted and you are prompted as follows: Options: (A)ccept, (D)ictionary, (E)dit, (G)uess, (I)gnore, (P)ersdic, (Q)uit: _ (A)ccept - Accept this word and all future occurrences of this word for the duration of the editing session. (D)ictionary - Display a page of the dictionary with the closest match to the specified word highlighted. You may browse to the next or previous page of the dictionary by using the 'advance section' or 'backup section' keys. You may select a word by using the arrow keys to select a word and then pressing return. (E)dit - Prompts for an exact replacement to the highlighted word. (G)uess - EDX will attempt to guess the word you are attempting to spell. (I)gnore - Ignore this word and continue spell checking. (P)ersdic - Accept this word and add it to your personal dictionary. If you do not have a personal dictionary, one is created. Your personal EDX spelling dictionary is SYS$LOGIN:EDXPERSDIC.DAT or you may define the logical name EDXPERSDIC to point to your personal dictionary. Your personal dictionary is an ordinary text file with one word per line. You may edit your personal dictionary with an ordinary text editor. When EDX loads it's spelling dictionary it also reads in all the words from your personal dictionary, if one exists. (Q)uit - Quit spell checking and return to normal editing. (S)pell - Spell check another word. You are prompted for another word to spell check. 2 /WORD SPELL/WORD Spell checks the current word the cursor is on. If the word is not recognized it is highlighted and you are prompted as follows: Options: (A)ccept, (D)ictionary, (E)dit, (G)uess, (I)gnore, (P)ersdic, (Q)uit: _ (A)ccept - Accept this word and all future occurrences of this word for the duration of the editing session. (D)ictionary - Display a page of the dictionary with the closest match to the specified word highlighted. You may browse to the next or previous page of the dictionary by using the 'advance section' or 'backup section' keys. You may select a word by using the arrow keys to select a word and then pressing return. (E)dit - Prompts for an exact replacement to the highlighted word. (G)uess - EDX will attempt to guess the word you are attempting to spell. (I)gnore - Ignore this word and continue spell checking. (P)ersdic - Accept this word and add it to your personal dictionary. If you do not have a personal dictionary, one is created. Your personal EDX spelling dictionary is SYS$LOGIN:EDXPERSDIC.DAT or you may define the logical name EDXPERSDIC to point to your personal dictionary. Your personal dictionary is an ordinary text file with one word per line. You may edit your personal dictionary with an ordinary text editor. When EDX loads it's spelling dictionary it also reads in all the words from your personal dictionary, if one exists. (Q)uit - Quit spell checking and return to normal editing. (S)pell - Spell check another word. You are prompted for another word to spell check. 2 {word} SPELL {word} Causes the specified {word} to be spell checked. This is a convenient way to quickly spell check a single word. Example: SPELL misspelld If the word is not found in the dictionary then you are prompted as follows: Options: (D)ictionary, (G)uess, (Q)uit, (S)pell: _ (D)ictionary - Display a page of the dictionary with the closest match to the specified word highlighted. You may browse to the next or previous page of the dictionary using the 'advance section' or 'backup section' keys. (G)uess - EDX will attempt to guess the word you are attempting to spell. (Q)uit - Quit spell checking and return to normal editing. (S)pell - Spell check another word. You are prompted for another word to spell check. 2 /DICTIONARY SPELL/DICTIONARY {word} Display a page of the dictionary with the closest match to the specified word highlighted. Example: SPELL/DICTIONARY misspelld You may browse to the next or previous page of the dictionary using the 'advance section' or 'backup section' keys. The SELECT key will copy the currently selected word to the paste buffer. (EDT and WPS mode: Keypad Period, or 'Select' edit key E4). You may then use the PASTE key to insert the selected word into your text. (EDT mode: GOLD Keypad 6, or 'Insert Here' edit key E2, WPS mode: Keypad Comma, or 'Insert Here' edit key E2) 1 SUBSTITUTE SUBSTITUTE /old_string/new_string/ The SUBSTITUTE command replaces old-string with new-string. A slash ('/') is used to delimit the old string and the new string. A period ('.') may be used instead of a slash as a delimiter. Several other non-alphanumeric characters will also work as a delimiter. (Single or double quotes turn this command into the REPLACE command.) The following qualifiers may be added to the end of this command: 2 /EXACT /EXACT or /NOEXACT Determines if the replacement is case sensitive. (The case sensitivity of the search is determined by the line mode command SET SEARCH GENERAL or SET SEARCH EXACT). The default is to attempt a case sensitive substitution, so that: "UPPERCASE STRINGS" are replaced by "UPPERCASE STRINGS" "lowercase strings" are replaced by "lowercase strings" "Capitalized strings" are replaced by "Capitalized strings" 2 /NUMBER={number-of-substitutions-to-make} Specifies the number of substitutions to make. The default is to make one substitution unless /NUMBER=, /WHOLE or /REST is specified. 2 /QUERY /QUERY or /NOQUERY Specifies whether or not the user is queried before a substitution is made. The default is /QUERY. 2 /REST Specifies that the search for the old string begin at the current cursor location and substitutions continue until either: A: The end of buffer is reached B: The user specifies "quit" or "last" when queried. C: The repeat count is reached if one was specified. 2 /TYPE /TYPE or /NOTYPE Specifies whether or not substitutions are displayed as they are made. The default is /TYPE. 2 /WHOLE Specifies that the search for the old string start at the beginning of the current buffer and substitutions continue until either: A: The end of buffer is reached B: The user specifies "quit" or "last" when queried. C: The repeat count is reached if one was specified. The default if /WHOLE is not specified is to start the search at the current cursor position and make one substitution. 2 /WILD Allows wildcard characters to be present in the old-string, and wildcard representations of control characters to be present in the new-string. Wildcards such as * or % are not allowed in the new-string, but strings such as "^B" for CTRL-B are allowed in the new-string. All wildcard characters are allowed in the old-string. 2 Examples SUBSTITUTE/hello/goodbye/ SUBSTITUTE/hello/goodbye/WHOLE SUBSTITUTE/an elephant/a grape/WHOLE/NOQUERY/NOTYPE SUBSTITUTE/^B/^U/WILD 1 TPU TPU {TPU-command} Executes a TPU command. Some knowledge of the TPU programming language is required to use this command. Type HELP TPU_HELP for information on the VAXTPU programming language. 1 TPU_HELP This command accesses the TPU help library which provides information on all of the built-in procedures of VAXTPU. Some knowledge of the TPU programming language is required to make use of this information. 1 TRANSLATE 2 ASCII TRANSLATE ASCII [TO EBCDIC] Translates a buffer from ASCII to EBCDIC. 2 EBCDIC TRANSLATE EBCDIC [TO ASCII] Translates a buffer from EBCDIC to ASCII. 1 TRIM 2 BUFFER Removes all trailing blanks from the end of each line in the current buffer. 1 TYPE 2 ALL TYPE ALL 'search-string' This command is identical to the command SEARCH/WHOLE 'search-string'. See the line mode command SEARCH 'search-string' for a complete description. Example: * TYPE ALL 'architecture' The above example will search the entire buffer for the word 'architecture' and display all lines containing that word in buffer SEARCH along with the corresponding line numbers. 1 UNDEFINE Prompts for a key and removes the learned key sequence from that key restoring it to its former function. Same as UNLEARN. 1 UNLEARN Prompts for a key and removes the learned key sequence from that key restoring it to its former function. Same as UNDEFINE. 1 UNLOCK 2 BUFFER UNLOCK BUFFER [buffer-name] Unlocks the file associated with the buffer allowing others to access that file. A file is locked by using the LOCK BUFFER or LOCK FILE command. 2 FILE UNLOCK FILE file-name Unlocks the specified file allowing others to access that file. A file is locked by using the LOCK BUFFER or LOCK FILE command. 1 UNPASTE Immediately undoes a paste that was unintentional. If you paste in text from the PASTE buffer, and discover it was not what you wanted, enter this command to undo that paste. The cursor must be at the end of the pasted range. The text immediately before the cursor must exactly match the text in the PASTE buffer. 1 WRITE WRITE [file-spec] [/ALL] [/BUFFER=buffer-name] [/MODULE=module-name] [=buffer-name] [SELECT] Writes a copy of the current buffer to disk. The following qualifiers may be added to the command line: 2 file-name The file name to give the output file. If no file name is given, then the file name already associated with the buffer is used. If there is no file name associated with the buffer, then one is prompted for. If /MODULE=module_name is also specified, then file-name is taken to be the name of a VMS text library. 2 /ALL Specifies that all modified user buffers are to be written. 2 /BUFFER=buffer_name Specifies which buffer is to be written. The default is to write the current buffer. An alternate form of this qualifier is to omit the /BUFFER part and simply specify =buffer-name. 2 /MODULE=module_name Indicates that we are writing a module to a VMS text library file. If the module already exists, then you are prompted for confirmation before the old contents of the module are overwritten. 2 =buffer_name Specifies which buffer is to be written. The default is to write the current buffer. An alternate form of this qualifier is /BUFFER=buffer-name. 2 SELECT Allows you to write a previously selected range of text instead of the entire buffer. A file-name must be specified before the SELECT keyword. The typical sequence of commands is as follows: 1. Select a range of text. 2. Enter the line mode command: WRITE file-name SELECT 1 Initialization An initialization file can initialize your editing session. Initialization files are written in the VAXTPU programming language and consist of valid VAXTPU commands. Notice that all lines are terminated with a semicolon (;). Remember to enclose all strings with single or double quotes (" or '). Comments may be inserted into the file by delimiting them with an exclamation point (!). We suggest naming your initialization file EDXINI.TPU or some form of that. After creating your initialization file, define a symbol to invoke the editor using the initialization file such as: $ EDX :== EDIT/TPU/COMMAND=disk:[directory]edxini.tpu If you have one particular initialization file you use often you can define it as the default initialization file to use by defining the logical name TPUINI to point to it. Then, if no other initialization file is specified on the command line, your default initialization file will be used. 2 How_to Below are descriptions of how to perform the following functions within an initialization file: 1. How to execute line mode commands in an initialization file. 2. How to define keys in an initialization file. 3. How to toggle on/off the ruler line at the top of the screen. 4. How to switch from single window mode to dual window mode. 3 execute_line_mode_commands 1. How to execute line mode commands in an initialization file. To execute a line mode command use the procedure: do_command("command-string"); Below are some examples: do_command("SET WRAP 72"); do_command("SET SEARCH WILD"); do_command("SET CURSOR FREE"); do_command("SET TAB_KEY SPACES"); do_command("SET TAB 5, 15, 36, 50); do_command("LOCK BUFFER"); 3 define_keys 2. How to define keys in an initialization file. To define a key to perform a certain function use the procedure: define_key('vaxtpu-command', vaxtpu-keyname); Here 'vaxtpu-command' is any valid vaxtpu command or any procedure defined by the EDX editor. 'vaxtpu-keyname' is the keyname of the key or GOLD key sequence you wish to define. A table of all the keys and GOLD key sequences and their associated vaxtpu keynames is included in appendix C of the EDX documentation manual. For further information, see the VAX Text Processing Utility Manual. Below are some examples: define_key( 'do_command("FIND=Z")', ! Define key sequence GOLD Z as key_name("Z",shift_key) ); ! 'go to Z buffer'. define_key( 'copy_text("C ")', ! Define key sequence GOLD A as key_name("A",shift_key) ); ! put 'C' followed by 5 spaces. define_key( 'do_command("DIR/SIZE/DATE")',! Define key DO as DO); ! 'DIRECTORY/SIZE/DATE' define_key( 'keypad_help', ! Define key PF2 as PF2); ! display keypad help diagram. 3 toggle_ruler_line 3. How to toggle on/off the ruler line at the top of the screen. To toggle on the ruler line at the top of the screen include the following command in your initialization file: toggle_ruler_line; 3 dual_windows 4. How to switch from single window mode to dual window mode. To switch from single window mode to dual window mode use the command: make_two_windows(second-buffer,file-name); This command maps the current buffer to the top window and the second buffer specified to the bottom window with the cursor, unless dual windows are already being used and the current buffer is in bottom window in which case the second buffer goes to top window with the cursor. PARAMETERS: second-buffer A string containing the name of buffer to put in second window. Enclose the string in quotes ("). If the buffer does not exist, one is created. If a null string "" is specified, a buffer name is prompted for. If the numeric value 0 is specified, there is no prompt and no buffer is mapped to the second window. file-name A string containing a file name. Enclose the string in quotes ("). If the buffer name specified by the second-buffer parameter does not exist, then one is created and the file name specified by this parameter is read into the newly created buffer. If a null string "" is specified, an optional file name is prompted for. If the numeric value 0 is specified, there is no prompt and no file is read into the newly created buffer. Below are some examples: make_two_windows("A",0); ! Make two windows with current buffer ! as first buffer and buffer "A" as ! second buffer. make_two_windows("A","DATA.DAT"); ! Make two windows with current buffer ! as first buffer and new buffer "A" ! as second buffer. Read in file ! "DATA.DAT" into new buffer "A". make_two_windows(0,0); ! Put current buffer in top window. ! Bottom half of screen is left ! for messages. 2 Example Below is an example initialization file: Do_command("set search wild"); edtn$make_two_windows(0,0); toggle_ruler_line; Define_Key("end_of_word",PF2); 2 Procedures The following is a list of all EDX defined TPU procedures which users may incorporate into their own procedures. There are also a few useful TPU built-in procedures listed here. For more information on the TPU programming language, consult the VAX Text Processing Utility Manual. 3 adjust_dual_windows adjust_dual_windows(N) Adjusts the height of the windows when in dual window mode. The value N is the number of screen rows to add to the top window and subtract from the bottom window. N may be a negative number. Dual windows do not need to be in use at the time to use this procedure. 3 capitalize_range capitalize_range(range) Capitalizes the first letter of the specified range. Ignores leading punctuation. 3 capitalize_string capitalize_string("string") Capitalizes the first letter of the specified string. Ignores leading punctuation. 3 capitalize_word Capitalizes the current word and moves the cursor to the beginning of the next word. Equivalent to the key sequence GOLD C when using the EDT keypad mode. 3 center_line Centers the current line between the left and right margins. The left margin is column 1 by default unless changed by the line mode command SET LEFT_MARGIN. The right margin is set by the line mode command SET WRAP. If SET NOWRAP is in effect, then the edge of the screen becomes the right margin. 3 change_windows Move between windows when in dual window mode. Equivalent to the key sequence CTRL-V when in EDT keypad mode, or the key sequence GOLD E when in WPS keypad mode. An error message occurs if not currently in dual window mode. This procedure is identical to other_window. 3 char_to_ascii n := char_to_ascii("character") Returns the integer ascii value n of the specified character. 3 copy_text copy_text("text-string") Copies the string text-string to the current buffer at the current location. This is a VAXTPU built-in procedure. For more information, see the VAX Text Processing Utility Manual. 3 cut Cut selected range to paste buffer. 3 current_date s := current_date Returns today's date as string s. 3 define_key define_key(command, key-name); Associates a valid VAXTPU command with a key or combination of keys. This is a VAXTPU built-in procedure. For more information, see the VAX Text Processing Utility Manual. PARAMETERS: 4 command A string that specifies the VAXTPU statements to be associated with a key. Enclose the string in quotes (') or ("). 4 key-name A VAXTPU key name for a key or combination of keys. The table of the ASCII character set in appendix C lists the VAXTPU key names for all of the keys. 3 delete_character Deletes the current character the cursor is on. Equivalent to the 'delete character' (keypad COMMA) key on the EDT keypad. The character can later be undeleted at a new cursor position by using the undelete_character; command. 3 delete_end_of_line Deletes all characters from the cursor position to the end of the line. Equivalent to the 'delete to end of line' (keypad 2) key on the EDT keypad. The text can later be restored at a new cursor position by using the undelete_line; command. 3 delete_line Deletes all characters from the cursor position to the end of the line and appends the next line to what's left of the current line. Equivalent to the 'delete line' (keypad PF4) key on the EDT keypad. The text can later be restored at a new cursor position by using the undelete_line; command. 3 delete_previous_character Deletes the previous character. Equivalent to the DELETE key on a VT200 series keyboard. The character can later be undeleted at a new cursor position by using the undelete_character; command. 3 delete_start_of_line Deletes all characters preceding the current cursor position to the start of the line. Equivalent to CTRL-U. The text can later be restored at a new cursor position by using the undelete_line; command. 3 delete_word Deletes all characters from the current cursor position to the end of the current word. Equivalent to the 'delete word' (keypad MINUS) key on the EDT keypad. The word can later be undeleted at a new cursor position by using the undelete_word; command. 3 do_command do_command("command-string"); Executes an EDX line mode command. Below are some examples: do_command("SET WRAP 72"); do_command("SET SEARCH WILD"); do_command("SET CURSOR FREE"); do_command("SET TAB_KEY SPACES"); do_command("SET TAB 5, 15, 36, 50); do_command("LOCK BUFFER"); 3 dump_commonwords Displays in a newly buffer the short ordered list of common words i the EDX dictionary database file EDX_DICTIONARY.DAT 3 dump_dictionary Displays in a new buffer the entire list of words which make up the EDX dictionary lexical database. 3 enable_buffer_journaling enable_buffer_journaling(buffer_ptr) Opens a buffer journal file for the buffer pointed to by buffer_ptr if a journal file does not yet exist for the buffer. buffer_ptr is a type BUFFER variable. 3 end_of_line Moves the cursor to the end of the current line. If the cursor is already at the end of the current line, the cursor does not move. 3 end_of_word Moves the cursor to the end of the current word. 3 enter_text enter_text("text-string") Copies the string text-string to the current buffer at the current location. This procedure is similar to the VAXTPU built-in procedure copy_text, except this procedure will automatically wrap to the next line when the cursor reaches the right margin. 3 fill_paragraph Rewraps the current paragraph. The left margin is determined by the current setting of the SET LEFT_MARGIN command. By default the left margin is set to column 1. The right margin is determined by either the SET WRAP command or by the width of the screen if SET NOWRAP is in effect. 3 goto_bottom Moves the cursor to the end of the buffer. Same as goto_end. 3 goto_column goto_column(n) Moves the cursor to column n. If the current line is too short, spaces are inserted until the cursor reaches column n. 3 goto_end Moves the cursor to the end of the buffer. Same as goto_bottom. 3 goto_line goto_line(line-number) Go to line line-number. Counts lines starting from the beginning of the current buffer. If line-number is a null string (""), then a line number will be prompted for. 3 goto_mark goto_mark("mark-name") Moves the cursor to the named mark. If the mark is in another buffer, that buffer becomes the current buffer and is mapped to the current window. Similar to the key sequence GOLD G when using the EDT keypad mode. 3 goto_top Moves the cursor to the beginning of the buffer. 3 keypad_help Displays the keypad help diagram for either the EDT keypad or the WPS keypad, whichever has been selected. Press RETURN to erase the keypad help diagram and continue editing. 3 lowercase_word Lowercases the current word and moves the cursor to the beginning of the next word. Equivalent to the key sequence GOLD L when using the EDT keypad mode. 3 make_two_windows make_two_windows(second-buffer,file-name); Maps the current buffer to the top window and the second buffer specified to the bottom window with the cursor, unless dual windows are already being used and the cursor is currently in bottom window in which case the second buffer goes to top window with the cursor. PARAMETERS: 4 second-buffer A string containing the name of the buffer to put in the second window. Enclose the string in quotes ("). If the buffer does not exist, one is created. If a null string "" is specified, a buffer name is prompted for. If the numeric value 0 is specified, there is no prompt and no buffer is mapped to the second window. 4 file-name A string containing a file name. Enclose the string in quotes ("). If the buffer name specified by the second-buffer parameter does not exist, then one is created and the file name specified by this parameter is read into the newly created buffer. If a null string "" is specified, an optional file name is prompted for. If the numeric value 0 is specified, there is no prompt and no file is read into the newly created buffer. 3 move_by_line Moves the cursor in the current direction set for the buffer to the beginning of the next or previous line. The current direction for a buffer is set by the command set(forward,current_buffer); or set(reverse,current_buffer); 3 move_by_page Moves the cursor in the current direction set for the buffer to the next or previous form feed character. Equivalent to the 'page' (keypad 7) key on the EDT keypad. 3 move_by_word Moves the cursor in the current direction set for the buffer to the beginning of the next or previous word. The current direction for a buffer is set by the command set(forward,current_buffer); or set(reverse,current_buffer); 3 move_down move_down(n) Moves the cursor down n lines. If n is a negative number the cursor moves up n lines. Equivalent to the up and down arrow keys. 3 move_left move_left(n) Moves the cursor left n characters. If n is negative the cursor moves right n characters. Equivalent to the left and right arrow keys. 3 move_right move_right(n) Moves the cursor right n characters. If n is negative the cursor moves left n characters. Equivalent to the left and right arrow keys. 3 move_up move_up(n) Moves the cursor up n lines. If n is a negative number the cursor moves down n lines. Equivalent to the up and down arrow keys. 3 next_screen Scrolls the current window down one section. Equivalent to the next_screen key on a VT200 series keyboard. 3 new_line Equivalent to the return key. Splits the current line, starts the new line at the left margin. 3 other_window Move between windows when in dual window mode. Equivalent to the key sequence CTRL-V when in EDT keypad mode, or the key sequence GOLD E when in WPS keypad mode. An error message occurs if not currently in dual window mode. This procedure is identical to change_windows. 3 paste Insert contents of PASTE buffer at current position. 3 previous_screen Scrolls the current window up one section. Equivalent to the prev_screen key on a VT200 series keyboard. 3 ring_bell Rings the terminal bell. 3 set_mark set_mark("mark-name") Sets a mark at the current cursor position. Similar to the key sequence GOLD CTRL/G when using the EDT keypad mode. 3 split_line Enters a carriage return into the text. Similar to the return key. This is a VAXTPU built-in procedure. 3 start_select Begin selection of a range. (Same function as 'Select' key). 3 tab Enters a tab character if SET TAB_KEY TABS is in effect, or advances the cursor to the next tab stop if SET TAB_KEY SPACES is in effect. Equivalent to the tab key. 3 toggle_ruler_line Toggles on/off the ruler line at the top of the screen. Equivalent to the key sequence GOLD CTRL/R when in EDT keypad mode. This command is defined by the EDX editor. 3 transpose_characters Swap current character with the next character. 3 undelete_character Restores at the current cursor position the character most recently deleted by the delete_character; command. Equivalent to the 'undelete character' (keypad GOLD COMMA) key sequence on the EDT keypad. 3 undelete_line Restores at the current cursor position the text most recently deleted by either the delete_line; delete_end_of_line; or delete_start_of_line; command. Equivalent to the 'undelete_line' (keypad GOLD PF4) key sequence on the EDT keypad. 3 undelete_word Restores at the current cursor position the text most recently deleted by the delete_word; command. Equivalent to the 'undelete_word' (keypad GOLD MINUS) key sequence on the EDT keypad. 3 uppercase_word Uppercases the current word and moves the cursor to the beginning of the next word. Equivalent to the key sequence GOLD U when using the EDT keypad mode. 2 key-names The following table lists the VAXTPU key names for all of the keys: The American Standard Code for Information Interchange (ASCII) Character Set DEC ASCII CONTROL DESCRIPTION TPU KEY-NAME GOLD TPU KEY-NAME 000 NULL CTRL-@ Null NUL_KEY key_name(NULL_KEY,shift_key) 001 SOH CTRL-A Start of header CTRL_A_KEY key_name(CTRL_A_KEY,shift_key) 002 STX CTRL-B Start of text CTRL_B_KEY key_name(CTRL_B_KEY,shift_key) 003 ETX CTRL-C End of text 004 EOT CTRL-D End of transmission CTRL_D_KEY key_name(CTRL_D_KEY,shift_key) 005 ENQ CTRL-E Enquiry CTRL_E_KEY key_name(CTRL_E_KEY,shift_key) 006 ACK CTRL-F Acknowledge CTRL_F_KEY key_name(CTRL_F_KEY,shift_key) 007 BEL CTRL-G Bell CTRL_G_KEY key_name(CTRL_G_KEY,shift_key) 008 BS CTRL-H Backspace CTRL_H_KEY key_name(CTRL_H_KEY,shift_key) 009 HT CTRL-I Horizontal tab CTRL_I_KEY key_name(CTRL_I_KEY,shift_key) 010 LF CTRL-J Line feed CTRL_J_KEY key_name(CTRL_J_KEY,shift_key) 011 VT CTRL-K Vertical tab CTRL_K_KEY key_name(CTRL_K_KEY,shift_key) 012 FF CTRL-L Form feed CTRL_L_KEY key_name(CTRL_L_KEY,shift_key) 013 CR CTRL-M Carriage return CTRL_M_KEY key_name(CTRL_M_KEY,shift_key) 014 SO CTRL-N Shift out CTRL_N_KEY key_name(CTRL_N_KEY,shift_key) 015 SI CTRL-O Shift in 016 DLE CTRL-P Data link escape CTRL_P_KEY key_name(CTRL_P_KEY,shift_key) 017 DC1 CTRL-Q Start output (XON) 018 DC2 CTRL-R CTRL_R_KEY key_name(CTRL_R_KEY,shift_key) 019 DC3 CTRL-S Stop output (XOFF) 020 DC4 CTRL-T 021 NAK CTRL-U Negative acknowledge CTRL_U_KEY key_name(CTRL_U_KEY,shift_key) 022 SYN CTRL-V Synchronous idle CTRL_V_KEY key_name(CTRL_V_KEY,shift_key) 023 ETB CTRL-W CTRL_W_KEY key_name(CTRL_W_KEY,shift_key) 024 CAN CTRL-X Cancel 025 EM CTRL-Y End of medium 026 SUB CTRL-Z Substitute CTRL_Z_KEY key_name(CTRL_Z_KEY,shift_key) 027 ESC CTRL-[ Escape 028 FS CTRL-\ File separator 029 GS CTRL-] Group separator 030 RS CTRL-^ Record separtor 031 US CTRL-- Unit separator PRINTABLE CHARACTERS DEC ASCII DESCRIPTION TPU key-name GOLD key-name 032 Space key_name(" ") key_name(" ",shift_key) 033 ! Exclamation point key_name("!") key_name("!",shift_key) 034 " Quotation mark key_name('"') key_name('"',shift_key) 035 # Number sign key_name("#") key_name("#",shift_key) 036 $ Dollar sign key_name("$") key_name("$",shift_key) 037 % Percent sign key_name("%") key_name("%",shift_key) 038 & Ampersand key_name("&") key_name("&",shift_key) 039 ' Apostrophe key_name("'") key_name("'",shift_key) 040 ( Opening parenthesis key_name("(") key_name("(",shift_key) 041 ) Closing parenthesis key_name(")") key_name(")",shift_key) 042 * Asterisk key_name("*") key_name("*",shift_key) 043 + Plus sign key_name("+") key_name("+",shift_key) 044 , Comma key_name(",") key_name(",",shift_key) 045 - Hyphen or Minus sign key_name("-") key_name("-",shift_key) 046 . Period or Decimal point key_name(".") key_name(".",shift_key) 047 / Slash key_name("/") key_name("/",shift_key) 048 0 Number zero key_name("0") key_name("0",shift_key) 049 1 Number one key_name("1") key_name("1",shift_key) 050 2 Number two key_name("2") key_name("2",shift_key) 051 3 Number three key_name("3") key_name("3",shift_key) 052 4 Number four key_name("4") key_name("4",shift_key) 053 5 Number five key_name("5") key_name("5",shift_key) 054 6 Number six key_name("6") key_name("6",shift_key) 055 7 Number seven key_name("7") key_name("7",shift_key) 056 8 Number eight key_name("8") key_name("8",shift_key) 057 9 Number nine key_name("9") key_name("9",shift_key) 058 : Colon key_name(":") key_name(":",shift_key) 059 ; Semicolon key_name(";") key_name(";",shift_key) 060 < Left angle bracket key_name("<") key_name("<",shift_key) 061 = Equal sign key_name("=") key_name("=",shift_key) 062 > Right angle bracket key_name(">") key_name(">",shift_key) 063 ? Question mark key_name("?") key_name("?",shift_key) 064 @ At sign key_name("@") key_name("@",shift_key) 065 A Letter A key_name("A") key_name("A",shift_key) 066 B Letter B key_name("B") key_name("B",shift_key) 067 C Letter C key_name("C") key_name("C",shift_key) 068 D Letter D key_name("D") key_name("D",shift_key) 069 E Letter E key_name("E") key_name("E",shift_key) 070 F Letter F key_name("F") key_name("F",shift_key) 071 G Letter G key_name("G") key_name("G",shift_key) 072 H Letter H key_name("H") key_name("H",shift_key) 073 I Letter I key_name("I") key_name("I",shift_key) 074 J Letter J key_name("J") key_name("J",shift_key) 075 K Letter K key_name("K") key_name("K",shift_key) 076 L Letter L key_name("L") key_name("L",shift_key) 077 M Letter M key_name("M") key_name("M",shift_key) 078 N Letter N key_name("N") key_name("N",shift_key) 079 O Letter O key_name("O") key_name("O",shift_key) 080 P Letter P key_name("P") key_name("P",shift_key) 081 Q Letter Q key_name("Q") key_name("Q",shift_key) 082 R Letter R key_name("R") key_name("R",shift_key) 083 S Letter S key_name("S") key_name("S",shift_key) 084 T Letter T key_name("T") key_name("T",shift_key) 085 U Letter U key_name("U") key_name("U",shift_key) 086 V Letter V key_name("V") key_name("V",shift_key) 087 W Letter W key_name("W") key_name("W",shift_key) 088 X Letter X key_name("X") key_name("X",shift_key) 089 Y Letter Y key_name("Y") key_name("Y",shift_key) 090 Z Letter Z key_name("Z") key_name("Z",shift_key) 091 [ Left bracket key_name("[") key_name("[",shift_key) 092 \ Back slash key_name("\") key_name("\",shift_key) 093 ] Right bracket key_name("]") key_name("]",shift_key) 094 ^ Caret key_name("^") key_name("^",shift_key) 095 _ Underscore key_name("_") key_name("_",shift_key) 096 ` Grave Accent key_name("`") key_name("`",shift_key) 097 a Letter a key_name("a") (same as GOLD A) 098 b Letter b key_name("b") (same as GOLD B) 099 c Letter c key_name("c") (same as GOLD C) 100 d Letter d key_name("d") (same as GOLD D) 101 e Letter e key_name("e") (same as GOLD E) 102 f Letter f key_name("f") (same as GOLD F) 103 g Letter g key_name("g") (same as GOLD G) 104 h Letter h key_name("h") (same as GOLD H) 105 i Letter i key_name("i") (same as GOLD I) 106 j Letter j key_name("j") (same as GOLD J) 107 k Letter k key_name("k") (same as GOLD K) 108 l Letter l key_name("l") (same as GOLD L) 109 m Letter m key_name("m") (same as GOLD M) 110 n Letter n key_name("n") (same as GOLD N) 111 o Letter o key_name("o") (same as GOLD O) 112 p Letter p key_name("p") (same as GOLD P) 113 q Letter q key_name("q") (same as GOLD Q) 114 r Letter r key_name("r") (same as GOLD R) 115 s Letter s key_name("s") (same as GOLD S) 116 t Letter t key_name("t") (same as GOLD T) 117 u Letter u key_name("u") (same as GOLD U) 118 v Letter v key_name("v") (same as GOLD V) 119 w Letter w key_name("w") (same as GOLD W) 120 x Letter x key_name("x") (same as GOLD X) 121 y Letter y key_name("y") (same as GOLD Y) 122 z Letter z key_name("z") (same as GOLD Z) 123 { Left brace key_name("{") key_name("{",shift_key) 124 | Stile key_name("|") key_name("|",shift_key) 125 } Right brace key_name("}") key_name("}",shift_key) 126 ~ Tilde key_name("~") key_name("~",shift_key) 127 DEL Delete character DEL_KEY key_name(DEL_KEY,shift_key) KEYPAD KEYNAMES The names in parenthesis are the VAXTPU key-names for that key. To define GOLD keypad keys, use the form KEY_NAME(key-name,SHIFT_KEY). For example, GOLD PF1 would be KEY_NAME(PF1,SHIFT_KEY). +--------+-----------------+ +--------+--------+--------+--------+ | Help | Do | | F17 | F18 | F19 | F20 | | | | | | | | | | (HELP) | (DO) | | (F17) | (F18) | (F19) | (F20) | +--------+-----------------+ +--------+--------+--------+--------+ +--------+--------+--------+ +--------+--------+--------+--------+ | Find | Insert | Remove | | PF1 | PF2 | PF3 | PF4 | | | | | | | | | | | (E1) | (E2) | (E3) | | (PF1) | (PF2) | (PF3) | (PF4) | +--------+--------+--------+ +--------+--------+--------+--------+ | Select | Prev- | Next | | 7 | 8 | 9 | - | | | Screen | Screen | | | | | | | (E4) | (E5) | (E6) | | (KP7) | (KP8) | (KP9) | (MINUS)| +--------+--------+--------+ +--------+--------+--------+--------+ | Up | | 4 | 5 | 6 | , | | | | | | | | | (UP) | | (KP4) | (KP5) | (KP6) | (COMMA)| +--------+--------+--------+ +--------+--------+--------+--------+ | Left | Down | Right | | 1 | 2 | 3 | | | | | | | | | | Enter | | (LEFT) | (DOWN) | (RIGHT)| | (KP1) | (KP2) | (KP3) | | +--------+--------+--------+ +--------+--------+--------+ | | 0 | . | | | | | | | (KP0) |(PERIOD)| (ENTER)| +-----------------+--------+--------+ Note that the following TPU key-names are equivalent: CTRL_H_KEY = BS_KEY CTRL_I_KEY = TAB_KEY CTRL_J_KEY = LF_KEY CTRL_M_KEY = RET_KEY F15 = HELP F16 = DO 2 Errors If an error occurs in the initialization file the editor will (unfortunately) abort. To determine the cause of an error you can do the following: 1. $ EDIT/TPU/NOCOMMAND !Enter editor without init file. !Go into line mode. 2. * INCLUDE {initialization_file} !Read init file into empty buffer. 3. * TPU COMPILE(CURRENT_BUFFER) !Compile init file. 4. * FIND = MESSAGE !Examine errors in MESSAGE buffer. 1 EDT_keys KEY ACTION GOLD B Go to buffer GOLD C Capitalize word GOLD D Directory GOLD F Fill paragraph GOLD G Go to mark GOLD I Include file GOLD L Lowercase word GOLD M Go to buffer MAIN GOLD N Toggle editing/numeric keypad GOLD O Copy from buffer GOLD P Copy/append to buffer GOLD Q Quit editor GOLD R Insert ruler GOLD S Show buffers GOLD U Uppercase word GOLD W Toggle one/two windows GOLD X Exit editor GOLD [ Begin key learn sequence GOLD ] End key learn sequence GOLD # Go to line # GOLD = Center line GOLD - Enter line separator GOLD . Find character GOLD ? Cursor status. Current column, character GOLD ' Find matching parenthesis GOLD " Clear matching parenthesis GOLD 0-9 Gold repeat count CTRL-A Toggle insert/overstrike CTRL-B Recall last command (line mode) CTRL-C Abort current command (can void journal file) CTRL-D Go to other window (when in dual window mode) CTRL-E Go to end of line CTRL-F Move to end of word CTRL-H Go to beginning of line CTRL-J Delete previous word CTRL-K Define key as TPU command CTRL-L Insert form feed CTRL-R Refresh screen CTRL-U Delete to beginning of line CTRL-V Go to other window (when in dual window mode) CTRL-W Refresh screen CTRL-X Delete to beginning of line CTRL-Z Enter line mode GOLD CTRL-D Insert todays date (See *SET DATE_FORMAT cmd) GOLD CTRL-G Set mark GOLD CTRL-L Cursor status. Current line, column, character GOLD CTRL-R Toggle ruler line at top of screen GOLD CTRL-W Toggle window width 80/132 ARROW KEYS GOLD Left arrow Shift left 32 characters. (See *SET SHIFT_AMOUNT cmd) GOLD Right arrow Shift right 32 characters. (See *SET SHIFT_AMOUNT cmd) GOLD up arrow Continuous scroll up. Hit any key to stop. GOLD down arrow Continuous scroll down. Hit any key to stop. FUNCTION KEYS (for VT200 series) Function key F10 Rewrap to end of paragraph Function key F12 Go to beginning of line (backspace) Function key F13 Delete to beginning of line (linefeed) Function key F14 Go to other window (when in dual window mode) Function key F17 Go to buffer MAIN Function key F18 Go to buffer A Function key F19 Go to buffer B Function key F20 Go to buffer C DO Execute line mode command HELP Display keypad diagram EDITING KEYS (for VT200 series) Find - Normal search GOLD Find - Wildcard search Find Find - Search again Insert Here - Paste Remove - Cut Select - Select GOLD Select - Reset Prev Screen - Backup Section Next Screen - Advance Section KEYPAD CHANGES GOLD PF2 - Transpose characters Note the following keys are equivalent: CTRL/I - TAB CTRL/M - RETURN CTRL/[ - ESCAPE 1 WPS_keys GOLD A - Append SELECTed range to PASTE buffer GOLD B - Bottom of document GOLD C - Center line GOLD E - Go to other window GOLD F - File document GOLD G - Get document GOLD J - Jump to buffer GOLD K - Begin learn key sequence GOLD L - Show current line number and character GOLD N - New page () GOLD O - Openline GOLD P - Page marker () GOLD Q - Quit without saving GOLD S - Specins. Enter control character. GOLD T - Top of document GOLD W - Windows single/dual GOLD X - Insert marker GOLD Z - Zip to marker GOLD [ - Line mode command GOLD , - Search GOLD . - Continue search GOLD ? - Display current character GOLD ` - Replace SELECTed text with PASTE buffer GOLD \ - Insert today's date GOLD DELETE - Delete to beginning of line CTRL A - Toggle insert/overstrike mode CTRL B - Enter ^B CTRL J - Delete to beginning of word (linefeed) CTRL U - Enter ^U CTRL W - Refresh screen CTRL Z - Enter line mode 1 New_features NEW OR ENHANCED FEATURES OF EDX EDX EDITOR VERSION 8.0 (December 1991) ( DECUS SIG TAPE December 1991 ) BUFFER JOURNALING - NEW /RECOVER - Recovers buffer journaled editing sessions GOLD-? - Now also shows line number (EDT keypad mode) adjust_dual_windows; - User callable procedure (NEW) enable_buffer_journaling; - User callable procedure (NEW) ring_bell; - User callable procedure (previously not documented) BUGFIX for VMS 5.4 enter character with buffer in overstrike mode (fatal internal VAXTPU error. Present in EVE) BUGFIX for VMS 5.3, 5.4 - help buffer (fatal internal VAXTPU error) Not yet fixed VMS 5.4 bug line mode HELP doesn't show first screen full (Fault is with VAXTPU 2.6) EDX EDITOR VERSION 7.7 (December 1990) ( DECUS SIG TAPE December 1990 ) Support for editing text libraries ELIMINATE TABS FIXED. Works if buffer is in Overstrike mode INCLUDE ENHANCED. New qualifier /MODULE=module-name New qualifier /START=line-number SHOW BUFFERS ENHANCED. Press 'W' key to write selected buffer SET DATE_FORMAT ENHANCED. New keyword FULL UNPASTE NEW. Undoes last paste operation WRITE ENHANCED. New qualifier /MODULE=module-name Writing a selected range of text (as in * WRITE MYFILE.TXT SELECT) FIXED. EDX EDITOR VERSION 7.4 (requires VMS 5.1 or above) Line mode command recall NEW. Recall previous 40 commands Spelling Checker ENHANCED. Remembers previous corrections Find Matching Parenthesis ENHANCED. Searches both directions EDT keypad help diagram ENHANCED. Displays function keys F17-F20 DELETE BUFFER FIXED. User would end up in message window Function key F14 CHANGED. Go to other window (EDT & WPS modes) CTRL-D NEW. Go to other window (EDT mode) CTRL-F NEW. Go to end of word (EDT mode) beg_of_line; NEW. User available EDX defined TPU procedure VMS VERSION REQUIREMENTS EDX version 7 requires VMS 5.1 or above EDX EDITOR VERSION 6.2 ( PREVIOUS DECUS VERSION ) SPELL NEW. Spell check a buffer, range, or word. CENTER NEW. Center current line on page DIFFERENCES ENHANCED. Compare same buffer at different places SET INSERT NEW. Set buffer to INSERT mode SET LOCK NEW. Automatically lock all files SET OVERSTRIKE NEW. Set buffer to OVERSTRIKE mode SHOW DATE NEW. Show current date SORT ENHANCED. Many new qualifiers. Much faster. Fill Paragraph ENHANCED. Prompt for confirmation if over 20 lines Clear Matching Parenthesis ENHANCED. Also clears highlighted misspelled word EDX EDITOR VERSION 5.5 OVERSTRIKE MODE Automatically switch to INSERT mode on paste SET SEARCH BELL Ring bell if 'String not found' SHOW MARKERS Display list of all user set markers PF2 Keypad and keyboard help diagram EDX EDITOR VERSION 5.4 FIND ENHANCED. New qualifiers SHIFT [number] NEW. Shift screen left/right by [number] TYPE ALL NEW. Same as SEARCH/ALL EDX EDITOR VERSION 5.1 ( PREVIOUS DECUS VERSION ) ADJUST WINDOWS ENHANCED. Accepts numeric parameter CHANGE [line-number] ENHANCED. Accepts optional line number to go to DIRECTORY ENHANCED. May enter 'L' to lock selected file ENCRYPT NEW. Encrypt/decrypt buffer FIND NEW. Find 'search string' SEARCH NEW. Find all occurrences of 'search string' SHOW BUFFERS ENHANCED. May enter GOLD B to go to buffer SUBSTITUTE ENHANCED. New qualifier /WILD TRANSLATE ASCII NEW. Translate ASCII to EBCDIC TRANSLATE EBCDIC NEW. Translate EBCDIC to ASCII Fill to End of Paragraph NEW. Rewrap to end of paragraph Copy Selected Range to PASTE buffer NEW. 1 Diagrams To view the keypad diagrams exit from this help file with CTRL/Z and then press HELP. If your keyboard does not have a HELP key you may define a key at the line mode * prompt to display the keypad diagram. The following example defines the keypad PF2 key to do this: * TPU DEFINE_KEY('KEYPAD_HELP', PF2) You may also add this line to your initialization file by omitting the * TPU and just using the DEFINE_KEY command (See Initialization). 2 WPS_mode 3 left_keyboard lqqqqqqqqqqwqqqqqqqqqqwqqqqqqqqqqwqqqqqqqqqqwqqqqqqqqqqk x1 x2 x3 x4 x5 x x x x x x x x x x x x x mqqqqwqqqqqvqqqqwqqqqqvqqqqwqqqqqvqqqqwqqqqqvqqqqwqqqqqvqqqqk xQ xW xE xR tog rulrxT x <-- GOLD CTRL-key x x refresh x x refresh x x <-- CTRL-key x quit x1-2 windowxother wndwx x top x <-- GOLD key mqqwqqqqqqqvqqwqqqqqqqvqqwqqqqqqqvqqwqqqqqqqvqqwqqqqqqqvqqk xA xS xD  xF xG x xinsrt/overx x x x x x append x specins x x file doc x get file x mqqqqwqqqqqvqqqqwqqqqqvqqqqwqqqqqvqqqqwqqqqqvqqqqwqqqqqvqqqqk xZ xX xC xV xB x x line modex x x x enter ^B x xgo to markx set mark xcentr linex x bottom x mqqwqqqqqqqvqqqqqqqqqqvqqqqqqqqqqvqqqqqqqqqqvqqqqqqqqqqu x > x SPACE_BAR < x > mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq 3 right_keyboard lqqqqqqqqqqwqqqqqqqqqqwqqqqqqqqqqwqqqqqqqqqqwqqqqqqqqqqwqqqqqqqqqqk x7 x8 x9 x0 x- x = x x x x x x x x x x x x x x x lqqqqqvqqqqwqqqqqvqqqqwqqqqqvqqqqwqqqqqvqqqqwqqqqqvqqqqwqqqqqvqqqqwqqqqqvqqqqk xY xU xI xO xP x[ x] x x x enter ^U x x x x x x x x x x open linex page mkr x command x end learnx mqqwqqqqqqqvqqqqqqqqqqvqqwqqqqqqqvqqwqqqqqqqvqqwqqqqqqqvqqwqqqqqqqvqqwqqqqqqqvk xH xJ xK xL x; x' x\ x x x delprvwd x x x x' sub x\ date x x xjmp to bufxst key lrnx cur line x x x x mqqqqwqqqqqvqqqqwqqqqqvqqqqwqqqqqvqqqqwqqqqqvqqqqwqqqqqvqqqqwqqqqqvqqqqqqqqj xN xM x, x. x/ x x x x x x x x new page x x find x find nextx? cur charx mqqqqqqqqqqvqqqqqqqqqqvqqqqqqqqqqvqqqqqqqqqqvqqwqqqqqqqj > x GOLD CTRL-key < SPACE_BAR x CTRL-key > x GOLD key qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj 3 keypad  lqqqqqqqqwqqqqqqqqwqqqqqqqqwqqqqqqqqk WINDOWS: x x PAGE x DEL W x DEL C x  GOLD W Toggle single/dual windows x  GOLD x x x x  GOLD E Go to other window (dual mode)x x x UND W x UND C x  tqqqqqqqqnqqqqqqqqnqqqqqqqqnqqqqqqqqu  x SENT xTAB POS x   x  CUT  x BUFFERS: x x x x x  GOLD J Jump to buffer x x x  x PICK x  GOLD G Get file tqqqqqqqqnqqqqqqqqnqqqqqqqqnqqqqqqqqu  x  WORD x  PARA  x   x PASTE x  x x x x x MARKERS: x   x FILL x x PUT x  GOLD X Set mark tqqqqqqqqnqqqqqqqqnqqqqqqqqnqqqqqqqqu  GOLD Z Go to mark x BACK C x  LINE x UPCASE x x  x x x x  <>  x  x SCROLL x  xLOWCASE x x  tqqqqqqqqvqqqqqqqqnqqqqqqqqu x  x ADVANCE x SELECT x x  x x x SWAP x  x  SCROLL  x RESET x x  mqqqqqqqqqqqqqqqqqvqqqqqqqqvqqqqqqqqj 2 EDT_mode Choose either the left side of keyboard, right side of keyboard, or keypad. 3 left_keyboard lqqqqqqqqqqwqqqqqqqqqqwqqqqqqqqqqwqqqqqqqqqqwqqqqqqqqqqwqqqqqqqqqqk x1 x2 x3 x4 x5 x6 x x1 repeat x2 repeat x3 repeat x4 repeat x5 repeat x6 repeat x x! x@ x# line numx$ x% x^ x mqqqqwqqqqqvqqqqwqqqqqvqqqqwqqqqqvqqqqwqqqqqvqqqqwqqqqqvqqqqwqqqqqj xQ xW 80/132 xE xR tog rulrxT x <-- GOLD CTRL-key x xrefresh x goto eol x refresh x x <-- CTRL-key x quit x1-2 windowx xins ruler x x <-- GOLD key mqqwqqqqqqqvqqwqqqqqqqvqqwqqqqqqqvqqwqqqqqqqvqqwqqqqqqqvqqk xA xS xD date xF xG set markx xinsrt/overx xswtch wndwxend of wrdx x x x show bufsx directoryxfill paragx goto markx mqqqqwqqqqqvqqqqwqqqqqvqqqqwqqqqqvqqqqwqqqqqvqqqqwqqqqqvqqqqk xZ xX xC xV xB x x line modex x xswtch wndwx x x x exit xCapitalizex x goto buf x mqqwqqqqqqqvqqqqqqqqqqvqqqqqqqqqqvqqqqqqqqqqvqqqqqqqqqqu x > x SPACE_BAR < x > mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq 3 right_keyboard lqqqqqqqqqqwqqqqqqqqqqwqqqqqqqqqqwqqqqqqqqqqwqqqqqqqqqqwqqqqqqqqqqk x7 x8 x9 x0 x- x = x x7 repeat x8 repeat x9 repeat x0 repeat x- sep linex= cntr ln x x& x* x( x) x_ x= x lqqqqqvqqqqwqqqqqvqqqqwqqqqqvqqqqwqqqqqvqqqqwqqqqqvqqqqwqqqqqvqqqqwqqqqqvqqqqk xY xU xI tab xO xP x[ x] x x xdel to bolx x x x x x x x upcase x include xcopy from x pick x st learn xend learn x mqqwqqqqqqqvqqqqqqqqqqvqqwqqqqqqqvqqwqqqqqqqvqqwqqqqqqqvqqwqqqqqqqvqqwqqqqqqqj xH xJ xK xL cur lin x; x' x x beg line x delprvwd x def key x ins fmfd x x'fnd parenx x x x x lowercasex x"clr parenx mqqqqwqqqqqvqqqqwqqqqqvqqqqwqqqqqvqqqqwqqqqqvqqqqwqqqqqvqqqqwqqqqqj xN xM x, x. x/ x x x x x x x xtog keypadx goto MAINx x find charx? cur charx mqqqqqqqqqqvqqqqqqqqqqvqqqqqqqqqqvqqqqqqqqqqvqqwqqqqqqqj > x GOLD CTRL-key < SPACE_BAR x CTRL-key > x GOLD key qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj 3 keypad BUFFERS: lqqqqqqqwqqqqqqqwqqqqqqqwqqqqqqqk  GOLD B Go to buffer xF17 xF18 xF19 xF20 x  F17 Go to buffer MAIN x MAIN x A x B x C x  F18 Go to buffer A mqqqqqqqvqqqqqqqvqqqqqqqvqqqqqqqj  F19 Go to buffer B  F20 Go to buffer C lqqqqqqqwqqqqqqqwqqqqqqqwqqqqqqqk  GOLD S Show buffers (select buffer) x GOLD x HELP xFNDNXT x DEL L x x x SWAP x FIND x UND L x WINDOWS: tqqqqqqqnqqqqqqqnqqqqqqqnqqqqqqqu  GOLD W Toggle single/dual windows x PAGE x SECT xAPPEND x DEL W x  CTRL/V Go to other window windows xCOMMANDx FILL xREPLACEx UND W x  GOLD CTRL/W Toggle screen width tqqqqqqqnqqqqqqqnqqqqqqqnqqqqqqqu xADVANCEx BACKUPx CUT x DEL C x MARKERS: xBOTTOM x TOP x PASTE x UND C x  GOLD CTRL/G Set mark tqqqqqqqnqqqqqqqnqqqqqqqnqqqqqqqu  GOLD G Go to mark x WORD x EOL x CHAR x ENTER x xCHNGCASxDEL EOLxSPECINSx x RULERS: tqqqqqqqvqqqqqqqnqqqqqqqu x  GOLD R Insert ruler x LINE  x SELECTx x  GOLD CTRL/R Toggle ruler at top of screen x OPEN LINE x RESET x SUBS x mqqqqqqqqqqqqqqqvqqqqqqqvqqqqqqqj 2 DD1_mode Choose either the left side of keyboard, right side of keyboard, or keypad. 3 left_keyboard lqqqqqqqqqqwqqqqqqqqqqwqqqqqqqqqqwqqqqqqqqqqwqqqqqqqqqqwqqqqqqqqqqk x1 x2 x3 x4 x5 x6 x x1 repeat x2 repeat x3 repeat x4 repeat x5 repeat x6 repeat x x! x@ x# line numx$ x% x^ x mqqqqwqqqqqvqqqqwqqqqqvqqqqwqqqqqvqqqqwqqqqqvqqqqwqqqqqvqqqqwqqqqqj xQ xW 80/132 xE xR tog rulrxT x <-- GOLD CTRL-key x xrefresh x goto eol x refresh x x <-- CTRL-key x quit x1-2 windowx xins ruler x x <-- GOLD key mqqwqqqqqqqvqqwqqqqqqqvqqwqqqqqqqvqqwqqqqqqqvqqwqqqqqqqvqqk xA xS xD date xF xG set markx xinsrt/overx x xend of wrdx x x x show bufsx directoryxfill paragx goto markx mqqqqwqqqqqvqqqqwqqqqqvqqqqwqqqqqvqqqqwqqqqqvqqqqwqqqqqvqqqqk xZ xX xC xV xB x x line modex x xswtch wndwx x x x exit xCapitalizex x goto buf x mqqwqqqqqqqvqqqqqqqqqqvqqqqqqqqqqvqqqqqqqqqqvqqqqqqqqqqu x > x SPACE_BAR < x > mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq 3 right_keyboard lqqqqqqqqqqwqqqqqqqqqqwqqqqqqqqqqwqqqqqqqqqqwqqqqqqqqqqwqqqqqqqqqqk x7 x8 x9 x0 x- x = x x7 repeat x8 repeat x9 repeat x0 repeat x- sep linex= cntr ln x x& x* x( x) x_ x= x lqqqqqvqqqqwqqqqqvqqqqwqqqqqvqqqqwqqqqqvqqqqwqqqqqvqqqqwqqqqqvqqqqwqqqqqvqqqqk xY xU xI tab xO xP x[ x] x x xdel to bolx x x x x x x x upcase x include xcopy from x pick x st learn xend learn x mqqwqqqqqqqvqqqqqqqqqqvqqwqqqqqqqvqqwqqqqqqqvqqwqqqqqqqvqqwqqqqqqqvqqwqqqqqqqj xH xJ xK xL cur lin x; x' x x beg line x delprvwd x def key x ins fmfd x x'fnd parenx x x x x lowercasex x"clr parenx mqqqqwqqqqqvqqqqwqqqqqvqqqqwqqqqqvqqqqwqqqqqvqqqqwqqqqqvqqqqwqqqqqj xN xM x, x. x/ x x x x x x x xtog keypadx goto MAINx x find charx? cur charx mqqqqqqqqqqvqqqqqqqqqqvqqqqqqqqqqvqqqqqqqqqqvqqwqqqqqqqj > x GOLD CTRL-key < SPACE_BAR x CTRL-key > x GOLD key qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj 3 keypad BUFFERS: lqqqqqqqwqqqqqqqwqqqqqqqwqqqqqqqk  GOLD B Go to buffer xF17 xF18 xF19 xF20 x  F17 Go to buffer MAIN x MAIN x A x B x C x  F18 Go to buffer A mqqqqqqqvqqqqqqqvqqqqqqqvqqqqqqqj  F19 Go to buffer B  F20 Go to buffer C lqqqqqqqwqqqqqqqwqqqqqqqwqqqqqqqk  GOLD S Show buffers (select buffer) x GOLD x HELP xFNDNXT x DEL L x x x SWAP x FIND x UND L x WINDOWS: tqqqqqqqnqqqqqqqnqqqqqqqnqqqqqqqu  GOLD W Toggle single/dual windows xPrvScrnxNxtScrnxBegLinex DEL W x  CTRL/V Go to other window windows x TOP xBOTTOM x x UND W x  GOLD CTRL/W Toggle screen width tqqqqqqqnqqqqqqqnqqqqqqqnqqqqqqqu x<-Word x Word->xEndLinex DEL C x MARKERS: x x xDEL EOLx UND C x  GOLD CTRL/G Set mark tqqqqqqqnqqqqqqqnqqqqqqqnqqqqqqqu  GOLD G Go to mark x xEndWordx CUT x x xCHNGCASxSPECINSx PASTE x x RULERS: tqqqqqqqvqqqqqqqnqqqqqqqu x  GOLD R Insert ruler x LINE  x SELECTx x  GOLD CTRL/R Toggle ruler at top of screen x OPEN LINE x RESET x x mqqqqqqqqqqqqqqqvqqqqqqqvqqqqqqqj