this is the updated distribution file for EDTplus TPU enhancements several files are included here, originally submitted in 86. EDT_plus_tpu.key --- the keypad layout and key summary file EDTplus.notes* --- release notes for different add on features EDTmemory.com --- a command file for invoking EDTplus EDTplus.tpu --- the source file (this file is in USR:EDT_PLUS_TPU.KEY ) EDTmemory like key definitions for Text Processing Utility invoked by EDIT/TPU/SEC=USR:EDTPLUS.GBL (or @USR:EDTMEMORY) keptTPU is invoked by @usr:kepttpu filename +-------+--------+---------+-------+ *gold a - show ASCII table | gold | help | fndnext | del l | *gold b - goto buffer | | | find | und l | *gold c - change the current window to edit another file +-------+--------+---------+-------+ *gold d - do DCL command, output of command will go to DCL buffer | page | sect | PICK * | del w | gold e - exit editor, and save all modifed buffers, except read-only buffers |command| fill | PUT * | und w | *gold f - split screen and put another file in current window +-------+--------+---------+-------+ *gold g - grow window height by one line |forward| reverse| cut | del c | *gold h - help on key definitions |bottom | top | paste | und c | gold i - insert a file at current position +-------+--------+---------+-------+ *gold l - list buffers | word | eol | char | enter | gold m - goto buffer called MAIN, for compatibility with EDT |chgcase|del eol | specins | | *gold n - next window +-------+--------+---------+ | *gold o - make this the only window | line | select | | *gold p - previous window | open line | reset | SUBS | gold q - quit, reconfirm if there are modified buffers +----------------+---------+-------+ gold r - replace a string with another, with confirm *gold s - shrink window height by one line gold t - transpose current and previous character *gold u - update all modified files to disk (except readonly files) * these functions are different from *gold v - split screen and put another file in current window in READONLY mode the default settings *gold w - write current buffer out to file *gold x - execute keyboard learn sequence (keyboard macro) *gold z - attach to parent process, should be preceded by Gold-U 3 (on keypad) - insert ASCII character in decimal 9 (on keypad) - Pick range without erasing it, placing it in PICK buffer gold 9 (on keypad) - insert the PICK buffer at current position gold UP - goto top of buffer or make current line top line of window *gold DOWN - goto bottom line of buffer or make current line bottom line of window gold RIGHT - shift window to the left 8 columns gold LEFT - shift window to the right 8 columns *gold + - split window in half *gold - - delete current window *gold ? - display current row and column *gold TAB - toggle screen width between 80 and 132 columns *gold # - goto line number specified *gold = - save current cursor position *gold ^ - return to saved current cursor position *gold [ - start remembering keyboard learn sequence (keyboard macro) *gold ] - end remembering keyboard learn sequence (keyboard macro) *gold . - mark corner of rectangle (use keyboard period, not keypad) *gold < - extract rectangle of text *gold > - insert rectangle of text here *gold ( - copy rectangle of text *gold ) - overlay rectangle of text *ctrl a - toggle between insert and overstrike mode *ctrl n - display what line number at in current file ctrl r - refresh screen *ctrl v - quote (insert) the next character *ctrl w - refresh screen, erase message buffer gold & - set tab stops for current buffer, simplified version of SET(TAB_STOPS...) Note - lines marked with * are new to TPU EDTplus interface ---- New functions not bond to a key redefine_tab - redefines the tab key to insert as many spaces as necessary as set by the settab function untab - replaces tabs with as many spaces as necessary ---- keys grouped by function (files) *gold c - change the current window to edit another file *gold f - split screen and put another file in current window gold i - insert a file at current position *gold v - split screen and put another file in current window in READONLY mode *gold u - update all modified files to disk *gold w - write current buffer out to file, ask for file name if necessary (buffers) *gold b - goto buffer *gold l - list buffers gold m - goto buffer called MAIN, for compatibility with EDT (windows) *gold g - grow window height by one line *gold s - shrink window height by one line *gold n - next window *gold p - previous window *gold o - make this the only window gold UP - goto top of buffer or make current line top line of window *gold DOWN - goto bottom line of buffer or make current line bottom line of window gold RIGHT - shift window to the left 8 columns gold LEFT - shift window to the right 8 columns *gold + - split window in half *gold - - delete current window *gold TAB - toggle screen width between 80 and 132 columns (editing) *ctrl a - toggle between insert and overstrike mode gold r - replace a string with another, with confirm gold t - transpose current and previous character *ctrl v - quote (insert) the next character 3 (on keypad) - insert ASCII character in decimal 9 (on keypad) - Pick range without erasing it, placing it in PICK buffer gold 9 (on keypad) - insert the PICK buffer at current position *gold . - mark corner of rectangle (use keyboard period, not keypad) *gold < - extract rectangle of text *gold > - insert rectangle of text here *gold ( - copy rectangle of text *gold ) - overlay rectangle of text (misc) *gold d - do DCL command, output of command will goto DCL buffer gold q - quit, reconfirm if there are modified buffers gold e - exit editor, and save all modifed buffers, except read-only buffers *gold z - attach to parent process (only if KeptTPU is used) *gold h - help on key definitions *gold a - show ASCII table *gold ? - display current row and column *gold & - set tab stops, can set either interval (if only one number is entered) or actual tab stop setting. *ctrl n - display what line # at in current file *gold # - goto line number specified *gold = - save current cursor position *gold ^ - return to saved current cursor position *gold [ - start remembering keyboard learn sequence (keyboard macro) *gold ] - end remembering keyboard learn sequence (keyboard macro) *gold x - execute keyboard learn sequence (keyboard macro) ctrl r - refresh screen *ctrl w - refresh screen, erase message buffer ------------- end of edt_plus_tpu.key -------------------------- ------------- beginning of edtplus.notes* files ---------------- 16-May-1986 Release notes for EDTplus The option to perform a rectangular cut and paste has been added to TPU. A rectangular cut is not restricted to whole lines, it can start and end at any column in the text as well as start and end at any line in the text. The functions availible include: rectangular cut (remove designated rectangle of text and save result), rectangular copy (copy designated text without removing it), insert previously saved rectangle, and overlay rectangle (place saved rectangle over the text currently there). The following keys are used to perform the different functions: mark a corner - GOLD "." insert rectangle here - GOLD ">" extract a rectangle - GOLD "<" overlay rectangle - GOLD ")" copy a rectangle - GOLD "(" Extracting a rectangle: (1) position cursor at one of the corners of the rectangle and mark the corner by hitting GOLD "." (mark corner) (2) position the cursor at the corner diagonally opposite the previously marked corner and hit GOLD "<". (extract rectangle) Copying a rectangle: (1) position cursor at one of the corners of the rectangle and mark the corner by hitting GOLD "." (mark corner) (2) position the cursor at the corner diagonally opposite the previously marked corner and hit GOLD "(". (copy rectangle) Inserting a rectangle: (1) position the cursor at the point where you want the UPPER LEFT corner of the inserted rectangle to be and hit GOLD ">" (insert rectangle) Overlaying a rectangle: (1) position the cursor at the point where you want the UPPER LEFT corner of the overlayed rectangle to be and hit GOLD ")" (overlay rectangle) NOTES: (1) this function will NOT work if there are imbedded tabs in the lines of text which will be affected - if there are tabs in the text, a message will be printed out and the function requested will not be performed. (2) both copy and extract save the text in the same buffer, so every time a copy or extract is performed any previous rectangle stored in the save buffer (called "EXTRACT") is replaced. (3) whenever an extract or copy of a rectangle is made, all of the lines in the rectangle are made the same length by padding any shorter lines with spaces so that all of the lines extracted or copied are the width of the rectangle. the reasoning behind this is so that an inserted rectangle is just that, a rectangle, not lines of differing lengths to mess up your table. (4) if you try to insert or overlay a rectangle that will go beyond the end of the file, extra lines will be added to the end so that the rectangle will fit. (5) if you wish, you may edit the rectangle stored in EXTRACT before using it - just visit the buffer "EXTRACT" and perform the desired changes (do NOT perform any rectangular cut and paste functions) making sure that the text stays a rectangle (i.e. all lines the same length). (6) Address any comments/questions/problems to Fred Kamgar x66551 6-Feb-1987 Release notes for EDTplus Some new enhancements to EDTplus (TPU) have been made, they are: 1. the scrolling for less-than-full-size windows now works better (keypad 8) either the current last line or first line will stay on the screen when you scroll depending on the direction. 2. a new feature allows you to redefine the TAB key to insert spaces. since this is probably not something everyone wants, it is up to you to redefine the tab key by either, a. use Gold-7 then enter REDEFINE_TAB interactively, or b. create a TPU initialization file, say in SYS$LOGIN:TPUINI.TPU containing the line REDEFINE_TAB; and invoking EDTplus using EDTP/command=Sys$login:tpuini.tpu or if you want to use it all the time, then define a logical name in your login.com for TPUINI to point to Sys$login:tpuini.tpu then you may just use EDTP as before (TPU checks to see if the logical name TPUINI is defined and if so, the commands in TPUINI are executed before starting the editing session) 3. the position of tab stops can be either the default, every 8 characters, or you can set it by using Gold-& then enter either one number for interval or a list of numbers for actual tab stops. Note that the tab stops are set only for the current buffer, so you must repeat this for new buffers brought in later or they would have the default 8 characters interval. 4. a new function which replaces tabs with as many spaces as necessary as set by the SETTABS command Gold-& described above. this function is invoked by using Gold-7 and type UNTAB. Then the current buffer will be un-tabbed. This is unrelated to (1) above. So it is not necessary to redefine_tab before doing UNTAB. by the way, if you did not already know, you may define the logical name TPUSECINI to point to USR:EDTPLUS, and define the logical name MAIL$EDIT to be CALLABLE_TPU to use Edtplus in MAIL. $define/job mail$edit Callable_tpu $define/job tpusecini usr:edtplus $define/job tpuini sys$login:tpuini.tpu