% VAX-11 Librarian V04-00 5!5!895 APLTPU5!1 APLTPU8 Schlumberger Extended EDT EmulatorC The Schlumberger Extended EDT Emulator provides additional 5 functions to the DEC EDT Emulator for VAXTPU.2 CTRL_B3 +----------+----------+3 | | |3 | CTRL | B |3 | | |3 +----------+----------+D The Control/B key toggles between one and two windows. IfD two windows are being used, then Control/B will return theD display to using one window. If one window is being used,D Control/B will cause two windows to be used, with both, windows mapped to the main buffer.2 CTRL_K3 +----------+----------+3 | | |3 | CTRL | K |3 | | |3 +----------+----------+C The Control/K key will start a learn sequence for a key.6 You will be prompted for the key to define.2 CTRL_R3 +----------+----------+3 | | |3 | CTRL | R |3 | | |3 +----------+----------+E The Control/R key will complete a learn sequence for a key.2 GOLD_B6 +----------+ +----------+6 | | | |6 | GOLD | + | B |6 | | | |6 +----------+ +----------+E The GOLD_B key toggles between BOX mode and Normal mode forE the CUT (Remove), PASTE (Insert here), and SELECT keys.2 GOLD_C6 +----------+ +----------+6 | | | |6 | GOLD | + | C |6 | | | |6 +----------+ +----------+C The GOLD_C key will center the text on the current line. 2 GOLD_CTRL_B; +----------+ +----------+----------+; | | | | |; | GOLD | + | CTRL | B |; | | | | |; +----------+ +----------+----------+D The GOLD Control/B key causes two windows to be used, andD will read a file into the top (reference) window. GOLDD Control/B will prompt for the file to read into the ref- erence window. 2 GOLD_DOWN6 +----------+ +----------+6  | | | |6 | GOLD | + | v |6 | | | |6 +----------+ +----------+H The GOLD_v (GOLD DOWN_ARROW) key will move the cursor from H the top window to the bottom window when two windows are used.2 GOLD_E6 +----------+ +----------+6 | | | |6 |  GOLD | + | E |6 | | | |6 +----------+ +----------+E The GOLD_E key will trim spaces and tabs from every line in the current buffer.2 GOLD_G6 +----------+ +----------+6 | | | |6 | GOLD | + | G |6 | | | |6  +----------+ +----------+E The GOLD_G key moves the cursor to the position previouslyE saved with a GOLD_M key. GOLD_G can't move between buffers and/or windows.E Eight different positions can be specified to the GOLD_G keyE by using the EDT repeat count facility. To specify position7 2 for example, you would use the key sequence: . GOLD 2 GOLD GE If a repeat count is not specified,  then position 1 is used.2 GOLD_J6 +----------+ +----------+6 | | | |6 | GOLD | + | J |6 | | | |6 +----------+ +----------+D The GOLD_J key substitutes one string for another in theD select range. GOLD_J will prompt for the two strings,D and uses the responses from the las t GOLD_J invocation as the defaults.2 GOLD_L6 +----------+ +----------+6 | | | |6 | GOLD | + | L |6 | | | |6 +----------+ +----------+E The GOLD_L key will prompt for a line to move the cursor to.2 GOLD_M6 +----------+ +----------+6 |  | | |6 | GOLD | + | M |6 | | | |6 +----------+ +----------+E The GOLD_M key saves (marks) the current cursor position.E The GOLD_G key can then be used to move the cursor back to this position.E Eight different positions can be specified to the GOLD_M keyE by using the EDT repeat count facility. To specify position7 2 for example, you would use the key sequence: . GOLD 2 GOLD ME If a repeat count is not specified, then position 1 is used.2 GOLD_O6 +----------+ +----------+6 | | | |6 | GOLD | + | O |6 | | | |6 +----------+ +----------+D The GOLD_O  key toggles between insert and overstrike modes! for the current buffer.2 GOLD_Q6 +----------+ +----------+6 | | | |6 | GOLD | + | Q |6 | | | |6 +----------+ +----------+E The GOLD_Q key is used to display the current line numberE along with the total number of lines in the b uffer and the* current cursor column position.2 GOLD_R6 +----------+ +----------+6 | | | |6 | GOLD | + | R |6 | | | |6 +----------+ +----------+C The GOLD_R key will display a ruler in the message area.2 GOLD_S6 +----------+ +----------+6  | | | |6 | GOLD | + | S |6 | | | |6 +----------+ +----------+F The GOLD_S key is used for conversion between spaces and tabs.F GOLD_S will prompt for Space to tab conversion or Tab to spaceA conversion. The default is S to convert spaces to tabs.2 GOLD_T6 +----------+ +----------+6  | | | |6 | GOLD | + | T |6 | | | |6 +----------+ +----------+E The GOLD_T key is used to display non-printable characters.2 GOLD_T prompts for one of three options:E 1) DISPLAY_ONE will display the hex, decimal, and octal D equivalents of the character, along with a printableA representation of t he character in the message area.D 2) ON will convert all of the non-printable characters toD a printable equivalent. This will change the contents of the buffer.E 3) OFF will convert all of the printable equivalents of theE non-printable characters back into ASCII characters. The4 contents of the buffer will be changed., The default option is DISPLAY_ONE.2 GOLD_U6 +----------+  +----------+6 | | | |6 | GOLD | + | U |6 | | | |6 +----------+ +----------+F The GOLD_U key is used to set the case of selected text to beF all upper or all lower case. GOLD_U will prompt for UpperF or Lower case. You should enter either U or L. The default case is lower case. 2 GOLD_UP6  +----------+ +----------+6 | | | |6 | GOLD | + | ^ |6 | | | |6 +----------+ +----------+E The GOLD_^ (GOLD UP_ARROW) key will move the cursor from the B bottom window to the top window when two windows are used.2 GOLD_V6 +----------+ +----------+6  | | | |6 | GOLD | + | V |6 | | | |6 +----------+ +----------+G The current version of VAXTPU and of the Schlumberger Extended 8 EDT Emulator is displayed using the GOLD V keys.2 GOLD_W6 +----------+ +----------+6 | | | |6 | GOLD | + | W  |6 | | | |6 +----------+ +----------+E The GOLD_W key is used to adjust the size of the windows whenE two windows are used. GOLD_W prompts for the number of linesE to adjust the windows by. A positive number will increaseE the size of the main window by 4 lines and decrease the size+ of the reference window by 4 lines.2 GOLD_X6 +----------+ +----------+6 | | | |6 | GOLD | + | X |6 | | | |6 +----------+ +----------+D The definition of a word can be toggled between whitespaceD and non-alphanumeric characters. The default setting is7 for words to be defined as non-alphanumerics.2 GOLD_Y6 +----------+ +----------+6  | | | |6 | GOLD | + | Y |6 | | | |6 +----------+ +----------+G The GOLD_Y key will toggle the translation of escape sequences.G This key should be used carefully, because the cursor positionG may not necessarily correspond with the true position in theG text buffer. Also, escape sequences sent to the t erminal mayG interfere with those normally sent by the screen manager. Use" this key at your own risk.2 GOLD_Z6 +----------+ +----------+6 | | | |6 | GOLD | + | Z |6 | | | |6 +----------+ +----------+G Displays the contents of the message buffer. Carriage returnsG and line ! feeds are processed to allow system shutdown and other messages to be read.2 Box_Cut_Paste6 +----------+ +----------+6 | | | |6 | GOLD | + | B |6 | | | |6 +----------+ +----------+H The GOLD_B key will toggle the definition of the CUT (Remove),H PASTE (Insert here), and SELECT keys " between the normal EDT mode and box mode.H In box mode, the select key will create a marker for one cornerH of an imaginary box on the screen. The opposite corner is def-H ined by the position of the cursor. The box defined by the mar-2 ker and the cursor is used by the CUT key.H In box mode, all of the text which is inside the box will be CUTH out, and replaced by spaces. For a PASTE, the box in the pasteH buffer will overla #y any text when in it pasted in. The cursor= is used to mark the upper left corner of a PASTE box.+ EXAMPLE: / ................> ....M........... ? BOX SELECTED ................ M - Marker > BEFORE CUT: ...........C.... C - Cursor/ ................-  $ / ................> ....C .... @ AFTER CUT: .... .... C - Cursor ? .... .... / ................- / ................> .... .... @ AFTER CUT .... % .... C - Cursor ? BEFORE PASTE .... .... / ......C.........- / ................> .... .... @ AFTER PASTE .... .... C - Cursor ? .... .... / ......C.........- & ........- ........ 2 Center_Line6 +----------+ +----------+6 | | | |6 | GOLD | + | C |6 | | | |6 +----------+ +----------+C The GOLD_C key will center the text on the current line.2 Graphics/Escape_Seq6 +----------+ ' +----------+6 | | | |6 | GOLD | + | Y |6 | | | |6 +----------+ +----------+G The GOLD_Y key will toggle the translation of escape sequences.G This key should be used carefully, because the cursor positionG may not necessarily correspond with the true position in theG text buffer. Also, escape seq (uences sent to the terminal mayG interfere with those normally sent by the screen manager. Use" this key at your own risk. 2 Goto_Line6 +----------+ +----------+6 | | | |6 | GOLD | + | L |6 | | | |6 +----------+ +----------+E The GOLD_L key will prompt for a line to move the cursor )to. 2 Input_File< The Schlumberger EDT Emulator is invoked as follows:1 $ TPU filename [,filename [,...]]C The filename can contain wildcards. Note that the symbols2 TPU and TPUR should be defined as follows:. $ TPU :== @SYS$LIBRARY:APLTPU/ $ TPUR :== @SYS$LIBRARY:APLTPURC TPUR will edit files /READ_ONLY, and will not use a journal file. 3 /CONFIRMB The /CONFIRM switch causes APLTPU to c *onfirm for each fileB to be edited, whether or not the file should actually beB edited. You can answer Yes, No, or Quit. The default isB not to edit the file. Quit will cause APLTPU to stop searching for files. Example: $ TPU *.COM/CONFIRMA Edit file SYS$SYSDEVICE:[USER]BINREAD.COM;4 [Y/N/Q]? A Edit file SYS$SYSDEVICE:[USER]LOGIN.COM;132 [Y/N/Q]? A Edit file SYS$SYSDEVICE:[USER]SEARCH.COM;1 [Y/ +N/Q]? Q $2 Insert/Overstrike6 +----------+ +----------+6 | | | |6 | GOLD | + | O |6 | | | |6 +----------+ +----------+D The GOLD_O key toggles between insert and overstrike modes! for the current buffer.2 LearnG The Schlumberger EDT Emulator can "learn" a functi,on. This F is similar to the define key feature of EDT. A learn sequenceG is started by using the CTRL/K key. You will be prompted for G a key to define. After you hit the key to be defined, all of G the keystrokes you enter will be remembered unitl a CTRL/R is I entered. The next time that you use the newly defined key, G the keystrokes for the key will be performed again. Note that H if the definition includes any keys w -hich prompt for input, 6 the answer you provided in learn mode is used.5 CTRL/K - Begin learn sequence3 CTRL/R - End learn sequence 2 Line/Column6 +----------+ +----------+6 | | | |6 | GOLD | + | Q |6 | | | |6 +----------+ +----------+E The . GOLD_Q key is used to display the current line numberE along with the total number of lines in the buffer and the* current cursor column position. 2 Messages6 +----------+ +----------+6 | | | |6 | GOLD | + | Z |6 | | | |6 +----------+ +----------+G Displays the contents of the m /essage buffer. Carriage returnsG and line feeds are processed to allow system shutdown and other messages to be read.2 Ruler6 +----------+ +----------+6 | | | |6 | GOLD | + | R |6 | | | |6 +----------+ +----------+C The GOLD_R key will display a ruler in the message area.2 Sa 0ve/Goto_PositionG The current cursor position can be saved and restored using theG GOLD_M and GOLD_G keys. The GOLD_M key marks the current pos-9 ition, and GOLD_G goes back to a marked position.2 Selected_Substitution6 +----------+ +----------+6 | | | |6 | GOLD | + | J |6 | | | |6 +---- 1------+ +----------+D The GOLD_J key substitutes one string for another in theD select range. GOLD_J will prompt for the two strings,D and uses the responses from the last GOLD_J invocation as the defaults.2 Space_Tab_Conversion6 +----------+ +----------+6 | | | |6 | GOLD | + | S |6 | | | 2 |6 +----------+ +----------+F The GOLD_S key is used for conversion between spaces and tabs.F GOLD_S will prompt for Space to tab conversion or Tab to spaceA conversion. The default is S to convert spaces to tabs.2 Translate_CTRL_Chars6 +----------+ +----------+6 | | | |6 | GOLD | + | T |6 | | 3 | |6 +----------+ +----------+E The GOLD_T key is used to display non-printable characters.2 GOLD_T prompts for one of three options:E 1) DISPLAY_ONE will display the hex, decimal, and octal D equivalents of the character, along with a printableA representation of the character in the message area.D 2) ON will convert all of the non-printable characters toD a printab 4le equivalent. This will change the contents of the buffer.E 3) OFF will convert all of the printable equivalents of theE non-printable characters back into ASCII characters. The4 contents of the buffer will be changed., The default option is DISPLAY_ONE. 2 Trim_Buffer6 +----------+ +----------+6 | | | |6 | GOLD | + | E 5 |6 | | | |6 +----------+ +----------+E The GOLD_E key will trim spaces and tabs from every line in the current buffer.2 Upper_Lower_Case6 +----------+ +----------+6 | | | |6 | GOLD | + | U |6 | | | |6 +----------+ 6 +----------+F The GOLD_U key is used to set the case of selected text to beF all upper or all lower case. GOLD_U will prompt for UpperF or Lower case. You should enter either U or L. The default case is lower case. 2 Version6 +----------+ +----------+6 | | | |6 | GOLD | + | V |6 | | | |6 7 +----------+ +----------+G The current version of VAXTPU and of the Schlumberger Extended 8 EDT Emulator is displayed using the GOLD V keys. 2 WindowsH The Schlumberger Extended EDT Emulator allows editting in either G one or two windows. When two windows are used, the bottom windowG is mapped to the main buffer with the file that is being edited,G and the top window mapped either to a reference file or to theG main bu 8ffer. All editing operations are allowed in both windows.9 The following keys are used to manipulate windows:? CTRL/B - Toggle between one and two windows@ GOLD CTRL/B - Open a reference file in top window/ GOLD UP - Move to top window2 GOLD DOWN - Move to bottom windowD GOLD W - Adjust the relative size of the windows2 Word_Definition6 +----------+ +----------+6 | | | |6 | GOLD | + | X |6 | | | |6 +----------+ +----------+D The definition of a word can be toggled between whitespaceD and non-alphanumeric characters. The default setting is7 for words to be defined as non-alphanumerics.ww