home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / e / etde19.zip / ETDE.DOC < prev    next >
Text File  |  1992-06-05  |  43KB  |  1,086 lines

  1.  
  2.                                       ETDE
  3.  
  4.  
  5.                  the Esperanto edition of the Thomson-Davis Editor
  6.                              version 1.9    june 1992
  7.                                   Frank Davis
  8.  
  9.  
  10.  
  11. Adapted for Esperanto by Pierre Jelenc     1992-6-1
  12.  
  13.        Internet:     pcj1@cunixf.cc.columbia.edu
  14.        Compuserve:   71022,1726
  15.  
  16. Description:
  17.  
  18.        (Note: this version of TDE for Esperanto is called 1.9. It has
  19.        the same functionality as version 2.0 of the English release.
  20.        The reason for the different number is that it does not yet have
  21.        prompts and messages in Esperanto.  ETDE 2.0 will be the fully
  22.        translated program) [P.J.]
  23.  
  24.        ETDE is a simple, public domain, multi-file/multi-window text
  25.        editor.  It is suitable for editing batch files, text files, and
  26.        various computer language source code files.  The only limit on
  27.        the number and size of files that ETDE can handle is the amount
  28.        of conventional memory.  Likewise, the only limit on the number
  29.        of windows is the amount of conventional memory.  There is no
  30.        preset maximum number of files or windows that may be open at any
  31.        one time.
  32.  
  33.  
  34. Usage:
  35.  
  36.   At the command line type:
  37.  
  38.         ETDE [file name(s)]
  39.  
  40.   For example:
  41.  
  42.         ETDE
  43.         ETDE foo.bar
  44.         ETDE c:\c60\tde\main.c
  45.         ETDE *.c  \qc25\tde\*.h
  46.         ETDE foo.bar  foobar  f*  foo.*  f??b??
  47.  
  48.        If you don't enter a file name at the command line, ETDE will
  49.        prompt you for a file name.  If the file does not exist, ETDE
  50.        starts out with an empty file with the file name you just
  51.        entered.
  52.  
  53.        ETDE will handle files as large 465k.  If you try to edit a file
  54.        larger than 465k, only the first portion of the file is loaded
  55.        into ETDE.  With DOS 5.0, you can edit files as large as 515k if
  56.        you load DOS high.  ETDE will handle lines as long as 1040
  57.        characters.  Only the first 1040 characters of long lines are
  58.        handled - long lines are not truncated.
  59.  
  60.  
  61. What's new:
  62.  
  63.                    New features in ETDE 1.9 include :
  64.  
  65.          DateTimeStamp                           = ^A
  66.          ToggleSmartTabs                         = @Tab
  67.          Recursive macros
  68.          Support for Control-Break to stop recursive macros,
  69.                 sorting, search/replacing, and printing
  70.          Dynamic left margin for writers
  71.          Support for lines as long as 1040 characters
  72.          Improved undo buffer management, which has room for
  73.                 the last 10 by 1040 lines or 130 by 80 lines
  74.          Gathered all prompts into one header file to aid
  75.                 conversions to other languages
  76.          Configuration file for function keys
  77.  
  78.        The first three new features in ETDE should be self-explanatory.
  79.        They are common in most shareware and commercial editors.  The
  80.        next few features added to ETDE are mostly for user convenience.
  81.        They should also be fairly self-explanatory.  With the addition
  82.        of a configuration file, ETDE has almost all of the major
  83.        features on my to do list, so I'll call this version 2.0.  This
  84.        implies, for the time being, that there are no more major
  85.        features planned for ETDE.  So, for the next few months, please
  86.        hold off sending in suggestions or improvements; however,
  87.        inconvenient feature reports are always welcomed.
  88.  
  89.        If by accident you forget to put a diskette in a floppy drive and
  90.        try to save a file on that diskette or if you forget to turn on
  91.        the printer before printing a block or file, a critical error
  92.        occurs.  That kind of error is the infamous Abort, Retry, Ignore
  93.        thing.  A routine was written to give some information on the
  94.        kind and the location of those errors when they occur.  The ETDE
  95.        critical error handler gives you all kinds of info and then
  96.        prompts you for a response.  The timeout for critical errors
  97.        varies quite a bit.  Some timeouts may take a couple of minutes.
  98.  
  99.        When I "work" at the USDA, I often need to create or massage
  100.        formatted data files.  Also, a lot of engineers and scientists at
  101.        the USDA program in FORTRAN and the source code needs to be in a
  102.        certain format.  When working with those types of files, it is
  103.        really useful to have a ruler that explicitly shows which column
  104.        the cursor is in.  The new ruler in ETDE shows margins, column
  105.        numbers, and a column pointer.
  106.  
  107.        Another useful feature is a simple macro recording and play-back.
  108.        To use it, press the Record key, then a key to which the macro
  109.        will be assigned. Then press the keys to be recorded. Finish with
  110.        the macro Record key again. Pressing the key to which a macro has
  111.        been assigned will replay the assigned macro as though the keys
  112.        were being entered at the keyboard. Any unused key may be
  113.        assigned a macro.
  114.  
  115.        Macros can be used to enter characters that do not appear on the
  116.        keyboard, such as the Esperanto accented letters. We use the ALT
  117.        and SHIFT-ALT combinations for this purpose.
  118.  
  119.  
  120.  
  121.                           <CR><LF> or <LF> at eol
  122.  
  123.        The functions that write to files were expanded to allow you to
  124.        choose whether you want to write a <CR><LF> or just a <LF> at the
  125.        end of line.  Some programs look for just the <LF> at the eol
  126.        while others want the <CR><LF> pair at the eol.  ETDE has no
  127.        trouble reading either style but allows you to specify the output
  128.        style.  You may change the style by pressing the ToggleCRLF
  129.        function key or by using tdecfg to set the default.  Here's a
  130.        little diagram that may help explain the new functions better
  131.        than I can write.
  132.  
  133.  
  134.                                                             Output
  135.         Input        ETDE's internal representation          Toggle
  136.  
  137.          files       ┌────────────────────────────┐          files
  138.          with        │ ETDE will read files with  │          with
  139.        <CR><LF> ====>│ lines that terminate in    │ =====> <CR><LF>
  140.         at eol       │ either <CR><LF> or <LF>.   │         at eol
  141.                      │                            │
  142.                      │                            │
  143.          files       │ Internally, all lines end  │          files
  144.          with        │ with the <LF> character.   │          with
  145.          <LF>  =====>│                            │ =====>   <LF>
  146.         at eol       └────────────────────────────┘         at eol
  147.  
  148.  
  149.  
  150.  
  151. Editor fields and information lines:
  152.  
  153.  
  154.                                Sample ETDE screen
  155.  
  156.  
  157.          ┌─── File number - each window opened to same file has same number
  158.          │ ┌─── Window letter
  159.          │ │
  160.          │ │    ┌─── Dirty file indicater - asterisk
  161.          │ │    │ ┌─── File name
  162.          │ │    │ │                    ┌──── File attributes
  163.          │ │    │ │                    │    ┌──── Total number of lines in file
  164.          │ │    │ │                    │    │                  ┌─── line:column
  165.                                                          
  166.       ┌──────────────────────────────────────────────────────────────┐
  167.       │    The first line on the screen contains file information    │
  168.       ├──────────────────────────────────────────────────────────────┤
  169.       │........1.....   Optional ruler line    ......5........6..│
  170.       ├──────────────────────────────────────────────────────────────┤
  171.       │                                                              │
  172.       │                                                              │
  173.       │                          File area                           │
  174.       │                                                              │
  175.       │                                                              │
  176.       │                                                              │
  177.       ├──────────────────────────────────────────────────────────────┤
  178.       │                 Editor modes and information                 │
  179.       └──────────────────────────────────────────────────────────────┘
  180.                                                          Insert
  181.         │   │    │    │    │    │    │     │     │     │    │     └─ Overwrite
  182.         │   │    │    │    │    │    │     │     │     │    └───── ^Z at eof?
  183.         │   │    │    │    │    │    │     │     │     └───── trim trailing
  184.         │   │    │    │    │    │    │     │     │     space at eol, T = TRUE
  185.         │   │    │    │    │    │    │     │     │
  186.         │   │    │    │    │    │    │     │     └───── CRLF or LF at eol?
  187.         │   │    │    │    │    │    │     └───── word wrap indicator
  188.         │   │    │    │    │    │    └───── Sync cursor in all windows?
  189.         │   │    │    │    │    └───── Ignore / Match search case?
  190.         │   │    │    │    └───── Indent mode?
  191.         │   │    │    └─────  Smart tab mode?
  192.         │   │    └───── Available memory for editing files
  193.         │   └───── Total number of windows, including hidden windows
  194.         └───── Total number of open files
  195.  
  196.  
  197.  
  198. Multiple keys:
  199.  
  200.        I use the following abbreviated key definitions throughout this
  201.        file:
  202.  
  203.                 ^ = Control       # = Shift       @ = Alt
  204.  
  205.        For example, ^F5 means press and hold the Control key and then
  206.        press F5 while holding down the Control key.  You will have two
  207.        keys depressed together at the same time.  The function assigned
  208.        to that key combination will be executed as soon as the second
  209.        key is pressed.  You may release the keys in any order you
  210.        choose.
  211.  
  212.  
  213. Cursor movement:
  214.  
  215.                             101 Keyboard overview
  216.  
  217.             Cursor keys                               Keypad keys
  218.         ┌─────┬─────┬─────┐                ┌───────┬───────┬───────┬───────┐
  219.         │ Ins │Home │PgUp │                │NumLock│Grey / │Grey * │Grey - │
  220.         ├─────┼─────┼─────┤                ├───────┼───────┼───────┼───────┤
  221.         │ Del │ End │PgDn │                │ Home  │  Up   │ Pg Up │ Grey  │
  222.         └─────┴─────┴─────┘                ├───────┼───────┼───────┤   +   │
  223.                                            │ Left  │Center │ Right │       │
  224.               ┌─────┐                      ├───────┼───────┼───────┼───────┤
  225.               │ Up  │                      │  End  │ Down  │ Pg Dn │ Grey  │
  226.         ┌─────┼─────┼─────┐                ├───────┴───────┼───────┤       │
  227.         │Left │Down │Right│                │     Ins       │  Del  │ Enter │
  228.         └─────┴─────┴─────┘                └───────────────┴───────┴───────┘
  229.  
  230.                                                           
  231.     If you like using these grey                   With Num Lock off,
  232.      cursor keys, these function               you can probably guess most
  233.       assignments are for you.                of these function assignments.
  234.  
  235.           Grey cursor keys                            Keypad keys
  236.  
  237.  Up     - move cursor up                    Home   - toggle col 1 & beg of line
  238.  Down   - move cursor down                 ^Home   - first line in window
  239.  Left   - move cursor left                  Pg Up  - page up
  240.  Right  - move cursor right                ^Pg Up  - goto first page in file
  241. ^Up     - scroll cursor up                  Center - move to center of window
  242. ^Down   - scroll cursor down               ^Center - line to center of window
  243. ^Left   - cursor to previous word           End    - last character in line
  244. ^Right  - cursor to next word              ^End    - last line in window
  245. @Up     - scroll text up                    Pg Dn  - page down
  246. @Down   - scroll text down                 ^Pg Dn  - goto last page in file
  247. @Left   - horizontal char left              Ins    - toggle insert mode
  248. @Right  - horizontal char right             Del    - delete character
  249. ^#Left  - horizontal page left             ^Del    - stream delete character
  250. ^#Right - horizontal page right             Grey - - scroll screen up
  251.  @Left  - horizontal char left              Grey + - scroll screen down
  252.  @Right - horizontal char right            ^Grey - - fixed scroll screen up
  253.                                            ^Grey + - fixed scroll screen down
  254.                                             Enter - Insert line and move down
  255.                                             #Enter - 1st char in next line
  256. Note:  The Alt+Cursor keys are not          ^Enter - column 1 in next line
  257. available on 83/84 key keyboards.    
  258. Pressing the Alt + a number key on   
  259. the keypad generates a character code
  260. and not a cursor movement command.   
  261. FYI, the Alt+keypad is the method for
  262. entering any ASCII or Extended ASCII 
  263. character into the text file.        
  264.                                      
  265.  
  266.  
  267. Function Keys:
  268.  
  269.        I tried to use some logical order when I assigned functions to
  270.        the function keys.   I use a 101 keyboard most of the time, so it
  271.        should be easy to see the logical function grouping with it.  The
  272.        function keys on a 101 keyboard are placed along the top of the
  273.        keyboard.  Functions are arranged as follows:
  274.  
  275.  
  276.                 F1              Help                              
  277.                 F2              Save files or change attributes   
  278.                 F3              Quit; Macros                      
  279.                 F4              Exit; load new files              
  280.                 F5/F6           Search and replace                
  281.                 F7/F8/F9        Windows                           
  282.                 F10/F11/F12     Margins and formatting
  283.  
  284.        Note: The key assignments in ETDE are quite different from those
  285.        of the English version. All the ALT and SHIFT-ALT combinations
  286.        have been reserved for non-English characters via macros.
  287.  
  288.    F1 = Instantaneous Help
  289.  
  290.  
  291. File Functions:
  292.  
  293.   #F2 = Save file
  294.  
  295.        Saves all changes made to file.  Existing file is overwritten by
  296.        the new file.  It does not prompt for a new file name -
  297.        automatically assumes you want to overwrite the old file.
  298.  
  299.     F2 = Save as
  300.  
  301.        If you don't want to overwrite the original file but you want to
  302.        save the contents of the current file, you may save the file
  303.        under a different file name.  This function prompts you for a
  304.        file name to save the changes (press escape to abort).
  305.  
  306.    @F2 = Set file attributes
  307.  
  308.        Change the attributes of a file.  Attributes are:  A = Archive, S
  309.        = System, H = Hidden, R = Read-Only.  You can change the
  310.        attributes of a file so that read-only files can be edited.  To
  311.        edit a read-only file:  1) edit the file, 2) change the file
  312.        attributes to archive, 3) save the changes made in the file, 4)
  313.        change the file attributes back to read-only.
  314.  
  315.    F3 = Quit file
  316.  
  317.        Abandons any changes made in the file and closes or kicks the
  318.        file out of the current window.  If you are editing multiple
  319.        files or have multiple windows, ETDE searches for any invisible
  320.        files to display in the current window.  If no invisible windows
  321.        are found, ETDE combines windows.  If this is the only file being
  322.        edited, F3 quits ETDE.  If you made any changes to the file, it
  323.        asks you if you want to abandon them.  You can create an
  324.        invisible window when you load in a file over the current file.
  325.        Nothing happens to the invisible file or window - you just can't
  326.        see it.
  327.  
  328.    F4 = File (save and quit)
  329.  
  330.        This function is a combination of Save and Quit (#F2 & F3 above).
  331.  
  332.    #F4 = Edit new file
  333.  
  334.        To bring another file into the editor, use this function.  It
  335.        loads the file into the current window and previous window
  336.        becomes invisible.  You can even load several copies of the same
  337.        file.  I like this because I often need to refer back to the
  338.        original unchanged file.  Each time you load a file, it is
  339.        treated as a different file.
  340.  
  341.    @F4 = Edit next file
  342.  
  343.        If you type mutliple file names or type wildcard characters on
  344.        the command line, press this key to bring in the next file or the
  345.        next matching file into the editor.  You may press this key at
  346.        any time.  When I use this feature, I usually split the screen
  347.        and load the next file into a window.  This feature is useful
  348.        when you need to look in several files for a piece of code or if
  349.        you know that you are going to edit several files at the same
  350.        time.
  351.  
  352.   ^F4 = Directory List
  353.  
  354.        List the contents of a directory or matching files.  At the
  355.        prompt, press enter to list all files in the current directory or
  356.        enter any valid subdirectory name, file name, or wild card
  357.        characters.  You don't have to put a *.* at the end of a
  358.        subdirectory name; the directory list function adds those wild
  359.        card characters to subdirectory names as a default.  A '\' is
  360.        added to the end of subdirectory names in the file list.  To list
  361.        the files in other directories, just move the cursor to the
  362.        desired subdirectory name and press enter.  When you see ..\ in
  363.        the directory list, the double periods represent the parent of
  364.        the current directory.  The .\ represents the current directory.
  365.        You may move up and down the directory tree by selecting the
  366.        parent or childrens of the current directory.
  367.  
  368.  
  369. Macros:
  370.  
  371.    @F3 = Macro record
  372.  
  373.        This key toggles macro record off and on.  A flashing "Recording"
  374.        is displayed in the lite bar, so it shouldn't be too difficult to
  375.        tell when record is on.  This function assigns a keystroke or a
  376.        series of keystrokes to an unused function key.
  377.  
  378.        There is room for 1024 keystrokes in the macro buffer.  There are
  379.        no restrictions on the length of a single macro.  If you want,
  380.        you may define one macro that contains 1024 keystrokes.  When
  381.        ETDE terminates, all macros definitions disappear.  Macro
  382.        definitions are temporary.  If you want to reuse macros that are
  383.        defined during an editing session, they need to be saved before
  384.        you exit ETDE.  Use the load macro command to bring in a
  385.        previously saved macro file.
  386.  
  387.        For those who want to permanently assign characters or macros to
  388.        unused function keys, create your favorite macros and save them
  389.        to disk.  Then, use tdecfg, option 5, to permanently save the
  390.        macro file in ETDE.  Your favorite macros will be available
  391.        anytime you use ETDE.
  392.  
  393.    ^F3 = Save macro file
  394.  
  395.        Saves all macro definitions to a file.  ETDE prompts for the
  396.        macro file name.
  397.  
  398.    #F3 = Load macro file
  399.  
  400.        Prompts for a search pattern or file name.  I can never remember
  401.        macro file or path names, so this function uses a file pick list.
  402.  
  403.    ^ESC = Clear macros
  404.  
  405.        Resets or clears all macros.
  406.  
  407.  
  408. Find and Search/Replace:
  409.  
  410.    @F7 = Toggle search case
  411.  
  412.        Most of the time I don't care about matching the case of the
  413.        search pattern.  The default in ETDE is to ignore search case.
  414.        If you want to consider the search case, press this key to toggle
  415.        the case flag.  The state of the flag is displayed, in English,
  416.        in the lite bar at the bottom of the screen.  You can toggle the
  417.        case of the search flag at any time, even after you define the
  418.        search pattern.
  419.  
  420.    #F5 = find forward
  421.  
  422.        To define the search pattern, use this function.  It prompts you
  423.        for the search pattern.  The pattern is defined (even across
  424.        files) until changed.
  425.  
  426.    #F6 = find backward
  427.  
  428.        Same as find forward except search backward in file.
  429.  
  430.    F5 = Repeat find forward
  431.  
  432.        Once the search pattern has been defined (Shift F5 or Shift F6),
  433.        you can press this key at any time in any file to find the next
  434.        occurrence of pattern.  I decided to use two sets of functions to
  435.        perform searches.  Once I found a pattern, I might do some
  436.        editing and then find the next occurrence.  I hate to define the
  437.        search pattern over and over or set the search direction over and
  438.        over.  This function does a wrap search - when it reaches the eof
  439.        it starts over at the beginning of the file.
  440.  
  441.    F6 = Repeat find backward
  442.  
  443.        Like repeat find forward, you can press this key at anytime once
  444.        the search pattern has been defined.
  445.  
  446.    @F5 = Repeat find forward2
  447.  
  448.        Like F5 except the cursor is not repositioned to the middle of
  449.        the screen.
  450.  
  451.    @F6 = Repeat find backward2
  452.  
  453.        Like F6 except the cursor is not repositioned to the middle of
  454.        the screen.
  455.  
  456.    ^F5 = Search/Replace forward
  457.  
  458.        This function prompts you for the search pattern and the
  459.        replacement text.  If you want to match the search case, remember
  460.        to toggle the search flag (which can be done at any time).  You
  461.        can either do prompt or no prompt replacing.   Regardless of
  462.        prompt or noprompt replacing, this function actually moves the
  463.        cursor to the pattern and displays it on the screen and replaces
  464.        the text.  If you are using ETDE on a slow machine, you can see
  465.        the search/replace taking place.  I implemented the function this
  466.        way because I just like to see what the search/replace function
  467.        is doing.
  468.  
  469.    ^F6 = Search/Replace backward
  470.  
  471.        Same as search/replace forward except backwards.
  472.  
  473.  
  474. Window Functions:
  475.  
  476.   #F7 = Split window vertically
  477.  
  478.        Splits the screen at the current cursor location.  The current
  479.        file is displayed in multiple windows.  Changes to a file are
  480.        echoed in all windows opened to the same copy of that file.  You
  481.        can also see any marked blocks in the same copy of the file in
  482.        different windows.  There has to be at least 15 columns in any
  483.        window, so the number of visible windows is limited by the
  484.        display screen.
  485.  
  486.   ^F8 = Split window horizontally
  487.  
  488.        Splits the screen at the current cursor location.  There has to
  489.        be at least 1 text line in any window, so the number of visible
  490.        windows is limited by the display screen.
  491.  
  492.    #F9 = Resize window
  493.  
  494.        Sometimes there is a need to concentrate on the contents of one
  495.        window.  Use the up and down arrow keys to adjust the current
  496.        window to desired size.  Changing the size of the top window is
  497.        not allowed.
  498.  
  499.    ^F9 = Zoom window
  500.  
  501.        Makes the current window fill the whole screen.  All windows
  502.        except the current window become invisible.
  503.  
  504.    F8  = Next window
  505.  
  506.        If more than one window is displayed, you can press one key to
  507.        move to the next window.
  508.  
  509.    F7   = Previous window
  510.  
  511.        Move to previous window - opposite of next window.
  512.  
  513.    F9   = Next Hidden Window
  514.  
  515.        Displays "hidden" or "invisible" windows in the same place as the
  516.        current window.  The current window then becomes invisible.
  517.  
  518.  
  519. Block Commands:
  520.  
  521.        Block operations can be done within or between files.  Operations
  522.        on line blocks that move text are carried out on the line
  523.        immediately below the cursor.  Operations on box or stream blocks
  524.        that move text begin at the column of the cursor.
  525.  
  526.    ^B - Mark Box Block
  527.  
  528.        This key is used to mark both the beginning and ending corner of
  529.        a box block.  Press ^B to mark the beginning line/column.
  530.  
  531.    ^L - Mark Line Block
  532.  
  533.        This key is similar to the operation of the box block, but entire
  534.        lines are marked.
  535.  
  536.    ^S - Mark Stream Block
  537.  
  538.        All the text between the beginning and ending column, sorta like
  539.        a stream of characters, is marked.
  540.  
  541.    ^U - Unmark Block
  542.  
  543.        If you make a booboo when marking blocks, press ^U to unmark the
  544.        block and start over.  After certain block operations, the block
  545.        may remain marked - just press ^U to unmark it.
  546.  
  547.    ^X - Group Delete block
  548.  
  549.        Sorta self explanatory.  This function deletes the text in the
  550.        marked block.
  551.  
  552.    ^M - Move block
  553.  
  554.        Move the cursor to the desired location and press ^M to move the
  555.        marked block.  In line mode, the text is moved to the line
  556.        immediately below the cursor.  In box and stream mode, the block
  557.        is moved to the column of the cursor.
  558.  
  559.    ^C - Copy block
  560.  
  561.        With line blocks, the block is copied to the line below the
  562.        cursor.  With box and stream blocks, the block is copied
  563.        beginning at the column of the cursor.  If you try to copy a Line
  564.        block within itself, the block copy starts at the first line
  565.        immediately after the marked block.
  566.  
  567.    ^K - Kopy block
  568.  
  569.        Same as copy block except block stays marked.  Sorta like a poor
  570.        man's cut-and-paste buffer.
  571.  
  572.    ^O - Overlay block
  573.  
  574.        You can only overlay Box blocks.  The original block stays marked
  575.        after the operation.
  576.  
  577.    ^W - Fill box block
  578.  
  579.        Fills the marked Box block with character.  This function is
  580.        useful for filling in a column of periods for tables and such.
  581.  
  582.    ^N - Number box block
  583.  
  584.        ETDE prompts you for the starting number, the increment, and
  585.        whether to left or right justify the numbers.  ETDE only handles
  586.        integers  -  no floating point numbers are allowed.  I felt that
  587.        there were too many things involved in real numbers, eg. number
  588.        of significant places to left of decimal, to right of decimal,
  589.        exponents, engineering form, scientific form, etc....  If you
  590.        want real numbers, just use a combination of the number box and
  591.        fill box functions.  Use the fill box function to make a column
  592.        of decimals and the number box function to fill in the left and
  593.        right side of the decimal.
  594.  
  595.    ^P - Print block
  596.  
  597.        Prints the block to the PRN device.  I haven't tried redirecting
  598.        the PRN, but it should work.  This function prompts for block or
  599.        file to print.  Press Control-Break to stop printing.
  600.  
  601.    ^S - Sort box block
  602.  
  603.        Lines are sorted, ascending or descending, using the contents of
  604.        the box block as the sort keys.  The Ignore/Match toggle
  605.        determines whether case of the keys is significant.  To sort
  606.        multiple columns, sort the least significant column first.
  607.  
  608.    ^F - Write block to file
  609.  
  610.        Writes the marked block to a file.  ETDE prompts for the file
  611.        name.
  612.  
  613.    ^E - Block expand tabs
  614.  
  615.        Expands the tabs in the marked block, which must be a LINE block,
  616.        using the current tab setting.
  617.  
  618.    ^T - Block trim trailing
  619.  
  620.        Trims trailing space, if any, at the end of each line in a LINE
  621.        block.
  622.  
  623.    @< - Block upper case
  624.  
  625.        Convert all lower case characters in the block to upper case.
  626.  
  627.    @> - Block lower case
  628.  
  629.        Convert all upper case characters in the block to lower case.
  630.  
  631.    @? - Block strip high bit
  632.  
  633.        Strip the high bit off all characters in the block.  This
  634.        function is useful when editing files produced by WordStar.
  635.  
  636.  
  637. Word Processing Commands:
  638.  
  639.    ^_ - toggle word wrap
  640.  
  641.        Toggle word wrap between off, Fixed Wrap, and Dynamic Wrap.  In
  642.        Fixed Wrap mode, the left margin is explicitly determined by the
  643.        left margin setting.  In Dynamic Wrap mode, the left margin is
  644.        determined by the indentation of the current line.  If the cursor
  645.        is somewhere in the line, words are pushed to the next line.
  646.  
  647.        In ETDE, other than margins, word wrap and format paragraph or
  648.        format text have nothing to do with each other.  Word wrap is
  649.        used to push characters or the cursor to the next line when the
  650.        right margin is violated.  Format paragraph and format text can
  651.        be used at any time - they do not depend on the state of the
  652.        WordWrap flag.
  653.  
  654.   ^F10- Set Left margin
  655.  
  656.        May be set to any column equal to or greater than 1 and less than
  657.        the right margin.
  658.  
  659.   ^F12- Set Right margin
  660.  
  661.        May be set to any column greater than the left margin and less
  662.        than the maximum line length or 1040.
  663.  
  664.   ^F11- Set Paragraph margin
  665.  
  666.        The paragraph margin may be set to any column less than the right
  667.        margin.
  668.  
  669.    F11- format paragraph
  670.  
  671.        Text is formatted from the beginning of the paragraph according
  672.        to the current left, right, and paragraph margins.  If the cursor
  673.        is not on the beginning line of a paragraph, ETDE searches for
  674.        start of the paragraph and formatting starts there.  The entire
  675.        paragraph is formatted according to the margins.
  676.  
  677.   F12- Format Text
  678.  
  679.        Text is formatted from the cursor onward.  This function does not
  680.        search for the beginning of the paragraph to start the format.
  681.  
  682.   #F10- Left justify
  683.  
  684.        Beginning of current line is adjusted to start at left margin
  685.  
  686.   #F12- Right justify
  687.  
  688.        End of current line is adjusted so it ends at the right margin
  689.  
  690.  #F11 - Center justify
  691.  
  692.        Current line is centered between the left and right margins.
  693.  
  694.  
  695. Other keys:
  696.  
  697.    Enter
  698.  
  699.        Insert a newline at the cursor.  If the cursor is in the middle
  700.        of a line, the line is split at the cursor.  Indentation is
  701.        matched if the editor is in the Indent mode.
  702.  
  703.    #Enter
  704.  
  705.        Move the cursor down a line.  The cursor is placed on the first
  706.        non-blank character in the next line.  No lines are added to the
  707.        file.
  708.  
  709.    ^Enter
  710.  
  711.        Move the cursor down a line.  The cursor is placed on column 1 in
  712.        the next line.  No lines are added to the file.
  713.  
  714.    Up (arrow)
  715.  
  716.        Move cursor up.
  717.  
  718.    Down (arrow)
  719.  
  720.        Move cursor down.
  721.  
  722.    Left (arrow)
  723.  
  724.        Move cursor left.
  725.  
  726.    Right (arrow)
  727.  
  728.        Move cursor right.
  729.  
  730.    Home
  731.  
  732.        Toggles between the first non-blank character and column zero.
  733.  
  734.    End
  735.  
  736.        Move cursor to the end of line character.
  737.  
  738.    Page Up
  739.  
  740.        Move cursor up one page.
  741.  
  742.    Page Down
  743.  
  744.        Move cursor down one page.
  745.  
  746.    ^Right
  747.  
  748.        Move cursor one word right.
  749.  
  750.    ^Left
  751.  
  752.        Move cursor one word left.
  753.  
  754.    @ Right
  755.  
  756.        Pan the screen one character to the right.
  757.  
  758.    @ Left
  759.  
  760.        Pan the screen one character to the left.
  761.                                                 
  762.    ^Home
  763.  
  764.        Move cursor to first line on screen.
  765.  
  766.    ^End
  767.  
  768.        Move cursor to last line on screen.
  769.  
  770.    ^Page Up
  771.  
  772.        Move cursor to first page in file.
  773.  
  774.    ^Page Down
  775.  
  776.        Move cursor to last page in file.
  777.  
  778.    ^G
  779.  
  780.        Move to line number.  ETDE prompts for line number.  Press Escape
  781.        to abort.
  782.  
  783.    Center
  784.  
  785.        The cursor is moved to the center of the current window.
  786.  
  787.   ^Center
  788.  
  789.        The line the cursor is on is moved to the center of the current
  790.        window.
  791.  
  792.    Grey - on key pad
  793.    @ Up
  794.  
  795.        Scroll window up with cursor staying on same line in file.
  796.  
  797.    Grey + on key pad
  798.    ^ Down
  799.  
  800.        Scroll window down with cursor staying on same line in file.
  801.  
  802.   ^Grey -  (grey - on keypad)
  803.  
  804.        Cursor stays on same line on the screen as the file scrolls up.
  805.  
  806.   ^Grey +  (grey + on keypad)
  807.  
  808.        Cursor stays on same line on the screen as the file scrolls down.
  809.  
  810.   ^# Left
  811.  
  812.        Horizontal page left.
  813.  
  814.   ^# Right
  815.  
  816.        Horizontal page right.
  817.  
  818.    ESC - undo line
  819.  
  820.        Get back the original unchanged line.  When cursor is moved off a
  821.        line, all changes to the file are made and there is no way to get
  822.        back the contents of a line.
  823.  
  824.    Del
  825.  
  826.        Delete the character, if any, under the cursor.
  827.  
  828.    ^Del
  829.  
  830.        Delete the characters in the file as if they were a stream.
  831.        Lines will be joined at the cursor and eventually every character
  832.        in the file may be deleted.
  833.  
  834.    Backspace
  835.  
  836.        Delete the character to the left of the cursor and move left.  If
  837.        the cursor is on the first column of a line, the current line is
  838.        joined with the line above.  If in indent mode and the cursor is
  839.        on the first non-blank character, ETDE matches the indentation of
  840.        the previous line(s).
  841.  
  842.    Tab
  843.  
  844.        If in insert mode, insert the appropriate number of spaces for a
  845.        tab and move the cursor left.  If in overwrite mode, just move
  846.        the cursor left w/o inserting text.
  847.  
  848.    Ins
  849.  
  850.        Toggle between insert and overwrite mode.
  851.  
  852.    ^I
  853.  
  854.        Toggle between indent and no indent mode.  In indent mode, ETDE
  855.        searches for the first non-blank character on previous lines and
  856.        places the cursor on that column when a carriage return is
  857.        pressed.  When backspacing in indent mode, ETDE lines up the
  858.        indentation with the first non-blank character of the previous
  859.        line(s).
  860.  
  861.  @F12 - Toggle ruler
  862.  
  863.        Toggle display of ruler in all visible windows.
  864.  
  865.   ^Q
  866.  
  867.        Duplicates the current line.
  868.  
  869.  @ Backspace
  870.  
  871.        Deletes the text from the cursor to the end of line.
  872.  
  873.    ^D
  874.  
  875.        Deletes current line, cursor does not move.
  876.  
  877.    ^Y
  878.  
  879.        Undelete the most recently deleted line.  The undelete buffer has
  880.        room for 10k of deleted text.  If more than 10k of text is
  881.        deleted, the oldest line(s) are pushed out before the new one is
  882.        added.  You may press ^U repeatedly to undelete all lines in the
  883.        buffer.
  884.  
  885.        Deleted lines from line delete, delete to end of line, word
  886.        delete, join line, and backspace are stored in the undelete
  887.        buffer.
  888.  
  889.  ^ Enter
  890.  
  891.        Add a blank line below cursor.
  892.  
  893.   ^\
  894.  
  895.        Split line at column of cursor.  If in indent mode, the split
  896.        line is autoindented.
  897.  
  898.    ^J
  899.  
  900.        Join the current line with the line below.
  901.  
  902.    ^Tab
  903.  
  904.        Set tabs.
  905.  
  906.    ^]
  907.  
  908.        Parenthesis Balance.
  909.  
  910.    ^Z
  911.  
  912.        Toggle writing Control Z at the end of file.  Some programs may
  913.        misbehave if a Control Z is not at the end.
  914.  
  915.    @1 - @3
  916.  
  917.        Set a file marker.  Each file may have up to 3 markers.
  918.  
  919.    #@1 - #@3    (Shift+Alt+1 thru Shift+Alt+3)
  920.  
  921.        Goto a previously defined file marker.
  922.  
  923.  
  924.    ^A
  925.  
  926.        Writes the current system date and time at the column of the
  927.        cursor.
  928.  
  929.  
  930. Toggles:
  931.  
  932.    F10
  933.  
  934.        Toggle cursor sync.  Only cursor movement commands are synced.
  935.        Commands that change text are not synced.
  936.  
  937.    @F11
  938.  
  939.        Toggle eol display.  A special character is diplayed in the
  940.        column of the actual new line.
  941.  
  942.    @F9
  943.  
  944.        Toggle writing <CR><LF> or <LF> at end of line.  ETDE will read a
  945.        text file with lines that end in either method; however, you may
  946.        want to write the file in a different method.  I think *nix
  947.        systems only want a <LF> of the end of line.
  948.  
  949.    @F10
  950.  
  951.        Toggle trimming trailing space at the end of line.  A 'T' is
  952.        displayed in the bottom right of the mode line to indicate
  953.        trailing space is trimmed.
  954.  
  955.    @Tab
  956.  
  957.        Toggle smart tab mode.  Smart tab positions are determined by
  958.        looking for the first, previous, non-blank line above the cursor
  959.        and then positioning the cursor at the begining of the next word.
  960.        It's useful for building tables and formatted data files.
  961.  
  962.  
  963.  
  964.  
  965. Editor command summary:
  966.  
  967.    Function                      Description
  968.  
  969. Help                    Display instantaneous help screen
  970. Rturn                   Insert newline and move down while matching indentation
  971. NextLine                Move cursor to first character in next line
  972. BegNextLine             Move cursor to first column in next line
  973. LineDown                Move cursor down a line
  974. LineUp                  Move cursor up a line
  975. CharRight               Move cursor right one character
  976. CharLeft                Move cursor left one character
  977. ScrollRight             Pan screen one character right
  978. ScrollLeft              Pan screen one character left
  979. WordRight               Move cursor to beginning of next word
  980. WordLeft                Move cursor to beginning of previous word
  981. ScreenDown              Page screen down
  982. ScreenUp                Page screen up
  983. EndOfFile               Move to the last page in a file
  984. TopOfFile               Move to the first page in a file
  985. BotOfScreen             Move cursor to bottom of current window
  986. TopOfScreen             Move cursor to top of current window
  987. EndOfLine               Move cursor to end of line
  988. BegOfLine               Move cursor to first character in line or column 1
  989. JumpToLine              Move cursor to line entered by user
  990. CenterWindow            Move cursor to center of current window
  991. CenterLine              Move current line and cursor to center of window
  992. HorizontalScreenRight   Page screen right
  993. HorizontalScreenLeft    Page screen left
  994. ScrollDnLine            Scroll screen down 1 line and cursor moves with line
  995. ScrollUpLine            Scroll screen up 1 line and cursor moves with line
  996. FixedScrollUp           Scroll screen up 1 line and cursor does not move
  997. FixedScrollDn           Scroll screen down 1 line and cursor does not move
  998. ToggleOverWrite         Toggle insert/overwrite mode and cursor changes shape
  999. ToggleIndent            Toggle indent mode on/off
  1000. ToggleWordWrap          Toggle word wrap on/off
  1001. ToggleCRLF              Toggle CRLF/LF at eol when writing file to disk
  1002. ToggleTrailing          Toggle trim trailing space at eol
  1003. ToggleZ                 Toggle writing ^Z at eof
  1004. ToggleEol               Toggle display of eol character
  1005. ToggleSync              Toggle cursor sync
  1006. ToggleRuler             Toggle ruler display
  1007. SetTabs                 Set file tabs
  1008. SetLeftMargin           Set left margin
  1009. SetRightMargin          Set right margin
  1010. SetParagraphMargin      Set paragraph margin
  1011. FormatParagraph         Format the entire paragraph according to margins
  1012. FormatText              Format from the cursor line to end of paragraph
  1013. LeftJustify             Left justify a line
  1014. RightJustify            Right justify a line
  1015. CenterJustify           Center justify a line
  1016. Tab                     Move cursor to next tab and add spaces if insert mode
  1017. BackTab                 Move cursor to previous tab and delete if insert mode
  1018. ParenBalance            Match (), {}, or [] under the cursor
  1019. BackSpace               Delete previous character
  1020. DeleteChar              Delete current character, but do not join lines
  1021. StreamDeleteChar        Delete current character and join lines if at eol
  1022. DeleteLine              Delete current line
  1023. DelEndOfLine            Delete from the cursor to the eol
  1024. WordDelete              Delete from the cursor to the end of word
  1025. AddLine                 Insert a blank line under the cursor
  1026. SplitLine               Split the current line at the cursor
  1027. JoinLine                Join next line with current line at the cursor
  1028. DuplicateLine           Duplicate the current line
  1029. AbortCommand            Abort editor functions
  1030. UndoLine                Get back the original contents of a line
  1031. UndoDelete              Get back up to the last 20 deleted lines
  1032. ToggleSearchCase        Toggle matching/ignoring search case and display mode
  1033. FindForward             Prompt for pattern and search forward
  1034. FindBackward            Prompt for pattern and search backward
  1035. RepeatFindForward1      Repeat find forward and adjust cursor to center window
  1036. RepeatFindForward2      Repeat find forward and do not adjust cursor
  1037. RepeatFindBackward1     Repeat find backward and adjust cursor to center window
  1038. RepeatFindBackward2     Repeat find backward and do not adjust cursor
  1039. ReplaceForward          Search and replace pattern forward
  1040. ReplaceBackward         Search and replace pattern backward
  1041. MarkBox                 Mark start or end of a box block
  1042. MarkLine                Mark start or end of a line block
  1043. MarkStream              Mark start or end of a stream block
  1044. UnMarkBlock             Unmark a block
  1045. FillBlock               Fill a box block with prompted character
  1046. NumberBlock             Fill a box block with starting number using increment
  1047. CopyBlock               Copy a block to cursor and unmark block
  1048. KopyBlock               Copy a block to cursor and leave block marked
  1049. MoveBlock               Move a block to cursor and unmark block
  1050. OverlayBlock            Overlay a box block
  1051. DeleteBlock             Delete a block
  1052. BlockToFile             Write a marked block to a file
  1053. PrintBlock              Print a block or file
  1054. BlockExpandTabs         Expand tabs in marked LINE block using tab setting
  1055. BlockTrimTrailing       Trim trailing space from all lines in a line block
  1056. BlockUpperCase          Convert all lower case in block to upper case
  1057. BlockLowerCase          Convert all upper case in block to lower case
  1058. BlockStripHiBit         Strip the high bit from all characters in block
  1059. EditFile                Editor prompts for file to edit
  1060. DirList                 List matching files in subdirectories
  1061. File                    Save file and quit window
  1062. Save                    Save file
  1063. SaveAs                  Save file under a new file name
  1064. SetFileAttributes       Set current file attributes
  1065. EditNextFile            Edit next file on command line
  1066. RedrawScreen            Redraw the screen
  1067. SizeWindow              Change size of current window
  1068. SplitHorizontal         Split current window horizontally
  1069. SplitVertical           Split current window vertically
  1070. NextWindow              Move to next window
  1071. PreviousWindow          Move to previous window
  1072. ZoomWindow              Make current window the maximum window size
  1073. NextHiddenWindow        Switch to next hidden window
  1074. SetMark1                Set a file marker
  1075. SetMark2
  1076. SetMark3
  1077. GotoMark1               Move cursor to previously defined marker
  1078. GotoMark2
  1079. GotoMark3
  1080. RecordMacro             Record keystrokes
  1081. SaveMacro               Save macro to a file
  1082. LoadMacro               Load macro from a file
  1083. ClearAllMacros          Clear the macro buffer
  1084. Quit                    Quit current window and file and abandon changes.
  1085.  
  1086.