% VAX-11 Librarian V04-00A>˞`)?˞5E BAPLTPU APLTPU_KEYPADXH EDT_EMULATOR & EDT_KEYPAD >˞1 APLTPU_KEYPADL The following keys have been defined in addition to the EDT emulator keys:F CTRL/B - Toggle one/two windows GOLD S - Convert tabs/spacesN GOLD CTRL/B - Open a reference file GOLD T - Convert non-printable charsK GOLD UP - Move to top window GOLD U - Convert case upper/lowerL GOLD DOWN - Move to bottom window GOLD E - Trim spaces/tabs line endH GOLD W - Adjust window sizes GOLD C - Center a line of textI GOL D M - Save current position GOLD X - Toggle word definitionN GOLD G - Go to saved position GOLD B - Toggle box SELECT/CUT/PASTEK GOLD L - Go to specified line GOLD O - Toggle overstrike/insertJ GOLD Q - Display line/column GOLD Y - Toggle graphics displayG GOLD F - Toggle margin support CTRL/K - Start learn sequenceE GOLD < - Set left margin CTRL/R - End learn sequenceJ GOLD > - Set right margin GOLD I - I nitialization commandsE GOLD TAB - Set tab size GOLD $ - Issue DCL commandsH GOLD Z - Display message buffer GOLD J - Selected substitutionJ GOLD R - Display a "ruler" CTRL/V - Enter control character" GOLD V - Display TPU versionww >˞ 1 EDT_KEYPADV lqqqqqqqqwqqqqqqqqwqqqqqqqqwqqqqqqqqk lqqqqqqqqwqqqqqqqqwqqqqqqqqwqqqqqqqqk_ x ^ x DOWN x x x x x x FNDNXT x DEL L x ] x x x x x x x  GOLD x HELP x x xo x x x x x LEFT x RIGHT x x x x FIND x UND L xV x UP x v x x x tqqqqqqqqnqqqqqqqqnqqqqqqqqnqqqqqqqquZ mqqqqqqqqvqqqqqqqqvqqqqqqqqvqqqqqqqqj x PAGE x SECT x APPEND x DEL W xT DELETE Delete character x x x x xx LINEFEED Delete to beg inning of word x COMMANDx FILL x REPLACEx UND W xT BACKSPACE Backup to beginning of line tqqqqqqqqnqqqqqqqqnqqqqqqqqnqqqqqqqqu\ CTRL/A Compute tab level x ADVANCEx BACKUP x CUT x DEL C xT CTRL/D Decrease tab level x x x x xx CTRL/E Increase tab level  x BOTTOM x TOP x PASTE x UND C xT CTRL/K Define ke y tqqqqqqqqnqqqqqqqqnqqqqqqqqnqqqqqqqquZ CTRL/R Refresh Screen x WORD x  EOL x CHAR x xV CTRL/T Adjust tabs  x x x x ENTER xo CTRL/U Delete to beginning of line xCHNGCASEx DEL EOLx SPECINSx xT CTRL/W Refresh screen tqqqqqqqqvqqqqqqqqnqqqqqqqqu xX CTRL/Z Exit to line mode x LINE   x SELECT x x[ x x x SUBS xf   x OPEN LINE x RESET x xV    mqqqqqqqqqqqqqqqqqvqqqqqqqqvqqqqqqqqjwwv>˞1 APLTPU8 Schlumberger Extended EDT EmulatorB The Schlumberger Extended EDT Emulator provides additional5 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 bei ng 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 promp ted 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 CTRL_V3 +----------+----------+3 | | |3  | CTRL | V |3 | | |3 +----------+----------+D The Control/V key will place the next character, includingD control characters at the current cursor position. ThisD provides, for example, a convienent way to enter escapeD sequences by typing CTRL/V (CTRL/V CTRL/[ on VT220).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_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_C6 +----------+ +----------+6  | | | |6 | GOLD | + | C |6 | | | |6 +----------+ +----------+C The GOLD_C key will center the text on the current line. 2 GOLD_DOWN6 +----------+ +----------+6 | | | |6 | GOLD | + | v |6 | |  | |6 +----------+ +----------+G The GOLD_v (GOLD DOWN_ARROW) key will move the cursor fromH 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_F6 +----------+ +----------+6 | | | |6 | GOLD | + | F |6 | | | |6 +----------+ +----------+I The GOLD_F key toggles margin support ON/OFF. If margin supportI is enabled, then t he space, tab, return, and fill keys will causeI text to be formatted within the margins specified by the GOLD_<6 and GOLD_> keys (columns 1 and 75 by default).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_I6 +---- ------+ +----------+6 | | | |6 | GOLD | + | I |6 | | | |6 +----------+ +----------+D The GOLD_I key allows APLTPU initialization commands to beD entered interactively. For a complete description of the9 available commands, see the help for Init_File.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 last 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 buffer 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:D 1) DISPLAY_ONE will display the hex, decimal, and octalD 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-prin #table 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 +----------+ +----------+D The GOLD_^ (GOLD UP_ARROW) key will move the cursor from theB bottom window to the top window when two windows are used.2 GOLD_V6 +----------+ +----------+6 | | | |6 | GOLD | + | V |6 & | | | |6 +----------+ +----------+F The current version of VAXTPU and of the Schlumberger Extended8 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 +----------+ +----------+G The definition of a word can be toggled between whitespace,G non-alphanumeric characters, and if defined, a user specifiedG word definition. For information on user specified wordG definitions, see help on Init_files. 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 terminal 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 con +tents of the message buffer. Carriage returnsG and line feeds are processed to allow system shutdown and other messages to be read.2 GOLD_$6 +----------+ +----------+6 | | | |6 | GOLD | + | $ |6 | | | |6 +----------+ +----------+E The GOLD_$ creates a subprocess to execute DCL comm,ands, andE displays the output from the commands in the top window of aE split screen display. Information in the DCL buffer can be edited.* The following restrictions apply:C - This command can not be used in a CAPTIVE account or if/ your subprocess quota is exhausted.4 - You do not see any prompts from utilitesB - Only utilities which support input/output to a mailboxD may be used. Utilities s -uch as PHONE or TPU which take> full control of the screen will not work properly.2 GOLD_<6 +----------+ +----------+6 | | | |6 | GOLD | + | < |6 | | | |6 +----------+ +----------+D The GOLD_< key sets the left margin to be used when margin support is enabled.2 GOLD_>6 . +----------+ +----------+6 | | | |6 | GOLD | + | > |6 | | | |6 +----------+ +----------+E The GOLD_< key sets the right margin to be used when margin support is enabled. 2 GOLD_TAB6 +----------+ +----------+6 | | | |6 / | GOLD | + | TAB |6 | | | |6 +----------+ +----------+G The GOLD_TAB key prompts for a new spacing between tab stops.G If a spacing of 0 is specified, the TAB key reverts to normal EDT TAB functionality.2 Box_Cut_Paste6 +----------+ +----------+6 | | | |6 | 0 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 curs 1or. 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 overlay any text when in it pasted in. The cursor= is used to mark the upper left corner of a PASTE box.+ EXAMPLE:/ ................/ .2...M...........> BOX SELECTED ................ M - Marker> BEFORE CUT: ...........C.... C - Cursor/ ................/ ................/ ....C ....> AFTER CUT: .... .... C - Cursor/ .... ..../ ................/ ....... 3........./ .... ....> AFTER CUT .... .... C - Cursor/ BEFORE PASTE .... ..../ ......C........./ ................/ .... ....> AFTER PASTE .... .... C - Cursor/ .... ..../ ......C.........- 4 ........- ........ 2 Center_Line6 +----------+ +----------+6 | | | |6 | GOLD | + | C |6 | | | |6 +----------+ +----------+C The GOLD_C key will center the text on the current line.2 DCL6 +----------+ +--- 5-------+6 | | | |6 | GOLD | + | $ |6 | | | |6 +----------+ +----------+E The GOLD_$ creates a subprocess to execute DCL commands, andE displays the output from the commands in the top window of aE split screen display. Information in the DCL buffer can be edited.* The following restriction 6s apply:C - This command can not be used in a CAPTIVE account or if/ your subprocess quota is exhausted.4 - You do not see any prompts from utilitesB - Only utilities which support input/output to a mailboxD may be used. Utilities such as PHONE or TPU which take> full control of the screen will not work properly.2 Enter_CTRL_Char3 +----------+----------+3 | | 7 |3 | CTRL | V |3 | | |3 +----------+----------+D The Control/V key will place the next character, includingD control characters at the current cursor position. ThisD provides, for example, a convienent way to enter escapeD sequences by typing CTRL/V (CTRL/V CTRL/[ on VT220).2 Graphics/Escape_Seq6 8 +----------+ +----------+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. Al 9so, escape sequences 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 mo :ve the cursor to. 2 Init_File= The Schlumberger EDT Emulator (APLTPU) can be customized to= suit your needs with initialization files. Two types of= initialization files may be used, COMMAND files containing= VAXTPU commands, and INITIALIZATION files containing APLTPU commands.3 COMMAND_filesA Command files contain VAXTPU commands and are documented in theB VAX Text Processing Utility Manual in the VMS documentation set.+ The search sequence for command files is:< ; 1) None if /NOCOMMAND is specified in the TPU command line; 2) Any file specified by /COMMAND in the TPU command line9 3) Under VMS V4.x, the logical name TPUINI is used next> Under VMS V5.x, the logical name TPU$COMMAND is used nextA 4) Under VMS V4.x, the file TPUINI.TPU in the current directoryF Under VMS V5.x, the file TPU$COMMAND.TPU in the current directory3 INITIALIZATION_filesC Initialization files contain Schlumberger EDT Emulator (APLTPU)C commands to a<llow you to change the default setting of APLTPU options.D APLTPU commands can be abbreviated to the shortest unique command. 4 File_names2 The search sequence for initialization files is:D 1) (VMS V5.x) None if /NOINIT is specified in the TPU command lineC 2) (VMS V5.X) Any file specified by /INIT in the TPU command line( 3) The logical name APLTPU$INIT.APLTPU9 4) The file APLTPU$INIT.APLTPU in the current directoryD 5) The file APLTPU$INIT.APLTPU in your login dir=ectory, SYS$LOGIN: 4 Comments ! Comment@ Lines in an APLTPU$INIT file beginning with "!" are treated as comments and ignored.4 ContinuationA APLTPU commands may be continued to another line by ending them with a "-". 4 ENABLE_BOX {ENABLE|DISBALE} BOXB The ENABLE/DISABLE BOX command performs the same function as theB GOLD B command and changes the SELECT/CUT/PASTE keys to work inB either BOX mode or the normal EDT mode. See GOLD_B for more informat>ion.4 ENABLE_DISPLAY' {ENABLE|DISBALE} DISPLAY option= The ENABLE/DISABLE DISPLAY commands affect the display from= APLTPU commands. Currently, the only supported option is1 {ENABLE|DISBALE} DISPLAY DEFAULT_FILENAME= which affects the display of a default file name for the= GOLD CTRL/B key. GOLD CTRL/B will still use a default file= name of the last file specified to GOLD CTRL/B, but won't9 show the default file name in the prompt when disabled.4 ?ENABLE_MARGIN {ENABLE|DISBALE} MARGIN? The ENABLE/DISABLE MARGIN command performs the same function? as the GOLD F key and enables margin support, causing text? to stay within the bounds specified by either SET LEFT_MARGIN8 and SET RIGHT_MARGIN or by the GOLD_< and GOLD_> keys.4 HELP HELP> HELP may be entered as an interactive initialization command> to obtain help on initialization commands. It is ignored in APLTPU$INIT files. 4 MESSAGE ME@SSAGE message? The message command will display the specified message in the message window. 4 SET_CURSOR SET CURSOR top:bottomB Controls scrolling of the screen relative to the distance of theC cursor from the screen top and the screen bottom. Values for theD top and bottom can range from 0 to 21. Default: SET CURSOR 7:14. 4 SET_DCL SET DCL {ERASE|NOERASE}@ Controls whether the DCL command erases the DCL buffer between DCL commands. 4 SET_INSERTA SET INSERTD Sets the MAIN buffer to be in insert mode whereby text is inserted* at the cursor position as it is entered.4 SET_LEFT_MARGIN SET LEFT_MARGIN n? The SET LEFT_MARGIN command performs the same function as the? GOLD_< key and sets the left margin to column n if margin/ support is enabled (GOLD_F or ENABLE MARGINS)4 SET_OVERSTRIKE SET OVERSTRIKE? Sets the MAIN buffer to be in overstrike mode whereby text is3 replaced at the cursor posBition as it is entered. 4 SET_QUIET SET QUIET@ The SET QUIET command will turn off command verification until@ a SET VERIFY command is issued. This will eliminate some of$ the messages from APLTPU commands.4 SET_RIGHT_MARGIN SET RIGHT_MARGIN n@ The SET RIGHT_MARGIN command performs the same function as the@ GOLD_> key and sets the right margin to column n if margin/ support is enabled (GOLD_F or ENABLE MARGINS) 4 SET_SCREEN SET SCREEN width?C Sets the maximum number of characters that VAXTPU displays on? a line of text. The possible widths for VT100 terminals with? advanced video option (AVO) are 80 and 132. The width for? VT100 terminals without AVO is 80. The possible widths for? VT200 terminals are 80 and 132. Default: set by operating system. 4 SET_SEARCH" SET SEARCH {GENERAL|EXACT}> If EXACT, then the case of the characters must be the same. SET SEARCH {BEGIN|END}> If END, tDhen the current position will become the character> following the located string; otherwise it will be the first, character of the located string (default). 4 SET_TAB SET TAB EDT number< SET TAB EDT is equivelent to EDT line mode SET TAB command- to set the tab value for tabbing functions. SET TAB EVERY number< The SET TAB EVERY will change the "size" of the tab key to be every "number" spaces. 4 SET_VERIFY SET VERIFY: The SET VERIFY command wil El turn on command verification% previously turned off by SET QUIET. 4 SET_WORD8 SET WORD {EDT|NON-ALPHANUMERIC|"user specified"}F The SET WORD command performs the same operation as the GOLD_X keyF and changes word delimiters to be whitespace (EDT), non-alphanumericB characters (NON-ALPHANUMERIC), or any user specified delimeters. 4 SET_WRAP SET WRAP numberB Determines the column (when margin support is disabled) at whichB text will be wrapped when in keypad modeF. It is also the rightB margin used by the FILL command. If a SET WRAP number is not5 issued, then the FILL command uses the window size.4 TPU TPU command( Executes the specified VAXTPU command. 2 Input_FileE The Schlumberger EDT Emulator (APLTPU) 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:. G$ 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 confirm 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: H $ TPU *.COM/CONFIRM@ Edit file SYS$SYSDEVICE:[USER]BINREAD.COM;4 [Y/N/Q]?@ 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 I +----------+ +----------+D The GOLD_O key toggles between insert and overstrike modes! for the current buffer.2 LearnF The Schlumberger EDT Emulator can "learn" a function. ThisF is similar to the define key feature of EDT. A learn sequenceF is started by using the CTRL/K key. You will be prompted forF a key to define. After you hit the key to be defined, all ofF the keystrokes you enter will be remembered u Jnitl a CTRL/R isF entered. The next time that you use the newly defined key,F the keystrokes for the key will be performed again. Note thatF if the definition includes any keys which 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 | K | | |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 Margins6 +----------+ +----------+6 | | | |6 L | GOLD | + | F |6 | | | |6 +----------+ +----------+I The GOLD_F key toggles margin support ON/OFF. If margin supportI is enabled, then the space, tab, return, and fill keys will causeI text to be formatted within the margins specified by the GOLD_<6 and GOLD_> keys (columns 1 and 75 by default). 2 Messages6 +----------+ M +----------+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 Ruler6 +----------+ +----------+6 N | | | |6 | GOLD | + | R |6 | | | |6 +----------+ +----------+C The GOLD_R key will display a ruler in the message area.2 Save/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. O2 Selected_Substitution6 +----------+ +----------+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 last GOLD_J inv Pocation as the defaults.2 Space_Tab_Conversion6 +----------+ +----------+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 Q. The default is S to convert spaces to tabs. 2 TAB_stops6 +----------+ +----------+6 | | | |6 | GOLD | + | TAB |6 | | | |6 +----------+ +----------+G The GOLD_TAB key prompts for a new spacing between tab stops.G If a spacing of 0 is specified, the TAB key reverts to normal ED RT TAB functionality.2 Translate_CTRL_Chars6 +----------+ +----------+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:D 1) DISPLAY_ONE will display the hex, deci Smal, and octalD 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 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 bufTfer will be changed., The default option is DISPLAY_ONE. 2 Trim_Buffer6 +----------+ +----------+6 | | | |6 | GOLD | + | E |6 | | | |6 +----------+ +----------+E The GOLD_E key will trim spaces and tabs from every line in the current buffer.2 Upper_Lower_Case6 U +----------+ +----------+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 V case. 2 Version6 +----------+ +----------+6 | | | |6 | GOLD | + | V |6 | | | |6 +----------+ +----------+F The current version of VAXTPU and of the Schlumberger Extended8 EDT Emulator is displayed using the GOLD V keys. 2 WindowsG The Schlumberger Extended EDT Emulator allows editting Win eitherG 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 buffer. 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/ X 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 +----------+ +----------+G The definition of a word Y can be toggled between whitespace,G non-alphanumeric characters, and if defined, a user specifiedG word definition. For information on user specified wordG definitions, see help on Init_files. The default setting is7 for words to be defined as non-alphanumerics.ww`)?˞1 EDT_EMULATOR; The EDT Keypad Emulator is an interactive text editor that= demonstrates the versatility and extensibility of the VAXTPUA programming language. Z This editor emulates the keypad functions= and some of the line mode commands of the EDT Version 3 textB editor. The purpose of the EDT Keypad Emulator is to provide youB with a familiar editing interface. It is hoped that you will use@ this editor as you have used EDT, but then go on to enhance the< editor with the further powerful capabilities of the VAXTPU language.2 HELPA To use help from the CTRL/Z, '*' prompt, type HELP followed by aC line_mode_command. If the cursor is positi[oned after the 'Topic?' prompt then type:= EDT - to get a list of EDT_EMULATOR topics< EDT LINE - to get a list of line mode commands9 EDT KEY - to get a list of keypad commandsA EDT VAXTPU_EQU - to get help on VAXTPU syntax for missing+ line mode commands2 KEYPAD_FUNCTIONS; One major difference between EDT and the VAXTPU EDT KeypadB Emulator is the use of GOLD Keypad 7 (PF1 and KP7). This command>\ places you into VAXTPU command line mode. Here you can enter@ VAXTPU commands or programs. To use the emulated subset of EDTA line mode commands you must use CTRL/Z and enter the commands at the asterisk (*) prompt. 3 ADVANCE Keypad 4B Sets the editing direction to forward; that is, toward the bottom of the buffer.3 APPEND Keypad 9@ Deletes the select range from the current buffer; appends it to9 the PASTE_BUFFER, just after the present contents of the PASTE_BUFFE!]R. 3 BACKSPACE CTRL/H= Moves the cursor to the beginning of the current line or the3 previous line, depending on the editing direction.3 BACKUP Keypad 5B Sets the editing direction to reverse; that is, toward the top of the buffer.3 BOTTOM GOLD Keypad 43 Moves the cursor to the end of the current buffer.3 CHAR Keypad 39 Moves the cursor one character in the current direction. 3 CHNGCASE GOLD Keypad 1@ Changes the case of all the letters i^n the select range, or the case of the current letter. 3 COMMAND GOLD Keypad 7: Enables you to enter one or a sequence of VAXTPU built-in? procedures or user-written procedures for execution. Type the9 procedure name in response to the 'TPU Command:' prompt.3 CTRL_A CTRL/A (Compute Tab Level)A Resets the tab indentation level to the current cursor position,= if that position is a multiple of the current SET TAB value.3 CTRL_C CTRL/C; Aborts the current VAXTPU o_peration. CTRL/C is useful for= stopping searches and the reading and writing of files. You? should exit from the editor after using CTRL/C and start a newB session for any further edits. It may not be possible to recover" text changes made after a CTRL/C.3 CTRL_D CTRL/D (Decrease Tab Level), Reduces the current tab level count by one.3 CTRL_E CTRL/E (Increase Tab Level). Increases the current tab level count by one.3 CTRL_F CTRL/FC Erases the window that displays` HELP or SHOW text, and returns the cursor to MAIN_WINDOW.3 CTRL_H CTRL/H BACKSPACE? Moves the cursor to the beginning of the current line. If the@ cursor is already at the beginning of the line, entering CTRL/H8 moves the cursor to the beginning of the previous line.3 CTRL_I CTRL/I TABA Moves the text that is to the right of the cursor (including the@ cursor character) to the right to the nearest preset VAXTPU tab stop.3 CTRL_J CTRL/J LINEFEED; Daeletes characters from the current cursor position to theB beginning of the word that the cursor is in. If the cursor is at7 the beginning of a word, the previous word is deleted.3 CTRL_K CTRL/K+ Prompts for the VAXTPU define key command.3 CTRL_L CTRL/L- Inserts a form feed character into the text.3 CTRL_M CTRL/M RETURNA Causes a new line to be inserted at the current cursor position.3 The cursor moves to the beginning of the new line.3 CTRL_R CTRL/R b(Refresh Screen) Refreshes the screen.3 CTRL_T CTRL/T (Tab Adjust)@ Indents each line in the select range. Note that this key will> only work if you have used the DCL command 'SET NOCONTROL=T'.3 CTRL_U% CTRL/U (Delete to Beginning of Line)B Deletes text from the current cursor position to the beginning of@ the line. The deleted text replaces the contents of the DELETE LINE buffer.3 CTRL_W CTRL/W (Refresh Screen) Refreshes the screen.3 CTRL_Y CTRL/YA Abocrts the current editing session. The current edits are savedA in a journal file. If you pressed this key sequence by accident@ you can resume your editing session by typing "CONTINUE" at the DCL prompt.3 CTRL_Z CTRL/Z (Exit to Line Mode)@ Shifts from keypad mode to the EDT Keypad Emulator command lineA mode. Places the cursor at the EDT Keypad Emulator command line mode prompt (*).3 CUT Keypad 6A Deletes the select range and places it in the PASTE_BUFFER. The< pdrevious contents of the PASTE_BUFFER, if any, are deleted.3 DEL_C DEL C (delete character) Keypad COMMA- Deletes the character that the cursor is on. 3 DEL_EOL DEL EOL (delete to end of line) Gold Keypad 2@ Deletes text from the current cursor position to the end of the, line. Does not delete the line terminator.3 DELETE& DELETE key on VT100, provides information on keypad editing and VAXTPU features in; general. Request information after the "Topic: " prompt. 3 LEFT_ARROW, Moves the cursor one character to the left.3 LINE Keypad 0B Moves the cursor to the beginning of the next line in the current editing direction. 3 LINEFEED CTRL/J; Deletes characters from the current cursor position to theB beginning of the word that ithe cursor is in. If the cursor is at7 the beginning of a word, the previous word is deleted. 3 OPEN_LINE Gold Keypad 0A Causes a new line to be inserted at the current cursor position. The cursor does not move.3 PAGE Keypad 7B Moves the cursor to the next EDT Keypad Emulator page boundary in the current direction.3 PASTE Gold Keypad 6A Inserts the contents of the PASTE_BUFFER just before the cursor. 3 REPLACE Gold Keypad 9@ Deletes the selected jrange and replaces it with the contents of the PASTE_BUFFER.3 RESET Gold Keypad PERIODA Cancels the select range and sets the current buffer's direction* to forward. Also clears the PROMPT_AREA.3 RETURN@ Inserts a line terminator in the text. The cursor moves to the beginning of the new line. 3 RIGHT_ARROW- Moves the cursor one character to the right.3 SECT Keypad 84 Moves the cursor 16 lines in the current direction.3 SELECT Keypad PERIODB Mkarks one end of a select range. When you move the cursor again,= the characters that the cursor passes over become the select range. 3 SHIFT_LEFT Gold left arrowB Shifts the screen image of the MAIN_WINDOW 8 columns to the left. Has no effect on the text. 3 SHIFT_RIGHT Gold right arrowB Shifts the screen image of the MAIN_WINDOW 8 columns to the rightA if the text has already been shifted to the left. Has no effect on the text. 3 SPECINS Gold Keypad 3> Alllows you to insert any character from the DEC Multinational> Character Set into your text by first entering GOLD, then the> decimal equivalent value for that character, followed by GOLD SPECINS.3 SUBS (substitute) Gold Keypad ENTERB Replaces the next occurrence of the current search string in your, text with the contents of the PASTE_BUFFER.3 TAB CTRL/IA Moves the text that is to the right of the cursor (including the? cursor character) to the right to the nearest premset tab stop.3 TOP Gold Keypad 59 Moves the cursor to the beginning of the current buffer.3 UND_C UND C (undelete character) Gold Keypad COMMAC Inserts the contents of the delete character buffer to the left of the cursor.3 UND_L UND L (undelete line) Gold Keypad PF4B Inserts the contents of the delete line buffer to the left of the cursor.3 UND_W UND W (undelete word) Gold Keypad MINUSB Inserts the contents of the delete word buffer to then left of the cursor. 3 UP_ARROW> Moves the cursor up to the position on the previous line that, corresponds to the current cursor position. 3 VAXTPU_HELP Gold Keypad PF2> Provides information on keypad editing and VAXTPU features in; general. Request information after the "Topic: " prompt.3 WORD Keypad 1B Moves the cursor to the beginning of the next word in the current direction.3 No help available? No help is available on that key. The key that you pre ossed is@ either not assigned to a command or there has been no help text included for that key.2 LINE_MODE_COMMANDSA The EDT Keypad Emulator provided with VAXTPU emulates only a few? of the line mode commands offered by EDT. To enter one of theC line mode commands, press CTRL/Z. The asterisk prompt (*) appears? at the lower left margin of your screen. Enter the EDT KeypadB Emulator line mode command followed by RETURN. To reenter keypad> mode, type the letter C, for Change, fopllowed by RETURN. The3 cursor returns to its former location in the text.> You can extend or enhance the EDT Keypad Emulator's line mode@ commands by using the VAXTPU programming language. See the VAXA Text Processing Utility Reference Manual for more information on> customizing the VAXTPU EDT Keypad Emulator editing interface.3 CHANGE C? Shifts the EDT Keypad Emulator to keypad mode, and returns the+ cursor to its former location in the text.3 EXIT EXIT [/SAVE] [file-spqec]; Ends the EDT Keypad Emulator session, saving a copy of the& MAIN_BUFFER text in an external file.4 /SAVEB The /SAVE command line qualifier tells the EDT Keypad Emulator to@ save the journal file. Whenever you use /SAVE, you must type aB slash before it to signal the emulator that the following lettersC refer to a qualifier, and not a command word or string. The /SAVE? qualifier must be placed before the file name in this command. 3 INCLUDE INCLUDE file-spec [=buffer]r? Copies the specified file into the current EDT Keypad EmulatorA session, at the current cursor position. If you supply a buffer2 specification, it becomes the new current buffer.3 QUIT QUIT [/SAVE]@ Ends your editing session without saving a copy of your editing= work. The EDT Keypad Emulator prompts you with the message:A 'Buffer modifications will not be saved, continue quitting (Y or@ N)?' only if you modified the text. You respond with a Y or N.4 /SAVEB The /SAVE c sommand line qualifier tells the EDT Keypad Emulator to@ save the journal file. Whenever you use /SAVE, you must type aB slash before it to signal the emulator that the following lettersC refer to a qualifier, and not a command word or string. The /SAVE3 qualifier is the last element in the command line. 3 SUBSTITUTE$ SUB /old_string/new_string/ [WHOLE]@ Replaces old_string with new_string. If you supply no locationA specifiers, the substitution takes place at the first occurrenceA otf "old_string" on the current line. If you specify WHOLE, then8 the substitution is made throughout the current buffer.3 WRITE WRITE file-spec [select|whole]B Puts a copy of the entire current buffer or select range into the< specified file. Unlike EXIT, this command does not end theA current editing session. The SELECT option allows you to copy a@ selected region of text into the specified file. When finished- copying the text, the select range is reset.3 SET: SET comumands allow you to customize your editing session.4 CURSOR SET CURSOR top:bottomA Controls scrolling of the screen relative to the distance of theB cursor from the screen top and the screen bottom. Values for theC top and bottom can range from 0 to 21. Default: SET CURSOR 7:14.4 SCREEN SET SCREEN width@ Sets the maximum number of characters that VAXTPU displays on a< line of text. The possible widths for VT100 terminals withA advanced video option (AVO) are 80 and 132. vThe width for VT100< terminals without AVO is 80. The possible widths for VT200> terminals are 80 and 132. Default: set by operating system.4 SEARCH SET SEARCH {GENERAL|EXACT}< If EXACT, then the case of the characters must be the same. SET SEARCH {BEGIN|END}< If END, then the current position will become the character= following the located string; otherwise it will be the first+ character of the located string (default).4 TAB SET TAB number2 Sets the tab value fowr various tabbing functions.4 WRAP SET WRAP numberB Determines after which character VAXTPU wraps text being inserted> in keypad mode. It is also the right margin used in the FILL? command. If a SET WRAP number is not indicated, then the FILL: command uses the current window size as the right margin.3 SHOW5 SHOW commands tell which SET commands are in effect.4 BUFFERC Lists all buffers currently in use during your EDT Keypad Emulator@ session. Also lists the number oxf lines in each buffer and the< file name. An equal sign (=) indicates the current buffer.4 CURSOR@ Shows where scrolling of the screen relative to the distance of= the cursor from the screen top and the screen bottom occurs.@ Values for the top and bottom can range from 0 to 21. Default: SET CURSOR 7:14.4 SCREENA Shows the maximum number of characters that VAXTPU displays on a< line of text. The possible widths for VT100 terminals withA advanced video option (AVO) are 80 anyd 132. The width for VT100< terminals without AVO is 80. The possible widths for VT200> terminals are 80 and 132. Default: set by operating system.4 SEARCHC Shows how VAXTPU performs searches. Default: SET SEARCH GENERAL, SET SEARCH BEGIN. 4 VERSIONC Displays the current VAXTPU version number and the current version@ number of EDTSECINI.TPU (the EDT Keypad Emulator section file).4 WRAP@ Shows after which character VAXTPU wraps text being inserted in; keypad mode. Izt is also the right margin used in the FILL? command. If a SET WRAP number is not indicated, then the fill: command uses the current window size as the right margin.3 Command_line_specifiers4 bufferA The name of a VAXTPU buffer. Use the equal sign (=) immediatelyA before the buffer name (for example, =MAIN). If the buffer doesA not exist, VAXTPU creates one. The EDT Keypad Emulator moves to; the named buffer, except in the case of the WRITE command.4 file-specification {: The specification for an external file. It can include a@ directory specification. With INCLUDE, it tells the EDT KeypadB Emulator which file to copy into your editing session. With EXITA and WRITE, it tells the EDT Keypad Emulator which file to createB to hold text from your editing session. If you include directoryB information, the directory must exist and you must have access to it.4 select? A selected region of text. The selected text is copied into a- file that is specif|ied in the WRITE command.4 wholeA The entire buffer is used. With WRITE, it tells VAXTPU to writeB out the entire buffer (default). With the SUBSTITUTE command, it* tells VAXTPU to search the entire buffer.3 Missing_commandsA Although the EDT Keypad Emulator provides only a few of the most< frequently used line mode commands, missing commands can beC executed by using VAXTPU built-ins from the Gold KP7 command line.A To get a list of the VAXTPU syntax for the missing EDT line} mode; commands, ask for help on EDT_EMULATOR VAXTPU_EQUIVALENTS.2 VAXTPU_EQUIVALENTSA The following table gives a quick view of how to enter VAXTPUB procedure names after the "TPU Command:" prompt to emulate EDT@ line mode commands if you are using the EDT Keypad Emulator.& EDT VAXTPU& --- ------3 CLEAR temp DELETE(temp_buffer)6 COPY =main TO =paste POSITION(paste_buffer)6 ~ COPY_TEXT(main_buffer)6 DEFINE KEY DEFINE_KEY("READ_FILE(< control N as READ_LINE('File name:'))"/ "EXT INCLUDE ?'File name: '." ,CTRL_N_KEY)2 DELETE =main ERASE(main_buffer)$ EXIT EXITG FILL =main FILL(main_buffer,' ',r_margin,l_margin)I FIND =my_buffer or buffer_name := CREATE_BUFFER('my_buffer')< =my_buffer MAP(main_window,buffer_name)4 INCLUDE foo.bar READ_FILE('foo.bar')= INSERT;character_string COPY_TEXT('character_string')$ QUIT QUIT: SET SCREEN 132 SET(WIDTH,main_window,132)G SET CURSOR 7:14 SET (SCROLLING,current_window,ON,6,7,0)7 SHL SHIFT(current_window,8)8 SHR SHIFT(current_window,-8), SHOW SCREEN SHOW(screen)-  SHOW(windows)- SHOW version SHOW(summary)- SHOW buffer SHOW(buffers)A WRITE foo.bar WRITE_FILE(main_buffer,'foo.bar')ww