home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 389.lha / dme_v1.40 / doc / dme.doc.pp / dme.doc
Text File  |  1990-07-05  |  45KB  |  1,165 lines

  1.  
  2. DME.DOC         DME version 1.40         Matthew Dillon
  3.              10 May 1990
  4.  
  5. DME, (C)Copyright 1987-90, Matthew Dillon.  All Rights Reserved.
  6. This software may be distributed for non-profit only.  This software is
  7. FREEWARE, not shareware.
  8.  
  9.     Matthew Dillon
  10.     891 Regal Rd
  11.     Berkeley, California  94708
  12.     USA
  13.  
  14.     Source is avalable:
  15.  
  16.     (1) By regular mail (send a disk)
  17.     (2) By Electronic mail:
  18.         INTERNET:    uunet.uu.net!overload!dillon
  19.  
  20.     Donations welcome but not solicited (I ain't a starving artist).
  21.  
  22.     icon by Bryce Nesbitt
  23.  
  24.     text markers and the text-block stack by Kevin Seghetti (some of the new
  25.     commands for 1.30).
  26.  
  27.     AREXX interface (Bill Hawes' ARexx REXX language interpreter) ported
  28.     by Kim DeVaughn
  29.  
  30.  
  31. ---------------------------------------------------------------------------
  32.  
  33. 0   Installation
  34. I   Overview
  35. II  Keymapping        key and mouse mapping
  36. III Command Sequences    DME commands
  37. IV  File Particulars    notes on loading and saving files,
  38. V   Workbench Support
  39. VI  Revision Summary    revision numbering, changes made, etc...
  40. VII Compiling        compiling instructions
  41.  
  42.                     0
  43.                    INSTALLATION
  44.  
  45. The NULL: device must be mounted to be able to use the EXECUTE command.
  46. This is so EXECUTE works even if the console window goes away.    Otherwise,
  47. simply put DME in an accessable location (usually C:).  Put the dme.icon
  48. file in the same directory as DME if you want to access the application
  49. from the workbench (dme.icon is not needed if accessed from a CLI or shell).
  50.  
  51. People appear to have problems using the EXECUTE command when DME is run
  52. from the workbench.  I have no solution yet.
  53.  
  54. CONFIGURATION of default window placement, pen selection, and most editor
  55. modes (insert/overwrite, margin, etc...) is accomplished by bringing up
  56. DME, setting it up how you like, then selecting the SAVECONFIG menu
  57. option (saves to s:dme.config).
  58.  
  59.  
  60.                     I
  61.                  OVERVIEW
  62.  
  63. See REVISIONS section for revisions.  DME is an editor designed mainly for
  64. programmers.  Although it is not a word processor, it does include many
  65. word processing features such as Word-Wrap and automatic paragraph
  66. formatting.  Here is a quick 'features' list:
  67.  
  68.     -control language based on a rich command set accessed manually
  69.      or via arbitrary mapping of keys.  (Every key may be mapped to 128
  70.      different things via qualifier and mouse keys)
  71.  
  72.     -General variables, reference macros as variables, ENV: enviroment
  73.      variables (1.30C and beyond).
  74.  
  75.     -fast visual response (it scrolls quickly)... even faster when
  76.      BlitzFonts or similar text speedup utilities are installed.
  77.  
  78.     -title-line statistics showing your current position in the file,
  79.      file name, whether the file has been modified or not, etc...
  80.  
  81.     -Multiple Windows, ability to iconify windows
  82.  
  83.     -Word Wrap and automatic paragraph formatting.
  84.  
  85.     -ability to map any KEY or MOUSE BUTTON combination.
  86.  
  87. DME has been designed to allow easy expansion, and I intend to make many
  88. future improvments.  It has not been designed for user friendliness, but is
  89. straight forward if you read this document [care]fully.
  90.  
  91. AS OF 1.40 and until further notice DME no longer takes command line
  92. arguments other than file arguments, or workbench based window arguments.
  93. DME used to take arguments to specify window dimensions.  Use the saveconfig
  94. command to setup default window parameters.
  95.  
  96. The 1.40 Version is an experimental intermediate version, documentation may
  97. not be up to date.
  98.  
  99. Normally, DME will automatically SOURCE two script files, S:.EDRC, and the
  100. .EDRC in your current directory. These files do not have to exist.  These
  101. script files usually contain mappings and do things (for example, turn on
  102. savetabs).
  103.  
  104.  
  105.                     II
  106.                  KEYMAPPING
  107.  
  108. MOUSE BUTTONS:
  109.  
  110.     The mouse buttons and combinations thereof may now be mapped.  The
  111.     default mappings for the mouse buttons are as follows:
  112.  
  113.     Left-button:    Move cursor to current mouse position
  114.     Right-button:   Iconify window
  115.     Left-button held down while moving mouse tracks the cursor
  116.  
  117.     The iconification features:
  118.     -Remembers original window size and placement
  119.     -Remembers placement of iconified window when you re-iconify later.
  120.  
  121.     Currently, you will crash the machine if you run out of memory and DME
  122.     is unable to open the icon window or original window, so be careful.
  123.  
  124.     see below for mapping the mouse buttons and mouse movement.
  125.  
  126.  
  127. KEYBOARD:
  128.  
  129. The rest of the Functional interface for DME is based on key/mouse/menu
  130. mappings and a rich command set.  Unlike other text editors, any
  131. non-qualifier key in DME may be defined to have any meaning whatsoever.  It
  132. just so happens that the default keymappings assign such things as the
  133. (return) key to the RETURN function, the (up) key to the UP function,
  134. etc...    Keys are named by their keycap labels with the following
  135. exceptions:
  136.  
  137.     the name for Back-Space is    BS
  138.     the name for numeric keypad keys are prepended with an NK, except for
  139.     the Enter key which is named 'ENTER'.
  140.     The four cursor control keys are labeled UP, DOWN, LEFT, and RIGHT
  141.     The three mouse buttons are labeled RMB, MMB, and LMB.
  142.  
  143. NOTES:
  144.        You must type commands in lower-case, except for text, which can be
  145.        either lower or upper case, and for upper-case alpha keys when
  146.        specifying keymaps (i.e.  A and s-a are the same key).  The
  147.        exception is the AMIGA qualifier key, which uses 'A' instead of
  148.        'a'(Alt).
  149.  
  150.        Each key may be qualified with any combination of CTRL, ALT, SHIFT,
  151.        AMIGA, or any of the MOUSE buttons.  With 6 qualifiers (7 if your
  152.        mouse has a middle button), you can assign up to 64 (128) different
  153.        maps to each physical key on the keyboard.
  154.  
  155.        The CAPS-LOCK, when lit, is equivalent to SHIFT only for Alpha keys.
  156.  
  157.        The AMIGA-ALT (aA) combination isn't very usable since Intuition
  158.        uses the sequence to duplicate a Mouse SELECT.  Other AMIGA
  159.        sequences are used by intuition for mouse movement and other things.
  160.        Some other qualifier combinations may not be usable due to other
  161.        special sequences.
  162.  
  163.        Some keys must be mapped by their lower-case keycap.  That is, to
  164.        map the '>' key (USA keyboard), you specify shift dot (s-.)
  165.  
  166.  
  167.     ***EXAMPLES:***
  168.  
  169.     tab tab
  170.     a-a ALT a
  171.     A-a AMIGA a
  172.     sA-a    SHIFT AMIGA a
  173.     s-tab    SHIFT tab
  174.     c-tab    CTRL tab
  175.     ac-?    ALT-CTRL ?
  176.     s-f5    SHIFT F5
  177.     nk0 Numeric Keypad 0
  178.     cs-nk0    CTRL SHIFT Numeric Keypad 0
  179.     L-lmb    Left Mouse button pressed
  180.     L-mmove    Mouse moved while left mouse button held down
  181.     LR-lmb    left mouse button hit while right mouse button held down
  182.     s-.     shift . ('>' for USA keyboards)
  183.  
  184.     ***************
  185.  
  186. MAPPING MOUSE BUTTONS
  187.  
  188.     Mouse buttons serve both as QUALIFIERS and as KEYS.  Thus, you can map
  189.     both normal keystrokes which require a mouse button to be held down:
  190.  
  191.     map L-a ((left button and an a))
  192.  
  193.     as well as the mouse keys themselves:
  194.  
  195.     map L-lmb   ((left mouse key))
  196.  
  197.     note that you had to specify the left mouse button down qualifier L as
  198.     well as the left mouse button LMB.
  199.  
  200.     If you map the left mouse button, and also map a sequence such as left
  201.     mouse button + a:
  202.  
  203.     map L-lmb   tomouse
  204.     map L-a     ((hello))
  205.  
  206.     Note that the first mapping will always get executed even if you
  207.     intended L-a (that is, BOTH mappings would get executed).  In order
  208.     to avoid confusion you might want to UNMAP the system default mapping
  209.     for the right mouse button (mapped to ICONIFY) if you wish to apply
  210.     combinations to the right mouse button.
  211.  
  212.     MOUSE MOVEMENT is mapped with one or more mouse qualifiers (L, R, M),
  213.     plus 'MMOVE' for the key.  That is:
  214.  
  215.     map LR-mmove ((moving the mouse with both buttons held down))
  216.  
  217.     Or how bout capping the characters under the mouse while moving the
  218.     mouse?
  219.  
  220.     map LR-mmove (tomouse if cl (tlate -32))
  221.  
  222.  
  223.  
  224. DEFAULT KEYMAPPINGS:
  225.  
  226.     All Printable Ascii keys mapped to their ascii equivalent. BS, DEL, UP,
  227.     DOWN, LEFT, RIGHT, TAB, S-TAB, and ENTER are mapped properly.  These are
  228.     the default system keymappings.
  229.  
  230.  
  231.     map (a-c)       (bcopy)
  232.     map (a-d)       (bdelete)
  233.     map (a-down)    (scrolldown)
  234.     map (a-l)       (while cu (tlate +32 right))
  235.     map (a-m)       (bmove)
  236.     map (a-r)       (nextr)
  237.     map (a-s)       (bsource)
  238.     map (a-u)       (while cl (tlate -32 right))
  239.     map (a-up)      (scrollup)
  240.     map (bs)        (bs)
  241.     map (c-/)       (escimm (find ))
  242.     map (c-])       (ref)
  243.     map (c-[)       (ctags)
  244.     map (c-1)       (goto block)
  245.     map (c-b)       (block)
  246.     map (c-c)       ()
  247.     map (c-del)     (remeol)
  248.     map (c-down)    (pagedown)
  249.     map (c-esc)     (recall)
  250.     map (c-f)       (reformat)
  251.     map (c-g)       (escimm (goto ))
  252.     map (c-i)       (insertmode on)
  253.     map (c-j)       (join)
  254.     map (c-l)       (wleft)
  255.     map (c-n)       (next)
  256.     map (c-o)       (insertmode off)
  257.     map (c-p)       (prev)
  258.     map (c-q)       (quit)
  259.     map (c-r)       (wright)
  260.     map (c-s)       (split first down)
  261.     map (c-u)       (unblock)
  262.     map (c-up)      (pageup)
  263.     map (c-w)       (wordwrap toggle)
  264.     map (del)       (del)
  265.     map (down)      (down)
  266.     map (enter)     (return)
  267.     map (esc)       (esc)
  268.     map (f1)        (escimm (insfile ))
  269.     map (f10)       (saveold quit)
  270.     map (f2)        (escimm (newfile ))
  271.     map (f3)        (escimm (newwindow newfile ))
  272.     map (f6)        (saveold iconify)
  273.     map (f7)        (escimm (bsave ))
  274.     map (f8)        (saveold escimm (newfile ))
  275.     map (f9)        (saveold)
  276.     map (L-lmb)     (tomouse)
  277.     map (L-mmo)     (tomouse)
  278.     map (left)      (left)
  279.     map (R-rmb)     (iconify)
  280.     map (return)    (return insline up firstnb down)
  281.     map (right)     (right)
  282.     map (s- )       (( ))
  283.     map (s-del)     (deline)
  284.     map (s-down)    (bottom)
  285.     map (s-left)    (first)
  286.     map (s-right)   (last)
  287.     map (s-tab)     (backtab)
  288.     map (s-up)      (top)
  289.     map (sa-s)      (unblock block block bsource)
  290.     map (tab)       (tab)
  291.     map (up)        (up)
  292.  
  293.  
  294.  
  295.                     III
  296.                  COMMAND SEQUENCES
  297.  
  298. DME has a rich command set which allows you to embed commands within
  299. commands, or specify multiple commands in a row.  A command consists of a
  300. KEYWORD followed by a FIXED number of arguments (0, 1, 2...).  The argument
  301. delimeter in DME is a SPACE.  Therefore, to embed strings containing spaces
  302. as a single argument, you must surround the string with (string)
  303. (backsinglequote-string-singlequote).  TEXT to be written as if typed is
  304. also specified via a string in backquote-quotes.  For example:
  305.  
  306.     right right (hello) right right (hello) enter down
  307.     map f4 (right right) map f5 (left left)
  308.     map f4 ((hello))
  309.  
  310. Reiterating (because this is important!)... If a command expects ONE
  311. argument, then it really does expect a single argument, and any remaining
  312. arguments are thought to be the next command... so:
  313.  
  314.     map f4 right
  315.                     -right is only one word, so no need
  316.                      for ().
  317.     map f4 (right right)
  318.                     -we want to map f4 to two rights... we
  319.                      need the () or the second right will
  320.                      not be part of the map.
  321.  
  322.     map c-del (repeat cright del)
  323.                     -this is already implimented as REMEOL,
  324.                      but shown here for clarity.
  325.  
  326. Some arguments will eventually be fed through the command interpreter more
  327. than once.  The MAP command is a good example.    When you execute a MAP
  328. command, the first run through the command interpreter installs the map
  329. string minus a set of quotes.  So, if you want to specify text, you must
  330. enclose the text in two sets of ((text)) because the map string gets passed
  331. through the command interpreter again when you hit the mapped key.  Here
  332. are some more complex examples:
  333.  
  334.     map f4 (right right (hello) left left)      *RIGHT*
  335.     map f4 right right hello left left        *WRONG*
  336.  
  337.     map f4 (map f4 ((hello)))
  338.                     -the first time you hit F4, it's command
  339.                      is to re-map itself to the TEXT (hello).
  340.                      (gads!).
  341.  
  342.     map c-i (repeat tr (( )))
  343.                     -example of how to embed a space in a
  344.                      map and repeat (goes through command
  345.                      interpreter three times!).
  346.  
  347.  
  348. An easy way to fool around executing commands or making maps is either to
  349. use the ESC key (which enters command mode), or  a-S (alt-shift-s), which
  350. EXECUTES the current DME line that the cursor is on.... so you can use DME
  351. to edit and test your new keymappings.
  352.  
  353.  
  354.                 STRING VARIABLES
  355.  
  356.     String variables are replaced with their contents.    Three specification
  357.     forms are allowed:
  358.  
  359.     $varname        - varname can only consist of a-z,A-Z,0-9,-,_
  360.     $(varname)      - anything not containing a '(' or ')'
  361.     $`varname'      - anything not containing a '`' or '''
  362.  
  363.     Two special variables exist:
  364.  
  365.     filename    - the current filename
  366.     scanf        - the current scanf'd string (see SCANF below)
  367.     lineno        - the current cursor line number (1 .. N)
  368.     colno        - the current cursor column number (1 .. N)
  369.  
  370.     Other variables cause a search of three variable domains to find the
  371.     contents.  For example, if you give  $DMEFONT:
  372.  
  373.     (1) An Internal variable named DMEFONT is searched for.  Internal
  374.         variables are case sensitive.  (see SET, UNSET)
  375.  
  376.     (2) An Enviroment variable name DMEFONT is searched for.  Enviroment
  377.         variables are NOT case sensitive.  (see SETENV, UNSETENV).  The
  378.         1.3 ENV: is used.
  379.  
  380.     (3) A DME keymap or menu definition named DMEFONT is searched for.
  381.         This allows you to say something like $sa-tab to insert the
  382.         contents of the shift-alt-tab keymap.   (see MAP, UNMAP, and
  383.         MENU oriented commands).
  384.  
  385.     The reason for the other two forms of variable specifiction is to allow
  386.     one to access strangely named variables (with puncuation and other crap).
  387.  
  388.     SPECIAL NOTE:  What is wrong with this command?
  389.  
  390.     repeat 100 (first ($myvar))
  391.  
  392.     What is wrong is that $myvar is evaluated BEFORE the repeat is
  393.     executed.  myvar might contain characters that would confuse the
  394.     command specification when.  That is, if myvar contained a '(' you
  395.     could get something like:    repeat 100 (fist ((())  which is obviously
  396.     incorrect.    By using \ you can cause $myvar to be evaluated at
  397.     loop-execution time rather than before:
  398.  
  399.     repeat 100 (first (\$myvar))
  400.  
  401.     These kinds of problems can also occur when you do keymaps... you
  402.     probably do not want to evaluate the variable at keymap-entry time,
  403.     but rather would want the variable evaluated at keymap-execution time.
  404.  
  405.     On the otherhand, this is perfectly allowable:
  406.  
  407.     set x (tlate +1)
  408.     repeat 100 ($x)
  409.  
  410.     Which executes the command (tlate +1) 100 times... By NOT surrounding
  411.     the variable with parens (depends on the situation), the variable is
  412.     executed rather than inserted as text.
  413.  
  414.  
  415.                SPECIAL CHARACTERS
  416.  
  417.     ^ is used to introduce a control character.  For example, ^c would
  418.     embed a control-c.    You cannot embed c-@ (ascii code 0).
  419.  
  420.     backslash \ is used to override special meanings.  The next character
  421.     is overriden.
  422.  
  423.     map c-a ((^l))      -map control a to produce a control l
  424.     map c-a ((\\\^l))   -map control a to produce a "^l".  The first
  425.              \ overides the second, and the third overides
  426.              the ^.
  427.  
  428. COMMAND LIST:
  429.  
  430.     (text)          -enter text as if typed.
  431.     key         -execute a keymap as a macro (example:  c-a)
  432.     header-item     -execute a menu item as a macro (example: Project-Save)
  433.              (case independant)
  434.     ADDPATH path    -Add the specified symbolic directory to DME's special
  435.              search path (see REF and CTAGS).
  436.     ARPINSFILE        -INSFILE filerequestor, only if ARP.LIBRARY installed
  437.     ARPLOAD        -NEWFILE filerequestor, only if ARP.LIBRARY installed
  438.     ARPSAVE        -SAVEAS  filerequestor, only if ARP.LIBRARY installed
  439.     BACK        -same as BS
  440.     BACKTAB        -backward tab
  441.     BCOPY        -copy block before cursor line
  442.     BDELETE        -delete the block
  443.     BGPEN pen        -set background pen
  444.     BLOCK        -Set start or end of block
  445.     BMOVE        -move block before cursor line
  446.     BOTTOM        -Move to Bottom of File
  447.     BS            -backspace, (delete char to left of cursor)
  448.     BSAVE file        -save the block to a file
  449.     BSOURCE        -source current text block as if it were a script file
  450.     CHFILENAME name -change the name of the working file
  451.     CTAGS        -search for the tag under the cursor (see below)
  452.     DEL         -delete, (deletes char under cursor)
  453.     DELINE        -delete line
  454.     DOWN        -cursor down
  455.     DOWNADD        -cursor down.  If at bottom of text, add a line.
  456.     ESC         -toggle manual command entry mode
  457.     ESCIMM arg        -go into command entry mode prompting with a
  458.              predefined string.
  459.     EXECUTE comm    -Execute a CLI command
  460.     FGPEN pen        -Set foreground pen
  461.     FIND string     -SET the search pattern and do a NEXT
  462.     FINDR s1 s2     -Set find and replace patterns and do one find/rep.
  463.     FINDSTR string  -SET the search string pattern
  464.     FIRST        -move to column 1
  465.     FIRSTNB        -Move to first non-blank in line.
  466.     GOTO BLOCK        -Goto the beginning of the marked block.
  467.     GOTO START        -same as GOTO BLOCK.  undefined if no block
  468.     GOTO END        -goes to the END of the marked block.  undef. if no blk.
  469.     GOTO [+/-]N     -Goto an absolute or relative line number
  470.     HEIGHT N        -set height in PIXELS for any new windows
  471.     HGPEN pen        -set highlight pen
  472.     ICONIFY        -iconify the window
  473.     IF cnd act        -IF/WHILE/IFELSE.. SEE BELOW
  474.     IFELSE cnd ifact elseact
  475.     IGNORECASE what -set case ignore for seaches.  what = on, off, or toggle
  476.     INSERTMODE what -set INSERTMODE.  what = on, off, or toggle
  477.     INSFILE name    -insert a file into the current text.
  478.     INSLINE        -insert line
  479.     JOIN        -join next line to line at cursor
  480.     LAST        -move one beyond the last non-space in a line.
  481.     LEFT        -cursor left
  482.     LEFTEDGE N        -set leftedge on the screen in PIXELS for any new window
  483.     MAP key map     -map a key to a keymap
  484.     MARGIN N        -set WordWrap and paragraph formatting margin
  485.              (related to WORDWRAP and REFORMAT)
  486.     MENUADD hdr item cmd    -add menu item
  487.     MENUDEL hdr item        -delete menu item
  488.     MENUDELHDR hdr        -delete menu header
  489.     MENUCLEAR            -delete entire menu
  490.     MENUON            -enable menus  (multiple calls are stacked)
  491.     MENUOFF            -disable menus (multiple calls are stacked)
  492.     NEWFILE name    -replace current text with new file
  493.     NEWWINDOW        -open new window using default window parameters
  494.     NEXT        -find next occurance of search pattern
  495.     NEXTR        -find next occurance and replace
  496.     NULL        -no operation
  497.     OPENWINDOW geo  -open new window using specified geometry.    Geometry is
  498.              specified as:  +/-leftedge+/-topedge+/-width+/-height,
  499.              where negative numbers denote values relative to the
  500.              width or height of the screen.  For example, the
  501.              following opens a nearly full-screen window leaving
  502.              10 pixels above, below, to the left, and to the right:
  503.  
  504.             openwindow +10+10-10-10
  505.  
  506.              The following opens a window in the upper right hand
  507.              corner of width 320 and height 100.
  508.  
  509.             openwindow  -320+0+320+100
  510.             openwindow  -320+0-0+100    (same thing)
  511.             openwindow  -320-100-0-0    (lower rght hand corner)
  512.  
  513.     PAGEDOWN        -pagedown a partial page (see PAGESET)
  514.     PAGESET n        -n PERCENT (0 to 100). page step size relative to the
  515.              current number of rows in the window.
  516.     PAGEUP        -pageup a partial page (see PAGESET)
  517.     PING n        -set a text marker (0-9).
  518.     PONG n        -move to a previously set text marker (0-9)
  519.     PREV        -find previous occurance of search pattern
  520.     PREVR        -find previous occurance and replace
  521.     PUSHMARK        -push the currently marked block onto a stack and
  522.              unhighlight the block
  523.     POPMARK        -pop the block stack and highlight the popped block
  524.     PURGEMARK        -clear the mark stack
  525.     QUIT        -quit
  526.     RECALL        -recall most recently entered command.  Must be used
  527.              from a keymap (c-esc).
  528.     REF         -reference string under cursor (see below)
  529.     REFORMAT        -reformat paragraph using the margin.
  530.     REMEOL        -Remove text under and beyond the cursor.
  531.     REMPATH wild    -Remove one or more symbolic directorys from DME's
  532.              special path... a */? wildcard is acceptable.
  533.     REPEAT cnt comm -SEE BELOW
  534.     REPSTR string   -SET the replace string pattern
  535.     RESETTOGGLE N   -clear toggle array entry N(0..31)
  536.     RESIZE cols rows-Resize current window. E.G:  (resize 70 23)
  537.     RETURN        -same as (FIRST DOWNADD)
  538.     RIGHT        -cursor right
  539.     RX            -ARexx macro, no args   (RX macname)
  540.     RX1         -ARexx macro, one arg   (RX1 macname arg1)
  541.     RX2         -ARexx macro, two args  (RX2 macname arg1 arg2)
  542.     SAVEAS file     -save current text under a different name (title
  543.              line name does not change)
  544.     SAVECONFIG        -save current editor configuration to s:dme.config
  545.     SAVEMAP file    -save user keymappings
  546.     SAVEOLD        -save current text under current name
  547.     SAVESMAP file   -save all keymappings, including system keymaps
  548.     SAVETABS on/off -Optimize file saves by crunching spaces to tabs.
  549.              The default is OFF.
  550.     SCANF ctlstr    -scan the string at the current text position (C scanf)
  551.              example:    (scanf %s)          SEE BELOW
  552.     SCREENBOTTOM    -Move cursor to the bottom of the screen.
  553.     SCREENTOP        -Move cursor to the top of the screen
  554.     SCROLLUP        -Scroll up without moving cursor
  555.     SCROLLDOWN        -Scroll down without moving cursor
  556.  
  557.     SET var str     -create/modify an internal variable (access w/ $)
  558.     SETENV var str  -create/modify an enviroment variable (1.3 ENV:)
  559.     SETFONT font sz -Set the window's font.  ex:   (setfont topaz.font 11)
  560.  
  561.     SETPARCOL col   -Set the LEFT margin for word wrap mode paragraphing &
  562.              reformat.    MUST be less than MARGIN.
  563.  
  564.     SETTOGGLE N     -set toggle array entry N  (0..255)
  565.     SOURCE file     -source a script file. '#' in first column for comment
  566.     SPLIT        -Split line at cursor
  567.     SWAPMARK        -PUSHMARK, swap top two marks on stack, POPMARK
  568.     TAB         -forward tab
  569.     TABSTOP N        -Set tab stops every N.  does not effect text load
  570.     TLATE [+/-]N    -translate character by +N or -N, or set character
  571.              to exactly N if no + or -. (e.g. TLATE +65 TLATE 3)
  572.     TMPHEIGHT N     -set window height for next window only, pixels
  573.     TMPWIDTH  N     -set window width for next window only,  pixels
  574.     TOGGLE N        -flip toggle array entry N (0..255)  (See IF)
  575.     TOMOUSE        -moves cursor to mouse position
  576.     TOP         -Move to Top of File
  577.     TOPEDGE N        -set topedge in the screen in PIXELS for any new window
  578.     UNBLOCK        -clear the block markers for the current window
  579.     UNDO        -undo current line (must be mapped to a key to work)
  580.     UNMAP key        -unmap a key
  581.     UP            -cursor up
  582.     UNSET var        -delete an internal variable
  583.     UNSETENV var    -delete an enviroment variable
  584.     WHILE cnd act   -(see below)
  585.     WIDTH N        -set width in PIXELS for any new window
  586.     WLEFT        -move to beginning of previous word.  If in the
  587.              middle of a word, move to beginning of current word.
  588.     WORDWRAP on/off/toggle
  589.             -Word Wrap mode (related to MARGIN)
  590.     WRIGHT        -move to beginning of next word
  591.  
  592.  
  593.     -------------------------------------------------------------
  594.     -------------    More Info on Complicated Commands    -----------------
  595.     -------------------------------------------------------------
  596.  
  597.     MENUOFF/ON        -This command will enable/disable menus.  Users
  598.              who have a whole bunch of MENUADD commands in
  599.              their .EDRC should note that disabling menus at
  600.              the beginning will speed up the MENUADD commands.
  601.              Then reenable menus at the end.  These calls are
  602.              stackable in that if you call MENUOFF, say, twice,
  603.              it will take two MENUON commands to restore
  604.              menus.  The reverse is not true.
  605.  
  606.     CTAGS   (c-[)   -(1.30B and beyond) Compatible with Aztec's CTAGS
  607.              program.  This command searches for the subroutine
  608.              name under the cursor in the associated tags file
  609.              ("tags" in the directory holding the file currently
  610.              being edited).  Also, the file "tags" in directories
  611.              specified by the special DME path (see ADDPATH and
  612.              REMPATH) will be searched.
  613.  
  614.              If the tag is found, it loads the file the subroutine
  615.              resides in if neccesary, then WindowToFront()'s the
  616.              window, ActivateWindow()s it, and GOTO's the line
  617.              where the subroutine starts.  The search within the
  618.              source file is anchored to the left column.  If the
  619.              file is already loaded, it is not reloaded.
  620.  
  621.              This enables a programmer to quickly trace subroutines
  622.              over an arbitrary number of files.
  623.  
  624.              The tags file contains one or more lines of the following
  625.              format:
  626.  
  627.              subroutine-name file-name /^search-pattern
  628.              (that's a slash and a carrot, then the pattern)
  629.  
  630.              -- EXAMPLE of 'TAGS' file:
  631.              setpen cmd1.c /^setpen(
  632.              do_up cmd1.c /^do_up(
  633.              --
  634.  
  635.             SPECIAL NOTE:  CTAGS will work even if you are not in
  636.             the directory containing the file.    You can thus place
  637.             a tags file in the directory containing the files it
  638.             references, and the filenames WITHIN the tags file need
  639.             not be a full path.
  640.  
  641.     REF     (c-])   -(1.28d and beyond).  This is a very powerful new
  642.              command that allows you to bring up a reference to
  643.              a keyword with a single keystroke.  This is useful for
  644.              programmers who have on-line documentation or fully
  645.              commented include files.  DME opens a window just big
  646.              enough to fit the reference.
  647.  
  648.              NOTE:  The new CTAGS command may be more suited to
  649.              your application.
  650.  
  651.              The reference keyword is the alpha-numeric string
  652.              currently under the cursor.  REF will search the
  653.              file DME.REFS in the directories listed by the
  654.              special DME path (see ADDPATH and REMPATH).  The
  655.              file must be built by the user and each line has the
  656.              following format:
  657.  
  658.              (keyword) (nolines/endstring) (file) (searchstr/##seekpos)
  659.  
  660.              Surrounding the keywords with `' or () is optional if
  661.              the keyword does not contain spaces.
  662.  
  663.             keyword     -keyword under cursor
  664.             nolines/ends-either a number (the number of lines
  665.                      in the reference) or a string denoting
  666.                      the end of the reference when found.
  667.             file        -the file containing the reference
  668.                      material
  669.             searchstr/##-search string in file that indicates
  670.                      the beginning of the reference, or
  671.                      two hashes (##) and the seek position
  672.                      in decimal (like ##2343).  The latter
  673.                      method is used mainly for reference-
  674.                      generator programs.
  675.  
  676.              Upon finding a successful keyword match the specified
  677.              file is openned and the seach string searched for.  If
  678.              a seek position was specified no search is made and a
  679.              seek is made to the beginning of the reference.  If
  680.              found, the indicated number of lines (if a number
  681.              is specified for <nolines/ends>) or until a match with
  682.              the endstring (if a string was specified) will be
  683.              placed in a temporary file and a new DME window
  684.              brought up. The temporary file is then deleted.
  685.  
  686.              When looking for matches, the compare is anchored at
  687.              the beginning of each line in the file.  Thus, any
  688.              spaces in front of the string in the file must be
  689.              duplicated.
  690.  
  691.              T: must be assigned to a temporary directory, usually
  692.              RAM:   See the included example DME.REFS file.  The
  693.              most common things referenced are the autodocs and
  694.              commented include files.
  695.  
  696.              Some modification of the included DME.REFS.* files may
  697.              be required due to differences in include file and
  698.              autodoc format.
  699.  
  700.     SCANF ctlstr    -This is equivalent to the C scanf() function with the
  701.              restriction that only one conversion is allowed, that
  702.              conversion being a string.  Thus:
  703.  
  704.              scanf %s        will place the string under the
  705.                     cursor in the variable $scanf
  706.  
  707.              scanf %4s        The first four chars of the string.
  708.  
  709.              scanf %[0123456789]
  710.                     will scan the string while it contains
  711.                     specified chars (e.g. scan a number)
  712.  
  713.              scanf %[~,]    will scan the string until it finds
  714.                     a ','.
  715.  
  716.             The variable $scanf may be used as an argument in any
  717.             command.  Example:    (insfile $scanf).
  718.  
  719.             NOTE:  If using $scanf in a macro, you probably want
  720.             to precede it with a \ to prevent it from being
  721.             evaluated at macro-creation time.
  722.  
  723.  
  724.     REPEAT N arg    -Repeat (arg) N times.  Apart from being a number, N
  725.              can also be one of:
  726.  
  727.             line    Current line # (lines begin at 1)
  728.             lbot    #lines to the bottom, including current line
  729.             cleft    column # (cols begin at 0)
  730.             cright    #chars to eol, including current char under cursor
  731.             tr    #char positions to next tab
  732.             tl    #char positions to next back tab
  733.  
  734.             Certain commands can abort a REPEAT loop.
  735.             Specifically, any FIND[R], NEXT[R], or PREV[R] in which
  736.             the search string is NOT found will abort a REPEAT.
  737.             Most operations which can go out of bounds, such as
  738.             UP, LEFT, RIGHT, DOWN, also abort a repeat.
  739.  
  740.             Specifying -1 as N causes REPEAT to go on forever
  741.             (well, actually, 0xFFFFFFFF times) or until an abort.
  742.  
  743.     IF [!]condition arg
  744.     WHILE [!]condition arg
  745.     IFELSE [!]condition arg else arg
  746.  
  747.         If the specified condition is true, execute the argument.  For
  748.         WHILE, the argument is executed until the condition is false
  749.         (be careful!).
  750.  
  751.         the optional '!' inverts the logic.
  752.  
  753.         Conditions:
  754.  
  755.  
  756.         #        if toggle entry # is SET.  there are 256 toggles (0..255)
  757.         t        if On line 1
  758.         b        if On last line
  759.         l        if At column 0
  760.         r        if At end of line (spaces below and beyond)
  761.         m        if Text has been modified
  762.         i        if in insert mode
  763.         x[<=>]# if column position (starts at 1) is (any OR combo of
  764.             <, =, or >) than some number.  Example:   x<=20
  765.         y[<=>]# if Line number (starts at 1) is (same as for x)
  766.         cl        character under cursor is lower case alpha
  767.         cu        character under cursor is upper case alpha
  768.         ca        character under cursor is alpha-numeric
  769.         cn        character under cursor is numeric
  770.         c[<=>]# character under cursor is ascii code # (# in decimal)
  771.             optional conditionals as in 'x' and 'y'.
  772.         cb        cursor within a block
  773.  
  774.     Example: simulating an insert mode toggle: ALT-i (not CTL-i)
  775.  
  776.     map a-i (ifelse 0 (toggle 0 insertmode OFF) (toggle 0 insertmode ON))
  777.  
  778.     Example: while lower case, map to upper case and move right.
  779.  
  780.     map c-U (while cl (tlate -32 right))
  781.  
  782.     Example: Search/Replace all of text.
  783.  
  784.     map c-R (escimm (findstr ) escimm (repstr ) repeat -1 nextr)
  785.  
  786.      if c<32 ((char under cursor is smaller than 32))
  787.      if c<>32 ((char under cursor is not equal to 32))
  788.      while !b down
  789.  
  790.  
  791.                     IV
  792.                  FILE PARTICULARS
  793.  
  794. No Matter what you set internal tabs to, tabs in disk files will be 8.
  795. This allows you to use your favorite tabs stops (mine are 4) and still
  796. have your disk files compatible with TYPE, a printer, etc...  DME by
  797. default doesn't bother to optimize when writing out files and simply uses
  798. spaces. If you (SAVETABS on) before saving (or in your S:.EDRC, etc...),
  799. DME will attempt to optimize the file by placing TABS in appropriate
  800. places.  DME will not place any TABS after the first single, back, or
  801. double quote is encountered in a line.    If this does not cover every
  802. situation in your particular application that you want to be *sure* no tabs
  803. will occur in sensitive sections, then you should not use (SAVETABS on).
  804.  
  805. It should be noted that since DME removes spaces at the end of the line,
  806. editing UUENCODED ascii files will not work for uuencoded lines which end
  807. with a space.  The nominal fix is to add an extra character after each
  808. uuencoded line (anything) in the proper column, which is ignored by the
  809. UUDECODE program.
  810.  
  811. The command to save the current document under the default name is SAVEOLD,
  812. *not* SAVE.  SAVE is not a valid command.  This is to prevent people who
  813. have not read the documentation from assuming 'save' takes an argument (and
  814. screwing up their work).  SAVEOLD does NOT take an argument, SAVEAS does.
  815.  
  816. SAVEOLD/SAVEAS do not automatically backup the destination file.  If you
  817. are working in an enviroment where you are worried about ensuring a viable
  818. copy can be recovered if your Amiga crashes in the middle of the save, you
  819. can write a macro to save the file into two places.  Usually, people backup
  820. their working disks so this is not neccesary.
  821.  
  822. Workbench Support:  If DME is run from the workbench, it will automatically
  823. construct an icon file when you save a document.  If run from a CLI, no
  824. icon file is generated.
  825.  
  826.                     V
  827.                   WORKBENCH SUPPORT
  828.  
  829. DME V1.26 and beyond support the workbench in the following way:  (1) you
  830. can click on the DME icon to bring up DME with the file "unnamed".  (2) you
  831. can select one or more standard ascii documents which have DME as the
  832. default tool.  If DME has no knowlege of a text icon, it uses its own.
  833. Command line arguments are passed to DME via the tooltypes entries for
  834. DME's application icon or via individual document icons.  The following
  835. format is used:  (This is a hack, no?)
  836.  
  837.     ****** WARNING, 1.40, most workbench options do not work.
  838.  
  839.     ARG=flag
  840.  
  841.     See the OVERVIEW section for allowed flags.  Only one argument per line
  842.     is allowed (sorry).  The tooltypes for the application icon are
  843.     processed first, then the tooltypes for each document icon are
  844.     processed before each file is loaded.
  845.  
  846.     ARG= -t10
  847.     ARG= -l10
  848.  
  849.                     VI
  850.                   REVISION SUMMARY
  851.  
  852. V1.40 GAMMA INTERMEDIATE
  853.     - No longer configurable with 'config' program.  Now saves window
  854.       dimensions, color selection, and most window modes (insert, margin,
  855.       etc...) to S:dme.config, restoring automatically when any new
  856.       window is brought up.
  857.  
  858.     - Can no longer specify window dimensions on command line or via
  859.       workbench, sorry!
  860.  
  861.     - New commands: SAVECONFIG FGPEN BGPEN HGPEN
  862.  
  863.     - Fixed bug in ARP requester ... wasn't saving D2/D3/A6.  Also fixed
  864.       but in Lattice asm... apparently if the __MERGED section in afilereq.asm
  865.       is first lattice asm generates a 0 byte bss section OOPS!
  866.  
  867.     - This is an Experimental intermediate version
  868.       (executable compiled w/ my compiler and may not compile cleanly under
  869.        Lattice or Aztec)
  870.  
  871. V????
  872.     - didn't restore pr_ConsoleDevice after an execute!
  873.  
  874. V1.39
  875.     - NEW COMMAND, 'setparcol'.  Set paragraph left margin for reformat
  876.       command and word wrap mode.  The default is -1 (same as original
  877.       format), else a column number.
  878.  
  879.     - case sensitive bug fixed.. used to always be case insensitive
  880.       no matter which option you chose.
  881.  
  882.     - search-and-replace bug fixed... cursor positioned to END of
  883.       replaced string to prevent improper operation when replace
  884.       string is a superset of the search string.
  885.  
  886.     - Menus more compact.
  887.  
  888. V1.38
  889.     - Removed fix in 1.37, use '1.4libpatch' if running under 1.4A16.
  890.  
  891.     - FIXED AREXX BUG... DMe would crash if ARexx was installed for
  892.       V's 1.37 and 1.36
  893.  
  894. V1.37
  895.     - 1.4a16 crashes on OpenLibrary() where the library does not
  896.       exist.  Doesn't try to open arex if running under 1.4
  897.       (for now, this is a temporary stopgap)
  898.  
  899. V1.36
  900.     -Removed dres.library IPC.    Removed dres.library requirement.  (ARexx IPC
  901.      still in of course).  Source now compilable under Lattice C and Manx C.
  902.  
  903. V1.35a
  904.     -can change block pen now and DME updates the title using the correct
  905.      color.
  906.  
  907. V1.35
  908.     -Bug in 1.34 fixed, would only work if dres.library was installed
  909.     OOOPPS.
  910.  
  911. V1.34
  912.     -New variables $fpath and $fname have been added.  $fpath is the path
  913.      part of the current filename, including trailing / or : (if any).
  914.      $fname is anything after that.  For example:
  915.  
  916.     FILE        fpath        fname
  917.     s:.edrc     s:         .edrc
  918.     blah                 blah     (path = "")
  919.     /poof        /         poof
  920.  
  921.  
  922. V1.33    RELEASE
  923.     -You can now run <nil: >nil: DME and close the console window that
  924.      you ran it from.  The execute command now requires the NULL: device
  925.      to be mounted or an error will occur.
  926.  
  927.     -space -> tab conversion does not take place after the first control
  928.      character (<32), as well as the first quote ("), open paren ((), or
  929.      single quote (') that it didn't before.
  930.  
  931. V1.32            (small fixes)
  932.     -Fixed workbench bugs, DME would exit if it could not find the
  933.      executables disk object.  No longer does so.
  934.  
  935. V1.31    RELEASE
  936.     -Added new variables $lineno and $colno
  937.     -Added CD command, ARPLOAD automatically CD's to DIR part of
  938.      requester.
  939.     -Added IPC support (my own ipc)
  940.     -Fixed bug in BMOVE (when the source block is an entire file)
  941.  
  942. V1.30C    LIMITED
  943.     -MAJOR!    Macros, Internal variables, and ENV: enviroment variables
  944.         may be specified with $varname, $(varname), or $`varname'.
  945.  
  946.     -New commands:  SET, SETENV, UNSET, UNSETENV    (variable support)
  947.  
  948.     -REFS window bug fixed I hope (made window slightly too small).
  949.     -SAVE[S]MAP bug fixed for space mappings
  950.     -CTAGS doesn't modify the window title if the window is iconified
  951.      (allows you to make the following map: map <somemap> (iconify ctags)
  952.  
  953.  
  954. V1.30B    Limited release
  955.     -Kim fixed a bug in splitpath
  956.     -added CTAGS command... support for Aztec's CTAGS program
  957.     -added ADDPATH command... special directory paths for DME
  958.     -added REMPATH
  959.  
  960.     REFS no longer searches fixed directories, but looks at the
  961.     ADDPATH directories.  CTAGS also looks at the ADDPATH
  962.     directories.  CTAGS supports arbitrary directory specifications
  963.     and is intelligent about where to look for the TAGS file.
  964.  
  965.  
  966. V1.30    RELEASE
  967.     -a couple small bugs fixed
  968.     -fixed text bug that sometimes overwrites the right border
  969.     -added new commands
  970.     SETFONT     (for all of text, static fonts only)
  971.     IGNORECASE  (for searches)
  972.     -added new commands (AREXX support, Kim DeVaughn)
  973.     RX, RX1, RX2
  974.     -added new commands (by Kevin Speghetti)
  975.     PUSHMARK, POPMARK, SWAPMARK, PURGEMARK        block marker stack
  976.     PING, PONG                    text markers (0-9)
  977.  
  978.     note: block marks on the stack, ping and pong, do not track text
  979.     changes (bug).
  980.  
  981.     -Many commands will now work while the text window is iconified
  982.      without having to uniconify it.
  983.  
  984. V1.29E
  985.     -Fixed low memory bug in do_bomve() again.
  986.     -Fixed arp file requestor problems.
  987.     -added ARPINSFILE command.
  988. V1.29D
  989.     -Fixed low memory bug in do_bmove()...
  990. V1.29C
  991.     -highlighted icon window if file modified
  992. V1.29B
  993.     -INLINE FILENAME:
  994.      added $filename variable.    $scanf and $filename can now be embedded
  995.      anywhere on the command line.
  996.     - ^x added (control-character), so you do not have to embed actual
  997.      control characters in your macros.
  998.     - \ overide added (\^x) produces "^x" instead of control-x, etc...
  999.  
  1000. V1.29  RELEASE
  1001.  
  1002.     -Foreign keyboards supported better.
  1003.     -Iconify window is activated rather than not activated.
  1004.     -can keymap keys which normally produce nothing.
  1005.     -blocks are displayed in a different color
  1006.     -can now move/copy across windows
  1007.     -can now resize window while file loading
  1008.     -new commands ARPLOAD ARPSAVE   (uses ARP filerequestor if arp.library)
  1009.      MENUADD MENUDEL MENUDELHDR MENUCLEAR MENUOFF MENUON
  1010.  
  1011.     minor bugs fixed, major remodeling of the source (this is what I
  1012.     use my vacation for!)
  1013.  
  1014.     menus:  the right mouse button may be mapped only if there is no
  1015.     menu, Else is used as the menu selector.  NOTE! It is much faster
  1016.     to surround a set of MENUADD commands in a source file with
  1017.     MENUOFF at the beginning and MENUON at the end.  You can also specify
  1018.     menu items as macros in other commands (example: project-save)
  1019.  
  1020. V1.28h SMALL RELEASE    references work better
  1021.  
  1022. V1.28g SMALL RELEASE    Fixed NK0 bug in 1.28f plus keymap problems in 1.28f
  1023.  
  1024. V1.28f RELEASE
  1025.     Fixed macro bug created in 1.28e... could not specify macros on the
  1026.     command line.
  1027.  
  1028. V1.28e INTERNAL/BETA
  1029.     New Commands:   REF     (c-])   -cross reference the word under the
  1030.                      cursor and bring up a new window
  1031.                      containing a description for that
  1032.                      word.  See docs above.
  1033.  
  1034.     -The keymapping has been fixed and should now work on any foreign
  1035.      keyboard.
  1036.     -MAJOR ADDITION:  () may be used instead of `' to enclose commands.
  1037.      One can enclose the other ... that is, to get the "'" character you
  1038.      can say (this is a charlie's day).
  1039.  
  1040. V1.28c RELEASE
  1041.     New Commands:   CHFILENAME        -change default filename for a window
  1042.             RECALL  (c-esc) -recall command line (e.g. you make a
  1043.                      mistake).    Must be used from a keymap,
  1044.                      default is c-esc.
  1045.  
  1046.             SCANF        -C scanf (single string only).  Extract
  1047.                      strings from the text for use in any
  1048.                      arbitrary command.
  1049.  
  1050.     Command Parser: $scanf        -as an argument by itself is recognized
  1051.                      to be the extracted string from scanf.
  1052.                      Currently, the variable name (after
  1053.                      the dollar) can be anything since only
  1054.                      one variable exists, but use '$scanf'
  1055.                      for future compatibility.
  1056.  
  1057.     -Many Bug fixes (mainly benign bugs)
  1058.     -^C (CONTROL C) now recognized when typed in a window.  c-c is mapped
  1059.      to () = no action.
  1060.     -Please look at the revised default keymappings listed in these docs.
  1061.  
  1062.  
  1063. V1.28 LIMITED RELEASE
  1064.     New Commands :  SCROLLUP    (a-up)
  1065.             SCROLLDOWN    (a-down)
  1066.     Modified Cmds:  ESCIMM
  1067.     The execution of commands specified by an ESCIMM is blocked until
  1068.     the user hits return on the ESCIMM command line.
  1069.  
  1070.             BCOPY
  1071.     No longer unblocks the block.
  1072.  
  1073.     -Title bar status line no longer blinks when it changes
  1074.     -Key releases no longer effect operation
  1075. V1.27 RELEASE
  1076.     -macros run about 20% faster due to hashing of the command table
  1077.     -Maximum # of toggles raised to 256 (see IF/WHILE)
  1078.     -small fixes to the code (nothing major)
  1079.     -child windows inherit tab stops, insert mode, and wordwrap mode
  1080.     -MOUSE BUTTONS AND MOVEMENT CAN NOW BE MAPPED
  1081.     -New Commands: ICONIFY    (used to be hardwired.  Is now a command)
  1082.     -Extended Commands: GOTO    (GOTO END of block)
  1083. V1.26 Beta, minimal Release
  1084.     -Workbench support
  1085.     -New Command:   EXECUTE
  1086. V1.25 RELEASE
  1087.     -BSAVE does NOT UNBLOCK after saving (switch in functionality yet again)
  1088.     -various bugs fixed (IF, tabs on file save)
  1089.     -New Commands: MARGIN, REFORMAT, WORDWRAP, RESIZE,
  1090.            TOPEDGE, LEFTEDGE, WIDTH, HEIGHT
  1091.     -Command line options added for setting the window size and an optional
  1092.      specified script file (when specified, local .EDRC not sourced).
  1093.  
  1094.     -Enhanced Commands: IF  ..more control with conditions, addition of
  1095.                   a couple more specifications.
  1096.                JOIN .. functionality slightly changed
  1097.     -keymaps may now be used as macros in other commands. (macros)
  1098.     -New keymaps added to the default set.
  1099.     -Mouse movement cleaned up a little.
  1100.  
  1101. V1.24 Internal
  1102.  
  1103. V1.23 RELEASE
  1104.     -S:.EDRC now sourced instead of C:.EDRC
  1105.     -User keymappings now work in COMMAND mode (when you hit ESC).
  1106.     -You can now map the Amiga keys ('A' for Amiga, since 'a' is alt).
  1107.     -Enhanced Commands: IF/IFELSE/WHILE (optional '!' in front of cond)
  1108.             new condition 'cb' 'character is in selected block'
  1109.             GOTO block  (goto beginning of block)
  1110.     -NewCommands:    PAGESET SAVETABS
  1111.     -Writing TABS (always 8) out to disk to save space now supported.
  1112.  
  1113. V1.22 RELEASE (BUF FIXES FROM 1.20)
  1114.     -'newfile' fixed
  1115. V1.21 RELEASE (BUG FIXES FROM 1.20)
  1116.     -iconify and window handling fixed
  1117.     -left mouse button now tracks the mouse.
  1118. V1.20 RELEASE
  1119.     -bug fixes: bsave now unmarks the block, bdelete now sets 'modified' flag.
  1120.         (other small fixes).
  1121.     -enhancements: overwrite mode status indicator, find, find-replace now
  1122.         completely implemented (yahhoo!!!)
  1123.     -changed commands:    FIND NEXT PREV: no longer loop back to the top of
  1124.         file or top->bottom in the case of PREV.  DELINE will now delete
  1125.         text on the line if there is only one line of text.
  1126.     -enhanced commands: GOTO REPEAT
  1127.     -new commands: SAVEMAP SAVESMAP TOGGLE SETTOGGLE RESETTOGGLE TLATE
  1128.            IF IFELSE WHILE BSOURCE
  1129.            FINDSTR REPSTR FINDR NEXTR PREVR
  1130.            NEWWINDOW
  1131.     -new keymappings: (see a-s, a-S, f3)
  1132.     -window iconification with mouse menu button.
  1133.  
  1134.  
  1135. V1.12 RELEASE
  1136.     -cursor is now pen #3 rather than #1.
  1137.     -changeover to AZTEC C, smaller executable.
  1138.     -now maps shift space to a space.
  1139.     -new commands: REMEOL, WLEFT, WRIGHT
  1140.     -display bug fixes (SPLIT)
  1141.     -FIND/PREV/NEXT will now abort a REPEAT if string not found.
  1142.  
  1143. V1.11 RELEASE NOTES
  1144.     -Bug fixes (mainly graphical mistakes).
  1145.     -User keymappings are disabled in command mode (so you can unmap
  1146.       single ascii characters you may have mapped).
  1147.     -Illegal key combinations no longer give garbage (e.g. ALT-CURSOR-DOWN)
  1148.       you can, of course, still map them to anything you wish.
  1149.     -Save now checks for error conditions on write.
  1150.     -Uses Default Console Keymap (i.e. no longer assumes USA)... but there
  1151.       *is* some stangeness.
  1152.  
  1153. V1.00 RELEASE NOTES
  1154.     -has find, but no replace function
  1155.     -assumes USA keyboard            (fixed 1.11)
  1156.     -disk files written out use spaces instead of tabs&spaces
  1157.  
  1158.  
  1159.                     VII
  1160.                 COMPILING
  1161.  
  1162. DME now compiles under either Manx C or Lattice C (V5.02 and beyond).
  1163. dres.library is no longer required.
  1164.  
  1165.