home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / epmbbs.txt < prev    next >
Text File  |  1996-05-30  |  12KB  |  244 lines

  1.                 Documentation for EPM update and macro support.
  2.                 ===============================================
  3.  
  4. What is EPM?
  5. ------------
  6.  
  7. The EPM editor is actually a simple application built on top of a very
  8. powerful editor toolkit.  EPM is programmable at a number of levels.
  9. The simplest way to configure EPM is from the Options menu; a number
  10. of features are pre-configured with support for multiple ways of doing
  11. things and to allow the specific method to be chosen dynamically and saved.
  12. (E.g., advanced marking mode or the simple CUA-style; Enter keys can be
  13. configured any one of 6 ways (in line mode), etc.)  (Note:  by default,
  14. EPM 6 has a different menu layout than 5.51, and has no Options menu.
  15. Most of the things configurable via the Options menu in 5.51 have been
  16. moved into the Settings dialog in 6.0x.)  The next level is writing
  17. Rexx macros.  This lets you do some fairly powerful things, but to
  18. take complete advantage of the editor, you have to go to a lower level.
  19. E macros are compiled into .ex files, which are interpreted at run time.
  20. You can control the macros at two levels.  One is by creating a MYCNF.E
  21. and setting flags in it which controls which of the various features
  22. we've already written are included in the .ex files; the second is to
  23. actually write your own macros.  The configuration flags are described in
  24. the User's Guide - enter the command VIEW EPMUSERS to see the User's
  25. Guide, or VIEW EPMUSERS SUMMARY to see a summary of the configuration
  26. constants.  You can also select these on EPM 6's Help menu.  The macro
  27. language is defined and described in the EPM Macro Programmer's Technical
  28. Reference - enter VIEW EPMTECH to see it.  Also, looking through the
  29. existing macros is a good way to become familiar with the language -
  30. particularly if you have any Rexx experience.  (Starting with EPM 6,
  31. macros can be written in C as well.  See EPMCSAMP.ZIP.)
  32.  
  33. EPM can also be controlled via DDE (Dynamic Data Exchange); this is how
  34. we interact with the Workframe/2 product.  Finally, users can use the
  35. E Toolkit to embed one or more E-MLE's (Enhanced Multi-line Edit Controls)
  36. within their own application.  See the package ETKBBS for sample E Toolkit
  37. programs.
  38.  
  39.  
  40. Historical note.
  41. ----------------
  42.  
  43. The EPMBBS package was first released when EPM 5.50 was the OS/2 Enhanced
  44. Editor.  Besides providing documentation and macro support to users, it
  45. enabled OS/2 2.0 users to upgrade to EPM version 5.51.  Later versions of
  46. OS/2 shipped with 5.51, so there seems to no longer be a need to include
  47. EPM 5.51 in this package.  A previous version of this package also
  48. included EPMWRP.ZIP, which was EPM 5.51 linked specially for OS/2 Warp;
  49. it gave better performance on Warp, but would not run on earlier versions
  50. of OS/2.  Since that ships with Warp, there's no point in including it
  51. here.  (If you want it and don't have it, do a selective install from
  52. your Warp distribution.)  The only 5.51-specific piece of code included
  53. here is the 5.51 macro compiler, for those who have not yet upgraded (or
  54. for those using OS/2 1.3; EPM 6 requires OS/2 2.x).
  55.  
  56. We consider EPM 5.x to be "dead"; EPM 6 is very much superior.  If you
  57. start EPM, press F1, select "EPM Features", and page down to the bottom
  58. half of the help text, you'll get a partial list of the new features in
  59. EPM 6.
  60.  
  61.  
  62. What is included here?
  63. ----------------------
  64.  
  65. This package consists of a number of sets of files.  You have the option
  66. of replacing your current Enhanced Editor (EPM 5.5x) with EPM 6, or
  67. adding EPM 6 to your system so that you can use either version.  If you
  68. elect to replace the current EPM, then you can unpack EPMAPP.ZIP into
  69. your \os2\apps directory, and you can erase the ETKE55?.DLL and
  70. ETKR55?.DLL from your \os2\apps\dll directory.  If you would rather keep
  71. both versions, then you can unpack EPMAPP.ZIP into a new directory and
  72. either run EPM 6 from there, or ensure that your PATH includes that
  73. directory before \os2\apps when running EPM 6.  Your EPMPATH should
  74. have \os2\apps *before* the EPM 6 directory, since EPM 6 will skip over
  75. 5.51's *.ex files while attempting to find a usable .ex file, while 5.51
  76. stops with the first *.ex file found.
  77.  
  78. The contents of the files in this package are as follows.  You do not need
  79. to download or unpack all of them.
  80.  
  81. EPMAPP.ZIP - Unpack into \os2\apps, or as described above
  82.    EPM.EXE     - The 6.x version of the editor
  83.    ETPM.EXE    - The 6.x version of the macro compiler
  84.    PMMORE.EXE  - Useful for debugging Rexx macros; entering RXSHELL from
  85.                  EPM will start PMMORE and redirect STDOUT to this window.
  86.                  SAY and TRACE output will be displayed there.
  87.    *.EX        - the 6.x version of the compiled macros
  88.    ACTIONS.LST - A list of toolbar "actions" files.
  89.    EPMHELP.QHL - the updated "quick help" file
  90.    EPMTECH.NDX - An index file for getting macro programmer help.
  91.    *.BMP       - Extra bitmaps for the toolbar.
  92.    EPMKWDS.*   - Keyword highlighting definitions for various programming
  93.                - and markup languages.
  94.    *.BAR       - Sample toolbars that can be loaded.
  95.    EPM603.ICO  - A much nicer icon than the one Boca provided.
  96.    README.EPM  - Read me!  News, change history, etc.
  97.  
  98. EPMBK.ZIP - Unpack into a directory in your BOOKSHELF setting
  99.    EPMUSERS.INF - The EPM User's Guide
  100.    EPMTECH.INF  - The EPM Macro Programmer's Technical Reference
  101.  
  102. EPMDLL.ZIP - Unpack into \os2\apps\dll or a directory in your LIBPATH
  103.    ETK*6xx.DLL - The E Toolkit DLLs.
  104.    ETKUCMS.DLL - User Configurable Menu (toolbar) support.
  105.  
  106. EPMMAC.ZIP - Unpack into an E_MACROS directory and add to your EPMPATH.
  107.            - This contains the macros used to build the standard .ex files.
  108.  
  109. EPMMAC2.ZIP - Unpack into an E_MACROS or EXTRAMAC directory and add to your
  110.             - EPMPATH.  This contains the EPM 6-only macros (mostly for
  111.             - Toolbar actions support).
  112.  
  113. EPMHLP.ZIP - Help for EPM, UCMENUS, and some toolbar actions files.
  114.            - Unpack into \os2\help
  115.  
  116. EPMSMP.ZIP - Unpack into a sampmacs directory and add to your EPMPATH.
  117.    *.e - Sample E macro code; includes both useful programs and building
  118.          blocks that you can use in writing your own code.
  119.  
  120. EBOOKE.ZIP - Unpack into an EBOOKIE directory.
  121.    EBookie is an EPM add-on that makes it much easier to create tagged
  122.    source files.  Support is included for Bookmaster, Starter Set GML, and
  123.    IPF files (used to create OS/2 Help and View files).
  124.  
  125. LAMPDQ.ZIP - Unpack; contains a file to be uploaded to the host.
  126.    LAMPDQ lets you enter commands in EPM that will be executed on your
  127.    (logged on) VM host session and see the results in EPM.  Requires
  128.    Communications Manager.
  129.  
  130. EPMREX.ZIP - Unpack into a directory in your path.
  131.    epmrexx.doc - documentation for writing EPM Rexx macros.
  132.    *.erx - contains some sample EPM / Rexx macros.
  133.  
  134. EPMASI.ZIP - Unpack into a myassist directory and add to your EPMPATH.
  135.    An alternative approach to syntax-assisted editing; makes it easy to
  136.    add your own expansions.  Includes sample files for OS/2 and PM APIs,
  137.    C, and Bookmaster.
  138.  
  139. EPMATR.ZIP - Unpack into an epmattr directory and add to your EPMPATH.
  140.    Sample code for doing things with EPM's attribute support.
  141.  
  142. EPMSPCH.ZIP - Speech support (for IBM Personal Dictation System).
  143.  
  144. EPMCSAMP.ZIP - Sample code for writing EPM macros in C.  Unpack so as to
  145.                preserve the directory structure (the default using UNZIP;
  146.                specify the -d option if using PKUNZIP2).
  147.  
  148. EPMDDE.ZIP - Sample code for controlling EPM via DDE.
  149.  
  150. EPMBMPS.ZIP - Copies of the built-in BMPs, for those who want to modify
  151.               them for whatever purpose.
  152.  
  153. ETPM551.ZIP - The 5.51 version of ETPM.EXE.
  154.  
  155. The minimum you need in order to get EPM 6 is EPMAPP and EPMDLL; add
  156. EPMHELP for the new help file.  If you want to recompile the macros,
  157. you'll need E_MACROS, and probably EPMBOOK for the documentation.  If you
  158. want to write your own macros, or if you just want to try some of the
  159. samples, get a copy of SAMPMACS.  EBOOKIE, EPMSPCH and LAMPDQ are only
  160. for those who require their somewhat specialized functions.
  161.  
  162. There are READ.ME files included in EPMMAC, EPMSMP, EBOOKE, EPMSPCH,
  163. and LAMPDQ.  The one in EPMMAC includes answers to a number of common
  164. questions.
  165.  
  166. What about support?
  167. -------------------
  168.  
  169. All the sample code is provided "as-is", with no warranty of any kind.
  170. It was written by a number of different people, and some of the code is
  171. more polished than other pieces.
  172.  
  173. The EPM authors monitor the E-EDITOR CFORUM on the IBM OS/2 BBS's, and
  174. the Internet news groups comp.os.os2.misc, comp.os.os2.apps,
  175. comp.os.os2.programmer.tools, and comp.os.os2.programmer.misc (please
  176. use the appropriate group).  We will try to answer questions asked in
  177. either place.
  178.  
  179. (signed)
  180. The OS/2 Applications and Tools Group
  181. IBM Thomas J. Watson Research Center
  182.  
  183.    Updates (to EPMBBS package; see README.EPM in EPMAPP.ZIP for changes to EPM)
  184.    =======
  185. 1992/09/23  EPMBBS.TXT - Mention the 4 included READ.ME files
  186.             EPMMAC.ZIP - Don't allow SAVEAS if a file is locked.
  187.             EPMBK.ZIP  - Added description of all configuration constants.
  188.             LAMPDQ.ZIP - Updated old syntax.
  189.  
  190. 1992/10/16  EPMAPP.ZIP, EPMDLL.ZIP - Various fixes, including:
  191.  - Top of file markers were invisible in DBCS countries if DB code page
  192.    was in use.
  193.  - Problems with long lists of files from the file dialog.
  194.  - Dropping filespecs containing spaces on the EPM icon.
  195.  
  196.             EPMMAC.ZIP - Fixes and enhancements, including:
  197.  - DRAG_ALWAYS_MARKS constant
  198.  - BACKUP_PATH supports '=' to back up to same directory as source file
  199.  - Error checking for BACKUP_PATH if HOST_SUPPORT = 'EMUL'
  200.  
  201.             EPMBK.ZIP  - Various updates.
  202.             EPMSMP.ZIP - DOSCALLS and EA updated; new SAVEALL.E.
  203.             LAMPDQ.ZIP - Use HOSTCOPYDRIVE instead of Hostdrive.
  204.  
  205. 1993/03/29  EPMDLL.ZIP, EPMAPP.ZIP, EPMBK.ZIP, EPMHLP.ZIP, EPMMAC.ZIP
  206.             - Various updates.  Biggest change is new print support.
  207.               Also a number of new configuration constants.
  208.             EPMSMP.ZIP - New EPMPRT.E to add a Printer Codes menu, and
  209.               additions to DOSCALLS.E.
  210.             EPMASI.ZIP, EPMATR.ZIP
  211.             - New additions to package; see descriptions above.
  212.  
  213. 1993/07/19  EPMDLL.ZIP, EPMAPP.ZIP, EPMBK.ZIP, EPMHLP.ZIP, EPMMAC.ZIP
  214.             - Various updates.  Includes fix for trap when pasting tabs,
  215.               and for "Raw ASCII Dump" print of marked area printing
  216.               entire file.
  217.  
  218. 1993/08/05  EPMDLL.ZIP, EPMAPP.ZIP, EPMMAC.ZIP
  219.             - Ensure we get a pure pallette, so circles aren't fuzzy.
  220.             - Added a workaround for when OS/2 2.1 leaves the EPM.INI file
  221.               read-only.
  222.             - Various other small fixes.
  223.  
  224. 1993/10/19  Various updates.
  225.  
  226. 1994/04/04  Various updates.
  227.  
  228. 1994/11/10  Various updates, including DBCS fixes.  Added EPMWRP.ZIP.
  229.  
  230. 1995/03/03  Mostly macro enhancements for EPM 6.  Added EPMSPCH.ZIP.
  231.  
  232. 1995/11/10  Dropped 5.51, added EPM 6.03a.
  233.  
  234. 1996/05/21  EPM 6.03b.  Updated files:
  235.      epmapp.zip   EPM 6.03b.
  236.      epmbk.zip    Updated documentation.
  237.      epmdll.zip   EPM 6.03b.
  238.      epmmac.zip   EPM 6.03b.
  239.      epmmac2.zip  EPM 6.03b.
  240.      epmhlp.zip   Updated help file.
  241.      epmsmp.zip   A few new samples.
  242.      epmrex.zip   Added EPMREXX.DOC (documentation on writing EPM Rexx macros)
  243.      epmbmps.zip  Added BMPs for LoadGroup & SaveGroup.
  244.