home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional / OS2PRO194.ISO / os2 / wps / editor / epmtools / epmbk / epmusers.inf (.txt) < prev   
Encoding:
OS/2 Help File  |  1993-04-20  |  266.7 KB  |  8,577 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. Preface ΓòÉΓòÉΓòÉ
  3.  
  4. This manual describes the features of EPM. It is intended for the user who is 
  5. new to EPM. However, it is not meant to be a tutorial; it is assumed that the 
  6. user has had some experience with other editors. The information on how to use 
  7. the editor, therefore, is presented here in a reference or summary manner. 
  8. Tables and lists summarize key functions and commands. If you cannot find what 
  9. you are looking for, refer to the index for cross referencing. 
  10.  
  11. EPM is programmable. Although a discussion of superficial tailoring is 
  12. presented herein, the macro language (the E language) which allows the editor's 
  13. programmability is not discussed in this manual at all. For information on the 
  14. E language, users should refer to The EPM Editor Technical Reference. 
  15.  
  16. Note:  EPM will be used as an abbreviation for the Enhanced Editor throughout 
  17.        this document.
  18.  
  19.  
  20. ΓòÉΓòÉΓòÉ 1.1. Related Manuals ΓòÉΓòÉΓòÉ
  21.  
  22. The following manual contains information related to the E editor: 
  23.  
  24. o The EPM Editor Technical Reference Manual 
  25. o Rexx Information in OS/2 2.0 Information 
  26.  
  27.  
  28. ΓòÉΓòÉΓòÉ 1.2. Special Notices ΓòÉΓòÉΓòÉ
  29.  
  30. The term OS/2 is a trademark of the IBM Corporation. 
  31.  
  32. The term Unix is a registered trademark of the American Telephone and Telegraph 
  33. Company. 
  34.  
  35.  
  36. ΓòÉΓòÉΓòÉ 2. Getting Started ΓòÉΓòÉΓòÉ
  37.  
  38. Basic information on the use of EPM. 
  39.  
  40.  
  41. ΓòÉΓòÉΓòÉ 2.1. Installation ΓòÉΓòÉΓòÉ
  42.  
  43. The details of the installation procedure vary, depending on how you got EPM, 
  44. but the basic concept remains the same. 
  45.  
  46. IBM internal users should get EPM PACKAGE from OS2TOOLS. EPMnnnDL.FLS contains 
  47. the DLLs (where nnn refers to the version number); EPMnnnEX.FLS contains the 
  48. executables (*.EXE and *.EX), help files (EPM.HLP and EPMHELP.QHL), and a 
  49. README file; EPMDOC.FLS contains the online manuals (*.INF) for use with the 
  50. VIEW command and an index file (EPMTECH.NDX); EMACROS.FLS contains the macros. 
  51. All the FLSBIN files on the host must be downloaded in binary, then unpacked 
  52. using LOADRAM2. 
  53.  
  54. Non-IBM users will have the EPMBBS package, either as a set of ZIP files from 
  55. the IBM OS/2 BBS's, from Compuserve, or via anonymous FTP from 
  56. software.watson.IBM.com or other anonymous FTP sites, *or* on a CD-ROM or 
  57. diskettes.  The diskettes may have the ZIP files; the CD-ROM has the files 
  58. already uncompressed into subdirectories.  The EPMBBS package includes an 
  59. EPMBBS.TXT file describing all the files included; only a subset will be 
  60. described here:  EPMDLL.ZIP contains the DLLs; EPMAPP.ZIP contains the 
  61. executables (*.EXE and *.EX), quick help file (EPMHELP.QHL), and index file 
  62. (EPMTECH.NDX); EPMHLP.ZIP contains the help file (EPM.HLP); EPMMAC.ZIP contains 
  63. the macros. 
  64.  
  65. EPM can be used with OS/2 1.3 or above.  The IBM internal distribution includes 
  66. everything necessary; the external package would require the purchase of 
  67. additional DLLs in order to run on OS/2 1.3. When installing on OS/2 2.0 or 
  68. above, you can add this version of EPM as a separate package, or replace the 
  69. existing Enhanced Editor.  The subdirectories to be used when replacing the 
  70. existing Enhanced Editor are given in brackets; [\os2] refers to the \os2 
  71. directory on your OS/2 installation drive. The suggestions to not use the OS/2 
  72. directories apply only when not replacing the Enhanced Editor version of EPM. 
  73.  
  74. Place the executables and quick help file in an EPM subdirectory on a hard 
  75. disk. (Here, we will assume D:\EDIT\EPM.)  [\os2\apps] 
  76.  
  77. The DLL's are dynalink libraries, which should be placed in a subdirectory in 
  78. your LIBPATH. You can create a new subdirectory for EPM, or place the DLLs in a 
  79. generic \DLL subdirectory. We suggest you not use one of OS/2's directories. 
  80. [\os2\apps\dll] 
  81.  
  82. Place the E macro files in an EMACROS subdirectory on a hard disk. (Here, we 
  83. will assume C:\EMACROS.) 
  84.  
  85. The EPM.HLP help file should be placed in a subdirectory listed in your HELP 
  86. setting in CONFIG.SYS. You can create a new subdirectory for EPM, or place the 
  87. file in a generic \HELP subdirectory. We suggest you not use one of OS/2's 
  88. directories.  [\os2\help] 
  89.  
  90. The INF files should be placed in a directory in your BOOKSHELF setting. 
  91.  
  92. The NDX file can be placed in a directory in your EPMPATH or DPATH setting. 
  93.  
  94.  1. Add EPM subdirectory to your PATH environment variable in your CONFIG.SYS 
  95.     file. For example: 
  96.  
  97.         set path=d:\edit\epm;c:\os2;c:\os2\system; ...
  98.  
  99.  2. Create an EPMPATH environment variable in your CONFIG.SYS file specifying 
  100.     your EPM subdirectory.  For example: 
  101.  
  102.         set EPMPATH=d:\edit\epm
  103.  
  104.     EPM will search for EPM.EX (the translated macros), and all other *.ex 
  105.     files it needs to operate, in: 
  106.  
  107.     a. the current directory, and then in 
  108.  
  109.     b. the directories specified by the EPMPATH environment variable, and then 
  110.        in 
  111.  
  112.     c. the directories specified by the PATH environment variable, and then in 
  113.  
  114.     d. the same directory as the editor's EPM.EXE file. 
  115.  
  116.  3. Be sure the DLL files are referenced by the LIBPATH tag in CONFIG.SYS. 
  117.  
  118.     Add your new EPM directory to the LIBPATH tag in your CONFIG.SYS file or 
  119.     copy all .DLL files to your C:\OS2\DLL subdirectory. 
  120.  
  121.  4. If you always start EPM from the same place (so that EPM's current 
  122.     subdirectory is the one containing the .HLP files), then you can simply put 
  123.     the .HLP files in EPM subdirectory.  If not, then you must include the 
  124.     directory containing the .HLP files in your HELP setting in your 
  125.     CONFIG.SYS, so that the OS/2 Help Manager can find them. 
  126.  
  127.  5. Optional Step:  Create a program reference.  For information on doing this 
  128.     see the OS/2 Online Help. 
  129.  
  130.  6. Add EPM to STARTUP.CMD (Optional). 
  131.  
  132.     You can add EPM to your OS/2 start up batch file. This will put EPM icon in 
  133.     the parking lot at the bottom of the screen, ready for use. To do this, add 
  134.     to your STARTUP.CMD: 
  135.  
  136.             start d:\edit\epm\epm.exe /i
  137.         (or whatever directory name you put EPM in).
  138.  
  139.  7. To make the changes take effect, especially if you've modified the LIBPATH 
  140.     statement, reboot your machine. Select Shutdown, or press Ctrl-Alt-Del 
  141.     simultaneously to reboot. Rebooting is not necessary if you did not change 
  142.     LIBPATH, but the changes to Path and addition of Epmpath to CONFIG.SYS 
  143.     won't be recognized until the next reboot unless you specifically type them 
  144.     at the OS2 command prompt. 
  145.  
  146. Fini! You can run the standard EPM as is at this point. We strongly recommend 
  147. that new users become familiar with the many features of standard EPM before 
  148. customizing it. 
  149.  
  150. If you are interested in customizing EPM, you will need to: 
  151.  
  152.  1. Be sure EPM.E expects to include your changes in a compile. 
  153.  
  154.     Changes to MYCNF.E, MYSTUFF.E and some other MY*.E files will be 
  155.     automatically included. See Adding New Features, Changing the Default 
  156.     Configuration, and The EPM Editor Technical Reference for specifics. 
  157.  2. Recompile EPM.E. 
  158.  
  159.         ETPM EPM
  160.  
  161.     See the section Compiling Macros for more information on ETPM. 
  162.  
  163.  
  164. ΓòÉΓòÉΓòÉ 2.2. To Invoke the Editor ΓòÉΓòÉΓòÉ
  165.  
  166. There are a few ways of invoking EPM depending on how you installed it and from 
  167. where you wish to run it: 
  168.  
  169. o From the Desktop Manager's Main Group (or other group) 
  170.  
  171.   Assuming it's been added there: Double click on the name you gave it and 
  172.   watch EPM book icon appear at the bottom of the screen. Continue as in the 
  173.   next item. 
  174.  
  175. o From the running editor icon on the desktop 
  176.  
  177.   Assuming you've added EPM to STARTUP.CMD and the system's either been 
  178.   rebooted or you've explicitly run STARTUP: Double click on the icon and 
  179.   respond to the Enter File Name dialog box that appears by entering the file 
  180.   specification of the file to be edited. Use the file specification discussed 
  181.   in the next item. 
  182.  
  183.   Note:  If you don't enter a name, an edit window will appear entitled 
  184.          .Untitled which you can name later. 
  185.  
  186. o From the OS/2 command prompt. 
  187.  
  188.     EPM filespec
  189.  
  190.   Filespec can be one or more file names. If a specified file doesn't exist it 
  191.   will be created. Multiple files can be loaded into a ring (more on the ring 
  192.   structure soon) by using wildcard characters or separating the filenames with 
  193.   spaces. For example: 
  194.  
  195.     *.asm
  196.     fileA.e fileB.e fileC.e
  197.   In the first example, all the files with a extension of .ASM will be loaded 
  198.   into a ring. In the second example the fileA.e, fileB.e, and fileC.e will be 
  199.   loaded (or created if they don't already exist) into a ring. 
  200.  
  201. Once you've invoked EPM, the file(s) will be loaded into EPM's own free-roaming 
  202. PM window. See Adding Files into an Edit Ring for information on seeing the 
  203. different files in a ring. See EPM Window Setup for more information on the 
  204. window. 
  205.  
  206.  
  207. ΓòÉΓòÉΓòÉ 2.3. OS/2 Command Line Startup Options ΓòÉΓòÉΓòÉ
  208.  
  209. Several slash options can be given to EPM upon startup to initiate various 
  210. editor features. A list of these options follow: 
  211.  
  212. /e  Overrides the default loading of EPM.EX. A path and file name of a .ex file 
  213.     must follow the '/e' option. 
  214.  
  215.         EPM /eC:\MYEPM\MYEPM.EX
  216.  
  217. /i  Keeps EPM running even when all windows have been terminated. 
  218.  
  219. /m  Forces a new instance of EPM book icon, even if another EPM book already 
  220.     exists. (/M stands for Multiple.) Useful from a command file, when you want 
  221.     to ensure that control will not return until after the edit session ends. 
  222.     Normally, if an EPM book icon exists, a call to EPM will pass the arguments 
  223.     to the existing book and immediately return to the calling OS/2 session. 
  224.  
  225. /o  Directs EPM to skip over the first open file dialog and display the File 
  226.     list dialog by default. This affects the Open dialog called from EPM book 
  227.     icon, and the Edit, Open and Get dialogs called from an EPM edit window. 
  228.  
  229. After removing any of the above options, the OS/2 command line argument is 
  230. passed to an internal Edit command. This means that you can pass EPM commands 
  231. to be executed as well as files to be edited on EPM command line. See the 
  232. description of the EDIT command for examples of passing commands to the new 
  233. edit window. 
  234.  
  235.  
  236. ΓòÉΓòÉΓòÉ 3. Basic Procedures ΓòÉΓòÉΓòÉ
  237.  
  238. This section will cover all of the basic procedures necessary to begin editing 
  239. right away.  The procedures will be described in an abbreviated fashion. 
  240. Detailed descriptions of the procedures will be given later in the manual. 
  241.  
  242.  
  243. ΓòÉΓòÉΓòÉ 3.1. EPM Window Setup ΓòÉΓòÉΓòÉ
  244.  
  245. The screen should be a familiar PM window that will look something like: 
  246.  
  247.           This is the title bar. It contains the icon for the system (which 
  248.           also functions as a direct manipulation icon).  As well as the 
  249.           filename of the file being edited, two ring buttons, and the 
  250.           minimizing and maximizing arrows. 
  251.           This is the action bar which has six options listed (this can be 
  252.           changed). To use one of these functions, position the mouse over your 
  253.           choice and hit button one. Then position the mouse over your choice 
  254.           from within the menu and hit button one on your mouse again. 
  255.           Alternatively, you can press F10 or press and release the Alt key to 
  256.           reach the action bar.  Then use the arrow keys on your keyboard to 
  257.           reach the correct function. Press enter to choose that function. Use 
  258.           the arrow keys and enter in the same way to choose the menu function. 
  259.           This is the status line. It defaults to displaying the cursor line 
  260.           number, the total number of lines in the file, the cursor column 
  261.           number, the insert/replace mode of the cursor, the modify state (only 
  262.           displayed when the file has been modified) and the number of files in 
  263.           the ring. This can be altered. See the STATUS_TEMPLATE configuration 
  264.           option for more information on modifying the status line. The status 
  265.           line display can be turned off (or on) using the Status line option 
  266.           from the Frame Controls cascade in the Options action bar menu. 
  267. The Message line 
  268.           The message line is used to display editor messages. This line can be 
  269.           toggled off (or on) using the Message line option from the Frame 
  270.           Controls cascade in the Options action bar menu. If the message line 
  271.           has been toggled off, the messages will be displayed temporarily 
  272.           overlaying the status line. If the status line is not present, then 
  273.           the messages will be displayed temporarily overlaying the first line 
  274.           of the file area. If a line is overlaid, it will be restored with the 
  275.           next keyboard or mouse action taken. 
  276.  
  277.           Note:  In the standard configuration, the Message Line has been 
  278.           toggled off. Thus messages will temporarily overwrite the Status Line 
  279.           as needed. 
  280.  
  281.  
  282. File Area 
  283.           This is where your file is displayed and can be updated. It is by 
  284.           default a white window with black text (this can be changed). 
  285.  
  286.  
  287. ΓòÉΓòÉΓòÉ 3.2. Basic Cursor Movement ΓòÉΓòÉΓòÉ
  288.  
  289. The easiest way to move around EPM file area is through the use of the 
  290. following cursor movement keys: 
  291.  
  292. Up arrow 
  293.                     Moves cursor one line up. 
  294. Down arrow 
  295.                     Moves cursor one line down. 
  296. Left arrow 
  297.                     Moves cursor one character to the left. 
  298. Right arrow 
  299.                     Moves cursor one character to the right. 
  300. Home 
  301.                     Moves cursor to the beginning of the current line. 
  302. End 
  303.                     Moves cursor to the end of the current line. 
  304. Page up 
  305.                     Shifts view to page above current page, cursor stays at 
  306.                     same position on screen. 
  307. Page down 
  308.                     Shifts view to page below current page, cursor stays at 
  309.                     same position on screen. 
  310. Ctrl+Home 
  311.                     Moves cursor to top line of file. 
  312. Ctrl+End 
  313.                     Moves cursor to bottom line of file. 
  314. Ctrl+Page up 
  315.                     Moves cursor to top of screen. 
  316. Ctrl+Page down 
  317.                     Moves cursor to bottom of screen. 
  318. Ctrl+Left 
  319.                     Moves cursor to beginning of word left of cursor. 
  320. Ctrl+Right 
  321.                     Moves cursor to beginning of word to right of cursor. 
  322. Tab 
  323.                     Moves cursor to next tab stop.  (See Setting Tabs). 
  324. Shift-tab 
  325.                     Moves cursor to previous tab stop.  (See Setting Tabs). 
  326. Enter 
  327.                     Inserts a new line and moves the cursor under first 
  328.                     non-blank character of the previous line. 
  329. Ctrl-Enter 
  330.                     Moves cursor to column 1 of next line. 
  331.  
  332. See Also: 
  333.  
  334. o Cursor Movement- more information on cursor movement in EPM. 
  335. o Stream verses Line Mode- information on stream and line modes. 
  336. o Enter Key Behavior- information on configuring the enter key. 
  337.  
  338.  
  339. ΓòÉΓòÉΓòÉ 3.3. Basic File Control ΓòÉΓòÉΓòÉ
  340.  
  341. How to open, close, print, save and rename files. 
  342.  
  343.  
  344. ΓòÉΓòÉΓòÉ 3.3.1. Opening a New Edit Ring ΓòÉΓòÉΓòÉ
  345.  
  346. There are three ways to open a new edit ring: 
  347.  
  348. o From the OS/2 command line: 
  349.  
  350.     1. Type EPM 
  351.     2. Press the ENTER key. 
  352.  
  353. o Using EPM book icon: 
  354.  
  355.     1. Double click on the book icon. 
  356.     2. Hit OK. 
  357.  
  358. o From an already existing edit ring: 
  359.  
  360.     1. Open the File menu from the Action Bar. 
  361.     2. Choose Open .Untitled selection. 
  362.  
  363. See Also: 
  364.  
  365. o Opening Edit Rings- Details on opening edit rings. 
  366.  
  367.  
  368. ΓòÉΓòÉΓòÉ 3.3.2. Adding Files to an Existing Edit Ring ΓòÉΓòÉΓòÉ
  369.  
  370. Note:  To add more than one file to the edit ring the Ring Enabled option must 
  371.        be turned on.  If it is not, it can be turned on by choosing Ring 
  372.        Enabled from the Preferences cascade from the Options menu.
  373.  
  374.  To add files to an existing edit ring follow these steps: 
  375.  
  376.  1. Select the edit window to which you wish to add the file. 
  377.  
  378.     Note:  If none exists follow the procedure found in Opening a New Edit Ring 
  379.  
  380.  
  381.  2. Either: 
  382.  
  383.    o Select Add File... from the File menu, or: 
  384.  
  385.    o Press the F8 key. 
  386.  
  387.  3. If the file you wish to load is found in the recently loaded file list in 
  388.     the newly created dialog box, load it by double-clicking on it with the 
  389.     mouse or by selecting it with the arrow keys and hitting ENTER, or if you 
  390.     know the name of the file you wish to load, you can type it in the Entry 
  391.     Field and press Enter. Otherwise: 
  392.  
  393.     a. Press the File list... button. 
  394.     b. To load a file from the newly created window follow these steps: 
  395.  
  396.        1. Change the current drive if necessary by moving to the drive window 
  397.           and typing the letter of the drive or selecting the drive by opening 
  398.           the pull down list by clicking on the down arrow with the mouse or by 
  399.           typing Ctrl+Down. 
  400.        2. Change the current directory if necessary by double clicking on the 
  401.           directory name with the left mouse button or by selecting the 
  402.           directory name with the keyboard and pressing Enter. 
  403.        3. Finally open the file by double clicking on the name in the file list 
  404.           with the left mouse button or by selecting the file(s) you want and 
  405.           pressing Enter. 
  406.  
  407.           Note:  Further help on the file list box is available and can be 
  408.                  accessed by pressing the help button in the dialog box.
  409.  
  410.  
  411. The dialog box is now clear and the file will be active in the current edit 
  412. window. 
  413.  
  414. See Also: 
  415.  
  416. o Adding Files to an Edit Ring- Details on adding files to an edit ring. 
  417.  
  418.  
  419. ΓòÉΓòÉΓòÉ 3.3.3. Closing Files ΓòÉΓòÉΓòÉ
  420.  
  421. To close the current file in the active edit ring either: 
  422.  
  423.  1. Open the File menu. 
  424.  2. Choose Quit. 
  425.  
  426. Or: 
  427.  
  428.  1. Press F3. 
  429.  
  430. Note:  If the file has been modified since your last save EPM will prompt you 
  431.        on whether you wish to save or discard your changes.  To continue press 
  432.        the appropriate button.
  433.  
  434. See Also: 
  435.  
  436. o Closing the Current File- Details on closing files. 
  437.  
  438.  
  439. ΓòÉΓòÉΓòÉ 3.3.4. Saving Files ΓòÉΓòÉΓòÉ
  440.  
  441. To save the current file either: 
  442.  
  443.  1. Open the File menu. 
  444.  2. Choose the Save command. 
  445.  
  446. Or: 
  447.  
  448.  1. Press F2. 
  449.  
  450. See Also: 
  451.  
  452. o Saving the Current File- Details on saving files. 
  453.  
  454.  
  455. ΓòÉΓòÉΓòÉ 3.3.5. Renaming Files ΓòÉΓòÉΓòÉ
  456.  
  457. To rename the current file: 
  458.  
  459.  1. Bring up the Rename dialog box either: 
  460.  
  461.     a. Open the File menu. 
  462.     b. Choose Rename.... 
  463.  
  464.     Or: 
  465.  
  466.     a. Press F7. 
  467.  
  468.  2. Change the name in the entry field to the new name and press ENTER. 
  469.  
  470. See Also: 
  471.  
  472. o Renaming the Current File- Details on renaming files. 
  473.  
  474.  
  475. ΓòÉΓòÉΓòÉ 3.3.6. Printing Files ΓòÉΓòÉΓòÉ
  476.  
  477. To print a file: 
  478.  
  479.  1. Open the File menu. 
  480.  2. Choose Print File.... 
  481.  3. Choose the appropriate printing device. 
  482.  4. Choose either Formatted Print to print to an OS/2 Print queue, or Raw ASCII 
  483.     text to print to an LPT or COM port. 
  484.  5. If you selected Formatted Print, you can select Options to choose either 
  485.     WYSIWYG or draft mode. 
  486.  6. Press the Print button. 
  487.  
  488. Note:  When printing in WYSIWYG mode, it is important to realize that light 
  489.        foreground colors will not appear on a non-color printer.  To compensate 
  490.        for this, it is necessary to either change the foreground to a dark 
  491.        color (preferably black) or ensure that Monochrome is selected on the 
  492.        Print Options dialog. Background color is ignored when printing in 
  493.        WYSIWYG mode.
  494.  
  495. See Also: 
  496.  
  497. o Printing the File- Details on printing. 
  498. o Direct Manipulation Using the File Icon- Printing using the file icon. 
  499.  
  500.  
  501. ΓòÉΓòÉΓòÉ 3.4. Marking ΓòÉΓòÉΓòÉ
  502.  
  503. How to create the three types of EPM marks: 
  504.  
  505. o Line marks 
  506. o Block marks 
  507. o Character marks 
  508.  
  509.  
  510. ΓòÉΓòÉΓòÉ 3.4.1. Line Marks ΓòÉΓòÉΓòÉ
  511.  
  512. To create a line mark with the keyboard: 
  513.  
  514.  1. Place the cursor on the line from which you wish to originate the mark. 
  515.  2. Press Alt+L. 
  516.  3. Place the cursor on the line where you want to end the mark. 
  517.  4. Press Alt+L. 
  518.  
  519. To create a line mark with the mouse: 
  520.  
  521.  1. Place the mouse cursor over the line where you want the mark to begin. 
  522.  2. Hold down the right mouse button. 
  523.  3. Drag the mouse until the lines which you wish to mark are highlighted. 
  524.  4. Release the mouse button. 
  525.  
  526. Note:  Advanced marking must be activated.
  527.  
  528. See Also: 
  529.  
  530. o Line Marks- Details on creating line marks. 
  531. o Basic Marks- Creating basic marks. 
  532.  
  533.  
  534. ΓòÉΓòÉΓòÉ 3.4.2. Block Marks ΓòÉΓòÉΓòÉ
  535.  
  536. To create a block mark with the keyboard: 
  537.  
  538.  1. Place the cursor to the left of the character where you wish to begin the 
  539.     block mark. 
  540.  2. Press Alt+B. 
  541.  3. Place the cursor to the left of the character where you wish to end the 
  542.     mark. 
  543.  4. Press Alt+B. 
  544.  
  545. To create a block mark with the mouse: 
  546.  
  547.  1. Place the mouse cursor over the character where you want the mark to begin. 
  548.  2. Hold down mouse button 1. 
  549.  3. Drag the mouse until the characters which you wish to mark are highlighted. 
  550.  4. Release the mouse button. 
  551.  
  552. Note:  Advanced marking must be activated.
  553.  
  554. See Also: 
  555.  
  556. o Block Marks- Details on creating block marks. 
  557. o Basic Marks- Creating basic marks. 
  558.  
  559.  
  560. ΓòÉΓòÉΓòÉ 3.4.3. Character Marks ΓòÉΓòÉΓòÉ
  561.  
  562. To create a character mark with the keyboard: 
  563.  
  564.  1. Place the cursor to the left of the character where you wish to begin the 
  565.     mark. 
  566.  2. Press Alt+Z. 
  567.  3. Place the cursor to the left of the character where you wish to end the 
  568.     mark. 
  569.  4. Press Alt+Z. 
  570.  
  571. To create a character mark with the mouse: 
  572.  
  573.  1. Place the mouse cursor over the character where you want the mark to begin. 
  574.  2. Hold down the Ctrl key as well as mouse button 1 or just press mouse button 
  575.     3 if you have a 3 button mouse. 
  576.  3. Drag the mouse until the characters which you wish to mark are highlighted. 
  577.  4. Release the mouse button. 
  578.  
  579. Note:  Advanced marking must be activated.
  580.  
  581. See Also: 
  582.  
  583. o Character Marks- Details on creating character marks. 
  584. o Basic Marks- Creating basic marks. 
  585.  
  586.  
  587. ΓòÉΓòÉΓòÉ 3.5. Mark Manipulation ΓòÉΓòÉΓòÉ
  588.  
  589. These are the basic keys for mark manipulation: 
  590.  
  591. Key       Effect 
  592.  
  593. Alt+C     Copy the marked block to the current cursor position. 
  594.  
  595. Alt+D     Delete the currently marked text from the document. 
  596.  
  597. Alt+M     Move the marked block to the current cursor position. 
  598.  
  599. Alt+U     Remove the current mark. 
  600.  
  601. Alt+A     Overlays block onto current cursor position and fills the origin with 
  602.           blanks. 
  603.  
  604. Alt+O     Overlay the marked text onto the cursor poition. 
  605.  
  606. See Also: 
  607.  
  608. o Moving Text- Details on moving text. 
  609. o Copying Text- Details on copying text. 
  610. o Deleting Text- Details on deleting text. 
  611. o Removing Marks- Details on removing marks. 
  612.  
  613.  
  614. ΓòÉΓòÉΓòÉ 3.6. Setting Margins ΓòÉΓòÉΓòÉ
  615.  
  616. To set the margins in EPM follow these steps: 
  617.  
  618.  1. Press Ctrl+I to bring up the EPM Command Line dialog box. 
  619.  2. Type MARGINS followed by a space. 
  620.  3. Type the left margin followed by a space. 
  621.  4. Type the right margin followed by a space. 
  622.  5. Press ENTER. 
  623.  
  624. For example, if you wanted to set the left margin for 10 and the right margin 
  625. for 75 then you would type the following at the EPM Command Line: 
  626.  
  627. MARGINS 10 75
  628.  
  629. See Also: 
  630.  
  631. o MARGINS command - More details on the MARGINS command. 
  632. o Changing Common Default Values Via the Settings Dialog 
  633.  
  634.  
  635. ΓòÉΓòÉΓòÉ 3.7. Setting Tabs ΓòÉΓòÉΓòÉ
  636.  
  637. Here's how to set tabs in EPM: 
  638.  
  639.  1. Press ESC to bring up the EPM Command Line dialog box. 
  640.  2. Type TABS followed by the frequency of the tab stops. 
  641.  
  642. For example, if you wanted to set tab stops at every 4 characters you would 
  643. type TABS 4 at the Command LIne. 
  644.  
  645. See Also: 
  646.  
  647. o TABS command- More details on the TABS command. 
  648. o Changing Common Default Values Via the Settings Dialog 
  649.  
  650.  
  651. ΓòÉΓòÉΓòÉ 3.8. Changing Font and Color ΓòÉΓòÉΓòÉ
  652.  
  653. To change the current font and/or color of selected text, follow this 
  654. procedure: 
  655.  
  656.  1. Create a mark.  See Marking for information on creating marks. 
  657.  2. Either: 
  658.  
  659.     a. Press Ctrl+Y 
  660.  
  661.     Or: 
  662.  
  663.     a. Open the Edit menu. 
  664.     b. Choose Style.... 
  665.  
  666.  3. Change the font by choosing one from the font list. 
  667.  4. Change foreground color by: 
  668.  
  669.     a. Clicking on the Foreground radio button. 
  670.     b. Choosing a new color from the color list. 
  671.  
  672.  5. Change background color by: 
  673.  
  674.     a. Clicking on the Background radio button. 
  675.     b. Choosing a new color from the color list. 
  676.  
  677. To change the current font and/or color of the current file, see Changing 
  678. Common Default Values Via the Settings Dialog. 
  679.  
  680.  
  681. ΓòÉΓòÉΓòÉ 4. File Manipulation ΓòÉΓòÉΓòÉ
  682.  
  683. This section contains detailed descriptions of all of the commands and 
  684. procedures which deal with the control of files. 
  685.  
  686.  
  687. ΓòÉΓòÉΓòÉ 4.1. File Fundamentals ΓòÉΓòÉΓòÉ
  688.  
  689. EPM can be thought as existing on three separate levels.  The highest level 
  690. contains EPM program.  This top level controls and manages the Edit Rings which 
  691. are found on the second level.  Each of these Edit Rings has its own 
  692. Presentation Manager Window as well as control over a group of files which can 
  693. be considered the third level.  A schematic of these levels would look 
  694. something like this: 
  695.  
  696.                               ΓòöΓòÉΓòÉΓòÉΓòù
  697.                               ΓòæEPMΓòæ
  698.                               ΓòÜΓòÉΓòñΓòÉΓò¥
  699.                ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  700.                Γöé                   Γöé                Γöé
  701.          ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ       ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ    ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  702.          ΓöéEdit Ring 1Γöé       ΓöéEdit Ring 2Γöé    ΓöéEdit Ring 3Γöé
  703.          ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ       ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ    ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  704.         ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ             Γöé                Γöé
  705.    ΓöîΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÉ  ΓöîΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÉ   ΓöîΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÉ      ΓöîΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÉ
  706.    ΓöéFILE1.DOCΓöé  ΓöéFILE2.DOCΓöé   ΓöéFILE3.DOCΓöé      ΓöéFILE4.DOCΓöé
  707.    ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ  ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ   ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ      ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  708.  
  709. In this example EPM has three Edit Rings open. The first Edit Ring contains two 
  710. files, FILE1.DOC and FILE2.DOC. The second Edit Ring contains one file, 
  711. FILE3.DOC.  The third ring also contains one file, FILE4.DOC. 
  712.  
  713.  
  714. ΓòÉΓòÉΓòÉ 4.2. Opening Edit Rings ΓòÉΓòÉΓòÉ
  715.  
  716. The advantage of starting a new window is that you get a new instance of the 
  717. editor, with its own heap and mark. The disadvantage is that each new window 
  718. takes about 70K of memory. We recommend keeping related files together in a 
  719. window. Unrelated files (different projects) should be put in separate windows, 
  720. so you can shrink or hide projects as you switch between tasks. 
  721.  
  722. When editing many files this feature helps group like files.  For instance, 
  723. when working on several different projects, each project can have its own ring 
  724. containing all its own related files. As many rings as needed can be used. 
  725.  
  726. There are three ways in which you can open new edit rings.  This section will 
  727. cover each in detail. 
  728.  
  729.  1. From the OS/2 Command Line:  To do this simply type EPM at the prompt.  If 
  730.     you wish to load files directly into the new ring from the prompt, type the 
  731.     names of the files as arguments.  It is possible to load multiple files 
  732.     into the ring using wildcards or by listing each individual file.  All of 
  733.     the following examples are valid file arguments: 
  734.  
  735.         EPM FILE1.DOC
  736.         EPM FILE2.*
  737.         EPM FILE?.TXT TEMPFILE D:\TEXT\*.*
  738.  
  739.     Several slash options can be given to EPM upon startup to initiate various 
  740.     editor features.  For a list of these and their descriptions see OS/2 
  741.     Command Line Start Options. 
  742.  
  743.  2. Using EPM book icon:  It is possible to create a new edit ring from EPM 
  744.     book icon by double clicking on it with the mouse.  The Open dialog box 
  745.     will now appear, unless the /o option was specified when EPM was started, 
  746.     in which case File List dialog box will appear. 
  747.  
  748.  3. From an active edit ring  From an open edit ring it is possible to create a 
  749.     new edit ring in the following ways: 
  750.  
  751.    o Using the Open Command:  The Open command can be activated in three ways: 
  752.  
  753.        a. From the EPM Command Line:  See Open command description for details 
  754.           on this. 
  755.        b. From EPM File menu:  From EPM File menu the following items will open 
  756.           a new edit ring: 
  757.  
  758.          - Open .Untitled:  Will create the new edit ring with an unnamed file. 
  759.          - Open...:  Will bring up the Open dialog box if activated or the File 
  760.            List dialog box otherwise. 
  761.  
  762.        c. Using the keyboard:  Type Ctrl+O or F5.  This has the same effect as 
  763.           selecting the Open... menu item. 
  764.  
  765. Another way of opening edit rings is though the use of the OPENPATH command. 
  766. The OPENPATH command allows you to search a path variable for a file.  For 
  767. example, if you wanted to serarch for the file TEST.E which you know is in one 
  768. of the directories of the PATH variable, you would enter this command: 
  769.  
  770. OPENPATH TEST.E PATH
  771.  
  772. If the system variable is not given OPENPATH will default to the EPMPATH, 
  773. unless the file given has a CMD extension, when it will default to the PATH 
  774. variable.  The OPENPATH command can be abbreviated to OP. 
  775.  
  776.  
  777. ΓòÉΓòÉΓòÉ 4.3. Adding Files to an Edit Ring ΓòÉΓòÉΓòÉ
  778.  
  779. There are three ways to add new files to an EPM Edit Ring: 
  780.  
  781.  1. Using the EPM Command Line:  The Edit command. 
  782.  
  783.  2. Using the File menu:  Choose the Add File... menu item.  This will bring up 
  784.     the Add File dialog box if activated or the File List dialog box otherwise. 
  785.  
  786.  3. Using the keyboard:  Press F8.  This has the same effect as using the file 
  787.     menu. 
  788.  
  789. Another way of adding files is though the use of the EPATH command.  The EPATH 
  790. command allows you to search a path variable for a file.  For example, if you 
  791. wanted to search for the file TEST.E which you know is in one of the 
  792. directories of the PATH variable, you would enter this command: 
  793.  
  794. EPATH TEST.E PATH
  795.  
  796. If the system variable is not given EPATH will default to the EPMPATH, unless 
  797. the file given has a CMD extension, when it will default to the PATH variable. 
  798. The EPATH command can be abbreviated to EP. 
  799.  
  800. When adding files it important to note the current status of the BROWSE 
  801. command.  If BROWSE is turned on, you will be unable to modify the file.  To 
  802. determine the state of the BROWSE variable type either BROWSE or BROWSE ? at 
  803. the EPM Command Line.  To activate BROWSE mode enter BROWSE ON.  To turn off 
  804. the feature use BROWSE OFF. 
  805.  
  806. Note:  To add more than one file to the edit ring the Ring Enabled option must 
  807.        be turned on.  If it is not, it can be turned on by choosing Ring 
  808.        Enabled from the Preferences cascade from the Options menu.
  809.  
  810.  
  811. ΓòÉΓòÉΓòÉ 4.4. Switching between Files in an Edit Ring ΓòÉΓòÉΓòÉ
  812.  
  813. When multiple files are loaded into the editor, you see only one file at a time 
  814. on your screen. 
  815.  
  816. There are three ways of switching between files in the current edit ring: 
  817.  
  818.  1. Scrolling through the files using the keyboard: You can view one of the 
  819.     other files that are already loaded by pressing the Ctrl-P, F11, Ctrl-N, 
  820.     F12 key. 
  821.  
  822.     When multiple files are loaded into the editor, they are placed in a ring 
  823.     structure. This enables you to move through the ring of files forward 
  824.     (Ctrl-N[ext] or F12) and backward (Ctrl-P[revious] or F11), viewing all the 
  825.     files and always returning back to your original place. For example, assume 
  826.     that you have invoked the editor with the following filename specification: 
  827.  
  828.         fileA.e fileB.e fileC.e
  829.     When EPM window comes up, you will be viewing fileA.e. If you press F12 or 
  830.     Ctrl-N, you will see fileB.e, and you can see fileC.e by pressing F12 or 
  831.     Ctrl-N again. If you press the key once more, you will be returned to your 
  832.     view of fileA.e. 
  833.  
  834.  2. Selecting the current file using the ring list:  Open the List Ring dialog 
  835.     box using either of the following methods: 
  836.  
  837.    o Choosing the List Ring... item from the Options menu. 
  838.    o Typing Ctrl+G 
  839.  
  840.     Then choose the file which you wish to activate from the files listed. 
  841.  
  842.  3. Using the Ring Buttons: These are the ring buttons: 
  843.  
  844.     They are located on the Title bar.  The ring buttons can also be used to 
  845.     switch between files.  The left hand ring button switches to the previous 
  846.     file in the ring and the right hand one switches the next file. 
  847.  
  848. Note:  To add more than one file to the edit ring the Ring Enabled option must 
  849.        be turned on.  If it is not, it can be turned on by choosing Ring 
  850.        Enabled from the Preferences cascade from the Options menu.
  851.  
  852.  
  853. ΓòÉΓòÉΓòÉ 4.5. Saving the Current File ΓòÉΓòÉΓòÉ
  854.  
  855. To save the current file you may use any of the following procedures: 
  856.  
  857. o Using the EPM Command Line:  Enter SAVE at the EPM Command Line. 
  858.  
  859. o Using the File Menu:  There are two techniques for saving from the File menu: 
  860.  
  861.     1. Save:  Saves the file. 
  862.     2. Save as...:  Allows the user to rename the file before saving by 
  863.        bringing up the Save as dialog box. 
  864.  
  865. o Using the keyboard:  Type F2. 
  866.  
  867. EPM also contains an AUTOSAVE which will save the file after a set number of 
  868. modifications have been made to the file.  To view the current autosave 
  869. settings type AUTOSAVE at the EPM Command Line, or select Autosave... from the 
  870. Options menu. The autosave value is the number of modificatinos which must be 
  871. made to the file before an autosave is preformed. Name is the name of the 
  872. current autosave file.  There are five options which can be used with the 
  873. autosave command.  They are as follows: 
  874.  
  875. Option                   Effect 
  876. AUTOSAVE ####            Sets the number of modifications before an autosave. 
  877.                          Setting the number of modifications to 0 turns off the 
  878.                          autosave feature. 
  879. AUTOSAVE ON|OFF          Turns the autosave feature on or off. 
  880. AUTOSAVE ?               Opens a dialog box containing the number of 
  881.                          modifications between autosaves and the name of the 
  882.                          current autosave file as well as the option to list 
  883.                          all of the files in the autosave directory. 
  884. AUTOSAVE DIR             Lists all of the files in the autosave directory. 
  885.  
  886.  
  887. ΓòÉΓòÉΓòÉ 4.6. Closing the Current File ΓòÉΓòÉΓòÉ
  888.  
  889. There are two different manners for closing files Quiting and Filing.  Quitting 
  890. simply closes the file, whereas filing will save the file then close it. 
  891.  
  892. They can be performed as follows: 
  893.  
  894. o Quitting:  There are three different procedures for quitting: 
  895.  
  896.     1. From the EPM Command Line:  Using the QUIT command. 
  897.     2. From the File menu:  Choose Quit. 
  898.     3. Using the keyboard:  Press F3. 
  899.  
  900. o Filing:  There are several ways for filing: 
  901.  
  902.     1. From the EPM Command Line:  Using the FILE command. 
  903.     2. From the File menu:  Choose Save and quit. 
  904.     3. Using the keyboard:  Press F4. 
  905.  
  906. In each of these cases, if the file has been modified since the previous save a 
  907. Quitting file dialog box will appear which is self explanatory. 
  908.  
  909.  
  910. ΓòÉΓòÉΓòÉ 4.7. Direct file manipulation using the File icon ΓòÉΓòÉΓòÉ
  911.  
  912. The File icon is located to the left of the title bar. It can be used to 
  913. achieve the following: 
  914.  
  915. o Print the current file. 
  916. o Copy a file to another edit window. 
  917. o Create another edit window containing your file. 
  918. o Copy files to a folder on the desktop. 
  919. The File icon is manipulated in the following way: 
  920.  
  921. Select the file icon by pointing to it with your pointing device (mouse) and 
  922. pressing button 2. Keeping button 2 down, move the mouse pointer over either: 
  923.  
  924. o The Print Manager icon, to print the file. 
  925. o An EPM edit window, to copy the file. 
  926. o EPM icon, to create another edit window containing your file. 
  927. o A folder on the desktop, to copy the file to that directory. 
  928.  
  929. Note:  When dragging EPM file icon to the printer or to the File Manager, the 
  930. current state of the file in memory will be printed or saved. When dragging EPM 
  931. file icon to another EPM edit window or to the EPM book icon, the file loaded 
  932. will be the file that exists on disk. Any changes made since the file was 
  933. loaded or last saved will not be seen in the new copy. 
  934.  
  935.  
  936. ΓòÉΓòÉΓòÉ 4.8. Renaming the File ΓòÉΓòÉΓòÉ
  937.  
  938. If you wish to rename the current file there are four ways in which to do it. 
  939. All of the following are acceptable ways to rename files: 
  940.  
  941.  1. From the EPM Command Line:  Issue the NAME command or the RENAME command. 
  942.  
  943.  2. Through the File Menu:  Open the File menu then choose Rename....  To 
  944.     change the name of the file replace the name in the dialog box with the new 
  945.     name and press ENTER. 
  946.  
  947.  3. Using the mouse:  Place the mouse cursor over EPM title bar then 
  948.     double-click with the right mouse button.  The title bar will have now 
  949.     turned white and you can now change the name of the file. 
  950.  
  951.  4. Using the keyboard:  Press F7. 
  952.  
  953.  
  954. ΓòÉΓòÉΓòÉ 4.9. Printing a File ΓòÉΓòÉΓòÉ
  955.  
  956. To print in draft mode follow these steps: 
  957.  
  958.  1. Bring up the EPM Command Line. 
  959.  
  960.  2. Type PRINT. 
  961.  
  962.  3. Press the ENTER key. 
  963. This procedure will print the marked text to the default printer.  If no text 
  964. is marked this procedure will print the entire file to the default printer. 
  965.  
  966. If you wish to print to a printer other than the defaut follow add enter the 
  967. destination of the file as a parameter of the PRINT command. Valid destinations 
  968. are LPT1: - LPT9: 
  969.  
  970. For example, if you wanted to print to LPT2: you would type this at the EPM 
  971. Command Line: 
  972.  
  973. PRINT LPT2:
  974.  
  975. An alternate way to print the file is: 
  976.  
  977.  1. Open the File menu from the Action Bar. 
  978.  
  979.  2. Choose Print file.... 
  980.  
  981. This procedure will bring up a dialog box.  In the dialog box first choose 
  982. whether you want to print formatted text or raw ASCII text.  Next choose the 
  983. printer queue or printer port to which you wish to send the output. For 
  984. formatted output, you can choose between draft and WYSIWYG printing mode. 
  985.  
  986. Warning: If printing in WYSIWYG mode the foreground text must be in a dark 
  987. color, preferably BLACK, or Monochrome must be selected as a print option..
  988.  
  989.  
  990. ΓòÉΓòÉΓòÉ 4.10. Appending a File ΓòÉΓòÉΓòÉ
  991.  
  992. To append a marked section of text from the current file, or the entire file to 
  993. the end of a file which has not been loaded into the editor use the APPEND 
  994. command.  This command is used in the following manner: 
  995.  
  996. APPEND filename
  997.  
  998. Where filename is the name of the file to which you wish to append the text. 
  999. If a mark exists in the current file then just the text in this mark will be 
  1000. appended, otherwise the whole file will be.  If the file given by the argument 
  1001. does not exist the command will create it.  The PUT can be used as a synonym 
  1002. for the APPEND command. 
  1003.  
  1004. A related command is the GET command. The GET command allows you to load the 
  1005. contents of a file into the current file.  For example, if you wished to add 
  1006. the file PYTHON.NEE into the current file you would enter: 
  1007.  
  1008. GET PYTHON.NEE
  1009.  
  1010. This will load the file beginning at the current cursor location. 
  1011.  
  1012.  
  1013. ΓòÉΓòÉΓòÉ 4.11. Locking the File in a LAN ΓòÉΓòÉΓòÉ
  1014.  
  1015. When using a LAN it may be necessary to lock files on occasion.  To do this you 
  1016. can use the LOCK, or the /k option when loading the file. Files are 
  1017. automatically unlocked when a FILE or QUIT are given, but can be manually 
  1018. unlocked using the UNLOCK command. 
  1019.  
  1020.  
  1021. ΓòÉΓòÉΓòÉ 4.12. Searching for Files ΓòÉΓòÉΓòÉ
  1022.  
  1023. It is possible to search for files using the LIST command. The syntax for this 
  1024. command is as follows:  LIST filespec 
  1025.  
  1026. Use LIST to load a list of file names that match filespec. If filespec includes 
  1027. a path, then that directory is used as the starting point; if not, the current 
  1028. directory is used.  Both the starting directory and any subdirectories are 
  1029. searched for matching files.  This may take a significant amount of time (a 
  1030. minute or more) if you name a filespec that qualifies an entire hard disk, such 
  1031. as 
  1032.  
  1033. list \*.*
  1034.  Once you have the list, you can place the cursor on the name of a file, and 
  1035. then press Alt-1 to edit that file. 
  1036.  
  1037. FILEFIND and FINDFILE can be used as synonyms for the LIST command. 
  1038.  
  1039.  
  1040. ΓòÉΓòÉΓòÉ 5. Marks and Marking ΓòÉΓòÉΓòÉ
  1041.  
  1042. Information of the creation, use and manipulation of marks. 
  1043.  
  1044.  
  1045. ΓòÉΓòÉΓòÉ 5.1. Marking Basics ΓòÉΓòÉΓòÉ
  1046.  
  1047. A mark is a way of performing the same operation on a group of characters. For 
  1048. example, if you wanted to move a paragraph from one part of a file to an other, 
  1049. you would create a mark which encompassed all of the characters in that 
  1050. paragraph, then you could move the whole paragraph to the new location. 
  1051.  
  1052. EPM has two distinct marking modes: Basic and Advanced. 
  1053.  
  1054.  
  1055. ΓòÉΓòÉΓòÉ 5.2. Basic Marking Mode ΓòÉΓòÉΓòÉ
  1056.  
  1057. EPM Basic marking mode acts like the CUA marking used in PM entry fields. It 
  1058. should be familiar to all OS/2 users, but it lacks the power of the Advanced 
  1059. Marking Mode. 
  1060.  
  1061.  
  1062. ΓòÉΓòÉΓòÉ 5.2.1. Creating Marks ΓòÉΓòÉΓòÉ
  1063.  
  1064. It is possible to create marks in the basic marking mode with the mouse or the 
  1065. keyboard. 
  1066.  
  1067. Using a mouse: 
  1068.  
  1069.  1. Place the mouse cursor over the first character which you wish to include 
  1070.     in the mark. 
  1071.  2. Depress the left mouse button. 
  1072.  3. Drag the mouse to the last character to be included in the mark. 
  1073.  4. Release the left mouse button. 
  1074.  
  1075. Using the keyboard: 
  1076.  
  1077.  1. Place the text cursor to the left of the first character to be marked. 
  1078.  2. While holding down the Shift key, use the cursor keys to extened the mark. 
  1079.  
  1080.     Note:  The cursor keys which must be used are the cursor keys which are NOT 
  1081.            part of the numberic key pad.
  1082.  
  1083.  
  1084. The mark can be removed by moving the text cursor to another location using 
  1085. either the mouse or the cursor keys. 
  1086.  
  1087.  
  1088. ΓòÉΓòÉΓòÉ 5.2.2. Copying Marks ΓòÉΓòÉΓòÉ
  1089.  
  1090. To copy text to a new location in Basic Marking Mode use the following 
  1091. procedure: 
  1092.  
  1093.  1. Create a mark.  For information on doing this see Creating Marks. 
  1094.  2. Copy the text into the clipboard by pressing Ctrl+Ins, by selecting Copy 
  1095.     from the Edit menu or by entereing the COPY2CLIP 
  1096.  3. Move the cursor to the location where you wish to copy the text to. 
  1097.  4. Copy the text from the clipboard by pressing Shift+Ins, by selecting Paste 
  1098.     from the Edit menu or by using the PASTE command at EPM Command Line. 
  1099.  
  1100.  
  1101. ΓòÉΓòÉΓòÉ 5.2.3. Moving Marks ΓòÉΓòÉΓòÉ
  1102.  
  1103. To move text to a new location in Basic Marking Mode use the following 
  1104. procedure: 
  1105.  
  1106.  1. Create a mark.  For information on doing this see Creating Marks. 
  1107.  2. Cut the text into the clipboard by pressing Shift+Del, by choosing Cut from 
  1108.     the Edit menu or by entering CUT command at the EPM Command Line. 
  1109.  3. Move the cursor to the location where you wish to copy the text to. 
  1110.  4. Copy the text from the clipboard by pressing Shift+Ins, by choosing Paste 
  1111.     from the Edit menu or by using the PASTE command at EPM Command Line. 
  1112.  
  1113.  
  1114. ΓòÉΓòÉΓòÉ 5.2.4. Deleting Marks ΓòÉΓòÉΓòÉ
  1115.  
  1116. To delete text using Basic Marking Mode: 
  1117.  
  1118.  1. Create a mark.  For information on doing this see Creating Marks. 
  1119.  2. Press Del. 
  1120.  
  1121.     Note:  Pressing any other text key when an area is marked will replace the 
  1122.            marked area with that character.  Pressing Ctrl+Ins will replace the 
  1123.            marked text with the text found in the clipboard.
  1124.  
  1125.  
  1126. ΓòÉΓòÉΓòÉ 5.3. Advanced Marking Mode ΓòÉΓòÉΓòÉ
  1127.  
  1128. EPM Advanced Marking mode has four basic types of marks: block, line, word and 
  1129. character. 
  1130.  
  1131.  
  1132. ΓòÉΓòÉΓòÉ 5.3.1. Creating Marks ΓòÉΓòÉΓòÉ
  1133.  
  1134. To create a mark in the Advanced Marking mode you must first decide what type 
  1135. of mark you wish to make.  There are four types of marks: 
  1136.  
  1137. o Block Mark 
  1138. o Line Mark 
  1139. o Word Mark 
  1140. o Character Mark 
  1141.  
  1142.  
  1143. ΓòÉΓòÉΓòÉ 5.3.1.1. Creating a Block Mark ΓòÉΓòÉΓòÉ
  1144.  
  1145. Creating a Block Mark: 
  1146.  
  1147. To create a block mark you may use either the mouse or the keyboard.  To create 
  1148. a block mark using the mouse follow these steps: 
  1149.  
  1150.  1. Place the mouse cursor over the position where you wish to begin the mark. 
  1151.  2. Hold down mouse button 1. 
  1152.  3. Drag the mouse until the area which you wish to mark is enclosed in the 
  1153.     highlighted box. 
  1154.  4. Release mouse button 1. 
  1155.  
  1156. If you do not have a mouse or if you prefer using the keyboard, you can use the 
  1157. following procedure: 
  1158.  
  1159.  1. Place the text cursor where you wish one of the corners of the block mark 
  1160.     to be located. 
  1161.  2. Press Alt+B. 
  1162.  3. Move the text cursor to the position where you want the opposite corner of 
  1163.     the block mark to be.  For example, if the first postion was meant to be 
  1164.     the lower-left corner of the block mark, the second should be the location 
  1165.     of the upper-right corner. 
  1166.  4. Press Alt+B. 
  1167.  
  1168.     Note:  If a block mark already exists when Alt+B is pressed, the block mark 
  1169.            will be changed so that the current cursor location and the 
  1170.            upper-left corner of the old block mark are used as the anchor points.
  1171.  
  1172.  
  1173. ΓòÉΓòÉΓòÉ 5.3.1.2. Creating a Line Mark ΓòÉΓòÉΓòÉ
  1174.  
  1175. Creating a Line Mark: Line marks can also be created using either the mouse or 
  1176. the keyboard. Using the mouse: 
  1177.  
  1178.  1. Place the mouse cursor on the line from which you wish to originate the 
  1179.     line mark. 
  1180.  2. Press mouse button 2. 
  1181.  3. Drag the mouse cursor to the line where you wish end the mark. 
  1182.  4. Release mouse button 2. 
  1183.  
  1184. Using the keyboard: 
  1185.  
  1186.  1. Move the text cursor to the line where you want to begin the line mark. 
  1187.  2. Press Alt+L. 
  1188.  3. Move to the line which you desire to end the block. 
  1189.  4. Press Alt+L. 
  1190.  
  1191.     Note:  If Alt+L is pressed when a line mark already exists, the current 
  1192.            line mark will be extended in the following manner: if Alt+L is 
  1193.            pressed on a line above the first line in the current mark, the mark 
  1194.            will be extened from the bottom the current mark to the current 
  1195.            line, otherwise it will be extened from the top of the current mark 
  1196.            to the current line.
  1197.  
  1198.  
  1199. ΓòÉΓòÉΓòÉ 5.3.1.3. Creating a Character Mark ΓòÉΓòÉΓòÉ
  1200.  
  1201. Creating a Character Mark: 
  1202.  
  1203. Using a mouse 
  1204.  
  1205.  1. Place the mouse cursor over the character where you choose to begin the 
  1206.     mark. 
  1207.  2. Hold down Ctrl+mouse button 2 (or just press mouse button 3 if you have a 
  1208.     3-button mouse). 
  1209.  3. Drag the mouse to the location where you wish to end the mark. 
  1210.  
  1211. There are two different ways to create character marks using the keyboard. The 
  1212. first is to simply hold down the Shift key and move the cursor using the 
  1213. non-numeric cursor keys to extend the mark. 
  1214.  
  1215. The second manner of creating character marks with the keyboard is as follows: 
  1216.  
  1217.  1. Move the text cursor to the character where you wish to begin the mark. 
  1218.  2. Press Alt+Z. 
  1219.  3. Move to the character where you wish to end the mark. 
  1220.  4. Press Alt+Z. 
  1221.  
  1222.     Note:  If a character mark already exists when Alt+Z is pressed the mark 
  1223.            will be created as follows:  If Alt+Z was pressed on a character 
  1224.            which is located after the first character in the current mark, the 
  1225.            mark will enclose all of the characters between the beginning of the 
  1226.            existing  block to the current cursor position.  Otherwise, the mark 
  1227.            will be made such that it will extend from the end of the current 
  1228.            block to the current cursor position.
  1229.  
  1230.  
  1231. ΓòÉΓòÉΓòÉ 5.3.1.4. Creating a Word Mark ΓòÉΓòÉΓòÉ
  1232.  
  1233. Creating a Word Mark: 
  1234.  
  1235. Using the keyboard: 
  1236.  
  1237.  1. Place the text cursor on the word which you wish to mark. 
  1238.  2. Press Alt+W or enter MARKWORD at the EPM Command Line. 
  1239.  
  1240. Using the mouse: 
  1241.  
  1242.  1. Double-click mouse button 2 on the word you wish to mark. 
  1243.  
  1244. Note:  Word marks can be extended as if it were a block mark.
  1245.  
  1246. A word is assumed to extend from the current character left and right with a 
  1247. space on the beginning or end of the line is encountered. 
  1248.  
  1249. This is not always satisfactory.  For example, when writing a C program, you 
  1250. might have: 
  1251.  
  1252. result=function(parameter1,parameter2);
  1253.  
  1254. and want to mark the first parameter; Alt+W would mark the entire function call 
  1255. (because it doesn't contain any spaces).  A variety of word mark is available 
  1256. that picks out C language tokens: 
  1257.  
  1258. Using the keyboard: 
  1259.  
  1260.  1. Place the text cursor on the word which you wish to mark. 
  1261.  2. Press Ctrl+W. 
  1262.  
  1263. Using the mouse: 
  1264.  
  1265.  1. Press and hold Ctrl and double-click mouse button 2 on the word you wish to 
  1266.     mark. 
  1267.  
  1268.  
  1269. ΓòÉΓòÉΓòÉ 5.3.2. Copying Marks ΓòÉΓòÉΓòÉ
  1270.  
  1271. To copy text to a new location it is necessary to first create a mark. Once you 
  1272. have done this, to copy the mark, move the cursor to the location where you 
  1273. wish to insert the copy and press Ctrl+C or hold down the Ctrl key and mouse 
  1274. button 2 while the mouse pointer is within the marked area, then drag the mouse 
  1275. to the new location. 
  1276.  
  1277.  
  1278. ΓòÉΓòÉΓòÉ 5.3.3. Moving Marks ΓòÉΓòÉΓòÉ
  1279.  
  1280. To move marked text move the text cursor to the location where you wish to 
  1281. insert the text and press Alt+M.  An alternate way is to use the mouse.  To do 
  1282. so, first place the mouse pointer over the mark.  Depress the right mouse 
  1283. button.  Drag the mouse so that the cursor is over the location where you wish 
  1284. to place the text.  Release the mouse button. 
  1285.  
  1286.  
  1287. ΓòÉΓòÉΓòÉ 5.3.4. Deleting Marks ΓòÉΓòÉΓòÉ
  1288.  
  1289. To delete a mark, press Alt+D. 
  1290.  
  1291.  
  1292. ΓòÉΓòÉΓòÉ 5.3.5. Mark Overlay ΓòÉΓòÉΓòÉ
  1293.  
  1294. It is possible in EPM to overlay a mark onto another location, i.e. move or 
  1295. copy a marked area to another location, while replacing anything which might 
  1296. have been there.  There are two key which are used to perform this operation, 
  1297. Alt+A and Alt+O  The difference between the two is that Alt+A fills the 
  1298. originally marked area with blanks, whereas Alt+O does not. 
  1299.  
  1300.  
  1301. ΓòÉΓòÉΓòÉ 5.3.6. Removing Marks ΓòÉΓòÉΓòÉ
  1302.  
  1303. To remove any existing marks type Alt+U or double-click the left mouse button. 
  1304.  
  1305. Note:  EPM only allows you to have one mark in existence at a time, so you must 
  1306.        remove the mark before making a new one.
  1307.  
  1308.  
  1309. ΓòÉΓòÉΓòÉ 5.3.7. Scrolling ΓòÉΓòÉΓòÉ
  1310.  
  1311. To scroll the text in the current mark to the left or right use Ctrl+F7 and 
  1312. Ctrl+F8, respectively. 
  1313.  
  1314. Note:  Characters which are scrolled past the left side of the mark are lost. 
  1315.        They will not return if you attempt to retrieve them by scrolling back right.
  1316.  
  1317.  
  1318. ΓòÉΓòÉΓòÉ 5.3.8. Adjusting a Paragraph to New Margins ΓòÉΓòÉΓòÉ
  1319.  
  1320. To set the margins, issue the margins command from the command line dialog box. 
  1321. For example, to set the left margin to the first column, the right margin to 
  1322. the seventy-fifth column, and the paragraph indent to 5 spaces, issue the 
  1323. following command: 
  1324.  
  1325. margins 1 75 5
  1326.  
  1327. Reflowing a paragraph that's followed by a blank line (or end of file) is easy; 
  1328. EPM knows that the paragraph has ended when it sees the blank line. EPM also 
  1329. recognizes script tags (a period in the first column) as an end of paragraph. 
  1330. Simply move the cursor to the beginning of the paragraph and press Alt-P. 
  1331.  
  1332. If the paragraph is not terminated with a blank line or end of file, you must 
  1333. tell EPM where to stop by marking the paragraph as follows: 
  1334.  
  1335.  1. Move the cursor to the beginning of a paragraph and press Alt-L. 
  1336.  2. Move the cursor to the end of the paragraph and press Alt-L. EPM will 
  1337.     highlight the text you have marked. 
  1338.  3. Now you can press Alt-P to adjust the marked paragraph to the current 
  1339.     margin settings. 
  1340.  
  1341.  
  1342. ΓòÉΓòÉΓòÉ 5.4. Procedures Valid for both Marking Modes ΓòÉΓòÉΓòÉ
  1343.  
  1344. Procedures which are valid for both marking modes. 
  1345.  
  1346.  
  1347. ΓòÉΓòÉΓòÉ 5.4.1. Filling Marks ΓòÉΓòÉΓòÉ
  1348.  
  1349. Filling a mark means that you are turning every character within that mark to 
  1350. the character specified in the command.  To fill a mark you can either press 
  1351. Alt+F or enter the FILL command at the EPM Command Line. 
  1352.  
  1353. For example, if you wanted to fill the marked area with the character A you 
  1354. would either press Alt+F then enter A in the newly created dialog box, or 
  1355. entering the following at the EPM Command Line: 
  1356.  
  1357. FILL A
  1358.  
  1359.  
  1360. ΓòÉΓòÉΓòÉ 5.4.2. Simple Math Functions ΓòÉΓòÉΓòÉ
  1361.  
  1362. The ADD and MULT commands cause EPM to add and multiply, respectively, all of 
  1363. the numbers in a mark.  The answer will be placed in the line below the mark. 
  1364. These commands will fail if there are characters present in the mark. 
  1365.  
  1366.  
  1367. ΓòÉΓòÉΓòÉ 5.4.3. Sorting ΓòÉΓòÉΓòÉ
  1368.  
  1369. Entering SORT at the EPM Command Line causes EPM to sort the lines in the 
  1370. marked area, or the entire file if no area is marked.  If a block mark exists, 
  1371. the marked columns will be used as the sort key; if not, the first 20 columns 
  1372. of each line will be used. 
  1373.  
  1374.  
  1375. ΓòÉΓòÉΓòÉ 5.4.4. Uppercase/Lowercase ΓòÉΓòÉΓòÉ
  1376.  
  1377. If you wish to set all of the letters in a marked area to either their 
  1378. uppercase or lowercase characters enter the UPPERCASE or LOWERCASE command at 
  1379. EPM command line.  As a short cut, the Ctrl+F3 and Ctrl+F2 key combinations can 
  1380. be used for uppercase and lowercase, respectively. 
  1381.  
  1382.  
  1383. ΓòÉΓòÉΓòÉ 5.4.5. Reflowing Marked Text ΓòÉΓòÉΓòÉ
  1384.  
  1385. The Alt-R key lets you reflow a section of text to a new shape. It's typically 
  1386. used to reformat a special paragraph (like a figure caption or example) to new 
  1387. margins without changing the standard margins. 
  1388.  
  1389. First mark the text to be reformatted (with any type of mark), then press 
  1390. Alt-R.  You will be prompted to mark the new block - the shape you want the 
  1391. block to be reflowed into. Move the cursor around and press Alt-B twice to 
  1392. define the new area, in the same place as the original text or elsewhere in the 
  1393. document. Then press Alt-R again and the text will be reflowed. The space from 
  1394. which the text came will be filled with blanks. 
  1395.  
  1396. Alt-P will reflow a block marked area into the shape and size of the marked 
  1397. area, ignoring the margin settings. In other words, with a block mark, Alt-P 
  1398. behaves as if you marked a block, pressed Alt-R, and remarked the same block. 
  1399.  
  1400.  
  1401. ΓòÉΓòÉΓòÉ 5.4.6. Centering Text ΓòÉΓòÉΓòÉ
  1402.  
  1403. To center the text in the current mark type Alt+T.  If there is no text 
  1404. currently marked the text is centered between the current margins. 
  1405.  
  1406.  
  1407. ΓòÉΓòÉΓòÉ 5.4.7. Executing Marked Lines ΓòÉΓòÉΓòÉ
  1408.  
  1409. By pressing Alt+0 (Alt+Zero) or Alt+= EPM will execute the current line, or all 
  1410. marked lines, as a command.  If a line mark exists, you will be asked if you 
  1411. wish to execute all marked lines.  Select Yes to execute each marked line as 
  1412. though it had been entered in the EPM command line dialog, select No to execute 
  1413. only the current line, or select Cancel to cancel the command. 
  1414.  
  1415.  
  1416. ΓòÉΓòÉΓòÉ 6. Text Layout and Style ΓòÉΓòÉΓòÉ
  1417.  
  1418. EPM has several variables which define how the text in the edit window looks. 
  1419. For example, tabs, margins, color, and font.  This section will describe how to 
  1420. adjust these and related attributes. 
  1421.  
  1422.  
  1423. ΓòÉΓòÉΓòÉ 6.1. Font and Color ΓòÉΓòÉΓòÉ
  1424.  
  1425. EPM allows you to change the physical appearance of all of characters in a 
  1426. mark.  To do this it is first necessary to mark an area of text. For details on 
  1427. doing this, see either Advanced Marks or Basic Marks, depending on which 
  1428. marking mode you are currently working with. 
  1429.  
  1430. After creating a mark, the next step in changing the font and color of text is 
  1431. to bring up the style dialog box.  To do so, either press Ctrl+Y or choose 
  1432. Style... from the Edit menu. 
  1433.  
  1434. To change the current font, select a new one from the Font name combination 
  1435. box.  There are several options which can affect the outcome of the font.  The 
  1436. font can be made bold, italicized, outlined, underlined, or struckout by 
  1437. pressing the appropriate button.  The font size can also be changed using the 
  1438. Font size combination box. 
  1439.  
  1440. Note:  The block mark is rectangular with respect to the number of characters 
  1441.        within it, not by physical size.  Therefore, if a proportional font is 
  1442.        used the block mark will not appear to be rectangular.
  1443.  
  1444. Both the foreground and background color of the text can be changed using the 
  1445. style dialog box.  To change either first choose it by clicking on the 
  1446. appropriate radio button, then choosing the new color from the Color 
  1447. combination box. 
  1448.  
  1449. Note:  When printing in WYSIWYG mode, it is important to realize that light 
  1450.        foreground colors will not appear on a non-color printer.  To compensate 
  1451.        for this it is necessary to change the foreground to a dark color 
  1452.        (preferably black), or to select Monochrome from the printer Options 
  1453.        dialog.  Background color is ignored when printing in WYSIWYG mode.
  1454.  
  1455. The current text appearance is located in the box located at the top of the 
  1456. dialog box.  This allows you to see the tentative style before you make the 
  1457. change permanent. 
  1458.  
  1459. To make the changes in style press the Apply button. 
  1460.  
  1461. Note:  Using mixed colors can slow down painting of the screen a little, and 
  1462.        using mixed fonts can slow it down quite a bit.
  1463.  
  1464.  
  1465. ΓòÉΓòÉΓòÉ 6.2. Defining Styles ΓòÉΓòÉΓòÉ
  1466.  
  1467. It can be useful on occasion to name and then save the current text style so 
  1468. that it can be easily called up later and reused.  To do this it is first 
  1469. necessiary to mark an area of text.  For details on doing this, see either 
  1470. Advanced Marks or Basic Marks, depending on which marking mode you are 
  1471. currently working with.  Next, call up the style dialog box.  To do so, either 
  1472. press Ctrl+Y or choose Style... from the Edit menu. 
  1473.  
  1474. Next, adjust the style to the appearance which you wish to save.  For 
  1475. information on doing this see Font and Color. 
  1476.  
  1477. To register the current style, type the name by which you wish to call the font 
  1478. in the Style name entry field, then press the Register button. 
  1479.  
  1480.  
  1481. ΓòÉΓòÉΓòÉ 6.3. Setting Tabs ΓòÉΓòÉΓòÉ
  1482.  
  1483. Type in the tabs command (on the command line dialog) and press the ENTER key. 
  1484. The tabs command has the following syntax: 
  1485.  
  1486. tabs  [t1 [t2 [t3 .. t32] ] ]
  1487.  
  1488. Examples:
  1489.  
  1490.   tabs 1 9 17 25 33
  1491.   tabs
  1492.   tabs 4
  1493.  
  1494. The first example will set the tabs to the columns 1, 9, 17, 25, and 33. The 
  1495. second example (the tabs command with no arguments) will display the current 
  1496. tab settings and allow them to be changed. In the third example, the tabs are 
  1497. set every four spaces at 1 5 9 13 ... 125.  See the TABS command for more 
  1498. information. 
  1499.  
  1500. EPM has another type of tab which uses the beginning of the words in the 
  1501. previous line as tab stops.  To put EPM into this mode the MATCHTAB must be 
  1502. used. Entering MATCHTAB will cause EPM to display the current status of the 
  1503. setting.  ON means that the function is active and the proceeding line is used 
  1504. for tab stops.  OFF means that the set tabs will be used.  To change the 
  1505. setting follow the command by the new value.  For example, MATCHTAB ON will 
  1506. turn it on. 
  1507.  
  1508. It is also important to be aware of the TABKEY command.  This toggles whether 
  1509. or not a tab character is inserted when the Tab key is pressed. 
  1510.  
  1511. Note:  MATCHTAB will not act properly if TABKEY is enabled.
  1512.  
  1513. Note:  Use the Settings dialog to permanently change the default tabs.
  1514.  
  1515.  
  1516. ΓòÉΓòÉΓòÉ 6.4. Setting Margins ΓòÉΓòÉΓòÉ
  1517.  
  1518. Type in the margins command (on the command line dialog) and press the ENTER 
  1519. key. The margins command has the following syntax: 
  1520.  
  1521. margins  [left-margin [right-margin [new-paragraph-margin] ] ]
  1522.  
  1523. Examples:
  1524.   margins 1 70 5
  1525.   margins
  1526.  
  1527. The first example sets the left margin to the first column, the right margin to 
  1528. the 70th column, and the paragraph indent to the fifth column. The second 
  1529. example shows you the current margin settings and allows them to be altered. 
  1530.  
  1531. As you continue typing, EPM will keep your text within the new margin settings. 
  1532. But you will notice that your previously-entered text is not automatically 
  1533. reflowed to the new margin settings. See Reflowing Marked Text for the steps to 
  1534. adjust an old paragraph to the new settings. 
  1535.  
  1536. Note:  Use the Settings dialog to permanently change the default margins.
  1537.  
  1538.  
  1539. ΓòÉΓòÉΓòÉ 7. Controlling OS/2 with EPM ΓòÉΓòÉΓòÉ
  1540.  
  1541. It is possible to execute many OS/2 commands from the EPM Command Line.  If you 
  1542. don't need to see the command's output, or respond to any prompts, you can 
  1543. simply enter the command on the EPM Command Line.  For example, 
  1544.  
  1545. erase tempfile
  1546. or 
  1547.  
  1548. start someprogram
  1549.  
  1550. A few OS/2 commands (for example, CD and DIR) have EPM front-ends defined which 
  1551. let you see the output inside EPM.  For any other OS/2 command for which you 
  1552. need to see the output, you have two choices: 
  1553.  
  1554. OS2 command This opens up an OS/2 windowed command prompt to execute the 
  1555.           specified command. 
  1556.  
  1557. SHELL command This creates a new file in the edit ring that is connected to an 
  1558.           OS/2 command prompt.  OS/2 commands entered in this window will have 
  1559.           their output appear asynchronously in the edit window. 
  1560.  
  1561.  
  1562. ΓòÉΓòÉΓòÉ 8. Cursor Movement and Editor Features ΓòÉΓòÉΓòÉ
  1563.  
  1564. Cursor movement and editor features. 
  1565.  
  1566.  
  1567. ΓòÉΓòÉΓòÉ 8.1. Cursor Movement ΓòÉΓòÉΓòÉ
  1568.  
  1569. The following is a summary of all of the key strokes which cause cursor 
  1570. movement: 
  1571.  
  1572. End 
  1573.           Moves the cursor to the end of the line. 
  1574. Home 
  1575.           Moves the cursor to the beginning of the line. 
  1576. PgDn 
  1577.           Moves the line at the current cursor position forward (down) one 
  1578.           screen. 
  1579. PgUp 
  1580.           Moves the line at the current cursor position backward (up) one 
  1581.           screen. 
  1582. Tab 
  1583.           Moves the cursor to the next tab stop. 
  1584. Shift+Tab 
  1585.           Moves the cursor to the previous tab stop. 
  1586. Shift+F1 
  1587.           Scrolls the screen left one column. 
  1588. Shift+F2 
  1589.           Scrolls the screen right one column. 
  1590. Shift+F3 
  1591.           Scrolls the screen down one row. 
  1592. Shift+F4 
  1593.           Scrolls the screen up one row. 
  1594. Shift+F5 
  1595.           Scrolls the screen so that the line at the current cursor position is 
  1596.           vertically centered. 
  1597. Ctrl+F5 
  1598.           Moves the cursor to the beginning of the current word. 
  1599. Ctrl+F6 
  1600.           Moves the cursor to the end of the current word. 
  1601. Ctrl+Enter 
  1602.           Moves cursor to the beginning of the next line. 
  1603. Ctrl+Left 
  1604.           Moves the cursor to the beginning of the word to left of cursor. 
  1605. Ctrl+Right 
  1606.           Moves the cursor to the beginning of the word to right of cursor. 
  1607. Ctrl+End 
  1608.           Moves the cursor to the end of the document. 
  1609. Ctrl+Home 
  1610.           Moves the cursor to the beginning of the document. 
  1611. Ctrl+PgUp 
  1612.           Moves the cursor to the top of the screen. 
  1613. Ctrl+PgDn 
  1614.           Moves the cursor to the bottom of the screen. 
  1615. Alt+Y 
  1616.           Moves cursor to beginning of marked block. 
  1617. Alt+E 
  1618.           Moves cursor to end of marked block. 
  1619. Del 
  1620.           Deletes the character at the current cursor position. 
  1621. Ins 
  1622.           Switches between insert and replace modes. 
  1623. Several EPM Commands also can be used to move the cursor to a new location. 
  1624. These are as follows: 
  1625.  
  1626. ####      Moves the cursor to line ####. 
  1627.  
  1628. +####     Move the cursor forward in the file #### lines. 
  1629.  
  1630. .-####    Move the cursor back in the file #### lines. 
  1631.  
  1632. BOTTOM    Move the cursor to the bottom of the file. 
  1633.  
  1634. TOP       Move the cursor to the top of the file. 
  1635.  
  1636. The mouse has the following functions: 
  1637.  
  1638. Button 1 single click 
  1639.           Move cursor to mouse. 
  1640.  
  1641. Button 1 single click and drag 
  1642.           Block mark as you drag. 
  1643.  
  1644. Button 2 single click and drag 
  1645.           Line mark as you drag. 
  1646.  
  1647. Button 1 + Ctrl-key + drag 
  1648.           Character mark as you drag. 
  1649.  
  1650. Button 1 double-click 
  1651.           UNMARK. 
  1652.  
  1653. Button 2 double-click 
  1654.           Move cursor to mouse and MARK the WORD. 
  1655.  
  1656. Note:  Mouse action is configurable via macro language 
  1657.  
  1658.  
  1659. ΓòÉΓòÉΓòÉ 8.2. Drawing Boxes ΓòÉΓòÉΓòÉ
  1660.  
  1661. EPM allows you to draw boxes around an area of text using graphic characters. 
  1662. To do this it is first necissary to create a block mark. For information on 
  1663. creating block marks see Block Marks. When the box is drawn it will encircle 
  1664. the area in this block. 
  1665.  
  1666. After creating the block mark, to insert the box issue the BOX at the EPM 
  1667. Command Line followed by one of the following arguments: 
  1668.  
  1669. 1   thin, single line 
  1670. 2   thin, double line 
  1671. 3   dotted line 
  1672. 4   thick line 
  1673. 5   double, thin line horizontally; single, thin line vertically 
  1674. 6   double, thin line vertically; single, thin line horizontally 
  1675. C   creates a box comment using the C language syntax 
  1676. P   creates a box comment using the Pascal language syntax 
  1677. A   creates a box comment using Assembler syntax 
  1678. E   erases the box around the marked area 
  1679. R   reflows text in marked area 
  1680. B   places spaces on all sides of the marked area, i.e. creates a box of blank 
  1681.     spaces 
  1682. /character Any character which follows the slash ( / ) will be used to form a 
  1683.     box. 
  1684.  
  1685. For example, if you wished surround a marked area with a thick line you would 
  1686. enter the following at the EPM Command Line: 
  1687.  
  1688. BOX 4
  1689.  
  1690.  
  1691. ΓòÉΓòÉΓòÉ 8.3. Searching and Replacing ΓòÉΓòÉΓòÉ
  1692.  
  1693. Procedures and options for searching and replacing text within a file. 
  1694.  
  1695.  
  1696. ΓòÉΓòÉΓòÉ 8.3.1. Searching for Text ΓòÉΓòÉΓòÉ
  1697.  
  1698. Type in a search command and press the ENTER key. 
  1699.  
  1700. The search command has the following syntax: 
  1701.  
  1702.      /find-this-string/ [options]
  1703. or L /find-this-string/ [options]
  1704. where the options have the following meaning: 
  1705.  
  1706. -   Search from current line backwards, to top of file or to top of marked area 
  1707.     if m option chosen, but still searches left to right within each line. 
  1708. +   Search forward, from current line to bottom of file. 
  1709. m   Search within the Marked text area only. 
  1710. a   Search All of the current file. 
  1711. c   Ignore upper/lower Case of the search string. 
  1712. e   Do not ignore case, look for Exact matches. 
  1713. r   Reverse search from Right to left through lines. Default search is left to 
  1714.     right through lines. 
  1715. f   Forward search from left to right through lines. 
  1716. g   Use the grep algorithm.  See The grep option. 
  1717. x   Use the extended grep algorithm.  See Extended grep. (EPM 5.60 or above is 
  1718.     required for the use of extended grep.) 
  1719.  
  1720. Multiple options may be given at one time. 
  1721.  
  1722. Examples: 
  1723.  
  1724.    /Word in paragraph/c
  1725.    l $/$
  1726.  
  1727. In the second example above, '$' is the delimiter and '/' is the string for 
  1728. which to search. The default search options (if you specify nothing) are: 
  1729.  
  1730.  1. search all the file (not only the marked area) 
  1731.  
  1732.  2. in the forward direction 
  1733.  
  1734.  3. not ignoring case (requiring exact matches). 
  1735.  
  1736. The search string delimiter is the first non-blank character after the L. If 
  1737. the delimiter is a '/' then th L is optional.  If the delimiter is any other 
  1738. character, both the L and at least one space following it is required. The same 
  1739. is true of the 'C' command. 
  1740.  
  1741. If you wish to find the next occurrence of the same string, press the Ctrl-F 
  1742. key. 
  1743.  
  1744.  
  1745. ΓòÉΓòÉΓòÉ 8.3.2. Searching and Replacing Text ΓòÉΓòÉΓòÉ
  1746.  
  1747. Type in a change command and press the ENTER key. 
  1748.  
  1749. The change command has the following syntax, very similar to that for search: 
  1750.  
  1751.   c /find-this-string/replace-with-this/ [options]
  1752. where the options can be one or more of the following characters: 
  1753.  
  1754. *   Change all matching strings. 
  1755. -   Search from current line backwards, to top of file or to top of marked area 
  1756.     if m option chosen, but still searches left to right within each line. 
  1757. +   Search forward, from current line to bottom of file. 
  1758. m   Search within the Marked text area only. 
  1759. a   Search All of the current file. 
  1760. c   Ignore upper/lower Case of the search string. 
  1761. e   Do not ignore case, look for Exact matches. 
  1762. r   Reverse search from Right to left through lines. Default search is left to 
  1763.     right through lines. 
  1764. f   Forward search from left to right through lines. 
  1765. g   Use the grep algorithm.  See The grep option. 
  1766. x   Use the extended grep algorithm.  See Extended grep. (EPM 5.60 or above is 
  1767.     required for the use of extended grep.) 
  1768.  
  1769. It can be seen that these options are the same as those for search, with the 
  1770. addition of *. 
  1771.  
  1772. Multiple options may be given at one time. If contradictory options are given 
  1773. (such as ce) the last such option is the one used. 
  1774.  
  1775. Examples:
  1776.    c /mispeled/misspelled/*
  1777.    c $/$/*$                   (change  /  to  /* )
  1778.    c/This/That/e+
  1779. Note: Any search string delimiter may be used (not only slash) after the 'c' 
  1780. and at least one blank.  The blank is optional if the delimiter is a slash. 
  1781.  
  1782. If you wish to find the next occurrence of the same string press the Ctrl-F 
  1783. key. If you wish to repeat the same change command, issue C without arguments 
  1784. or use the Ctrl-C key combination. 
  1785.  
  1786. If the * option is not used, then only the first occurrence of the search 
  1787. string found will be changed. If the * option is used, then all occurrences of 
  1788. the search string that are found will be changed. If you wish to change some 
  1789. and not others, you can use the Search / Replace dialog, either by selecting it 
  1790. from the Options pulldown, or by pressing Ctrl-S to bring it up. 
  1791.  
  1792. Note:  The Grep option only applies to the search string, not to the 
  1793. replacement string. If you enter: 
  1794.  
  1795. c /(.*)/<.*>/ g
  1796. then EPM will find the first occurrence of a left parenthesis, followed by any 
  1797. sequence of characters, and ending with a right parenthesis, and replace it 
  1798. with the literal string <.*>. It will not change the parentheses to angle 
  1799. brackets and leave the enclosed text unchanged.  The eXtended grep option can 
  1800. be used to do this in EPM 5.60 or above (with slightly different syntax). 
  1801.  
  1802.  
  1803. ΓòÉΓòÉΓòÉ 8.3.3. The grep option ΓòÉΓòÉΓòÉ
  1804.  
  1805. The grep option, '/g', allows you to specify special pattern matching 
  1806. characters within the search string. These characters are: 
  1807.  
  1808. Character:                    What it matches: 
  1809.  
  1810. '.' (period) 
  1811.                               matches any character. 
  1812.  
  1813. '^' (caret) 
  1814.                               matches the beginning of a line. 
  1815.  
  1816. '$' 
  1817.                               when it follows the search string, it matches the 
  1818.                               end of a line. 
  1819.  
  1820. '\'character 
  1821.                               matches character; used to override any special 
  1822.                               meaning given to characters. 
  1823.  
  1824. '['list_of_characters']' 
  1825.                               matches any of the characters in the list. 
  1826.  
  1827.                               A list of characters can be indicated as a range 
  1828.                               using the '-' (hyphen). For example, [a-z] will 
  1829.                               match with any letter of the alphabet. If the 
  1830.                               first character after the '[' is a '^', then the 
  1831.                               set is negated, i.e., will match any character 
  1832.                               except those in the set. 
  1833.  
  1834. '*' 
  1835.                               matches a sequence of 0 or more of whatever 
  1836.                               expression it follows. 
  1837.  
  1838. '+' 
  1839.                               matches a sequence of 1 or more of whatever 
  1840.                               expression it follows. 
  1841.  
  1842. Examples will be presented that search the following file: 
  1843.  
  1844. Contents of file junk.e:
  1845.  
  1846. soft
  1847. good junk
  1848. and more
  1849. stuff
  1850. even good
  1851. 123456
  1852. l
  1853. do,re,mi,fa,so,la,ti,do
  1854. $35
  1855.  
  1856. --------------------------------------
  1857.  
  1858. Example searches using grep:
  1859.  
  1860. /l./g
  1861.                               finds 'la'
  1862.  
  1863. /^good/g
  1864.                               finds only first occurrence of 'good'
  1865.  
  1866. /good$/g
  1867.                               finds only 'even good'
  1868.  
  1869. /\$/g
  1870.                               finds '$35'
  1871.  
  1872. /^[m-t]/g
  1873.                               finds 'soft' and 'stuff'
  1874.  
  1875. /^[^adeg]/g
  1876.                               finds 'soft', 'stuff', '123456', 'l', and '$35'
  1877.  
  1878. /^[m-t]+/g
  1879.                               finds 'soft' and 'stuff'
  1880.  
  1881. /^[m-t]*/g
  1882.                               finds everything
  1883.  
  1884. Note:  The above examples are as you would enter them on the EPM command line. 
  1885.        When using the Search dialog, you would enter the search string 
  1886.        (everything between the '/') in the Search field, and select the Grep 
  1887.        option in the Options section of the dialog.
  1888.  
  1889.  
  1890. ΓòÉΓòÉΓòÉ 8.3.4. Extended grep ΓòÉΓòÉΓòÉ
  1891.  
  1892. The extended grep option, '/x', allows you to specify special pattern matching 
  1893. characters within the search string.  This includes all those supported for 
  1894. standard grep searches, and the following search string additions: 
  1895.  
  1896. '\b'    matches a backspace character. 
  1897.  
  1898. '\f'    matches a form feed character. 
  1899.  
  1900. '\n'    matches a newline character. 
  1901.  
  1902. '\r'    matches a carriage return character. 
  1903.  
  1904. '\t'    matches a tab character. 
  1905.  
  1906. '\x'HH  matches a character with ASCII code 0xHH. 
  1907.  
  1908. '\z'    matches an ASCII NUL character (0x00). 
  1909.  
  1910. ':a'    matches an alphabetic character; equivalent to [a-zA-Z] 
  1911.  
  1912. ':c'    matches a C language identifier; equivalent to [a-zA-Z_$][a-zA-Z0-9_$]* 
  1913.  
  1914. ':d'    matches a digit; equivalent to [0-9] 
  1915.  
  1916. ':f'    matches a C language function definition; optimized for usage in C tags 
  1917.         support. 
  1918.  
  1919. ':n'    matches an alphanumeric character; equivalent to [a-zA-Z0-9] 
  1920.  
  1921. ':o'    matches optional whitespace; equivalent to [ \t]* 
  1922.  
  1923. ':w'    matches whitespace; equivalent to [ \t]+ 
  1924.  
  1925. ':x'    matches a hexadecimal digit; equivalent to [0-9a-fA-F] 
  1926.  
  1927. '|'     alternation, matches either what appears on the left or what appears on 
  1928.         the right. 
  1929.  
  1930. '(' ')' parentheses are used for grouping, and also for creating subexpressions 
  1931.         for use in the replacement string. 
  1932.  
  1933. Note:  The classes that match more than one character are more efficient than 
  1934.        the equivalent shown, because (for example) :w will match all whitespace 
  1935.        as a single unit, whereas [ \t]+ could back up over each matched 
  1936.        character in an attempt to match what follows in the search string.
  1937.  
  1938. Extended grep also adds the following replacement string additions: 
  1939.  
  1940. '&'     represents the entire matched string 
  1941.  
  1942. '\'n    (where n is '0' - '9') represents the corresponding subexpression of 
  1943.         the matched string.  Each subexpression refers to the contents of a 
  1944.         parenthesized expression, where \1 represents the string matched 
  1945.         between the first open parenthesis and its corresponding close 
  1946.         parenthesis, \2 the second, etc., and \0 represents the entire match 
  1947.         (equivalent to '&'). 
  1948.  
  1949. '\&'    represents the '&' character. 
  1950.  
  1951. '\\'    represents the '\' character. 
  1952.  
  1953. Some examples: 
  1954.  
  1955. /pro(gram|cedure)/ 
  1956.           matches 'program' or 'procedure'. 
  1957.  
  1958. /function:o\(/ 
  1959.           matches 'function', optionally followed by spaces or tabs, followed 
  1960.           by an open parenthesis. 
  1961.  
  1962. c /id=(:c)/id='\1'/ x* 
  1963.           changes all strings of the form id=some_string to id='some_string'. 
  1964.           (I.e., it adds single quotes around the parameter, no matter what it 
  1965.           was.) 
  1966.  
  1967. c /(myfunc:o\()([^,]*,)/\1 Global, \2 NULL,/*x 
  1968.           adds a new first and third parameter to all 'myfunc' calls.  The 
  1969.           first parenthesized expression matches 'myfunc', optional whitespace, 
  1970.           and an open parenthesis. The second matches everything up to the next 
  1971.           comma.  The replacement string uses both of these, adds ' Global, ' 
  1972.           after the open parenthesis, and adds the string ' NULL,' at the end. 
  1973.           This would convert 'myfunc(first, second)' to 'myfunc( Global, first, 
  1974.           NULL, second)'. 
  1975.  
  1976. Note:  EPM 5.60 or above is required for the use of extended grep.
  1977.  
  1978.  
  1979. ΓòÉΓòÉΓòÉ 8.4. Adding and Multiplying Numbers ΓòÉΓòÉΓòÉ
  1980.  
  1981. If you need to add columns or rows of hex, octal or decimal numbers, EPM 
  1982. provides both an add and multiply command. Just mark a block of text (Alt-B or 
  1983. Alt-L) and issue the ADD or MULT command on EPM command line dialog. Each line 
  1984. of text may contain a mathematical expression which is valid input for the math 
  1985. command (See Calculating Mathematical Expressions). Steps to operate on a 
  1986. column or row of numbers 
  1987.  
  1988.  1. Highlight the text you wish to add or multiply. This can be accomplished by 
  1989.     pressing Alt-B once at the top left corner of the column and again at the 
  1990.     bottom right corner of the column of numbers. When you finish marking the 
  1991.     end of the text, EPM will highlight the text in between to show you the 
  1992.     column of text you have marked. 
  1993.  
  1994.  2. Press Ctrl+I to get to EPM command line dialog. 
  1995.  
  1996.  3. Type 
  1997.  
  1998.         add or mult
  1999.  
  2000. and press ENTER. 
  2001.  
  2002.  
  2003. ΓòÉΓòÉΓòÉ 8.5. Calculating Mathematical Expressions ΓòÉΓòÉΓòÉ
  2004.  
  2005. If you need to add/subtract/multiply/divide hex, octal, or decimal numbers, EPM 
  2006. provides a set of math commands that compute an arithmetic_expression of the 
  2007. following syntax:  arithmetic_expression: arith_term {arith_operator 
  2008. arith_term}  arith_term: decimal_number | hexadecimal_number | octal_number '(' 
  2009. arithmetic_expression ')'  arith_operator: 
  2010.  
  2011. '+'       (addition) 
  2012. '-'       (subtraction) 
  2013. '*'       (multiplication) 
  2014. '/'       (division) 
  2015. '%'       (integer division) 
  2016. '//'      (remainder) 
  2017.  Hexadecimal (base 16) numbers must be preceded by a 'x', e.g. x10 = 16.  Octal 
  2018. (base 8) numbers must be preceded by an 'o', e.g. o12 = 10. 
  2019.  
  2020. For example, the following can be typed on the command line dialog: 
  2021.  
  2022. math 123 * 4567
  2023. math 1.2 * 3.45 + 2
  2024.  
  2025. math  arithmetic_expression 
  2026.                               The math command computes the expression and 
  2027.                               displays the result as a decimal number. 
  2028. mathx  arithmetic_expression 
  2029.                               The mathx command computes the expression and 
  2030.                               displays the result as a hexadecimal number. 
  2031. matho  arithmetic_expression 
  2032.                               The matho command computes the expression and 
  2033.                               displays the result as an octal number. 
  2034.  
  2035. Try some of the following math commands. 
  2036.  
  2037. math     -10 + 40
  2038. mathx    -xff + 10
  2039. matho    o11 * (xff - 10)
  2040. The above examples would yield 30, xFF0B, and o4325 respectively. 
  2041.  
  2042.  
  2043. ΓòÉΓòÉΓòÉ 8.6. Drawing ΓòÉΓòÉΓòÉ
  2044.  
  2045. Using graphics characters to draw boxes and diagrams is easy in EPM. The DRAW 
  2046. command can be typed at the command line dialog, or F6 can be pressed. If you 
  2047. invoke the command without any parameters, the visual representations of the 
  2048. parameters: 1, 2, 3, 4, 5, 6, B, or /any char will appear in the editor message 
  2049. line. To enable drawing mode, you must issue the draw command with one of these 
  2050. parameters. For example, 
  2051.  
  2052. Draw 2
  2053. You are now in draw mode, which means that the cursor becomes like a paint 
  2054. brush: everywhere you move the cursor, a double line is drawn.  If you want to 
  2055. draw a box, trace the shape with the cursor using the arrow keys (Left, Right, 
  2056. Up and Down). 
  2057.  
  2058. If you want to enter text or wish to move the cursor without drawing anything, 
  2059. i.e. lift the paint brush, press the Ins key. This will suspend the drawing 
  2060. without exiting draw mode. To begin drawing again, simply press the Ins key 
  2061. again. Pressing any key besides those on the numeric keypad, will cause draw 
  2062. mode to end. 
  2063.  
  2064. You can also draw figures with characters other than the line graphics 
  2065. characters provided.  By typing the following on the command line: 
  2066.  
  2067. Draw /(
  2068. you could draw figures composed of left parentheses.  This will work with any 
  2069. character on the keyboard, as long as you precede the character by a slash (/). 
  2070.  
  2071.  
  2072. ΓòÉΓòÉΓòÉ 8.7. Mini-Macros - Keystroke Sequences ΓòÉΓòÉΓòÉ
  2073.  
  2074. You can record (Ctrl-R) and play back (Ctrl-T) a sequence of keystrokes. Such a 
  2075. recorded sequence constitutes a temporary mini-macro which can be repeatedly 
  2076. executed. Any time you find yourself entering the same key sequence more than 
  2077. twice, think of recording them. The keystroke recording is retained until you 
  2078. change it by making a new recording, or until you leave the editor. 
  2079.  
  2080. To record a sequence of keys, press Ctrl-R.  You'll be prompted: 
  2081.  
  2082. Remembering keys.
  2083. Ctrl-R to finish, Ctrl-T to finish and try, Ctrl-C to cancel.
  2084. Type your sequence of keys. Virtually any key can be recorded, including Esc to 
  2085. switch to the command line dialog. (However, anything typed into the command 
  2086. line isn't seen by the recorder.) The keys will be executed as you're typing. 
  2087. Press Ctrl-R again to finish the recording. If you wish to cancel, press Ctrl-C 
  2088. instead. 
  2089.  
  2090. Whenever you wish to replay the sequence, press Ctrl-T. Notice that you can 
  2091. also press Ctrl-T during the recording. This is only a shortcut; it has the 
  2092. same effect as pressing Ctrl-R to finish the recording and Ctrl-T to replay it 
  2093. immediately. 
  2094.  
  2095.  
  2096. ΓòÉΓòÉΓòÉ 8.8. Entering Control and Graphic Characters ΓòÉΓòÉΓòÉ
  2097.  
  2098. You can enter PC graphic characters (those with extended ASCII codes greater 
  2099. than 127) with Alt-keypad numbers. For example, to enter the symbol for the 
  2100. Greek character pi (represented by the code 227), hold down the Alt key, type 
  2101. 227 on the numeric keypad, and release the Alt key. 
  2102.  
  2103.  
  2104. ΓòÉΓòÉΓòÉ 8.9. Syntax-Directed Editing Features ΓòÉΓòÉΓòÉ
  2105.  
  2106. EPM provides syntax directed editing for PASCAL, C, Rexx and E files.  When the 
  2107. Enter key or Space bar is pressed, EPM looks at the first word in the line and 
  2108. keys in the rest of the structure if it understands it. Structure expansion 
  2109. includes if statements, loops, case statements, and comments. Typical 
  2110. syntax-directed editing features may be demonstrated by the following sequence: 
  2111.  
  2112. edit newfile.c          (edit a new file called newfile.c)
  2113.  
  2114.   Type characters indicated below
  2115.  
  2116.     main<space bar>
  2117.     if<space bar>
  2118.  
  2119. Pressing the <space bar> in both instances above should have inserted the rest 
  2120. of the main and if structures. If you find automatic expansion distracting you 
  2121. can turn it off. See the EXPAND command and the MY_EXPAND_ON configuration 
  2122. option.  If you prefer, you can omit syntax assist for any language by using 
  2123. the C_SYNTAX_ASSIST, E_SYNTAX_ASSIST, P_SYNTAX_ASSIST, or REXX_SYNTAX_ASSIST 
  2124. constants, or for all of them with ALTERNATE_KEYSETS. 
  2125.  
  2126. Ctrl-X expands syntax even if the syntax expansion option is off, as long as 
  2127. support was compiled in for that language. 
  2128.  
  2129. EPM will automatically expand the syntax of the Pascal, C and E languages 
  2130. according to the file's filename extension. For example, if the user edits a 
  2131. file called test.e, the editor knows this file will contain E language 
  2132. programs. 
  2133.  
  2134. Box comments can also be created easily according to the syntax particular to 
  2135. the language.  For more information, refer the BOX command entry. 
  2136.  
  2137.  
  2138. ΓòÉΓòÉΓòÉ 8.10. Stream Versus Line Mode ΓòÉΓòÉΓòÉ
  2139.  
  2140. There are two basic types of editors for editing text files, a stream editor 
  2141. and a line editor.  A stream editor treats the file as one long stream of text. 
  2142. A line editor treats the file as a series of individual lines, separated by a 
  2143. line end character. 
  2144.  
  2145. Stream mode 
  2146.           In a stream editor, a new-line character (generally an ASCII 
  2147.           line-feed character) is treated like any other character.  It can be 
  2148.           inserted into the text stream, breaking the line into two at that 
  2149.           point, or it can be deleted from the text stream, joining the two 
  2150.           lines on either side of it.  As you move the cursor left and right, 
  2151.           when it passes the beginning or end of one line, it moves to the end 
  2152.           or beginning of the next - because although you see individual lines 
  2153.           on the display, it's actually one long stream internally.  Also, when 
  2154.           you move the cursor up and down, if you move it over a shorter line, 
  2155.           the cursor bounces to the left; if you continue moving it up or down 
  2156.           to a longer line, it bounces back to the original column. 
  2157. Line mode 
  2158.           The Enhanced Editor is a line editor.  If you move the cursor left or 
  2159.           right, it stays on that line.  You can move the cursor beyond the end 
  2160.           of the line.  If you do so, and then start typing text, the editor 
  2161.           will fill in spaces between the previous end of the line and the 
  2162.           characters you have added.  Since the new-line character does not 
  2163.           actually exist in the file once loaded, there is no concept of 
  2164.           inserting or deleting a new-line.  Pressing the Enter key  (by 
  2165.           default; another key can be chosen) adds a new line after the current 
  2166.           line, but it doesn't split the line; it adds a new, empty line 
  2167.           between the current line and the following line, regardless of the 
  2168.           cursor position. 
  2169.  
  2170. Since some users are accustomed to using a stream-mode editor, the Enhanced 
  2171. Editor can be configured to act like one. 
  2172.  
  2173. Related Information: 
  2174.  
  2175. Enabling stream-mode editing 
  2176.  
  2177.  
  2178. ΓòÉΓòÉΓòÉ 8.11. Enabling Stream-Mode Editing ΓòÉΓòÉΓòÉ
  2179.  
  2180. To enable stream-mode editing: 
  2181.  
  2182.  1. Select Options. 
  2183.  2. Select Preferences. 
  2184.  3. Select Stream editing. 
  2185.  
  2186.  
  2187. ΓòÉΓòÉΓòÉ 9. The Action Bar Pull-Down Menus ΓòÉΓòÉΓòÉ
  2188.  
  2189. In this section each action bar menu is pictured. Below each picture is a 
  2190. description of the menu options. 
  2191.  
  2192.  
  2193. ΓòÉΓòÉΓòÉ 9.1. File ΓòÉΓòÉΓòÉ
  2194.  
  2195. The file pull down menu list actions to be done on files. For more information 
  2196. on loading files see Adding Files to an Edit Ring. The File action bar menu 
  2197. contains the following entries: 
  2198.  
  2199. New 
  2200.           Replaces the current file with a new file named .Untitled. You must 
  2201.           name the file by using Rename.  If the current file has been 
  2202.           modified, you will be asked if you want to save it before continuing. 
  2203.  
  2204. Open .Untitled 
  2205.           Opens a new edit window with .Untitled used as the file name. 
  2206.  
  2207. Open... 
  2208.           Opens a new edit window.  A window appears, in which you can type the 
  2209.           names of one or more files.  If you select Open without typing a 
  2210.           name, .Untitled is used as the file name. 
  2211.  
  2212. Import text file... 
  2213.           Retrieves a file and inserts it into the current file being edited. 
  2214.           The file is inserted starting after the current line. 
  2215.  
  2216.           A window appears, in which you can type the name of the desired file. 
  2217.  
  2218. Add file... 
  2219.           Add files to the current edit window.  A window appears, in which you 
  2220.           can type the name of one or more files. 
  2221.  
  2222. Rename 
  2223.           Changes the name of the file being edited.  A window appears ready 
  2224.           for you type a file name. 
  2225.  
  2226. Save 
  2227.           Stores the current file on disk. 
  2228.  
  2229. Save as... 
  2230.           Assigns a name to the current file, then stores the file on disk.  It 
  2231.           is equivalent to Rename followed by Save. 
  2232.  
  2233. Save and quit 
  2234.           Stores the current file and, if there were no errors storing it, 
  2235.           removes the file from the edit window.  If this is the only file in 
  2236.           the current edit window, the window closes. 
  2237.  
  2238. Quit 
  2239.           Removes the current file from the edit window. If there are unsaved 
  2240.           changes, you are asked if you wish to save the changes, discard them, 
  2241.           or cancel the Quit.  When you quit the last file in the edit window, 
  2242.           the window closes. 
  2243.  
  2244. Print file... 
  2245.           Prints the current file. 
  2246.  
  2247.  
  2248. ΓòÉΓòÉΓòÉ 9.2. Edit ΓòÉΓòÉΓòÉ
  2249.  
  2250. The Edit action bar menu contains the following entries: 
  2251.  
  2252. Undo line 
  2253.           Reverses any changes that you just typed on the current line.  If you 
  2254.           select this in error, you can immediately select it again to redo the 
  2255.           changes. Once you move the cursor off the line, the changes are 
  2256.           committed and you cannot use Undo line to remove them, instead; you 
  2257.           must use Undo. 
  2258.  
  2259. Undo... 
  2260.           Displays a window which allows you step through the changes you have 
  2261.           made to the file. 
  2262.  
  2263. Copy 
  2264.           Copies the marked text to the clipboard. 
  2265.  
  2266. Cut 
  2267.           Copies the marked text to the clipboard, and then deletes it from 
  2268.           EPM. 
  2269.  
  2270. Paste 
  2271.           Inserts text from the clipboard into the current file, following the 
  2272.           cursor position.  The text from the clipboard is treated as a 
  2273.           character mark - that is it is treated as a stream of text, possibly 
  2274.           containing embedded line breaks, rather than as a series of lines. 
  2275.  
  2276. Paste lines 
  2277.           Copies text from the clipboard into the current file, following the 
  2278.           cursor position.  Each line of text in the clipboard is added as a 
  2279.           new line in EPM. 
  2280.  
  2281. Paste block 
  2282.           Inserts text from the clipboard into the current file, following the 
  2283.           cursor position.  The clipboard text is treated as a block mark, 
  2284.           surrounded by the smallest possible bounding rectangle. 
  2285.  
  2286. Style... 
  2287.           Changes the font or color of the marked text. 
  2288.  
  2289. Copy mark 
  2290.           Copies the marked text to the current cursor position. 
  2291.  
  2292. Move mark 
  2293.           Moves the marked text to the current cursor position. 
  2294.  
  2295. Overlay mark 
  2296.           Overwrites the text at the current cursor position with a copy of the 
  2297.           marked text. 
  2298.  
  2299. Adjust mark 
  2300.           Overwrites the text at the current cursor position with the marked 
  2301.           text and leaves blanks in place of the source text. 
  2302.  
  2303. Unmark 
  2304.           Removes any mark that exists in this window. The marked text is not 
  2305.           changed. 
  2306.  
  2307. Delete mark 
  2308.           Erases the marked text.  If the mark is a block mark, the text that 
  2309.           is marked is erased, but the space remains in the file. 
  2310.  
  2311. Push mark 
  2312.           Saves the location of a mark.  You can then select Unmark, mark other 
  2313.           text, manipulate it, and then select Pop mark to restore the original 
  2314.           mark. 
  2315.  
  2316.           Note:  Only the boundary of the mark is saved, not the contents.
  2317.  
  2318. Pop mark 
  2319.           Restores the location of a previous mark. 
  2320.  
  2321. Swap mark 
  2322.           Exchanges the current mark with the topmost mark on the stack (the 
  2323.           most recently pushed mark). 
  2324.  
  2325. Push cursor 
  2326.           Saves the current cursor position.  You can later select Pop cursor 
  2327.           to jump back to the same place in the same file. 
  2328.  
  2329. Pop cursor 
  2330.           Restores the previous cursor position. 
  2331.  
  2332. Swap cursor 
  2333.           Exchanges the current cursor position with the topmost position on 
  2334.           the stack (the most recently pushed position). 
  2335.  
  2336.           Note:  The above 6 entries will only be present if Stack Commands is 
  2337.                  enabled on the Preferences menu, or if they are configured in 
  2338.                  with the WANT_STACK_CMDS option.
  2339.  
  2340. Print mark... 
  2341.           Prints a copy of the marked text. 
  2342.  
  2343.  
  2344. ΓòÉΓòÉΓòÉ 9.3. Search ΓòÉΓòÉΓòÉ
  2345.  
  2346. See Searching and Replacing for more information about searching and replacing 
  2347. text. The Search action bar menu contains the following entries: 
  2348.  
  2349. Search 
  2350.           Displays the Search window, which enables you to search through the 
  2351.           file or change one string to another. 
  2352.  
  2353. Find next 
  2354.           Repeats the previous Find command. 
  2355.  
  2356. Change next 
  2357.           Repeats the previous Change command. 
  2358.  
  2359. Bookmarks 
  2360.           A cascade menu which has the following choices: 
  2361.  
  2362.    Set...    Displays a window that enables you to create a bookmark at the 
  2363.              current cursor position. 
  2364.    List...   Displays a list of bookmarks for the current file.  You can place 
  2365.              the cursor at a particular bookmark by selecting it from the list. 
  2366.    Next      Places the cursor at the next bookmark. 
  2367.    Previous  Places the cursor at the previous bookmark. 
  2368.  
  2369. Tags 
  2370.           A cascade menu which has the following choices: 
  2371.  
  2372.    Find current procedure Looks up the procedure at the cursor position in the 
  2373.              tags file; if found, positions you in the source file where that 
  2374.              procedure is defined. 
  2375.    Find procedure... As above, but presents an entry field where you can type 
  2376.              in the name of a procedure to be located. 
  2377.    Tags file name... Displays (and lets you change) the name of the tags file 
  2378.              in use. 
  2379.    Make tags file... Presents a dialog in which you can enter a list of source 
  2380.              files, in order to create or update the current tags file. 
  2381.  
  2382.           Note:  The Tags menu is present only in EPM 5.60 or above, and only 
  2383.                  if the WANT_TAGS configuration option is set. See the EPM 5.60 
  2384.                  / 6.00 online help for a description of what tags files are. 
  2385.  
  2386.  
  2387. ΓòÉΓòÉΓòÉ 9.4. Options ΓòÉΓòÉΓòÉ
  2388.  
  2389. The Options action bar menu contains the following entries: 
  2390.  
  2391. List ring... 
  2392.           Lists the files in the edit ring. From the list, you can select any 
  2393.           file and make it the current file. 
  2394.  
  2395. Proof 
  2396.           Spell-checks the file or marked area. 
  2397.  
  2398. Proof word 
  2399.           Spell-checks the word at the cursor position. 
  2400.  
  2401. Synonym 
  2402.           Displays a list of synonyms for the word at the cursor position. 
  2403.  
  2404.           Note:  LEXAM.DLL is required to be in the LIBPATH for the above 3 
  2405.                  options to work.  If CHECK_FOR_LEXAM is set in the 
  2406.                  configuration file, these menu selections will not be 
  2407.                  displayed if LEXAM.DLL is missing.
  2408.  
  2409. Preferences 
  2410.           Switchs edit-window options or displays the Settings window. 
  2411.  
  2412.    Settings  Displays a window, from which you can change editor configuration 
  2413.              settings (such as color and fonts). 
  2414.    Advanced marking Switchs between the basic marking mode and the advanced EPM 
  2415.              marking mode.  The mode of marking that you use affects the way 
  2416.              your mouse works. 
  2417.    Stream editing Switchs between stream-mode and line-mode editing. 
  2418.    Ring enabled Allows multiple files to exist in the edit ring.  The edit ring 
  2419.              always exists, but unless you select this option, the editor 
  2420.              prevents you from loading more than one file at a time into it. 
  2421.  
  2422.              A check mark appears next to this choice if it is currently 
  2423.              active. 
  2424.    Stack commands Controls whether the stack-related commands are present on 
  2425.              the Edit menu. 
  2426.    CUA accelerators Toggles whether the Alt+letter keys corresponding to action 
  2427.              bar mnemonics perform the EPM-defined actions or whether they 
  2428.              activate the corresponding menu item. 
  2429.  
  2430.           Note:  If the configuration options are set such that nothing would 
  2431.                  be on the Preferences menu but Settings, then Settings is 
  2432.                  instead displayed on the main Options menu in place of 
  2433.                  Preferences. 
  2434.  
  2435. Autosave... 
  2436.           Displays the autosave file name and the number of changed lines per 
  2437.           autosave.  You can also list the autosave directory. 
  2438.  
  2439. Messages... 
  2440.           Allows you to review displayed editor messages. 
  2441.  
  2442. Frame controls 
  2443.           Configures various edit window frame controls. 
  2444.  
  2445.    Status line Switchs the status line on and off. 
  2446.    Message line Switchs the message line on and off. 
  2447.    Scrollbars Toggles the scroll bars on and off. 
  2448.    Rotate buttons Switchs the rotate buttons on and off. 
  2449.    Info at top Switchs the position of the Information window between the top 
  2450.              and the bottom of the edit window.  The information window is 
  2451.              composed of the status line and the message line. 
  2452.    Prompting Toggles whether prompts are displayed when menu choices are 
  2453.              selected.  Displaying the prompts forces the Information window to 
  2454.              be displayed at the bottom of the edit window instead of at the 
  2455.              top. 
  2456.  
  2457.              Note:  The menu prompting is done through an internal command that 
  2458.                     is called whenever a menu choice is selected.  Therefore, 
  2459.                     the prompting will not appear while another command is 
  2460.                     processing.  This ensures that you will always be able to 
  2461.                     select Halt command to stop processing.
  2462.  
  2463. Save options 
  2464.           Stores the current settings of the frame controls, Preferences 
  2465.           options, the size and position of the edit window, and a few command 
  2466.           settings (PROFILE, LONGNAMES, TABKEY and ESCAPEKEY). The next time an 
  2467.           edit window is opened, these same settings are used. 
  2468.  
  2469. Book icon 
  2470.           Activates EPM book icon, from which you can close EPM or list all 
  2471.           edit windows. 
  2472.  
  2473.           Note:  This selection is only present if SUPPORT_BOOK_ICON is set in 
  2474.                  the configuration file.
  2475.  
  2476.  
  2477. ΓòÉΓòÉΓòÉ 9.5. Command ΓòÉΓòÉΓòÉ
  2478.  
  2479. The command menu allows access to the command line dialog. Commands that can be 
  2480. entered are listed in the EPMCommands Described section. The Command action bar 
  2481. menu contains the following entries: 
  2482.  
  2483. Command dialog 
  2484.           Brings up the EPM Command Line dialog box. 
  2485.  
  2486. Halt command 
  2487.           Stops the execution of the current command. 
  2488.  
  2489. Create shell 
  2490.           Creates a command shell, an OS/2 command prompt where you can type 
  2491.           commands.  The output appears in an edit window while other programs 
  2492.           are running. 
  2493.  
  2494. Write to shell 
  2495.           Writes a string to the command shell. The string is generally a 
  2496.           command, but can also be the response to a prompt in the shell 
  2497.           window. 
  2498.  
  2499. Note:  The Create shell and the Write to shell menu choices only apear if a 
  2500.        SHELL command has been given.
  2501.  
  2502.  
  2503. ΓòÉΓòÉΓòÉ 9.6. Help ΓòÉΓòÉΓòÉ
  2504.  
  2505. EPM includes two types of help. You can browse the EPMHELP.HLP file, which 
  2506. lists the basic commands and key definitions, or you can use the Help Manager 
  2507. to view help panels containing hypertext links. Pressing F1 will place you in 
  2508. the Help Manager viewing the EPM help Table of Contents. 
  2509.  
  2510.  
  2511. ΓòÉΓòÉΓòÉ 10. The Function Keys ΓòÉΓòÉΓòÉ
  2512.  
  2513. The function keys are designed to perform a series of actions or tasks when you 
  2514. press them. The function keys are bound to the most common editorial tasks, so 
  2515. that you may perform these tasks with one simple push of a button. The 
  2516. following sections contain a discussion of the action performed when one of the 
  2517. function keys is pressed in any of the shift states. 
  2518.  
  2519.  
  2520. ΓòÉΓòÉΓòÉ 10.1. F1-F12 ΓòÉΓòÉΓòÉ
  2521.  
  2522. This section explains the actions of the 12 base function keys F1 to F12 as 
  2523. implemented in the standard EPM package. 
  2524.  
  2525. F1=Help 
  2526.                     The F1 key brings up the Help Manager, displaying the 
  2527.                     Contents page for EPM help. 
  2528.  
  2529. F2=Save 
  2530.                     To save the current file without exiting, press the F2 key. 
  2531.  
  2532. F3=Quit 
  2533.                     The F3 key will remove your file's text from the file ring 
  2534.                     without saving it. If your file has been modified, you will 
  2535.                     be asked whether you really wish to throw away the changes. 
  2536.                     When you quit from the last (visible) file of the last 
  2537.                     ring, you will exit to OS/2. 
  2538.  
  2539. F4=Save & Quit 
  2540.                     To save your file and remove it from the file ring press 
  2541.                     F4. When you quit from the last (visible) file of the last 
  2542.                     ring, you will exit to OS/2. 
  2543.  
  2544. F5=Open 
  2545.                     To start editing a file on a new ring press F5, type the 
  2546.                     filename, and press Enter. The ESC key will cancel the 
  2547.                     request. You can enter more than one filename separated by 
  2548.                     a space, and can specify wild cards in filenames like *.doc 
  2549.                     or *.c. 
  2550.  
  2551. F6=Draw 
  2552.                     To start drawing text graphics press F6. Then type a number 
  2553.                     (1 through 6), B for blank, or / followed by any character. 
  2554.                     You will be able to create or erase text graphic drawings 
  2555.                     by moving around with the cursor keys. See section Drawing 
  2556.                     Lines for more information. 
  2557.  
  2558. F7=Name 
  2559.                     To change the name of the file you are editing press F7, 
  2560.                     type the new name and press enter. This does not change the 
  2561.                     name of the previous copy on disk; it changes the name the 
  2562.                     file will next be saved under. Renaming is a good way to 
  2563.                     start a revised copy without losing the original file. 
  2564.  
  2565. F8=Edit 
  2566.                     To edit another file on the same ring press F8, type the 
  2567.                     filename, and press Enter. The ESC key will cancel the 
  2568.                     request. You can enter more than one filename separated by 
  2569.                     a space and wild cards are allowed in filenames. Press the 
  2570.                     F11 and F12 (or Ctrl-N and Ctrl-P) keys to switch between 
  2571.                     the files you are editing. 
  2572.  
  2573. F9=Undo 
  2574.                     If you mistype a change to a line, you can restore its 
  2575.                     original contents by pressing F9. Undo does not restore 
  2576.                     deleted lines or changes to multiple lines. Only the 
  2577.                     current line you are editing can be restored. 
  2578.  
  2579. F10=Action Bar 
  2580.                     Press F10 to toggle between the action bar and the text. 
  2581.                     Pressing and releasing Alt without combining it with any 
  2582.                     other keystrokes will also toggle between the action bar 
  2583.                     and the text. 
  2584.  
  2585.                     Note:  F10 no longer moves to the next file in the ring. 
  2586.                            Use F11/F12 or Ctrl-N/Ctrl-P to change between files.
  2587.  
  2588. F11=Previous 
  2589.                     If you have loaded multiple files (F8 key or Edit command) 
  2590.                     in a ring press F11 to switch to the previous file in the 
  2591.                     ring. 
  2592.  
  2593. F12=Next 
  2594.                     If you have loaded multiple files (F8 key or Edit command) 
  2595.                     in a ring press F12 to switch to the next file in the ring. 
  2596.  
  2597.  
  2598. ΓòÉΓòÉΓòÉ 10.2. Alt-F1 - Alt-F12 ΓòÉΓòÉΓòÉ
  2599.  
  2600. This section explains the actions performed when the Alt key and one of the 12 
  2601. function keys is pressed simultaneously. Not all Alt-Fn keys have a specific 
  2602. action bound to them. The following is a description of those keys that do 
  2603. perform some function. 
  2604.  
  2605. Alt-F1=LineChars 
  2606.                     The Alt-F1 key prints all the characters with which you can 
  2607.                     draw a line or box. This line of characters is printed at 
  2608.                     the cursor location. 
  2609.  
  2610. Alt-F7=ShiftWindow 
  2611.                     To move EPM editor window use the Alt-F7 key combination to 
  2612.                     pickup the window, the arrow keys to move the window, and 
  2613.                     the enter key to drop the window. 
  2614.  
  2615. Alt-F8=SizeWindow 
  2616.                     To resize EPM editor window use the Alt-F8 key combination 
  2617.                     to enter the size mode, the arrow keys to enlarge/shrink 
  2618.                     the window, and the enter key to enact the changes. The 
  2619.                     first arrow key movement determines which side will be 
  2620.                     altered. For instance, to shrink the left boundary, the 
  2621.                     user would type Alt-F8, the left arrow key, as many right 
  2622.                     arrow keys as needed, and then the enter key to enact the 
  2623.                     size change. 
  2624.  
  2625. Alt-F9=Minimize 
  2626.                     To minimize (iconize) the current EPM session use the 
  2627.                     Alt-F9 combination. 
  2628.  
  2629. Alt-F10=Maximize 
  2630.                     To maximize (enlarge EPM screen) use the Alt-F10 
  2631.                     combination. 
  2632.  
  2633. Note:  The Alt-F10 key combination is no longer used to switch between files in 
  2634. a ring. Instead use F11 or Ctrl-P to move to the previous file in a ring and 
  2635. F12 or Ctrl-N to move to the next file in a ring. 
  2636.  
  2637.  
  2638. ΓòÉΓòÉΓòÉ 10.3. Shift-F1 - Shift-F12 ΓòÉΓòÉΓòÉ
  2639.  
  2640. This section explains the actions performed when the Shift key and one of the 
  2641. 12 function keys is pressed simultaneously. Not all Shift-Fn keys have a 
  2642. specific action bound to them. The following is a description of those keys 
  2643. that do perform some function. All the Shift-Fn keys control screen scrolling. 
  2644. This is different from the cursor movement keys, because scrolling causes the 
  2645. contents of the screen to be moved while the cursor remains stationery. 
  2646.  
  2647. Shift-F1=ScrlLeft 
  2648.                     The Shift-F1 key scrolls the screen to the left. 
  2649.  
  2650. Shift-F2=ScrlRight 
  2651.                     The Shift-F2 key scrolls the screen to the right. 
  2652.  
  2653. Shift-F3=ScrlDown 
  2654.                     The Shift-F3 key scrolls the screen down. 
  2655.  
  2656. Shift-F4=ScrlUp 
  2657.                     The Shift-F4 key scrolls the screen up. 
  2658.  
  2659. Shift-F5=CenterLine 
  2660.                     The Shift-F5 key scrolls the screen so that the line that 
  2661.                     the cursor is on is centered vertically. 
  2662.  
  2663.  
  2664. ΓòÉΓòÉΓòÉ 10.4. Ctrl-F1 - Ctrl-F12 ΓòÉΓòÉΓòÉ
  2665.  
  2666. This section explains the actions performed when the Ctrl key and one of the 12 
  2667. function keys is pressed simultaneously. Not all Ctrl-Fn keys have a specific 
  2668. action bound to them. The following is a description of those keys that do 
  2669. perform some function. 
  2670.  
  2671. Ctrl-F1=UpperWord 
  2672.                     The Ctrl-F1 key converts a word to entirely uppercase 
  2673.                     letters. The word is specified by placing the cursor 
  2674.                     anywhere on the word before pressing the Ctrl-F1 key. 
  2675.  
  2676. Ctrl-F2=LowerWord 
  2677.                     The Ctrl-F2 key converts a word to entirely lowercase 
  2678.                     letters. The word is specified by placing the cursor 
  2679.                     anywhere on the word before pressing the Ctrl-F2 key. 
  2680.  
  2681. Ctrl-F3=UpperMark 
  2682.                     The Ctrl-F3 key converts all text in a marked area to 
  2683.                     entirely uppercase letters. 
  2684.  
  2685. Ctrl-F4=LowerMark 
  2686.                     The Ctrl-F4 key converts all text in a marked area to 
  2687.                     entirely lowercase letters. 
  2688.  
  2689. Ctrl-F5=BeginWord 
  2690.                     The Ctrl-F5 key moves the cursor to the first character of 
  2691.                     the word upon which the cursor is presently placed. 
  2692.  
  2693. Ctrl-F6=EndWord 
  2694.                     The Ctrl-F6 key moves the cursor to the last character of 
  2695.                     the word upon which the cursor is presently placed. 
  2696.  
  2697. Ctrl-F7=Shift mark left 
  2698.                     The Ctrl-F7 key moves a marked area left. 
  2699.  
  2700. Ctrl-F8=Shift mark right 
  2701.                     The Ctrl-F8 key moves a marked area right. 
  2702.  
  2703.  
  2704. ΓòÉΓòÉΓòÉ 11. Key Definitions Summary ΓòÉΓòÉΓòÉ
  2705.  
  2706. --- Function keys ---------------------------------------------
  2707.     Unshifted        Alternate        Shifted           Ctrl
  2708.     ---------        ---------        -------           ----
  2709. F1  Help menu        Show draw chars  Scroll left       Uppercase word
  2710. F2  Save and continue                 Scroll right      Lowercase word
  2711. F3  Quit w/o save                     Scroll down       Uppercase mark
  2712. F4  Save and quit    Close EPM Window Scroll up         Lowercase mark
  2713. F5  Edit in new ring Restore Window   Center line vrt.  Crsr to bgn wrd
  2714. F6  Draw                                                Crsr to end wrd
  2715. F7  Change filename  Move EPM window                    Move area left
  2716. F8  Edit new file    Size EPM window                    Move area right
  2717. F9  Undo cur. line   Minimize
  2718. F10 Goto action bar  Maximize
  2719. F11 Previous file
  2720. F12 Next file
  2721. --- Alt keys --------------------------------------------------
  2722. Alt-A : Adjust marked area, blank old Alt-O : Overlay blocked area
  2723. Alt-B : mark Block                    Alt-P : reformat following Paragraph
  2724. Alt-C : Copy mark                     Alt-Q :
  2725. Alt-D : Delete marked area            Alt-R : Reflow marked area
  2726. Alt-E : cursor to End of marked area  Alt-S : Split line at cursor
  2727. Alt-F : Fill marked area              Alt-T : cenTer Text in marked block
  2728. Alt-G :                               Alt-U : Unmark
  2729. Alt-H :                               Alt-V :
  2730. Alt-I :                               Alt-W : mark Word
  2731. Alt-J : Join (with following line)
  2732. Alt-K :                               Alt-Y : cursor to beginning of mark
  2733. Alt-L : mark Line                     Alt-Z : mark, character mode
  2734. Alt-M : Move marked area              Alt-1 : Edit filename on current line
  2735. Alt-N : keyin file Name at cursor     Alt-= : Execute the current line
  2736. -- Ctrl keys -------------------------------------------------
  2737. Ctrl-A :                              Ctrl-N : Next file in ring
  2738. Ctrl-B : list Bookmarks               Ctrl-O : Open file
  2739. Ctrl-C : Change next occurrence       Ctrl-P : Previous file in ring
  2740. Ctrl-D : Delete word                  Ctrl-Q : Toggle for ALL /search_string/
  2741. Ctrl-E : Erase to end of line         Ctrl-R : Record remembered key sequence
  2742. Ctrl-F : repeat previous Find command Ctrl-S : pop Search dialog
  2743. Ctrl-G : list edit rinG               Ctrl-T : play remembered key sequence
  2744. Ctrl-H : keyword Help                 Ctrl-U :
  2745. Ctrl-I : Goto EPM Command Line        Ctrl-V :
  2746. Ctrl-J :                              Ctrl-W :
  2747. Ctrl-K : duplicate line               Ctrl-X : force syntaX expansion
  2748. Ctrl-L : copy Line to cmd line dialog Ctrl-Y : change stYle
  2749. Ctrl-M : insert line; keep cursor pos.Ctrl-Z :
  2750. Ctrl-2 : inserts ASCII null           Ctrl-Bkspc : delete line
  2751.  
  2752.  
  2753. ΓòÉΓòÉΓòÉ 12. EPM Commands ΓòÉΓòÉΓòÉ
  2754.  
  2755. Commands which may be executed from the EPM Command Line. 
  2756.  
  2757.  
  2758. ΓòÉΓòÉΓòÉ 12.1. The EPM Command Line Dialog ΓòÉΓòÉΓòÉ
  2759.  
  2760. EPM editor has a command line dialog used to issue internal commands and 
  2761. external macros. The command line dialog is invoked by pressing Ctrl+I or from 
  2762. the Command pulldown menu of the action bar. You may retrieve previous commands 
  2763. you have typed by pressing the up and down arrow keys (or using the mouse) 
  2764. while the cursor is in the dialog box. 
  2765.  
  2766. As you type a command, the editor will attempt to match what you're typing with 
  2767. an existing line in the selection list.  At any point you can press Ctrl+O to 
  2768. select the matched line in the list, or Ctrl+F to find the next matching line. 
  2769. Ctrl+Backspace will delete the line from the list. 
  2770.  
  2771. The standard commands are shown in the next section. If you enter something 
  2772. other than one of these commands, EPM will pass the command line to the 
  2773. operating system for interpretation. When a command is issued, the editor 
  2774. searches for the executable code for the command in the following order: 
  2775.  
  2776.  1. user-defined command (a command defined by the user in a .E file using a 
  2777.     DEFC construct and compiled into an .EX. file) 
  2778.  
  2779.  2. built-in command internal to the editor (i.e. those listed in the following 
  2780.     section) 
  2781.  
  2782.  3. an external program, which is searched for according to the same rules as 
  2783.     OS/2: 
  2784.  
  2785.     a. looks for a .EXE or a .CMD file in current directory 
  2786.  
  2787.     b. looks for a .EXE or a .CMD file in the directories listed in the PATH 
  2788.        environment variable. 
  2789.  
  2790. In the next section upper case letters are to be taken literally, (i.e. should 
  2791. be entered as shown, but may be entered in either upper or lower case). Lower 
  2792. case words are descriptive, telling what kind of information is to be filled 
  2793. in. For example, the word filespec means any valid OS/2 file specification, 
  2794. d:\path\filename.ext. If the drive and path are omitted, the current values are 
  2795. assumed. 
  2796.  
  2797. The following symbols are used to describe the syntax of EPM commands more 
  2798. precisely: 
  2799.  
  2800. {  }
  2801.                     Zero or more repetitions of what is enclosed in the brackets.
  2802.  
  2803. [  ]
  2804.                     Zero or one of what is enclosed in the brackets.
  2805.  
  2806. A | B
  2807.                     Choice of either A OR B.
  2808.  
  2809.  
  2810. ΓòÉΓòÉΓòÉ 12.2. EPM Commands Described ΓòÉΓòÉΓòÉ
  2811.  
  2812. Detailed descriptions of all valid EPM Commands. 
  2813.  
  2814.  
  2815. ΓòÉΓòÉΓòÉ 12.2.1. #### (Go to line ####) ΓòÉΓòÉΓòÉ
  2816.  
  2817. Syntax: 
  2818.  
  2819.    ####
  2820.  
  2821. Goes to line number ####. 
  2822.  
  2823. Example: 
  2824.  
  2825.    321
  2826.  
  2827. Places the cursor on line 321. 
  2828.  
  2829.  
  2830. ΓòÉΓòÉΓòÉ 12.2.2. + [####] (Go ahead #### lines) ΓòÉΓòÉΓòÉ
  2831.  
  2832. Syntax: 
  2833.  
  2834.     +####
  2835.  
  2836. Moves forward (down) #### lines. If no number is specified, the cursor goes to 
  2837. the bottom of file. 
  2838.  
  2839. Example: 
  2840.  
  2841.     +42
  2842.  
  2843. Moves the cursor ahead 42 lines. 
  2844.  
  2845.  
  2846. ΓòÉΓòÉΓòÉ 12.2.3. - [####] (Go back #### lines) ΓòÉΓòÉΓòÉ
  2847.  
  2848. Syntax: 
  2849.  
  2850.     -####
  2851.  
  2852. Moves backward (up) #### lines. If no number is specified, the cursor goes to 
  2853. the top of file. 
  2854.  
  2855. Example: 
  2856.  
  2857.     -13
  2858.  
  2859. Moves the cursor back 13 lines. 
  2860.  
  2861.  
  2862. ΓòÉΓòÉΓòÉ 12.2.4. /pattern/ - + M A C E R F G  (Search for Text) ΓòÉΓòÉΓòÉ
  2863.  
  2864. Same as the L command. This / form saves a couple of keystrokes if the search 
  2865. string does not itself contain a slash. Refer to the L command for more 
  2866. information. 
  2867.  
  2868.  
  2869. ΓòÉΓòÉΓòÉ 12.2.5. ACTIVATE_ACCEL  (Activate an Accelerator Table) ΓòÉΓòÉΓòÉ
  2870.  
  2871. Syntax: 
  2872.  
  2873.     ACTIVATE_ACCEL [table_name]
  2874.  
  2875. Use ACTIVATE_ACCEL in a Rexx macro to activate the named accelerator table.  If 
  2876. no name is given, the current accelerator table (which could have been updated 
  2877. with the BUILDACCEL command) is rebuilt. 
  2878.  
  2879.  
  2880. ΓòÉΓòÉΓòÉ 12.2.6. ADD  (Add Marked Numbers) ΓòÉΓòÉΓòÉ
  2881.  
  2882. Syntax: 
  2883.  
  2884.     ADD
  2885.  
  2886. Adds the marked block containing numeric expressions. See Adding and Multipling 
  2887. Numbers. 
  2888.  
  2889. Example: 
  2890.  
  2891. 1
  2892. 2
  2893. 3  4
  2894.  
  2895. If this text was marked and the ADD command was issued, the end result would 
  2896. be: 
  2897.  
  2898. 1
  2899. 2
  2900. 3  4
  2901.   10
  2902.  
  2903.  
  2904. ΓòÉΓòÉΓòÉ 12.2.7. ALL  (Search Entire File) ΓòÉΓòÉΓòÉ
  2905.  
  2906. Syntax: 
  2907.  
  2908.     ALL /search_string[/c]
  2909.  
  2910. Will create a new file showing all occurrences of the search string given. The 
  2911. search string should be sandwiched between two delimiters (shown here as 
  2912. slashes). The C option cause ALL to ignore the case in the search. For example: 
  2913.  
  2914.   ALL /find me/
  2915.   ALL $and/or$c
  2916. The first example will find all occurrences of the text find me The second 
  2917. example will find all occurrences of the text and/or. The c option is invoked 
  2918. on the second example, meaning that the text and/or can appear in any 
  2919. combinations of upper and lowercase, whereas find me must be in lower case. 
  2920.  
  2921. All lines with the search string located somewhere in the line will be listed 
  2922. in a separate file in the ring called .ALL. 
  2923.  
  2924. The key Ctrl+Q is set up so that if you press it while in the .ALL file, it 
  2925. will position you on the corresponding line in the original file. If you are 
  2926. not in .ALL, you will be placed there and the cursor will be moved down one 
  2927. line. This enables you to rapidly switch from .ALL to succeeding lines of the 
  2928. original. 
  2929.  
  2930. To use this command EPM.E must have been compiled with the variable WANT_ALL 
  2931. set to TRUE in your MYCNF.E file. 
  2932.  
  2933.  
  2934. ΓòÉΓòÉΓòÉ 12.2.8. APPEND,APP  (Append Text to File) ΓòÉΓòÉΓòÉ
  2935.  
  2936. Syntax: 
  2937.  
  2938.     APPEND filename
  2939.  
  2940. Appends marked text to the file filename. If no text is marked, the entire 
  2941. current file is taken as the source. See PUT for more details. 
  2942.  
  2943. Example: 
  2944.  
  2945.     APPEND D:\HOTEL\FAULTY.DAT
  2946.  
  2947. Appends the marked text to the file FAULTY.DAT which is located in the HOTEL 
  2948. directory of drive D. 
  2949.  
  2950.  
  2951. ΓòÉΓòÉΓòÉ 12.2.9. ASC  (Determine ASCII values) ΓòÉΓòÉΓòÉ
  2952.  
  2953. Syntax: 
  2954.  
  2955.     ASC char
  2956.  
  2957. Will determine the ASCII value of the char specified. This command is the 
  2958. opposite of the CHR command. 
  2959.  
  2960. Example: 
  2961.  
  2962.     ASC *
  2963.  
  2964. Returns the ASCII value of *.  In this case this would appear in the message 
  2965. line: 
  2966.  
  2967.  asc *=42
  2968.  
  2969.  
  2970. ΓòÉΓòÉΓòÉ 12.2.10. AUTOSAVE  (Set/View Autosave Values) ΓòÉΓòÉΓòÉ
  2971.  
  2972. Syntax: 
  2973.  
  2974.     AUTOSAVE [ #### | ON | OFF | ? ]
  2975.  
  2976. Saves the current file to a temporary file after #### number of modifications. 
  2977. If a number or on is specified, the name of the temporary file is shown. If ? 
  2978. is the parameter, the current autosave value (####) is displayed. Off stops the 
  2979. feature until the next Autosave ON or #### command. 
  2980.  
  2981. Note:  These temporary files are saved in case of system or power failure. They 
  2982. are deleted as soon as you exit from the editor. 
  2983.  
  2984.  
  2985. ΓòÉΓòÉΓòÉ 12.2.11. BM, SETMARK  (Set Bookmarks) ΓòÉΓòÉΓòÉ
  2986.  
  2987. Syntax: 
  2988.  
  2989.     BM | SETMARK [bookmark_name [ class [line [col] ] ] ]
  2990.  Sets a bookmark.  If no arguments are given, the bookmark will be set the the 
  2991. current cursor position and a dialog box will appear prompting you for the name 
  2992. of the bookmark. 
  2993.  
  2994. The first argument, if given, will be used as the name of the bookmark to be 
  2995. created.  The second argument is a flag which determines whether the bookmark 
  2996. is permanent (4) or temporary and can also be userd to group bookmarks. The 
  2997. DeleteBMClass command can be used to delete all bookmarks with the same class. 
  2998. The third argument is the line number where you wish the bookmark to be 
  2999. located. The final argument is the column number. 
  3000.  
  3001. Examples: 
  3002.  
  3003.     BM introduction 1
  3004.  
  3005. Sets a permanent bookmark named introduction at the current cursor position. 
  3006.  
  3007.     SETMARK marker 0 5 1
  3008.  
  3009. Sets a temporary bookmark named marker at line 5 and column 1. 
  3010.  
  3011.  
  3012. ΓòÉΓòÉΓòÉ 12.2.12. BOTTOM, BOT  (Move to Bottom of File) ΓòÉΓòÉΓòÉ
  3013.  
  3014. Syntax: 
  3015.  
  3016.     BOTTOM | BOT | +
  3017.  
  3018. Moves to bottom of file. 
  3019.  
  3020.  
  3021. ΓòÉΓòÉΓòÉ 12.2.13. BOX  (Draw Box) ΓòÉΓòÉΓòÉ
  3022.  
  3023. Syntax: 
  3024.  
  3025.     BOX 1|2|3|4|5|6|C|P|A|E|R|B|S|/character
  3026.  
  3027. Draws a box around a marked text block. The options will be listed on screen if 
  3028. the BOX command is issued with no parameter. The options are : 
  3029.  
  3030. 1     thin, single line 
  3031. 2     thin, double line 
  3032. 3     dotted line 
  3033. 4     thick line 
  3034. 5     double, thin line horizontally; single, thin line vertically 
  3035. 6     double, thin line vertically; single, thin line horizontally 
  3036. C     creates a box comment using the C language syntax 
  3037. P     creates a box comment using the Pascal language syntax 
  3038. A     creates a box comment using Assembler syntax 
  3039. E     erases the box around the marked area 
  3040. R     reflows text in marked area 
  3041. B     places spaces on all sides of the marked area, i.e. creates a box of 
  3042.       blank spaces 
  3043. S     creates a box comment using Script (Document Composition Facility) 
  3044.       Comments 
  3045. /character Any character which follows the slash ( / ) will be used to form a 
  3046.       box. 
  3047.  
  3048. Note:  If you wish to create an E-style comment box, use the C option. 
  3049.  
  3050. Example: 
  3051.  
  3052.     BOX C
  3053.  
  3054. Will draw a C style comment box which will look something like this: 
  3055.  
  3056.      /**************/
  3057.      /*            */
  3058.      /**************/
  3059.  
  3060. Note:  Styles 5 and 6 use characters that are used as national support 
  3061.        characters, and may not look right in character sets other than the US 
  3062.        Code Page.
  3063.  
  3064.  
  3065. ΓòÉΓòÉΓòÉ 12.2.14. BROWSE  (Allow Updates to File Toggle) ΓòÉΓòÉΓòÉ
  3066.  
  3067. Syntax: 
  3068.  
  3069.     BROWSE ON | OFF | ?
  3070.  
  3071. The browse command allows the user to determine whether the file can be updated 
  3072. or not. The options are: 
  3073.  
  3074. ON 
  3075.     the file can only be read, and not updated 
  3076. OFF 
  3077.     the file can be both read and updated 
  3078.     the browse status (ON or OFF) can be determined. 
  3079.  
  3080.  
  3081. ΓòÉΓòÉΓòÉ 12.2.15. BUILDACCEL  (Build Accelerator Table Entry) ΓòÉΓòÉΓòÉ
  3082.  
  3083. Syntax: 
  3084.  
  3085.     BUILDACCEL table flags key index command
  3086.  
  3087. Use BUILDACCEL to add an accelerator table entry to an accelerator. table is 
  3088. the name of the table to be updated; use '*' to indicate the currently active 
  3089. accelerator table.  flags is a combination of flags corresponding to the AF_ 
  3090. constants in PMWIN.H in the OS/2 Toolkit, keys is an ASCII key value if flags = 
  3091. AF_CHAR; a VK_ constant from PMWIN.H if flags = AF_VIRTUALKEY, etc.  (See the 
  3092. EPM Technical Reference for further details.)  index is a unique number (unique 
  3093. in the active menu as well as the active accelerator table), and command is the 
  3094. command to be executed when the key is pressed. 
  3095.  
  3096. /* Rexx example of accelerator key definition */
  3097.    AF_CHAR        =   1   /* key style constants */
  3098.    AF_VIRTUALKEY  =   2
  3099.    AF_SCANCODE    =   4
  3100.    AF_SHIFT       =   8
  3101.    AF_CONTROL     =  16
  3102.    AF_ALT         =  32
  3103.    AF_LONEKEY     =  64
  3104.  
  3105.    VK_F1        = 32
  3106.    VK_ALT       = 11
  3107.  
  3108. 'buildaccel *' (AF_CHAR + AF_CONTROL)      122 9300 'sayerror Ctrl+z pressed'
  3109.                                   /* ASCII 122 = 'z' */
  3110. 'buildaccel *' (AF_CHAR + AF_CONTROL)       90 9301 'sayerror Ctrl+Z pressed'
  3111.                                   /* ASCII  90 = 'Z' */
  3112. 'buildaccel *' (AF_VIRTUALKEY + AF_ALT)  VK_F1 9302 'qtime'
  3113.                                 /* Alt+F1 tells the time */
  3114. 'buildaccel *  (AF_VIRTUALKEY + AF_LONEKEY)  VK_ALT 9303 'sayerror F10 = action bar'
  3115.                                 /* Block Alt key from going to the action bar. */
  3116. 'activateaccel'  /* No argument => use current table name. */
  3117.  
  3118.  
  3119. ΓòÉΓòÉΓòÉ 12.2.16. BUILDMENUITEM  (Add Menu Item to Pulldown) ΓòÉΓòÉΓòÉ
  3120.  
  3121. Syntax: 
  3122.  
  3123.     BUILDMENUITEM menuname submenuid menuitemid submenutext attrib helppanel e_command
  3124.  
  3125. Use BUILDMENUITEM in a Rexx macro to add menu items to an action bar pulldown. 
  3126. Buildmenuitem adds a menu item to the pulldown with ID submenuid in the menu 
  3127. named menuname. The text displayed on the pulldown will be submenutext (which 
  3128. can not contain spaces). The attribute will be attrib (see the menu calls in 
  3129. the OS/2 Technical Reference for the various attributes, or just use 0), the 
  3130. help panel resid that will be displayed if the user presses F1 while the menu 
  3131. item is selected is helppanel (0 if no help for that menu item), and e_command 
  3132. is the command that will be executed if that menu item is selected. All the 
  3133. menuitemid's must be unique. 
  3134.  
  3135. /* Rexx sample .erx file - adds "RexxInterface" to the action bar, */
  3136. /* with two menu entries under it.                               */
  3137. 'buildsubmenu default 1990 RexxInterface  0 0'
  3138. 'buildmenuitem default 1990 1991 AddCommentFields      0 0 rx comment'
  3139. 'buildmenuitem default 1990 1992 ShowRexxDateFormats   0 0 rx rxdates'
  3140. 'showmenu default'
  3141.  
  3142. The submenuids for the standard menus (defined in STDMENU.E) are: 
  3143.  
  3144. File        2 
  3145. Edit        8 
  3146. Search      3 
  3147. Options     4 
  3148. Command     1 
  3149. Help        6 
  3150.  
  3151.  
  3152. ΓòÉΓòÉΓòÉ 12.2.17. BUILDSUBMENU  (Build an Action Bar Pulldown) ΓòÉΓòÉΓòÉ
  3153.  
  3154. Syntax: 
  3155.  
  3156.     BUILDSUBMENU menuname submenuid submenutext attrib helppanel e_command
  3157.  
  3158. Use BUILDSUBMENU in a Rexx macro to create a new action bar entry. Buildsubmenu 
  3159. adds a pulldown to the action bar menu named menuname, as submenu number 
  3160. submenuid.  The text displayed on the action bar will be submenutext (which can 
  3161. not contain spaces), the attribute will be attrib (see the menu calls in the 
  3162. OS/2 Technical Reference for the various attributes, or just use 0), the help 
  3163. panel resid that will be displayed if the user presses F1 while the menu item 
  3164. is selected is helppanel (0 if no help for that menu item), and e_command is 
  3165. the command that will be executed if that menu item is selected.  It should be 
  3166. blank (omitted) if you want to define a pull-down; if a command is defined in 
  3167. the Buildsubmenu opcode then it will act immediately.  If no command is 
  3168. defined, then the pull-down menu presented will be all the menu items added via 
  3169. Buildmenuitem calls that specified the same submenuid. 
  3170.  
  3171.  
  3172. ΓòÉΓòÉΓòÉ 12.2.18. CD  (Change Current Directory) ΓòÉΓòÉΓòÉ
  3173.  
  3174. Syntax: 
  3175.  
  3176.     CD [path]
  3177.  
  3178. If path is specified, changes current directory to path. If no path is 
  3179. specified, the current directory is shown as a message. 
  3180.  
  3181. Note:  The CD command is not quite equivalent to the OS/2 CD command. In EPM 
  3182. the drive can be changed by issuing a CD command. For instance, even if you 
  3183. were in the directory:  D:\EDIT\EPM, the following would work: 
  3184.  
  3185.   cd e:\masm\files
  3186.  
  3187.  
  3188. ΓòÉΓòÉΓòÉ 12.2.19. CHANGE,C  (Search and Replace Text) ΓòÉΓòÉΓòÉ
  3189.  
  3190. Syntax: 
  3191.  
  3192.     CHANGE | C /find_string/replace_with/ [-|+|*|M|A|C|E|R|F|G|X]
  3193.  
  3194. Changes the find_string to the replace_with string. The '/' may be changed to 
  3195. any character; the first character after the 'C' and at least one space is used 
  3196. as the string delimiter. (The space is optional if the delimiter is a '/'.) The 
  3197. third delimiter is needed only if options are specified. 
  3198.  
  3199. OPTION EFFECT 
  3200.  
  3201. -    Search from current line backwards, to top of file or to top of marked 
  3202.      area if m option chosen, but still searches left to right within each 
  3203.      line. 
  3204.  
  3205. +    Search forward, from current line to bottom of file. 
  3206.  
  3207. *    Change all occurrences 
  3208.  
  3209. M    Search within the Marked text area only. 
  3210.  
  3211. A    Search All of the current file. 
  3212.  
  3213. C    Ignore upper/lower Case of the search string. 
  3214.  
  3215. E    Do not ignore case, look for Exact matches. 
  3216.  
  3217. R    Search from Right to left through lines.  Default search is left to right 
  3218.      through lines. 
  3219.  
  3220. F    Search from left to right through lines. 
  3221.  
  3222. G    Use the grep algorithm.  See The grep option. 
  3223. (See Steps to Search for a String and Replace It with Another for details.) 
  3224.  
  3225. Example: 
  3226.  
  3227.     C /dead parrot/slug/*
  3228.  
  3229. Will replace all of the occurrences of the string dead parrot with slug. 
  3230.  
  3231.  
  3232. ΓòÉΓòÉΓòÉ 12.2.20. CENTER  (Center Text) ΓòÉΓòÉΓòÉ
  3233.  
  3234. Syntax: 
  3235.  
  3236.     CENTER
  3237.  
  3238. If one or more lines are marked, centers the text on each marked line within 
  3239. the current margins. If a block is marked, the text in the block is centered 
  3240. within the limits of the block. If nothing is marked, centers the current line 
  3241. within the margins. 
  3242.  
  3243. Example: 
  3244.  
  3245. This isn't a lymrick
  3246. 'cause ya can't sing it.
  3247.  
  3248. If the above text was marked and the CENTER command was issued the result would 
  3249. look like this: 
  3250.  
  3251.        This isn't a lymrick
  3252.      'cause ya can't sing it.
  3253.  
  3254.  
  3255. ΓòÉΓòÉΓòÉ 12.2.21. CHR  (Returns ASCII Character) ΓòÉΓòÉΓòÉ
  3256.  
  3257. Syntax: 
  3258.  
  3259.     CHR ASCII_character_code
  3260.  
  3261. Displays the character associated with the ASCII_character_code specified. The 
  3262. CHR command is the opposite of the ASC command. 
  3263.  
  3264. Example: 
  3265.  
  3266.     CHR 42
  3267.  
  3268. Will place the following message in the message line: 
  3269.  
  3270. chr 42=*
  3271.  
  3272.  
  3273. ΓòÉΓòÉΓòÉ 12.2.22. CLOSE  (Close All Files in Ring) ΓòÉΓòÉΓòÉ
  3274.  
  3275. Syntax: 
  3276.  
  3277.     CLOSE
  3278.  
  3279. CLOSE will close all the files in the current ring. The user will be prompted 
  3280. before closing any modified files in the ring. However, if the user chooses not 
  3281. to close any of the modified files, no files will be closed. 
  3282.  
  3283.  
  3284. ΓòÉΓòÉΓòÉ 12.2.23. CONFIGDLG  (Open Settings Dialog Box) ΓòÉΓòÉΓòÉ
  3285.  
  3286. Syntax: 
  3287.  
  3288.     CONFIGDLG
  3289.  
  3290. Brings up the Settings dialog box. 
  3291.  
  3292.  
  3293. ΓòÉΓòÉΓòÉ 12.2.24. COPY2CLIP  (Copy Marked Text to PM Clipboard) ΓòÉΓòÉΓòÉ
  3294.  
  3295. Syntax: 
  3296.  
  3297.     COPY2CLIP
  3298.  
  3299. Copies marked text to the PM clipboard for transfer between EPM files or with 
  3300. other PM applications. 
  3301.  
  3302.  
  3303. ΓòÉΓòÉΓòÉ 12.2.25. CUT  (Cut Mark and Place in Clipboard) ΓòÉΓòÉΓòÉ
  3304.  
  3305. Syntax: 
  3306.  
  3307.     CUT
  3308.  
  3309. Calls COPY2CLIP to copy marked text to the PM clipboard, then deletes the 
  3310. marked text. 
  3311.  
  3312.  
  3313. ΓòÉΓòÉΓòÉ 12.2.26. DELETEAUTOSAVEFILE  (Delete Autosave File) ΓòÉΓòÉΓòÉ
  3314.  
  3315. Syntax: 
  3316.  
  3317.     DELETEAUTOSAVEFILE
  3318.  
  3319. Deletes any existing file which has been created by the AUTOSAVE command. 
  3320.  
  3321.  
  3322. ΓòÉΓòÉΓòÉ 12.2.27. DELETEBM  (Delete Bookmark) ΓòÉΓòÉΓòÉ
  3323.  
  3324. Syntax: 
  3325.  
  3326.     DELETEBM bookmark_name
  3327.  
  3328. Deletes the bookmark of the name bookmark_name. 
  3329.  
  3330. Example: 
  3331.  
  3332.     DELETEBM the buck stops here
  3333.  
  3334. Deletes bookmark with name the buck stops here. 
  3335.  
  3336.  
  3337. ΓòÉΓòÉΓòÉ 12.2.28. DELETEMENU  (Delete a Menu Item) ΓòÉΓòÉΓòÉ
  3338.  
  3339. Syntax: 
  3340.  
  3341.     DELETEMENU menuname submenuid menuitemid itemonly
  3342.  
  3343. Use DELETEMENU to delete an action bar or pulldown menu item. menuname is the 
  3344. name of the menu.  submenuid is the pulldown submenu that is to be deleted. 
  3345. (To delete all submenus set this parameter to 0.) menuitemid is the item to 
  3346. start deleting off a particular submenu (To delete all menu items under a 
  3347. submenu, set this parameter to 0.) itemonly is true if it is desired to delete 
  3348. only the items under a sub-menu but not the sub-menu itself. 
  3349.  
  3350.  
  3351. ΓòÉΓòÉΓòÉ 12.2.29. DIR  (List Directory) ΓòÉΓòÉΓòÉ
  3352.  
  3353. Syntax: 
  3354.  
  3355.     DIR [path]
  3356.  
  3357. Opens a new file in the edit ring with a directory of the specified path, or if 
  3358. no path was specified, of the current path. You can use the equal sign = here 
  3359. as a shorthand for either the current file's directory or filename, as in the 
  3360. Edit command. See the Edit entry in this section for details. E.g., Dir =*.c 
  3361.  
  3362. Although the text in this window can be maniplulated in the same way as a 
  3363. regular file, it must be renamed before it can be saved. Common actions 
  3364. include:  SORTing the directory and using the Alt-1 key combination to load the 
  3365. file listed on the cursor line for editing. 
  3366.  
  3367. Example: 
  3368.  
  3369.     DIR C:\ANIMALS\RABBIT
  3370.  
  3371. Lists the directory C:\ANIMALS\RABBIT. 
  3372.  
  3373.  
  3374. ΓòÉΓòÉΓòÉ 12.2.30. DISPLAY  (Change Message Display Actions) ΓòÉΓòÉΓòÉ
  3375.  
  3376. Syntax: 
  3377.  
  3378.     DISPLAY number
  3379.  
  3380. Use DISPLAY in a Rexx macro to control message display and screen updating.  A 
  3381. negative number turns the display control off, and a positive number turns it 
  3382. back on.  You can turn on or off multiple flags in one DISPLAY call by adding 
  3383. them together, provided they are all positive or negative. -1 turns off screen 
  3384. update; 1 turns it back on. -2 turns off the display of messages; 2 turns it 
  3385. back on. -4 forces messages to be displayed in the message box; 4 reverts to 
  3386. displaying them on the message line; -8 prevents messages from being saved in 
  3387. the message box list; 8 lets them be saved. 
  3388.  
  3389.  
  3390. ΓòÉΓòÉΓòÉ 12.2.31. DOLINES  (Execute Marked Lines) ΓòÉΓòÉΓòÉ
  3391.  
  3392. Syntax: 
  3393.  
  3394.     DOLINES
  3395.  
  3396. Executes the marked lines. Works only if the text contained in the marked lines 
  3397. are EPM or OS/2 commands. 
  3398.  
  3399.  
  3400. ΓòÉΓòÉΓòÉ 12.2.32. DPATH  (Query DPATH Setting) ΓòÉΓòÉΓòÉ
  3401.  
  3402. Syntax: 
  3403.  
  3404.     DPATH
  3405.  
  3406. Opens a temporary file and displays the DPATH setting. 
  3407.  
  3408.  
  3409. ΓòÉΓòÉΓòÉ 12.2.33. DRAW  (Draw Lines) ΓòÉΓòÉΓòÉ
  3410.  
  3411. Syntax: 
  3412.  
  3413.     DRAW [1|2|3|4|5|6|B|/character]
  3414.  
  3415. Allows text drawing with cursor keys. If no option is specified, all options 
  3416. and their visual representation are shown as a message. The options are: 
  3417.  
  3418. 1  single line
  3419. 2  double line
  3420. 3  dotted-line (VM-style) drawings
  3421. 4  heavy solid line
  3422. 5  single/double line mixed vert/horiz
  3423. 6  double/single line mixed vert/horiz
  3424. B  Blanks, for erasing other lines
  3425. /  Slash, followed by any character with which
  3426.    you want to draw lines
  3427.  
  3428. Note:  Styles 5 and 6 use characters that are used as national support 
  3429.        characters, and may not look right in character sets other than the US 
  3430.        Code Page.
  3431.  
  3432.  
  3433. ΓòÉΓòÉΓòÉ 12.2.34. ECHO  (Command Execution Trace Toggle) ΓòÉΓòÉΓòÉ
  3434.  
  3435. Syntax: 
  3436.  
  3437.     ECHO [ON|OFF]
  3438.  
  3439. Turns command execution trace on or off. Useful for seeing what a macro is 
  3440. doing during development. You can turn echo on without recompiling the macro to 
  3441. see what commands are executed. 
  3442.  
  3443. Note:  Attempting to access a menu pulldown while echo is on will not work, so 
  3444.        you will have to access the command line via Escape [if enabled] or 
  3445.        Ctrl+I in order to turn Echo Off.
  3446.  
  3447.  
  3448. ΓòÉΓòÉΓòÉ 12.2.35. EDIT, ED, E  (Load File) ΓòÉΓòÉΓòÉ
  3449.  
  3450. Syntax: 
  3451.  
  3452.     EDIT | ED | E [ [ [options] filespec ] [quoted-command] ]
  3453.  
  3454. Loads specified files into the active ring. If file already exists in the 
  3455. active ring, then it is activated. 
  3456.  
  3457. The following options are valid when typing the EDIT command on the command 
  3458. line dialog and when invoking the editor from the OS/2 prompt: 
  3459.  
  3460. OPTION    EFFECT 
  3461. /d        forces file to be loaded from disk, even if the file already exists 
  3462.           in the edit ring. 
  3463. /l        use the DOS convention that a new line is signified by a carriage 
  3464.           return followed by a line feed. Carriage returns or line feeds 
  3465.           standing by themself are kept as text. 
  3466. /n        restricts file searching to the files already loaded. A match is 
  3467.           considered if filename matches the last length(filename) characters 
  3468.           of a file already in a ring. In practice this means you can specify 
  3469.           only the filename and extension, without the drive and path, and EPM 
  3470.           will find it. 
  3471. /t        prevents expansion of tabs when the file is loaded. By default, tabs 
  3472.           are expanded according to the template defined in the .tabs setting. 
  3473.           (See Setting Tabs). 
  3474. /u        use the Unix convention that a line feed alone is sufficient to start 
  3475.           a new line when loading a file. Carriage returns are discarded. 
  3476. =         is shorthand for same path as last specified at the OS/2 prompt, or 
  3477.           same as current file's at the editor command line dialog. 
  3478.  
  3479. The last option can save many keystrokes if you're editing several files in 
  3480. another directory. From the file specification window: 
  3481.  
  3482.       \pas\lang\foo.pas =foo.bak
  3483. will load the two files foo.pas and foo.bak, both from the directory \pas\lang. 
  3484. If filespec is to include multiple filenames, the filenames must be separated 
  3485. by spaces. 
  3486.  
  3487. From the editor command line dialog, the equals sign substitutes the current 
  3488. file's path, filename, and/or extension, depending on where it appears. For 
  3489. example: 
  3490.  
  3491. Your current directory is C:\EDIT
  3492. The current file is C:\MYDOC\PROG\FOO.DOC
  3493.  
  3494. Edit =bar.zot
  3495.                                                   C:\MYDOC\PROG\BAR.ZOT
  3496.  
  3497. Edit C:\EDIT\=
  3498.                                                   C:\EDIT\FOO.DOC
  3499.  
  3500. Edit =bar.=
  3501.                                                   C:\MYDOC\PROG\BAR.DOC
  3502.  
  3503. Edit =.new
  3504.                                                   C:\MYDOC\PROG\FOO.NEW
  3505.  
  3506. In addition to files to be edited, the Edit command accepts commands to be 
  3507. executed. To distinguish commands from filenames, the commands must be placed 
  3508. between matched single quotes.  If the command to be executed contains single 
  3509. quotes, add an extra one for each.  File names containing spaces must be 
  3510. eclosed in double quotes. 
  3511.  
  3512. Edit new.c 'get skeleton.c' 'bot'
  3513. E EPM.doc 'L /"help/c' EPM.scr '/:q.help'
  3514. E text 'c /don''t/do not/*'
  3515. E "d:\a long file name"
  3516.  
  3517. Return codes are placed in the RC universal variable. RC=0 means no error. 
  3518.  
  3519. See also:  Host Editing 
  3520.  
  3521.  
  3522. ΓòÉΓòÉΓòÉ 12.2.36. EPATH, EP  (Search EPMPATH for Files) ΓòÉΓòÉΓòÉ
  3523.  
  3524. Syntax: 
  3525.  
  3526.     EPATH | EP filename  [pathname]
  3527.  
  3528. If the file specified is not in the current directory, this command will search 
  3529. for it along the EPMPATH or pathname before calling EDIT. Useful when editing 
  3530. .E files, this command is only included if the USE_APPEND configuration 
  3531. constant is set to 1 (default=0), or if both WANT_SEARCH_PATH (default=0) and 
  3532. WANT_GET_ENV (default=1) are set to 1. 
  3533.  
  3534. Example: 
  3535.  
  3536.     EP CHEESESHP.INV
  3537.  
  3538. Loads file CHEESESHP.INV if it is located along the EPMPATH. 
  3539.  
  3540. If filename has an extension of .CMD then the default pathname will be PATH 
  3541. rather than EPMPATH. 
  3542.  
  3543.  
  3544. ΓòÉΓòÉΓòÉ 12.2.37. ESCAPEKEY (Toggle Escape Key Action) ΓòÉΓòÉΓòÉ
  3545.  
  3546. Syntax: 
  3547.  
  3548.     ESCAPEKEY [ON | OFF]
  3549.  
  3550. Use ESCAPEKEY to switch the escape key mode on or off; anything else tells you 
  3551. the current value.  When escape key mode is on, the escape key can be used to 
  3552. bring up the command line dialog (just like Ctrl+I). The default is escape key 
  3553. mode off. 
  3554.  
  3555. This command is only defined when TOGGLE_ESCAPE = 1 is included in the 
  3556. configuration file MYCNF.E. 
  3557.  
  3558.  
  3559. ΓòÉΓòÉΓòÉ 12.2.38. ETPM, ET (Compile E Macros) ΓòÉΓòÉΓòÉ
  3560.  
  3561. Syntax: 
  3562.  
  3563.     ETPM | ET [option] [source[.E] [output[.EX] ] ]
  3564.  
  3565. Compiles E language macros defined in source.e, and places the output into 
  3566. output.ex. The new macros can be activated by loading output.ex into the editor 
  3567. using the '/e' option when you call the editor from OS/2. For more information, 
  3568. refer to section Compiling Macros. 
  3569.  
  3570. If no output file is specified, ETPM assumes it to have the same filename as 
  3571. the source file, but with an .EX extension. If no parameters are given, EPM.E 
  3572. (or the file specified by MAINFILE) is compiled into EPM.EX. 
  3573.  
  3574. The ETPM compiler will report any errors in your programming. The exact meaning 
  3575. of ETPM compilation errors can be looked up in The EPM Editor Technical 
  3576. Reference Manual. 
  3577.  
  3578. The options for the ETPM command are: 
  3579.  
  3580. /E or /e  redirects compiler error messages. Example usage: 
  3581.  
  3582.     ETPM /e errs.txt epm.e epm.ex
  3583. This will cause all compilation error messages to be collected in the file 
  3584. errs.txt. 
  3585.  
  3586. /V or /v  lists the name of each file as it is being compiled. 
  3587.  
  3588. ETPM searches the following directories (in the following order) for any .E 
  3589. files that it needs: 
  3590.  
  3591.  1. the current directory, 
  3592.  2. the directories specified in the EPMPATH environment variable (if it 
  3593.     exists), 
  3594.  3. the directories in the DPATH environment variable, 
  3595.  4. the same directory as the file ETPM.EXE. 
  3596.  
  3597. See Using the RELINK, LINK, UNLINK and ETPM commands for more information. 
  3598.  
  3599.  
  3600. ΓòÉΓòÉΓòÉ 12.2.39. EXPAND  (Syntax Expansion Toggle) ΓòÉΓòÉΓòÉ
  3601.  
  3602. Syntax: 
  3603.  
  3604.     EXPAND [ON|OFF]
  3605.  
  3606. Sets syntax expansion ON or OFF. If no parameters are given, current value is 
  3607. displayed. Syntax expansion occurs when SPACE BAR or ENTER is pressed while a 
  3608. file with a supported language specific extension is active (i.e. .E or .C or 
  3609. .PAS or .CMD). Or you can start out with automatic expansion off by setting the 
  3610. variable MY_EXPAND_ON to 0 in MYCNF.E; you can then force expansion to occur by 
  3611. pressing Ctrl-X. See Including New Features into the Default Configuration for 
  3612. more information about changing MYCNF.E. 
  3613.  
  3614.  
  3615. ΓòÉΓòÉΓòÉ 12.2.40. FILE, F  (Quit and Save File) ΓòÉΓòÉΓòÉ
  3616.  
  3617. Syntax: 
  3618.  
  3619.     FILE | F [/t] [filespec]
  3620.  
  3621. Saves the current file and then quits it, the same as SAVE plus QUIT. If no 
  3622. filespec is given, the current name is used. You can use the equal sign = here 
  3623. as a shorthand for either the current file's directory or filename, as in the 
  3624. Edit command. See the Edit entry in this section for details. If the `/t' 
  3625. option is given, tab compression is performed: a file is compressed by 
  3626. substituting tabs for spaces where possible, i.e. when two or more spaces are 
  3627. found close to a tab stop. 
  3628.  
  3629. Note:  See the description of the Save command for a complete list of options.
  3630.  
  3631. Example: 
  3632.  
  3633.     FILE GREEN.REM
  3634.  
  3635. Save the file as GREEN.REM, then quits the file. 
  3636.  
  3637.  
  3638. ΓòÉΓòÉΓòÉ 12.2.41. FILL  (Fill Mark) ΓòÉΓòÉΓòÉ
  3639.  
  3640. Syntax: 
  3641.  
  3642.     FILL [character]
  3643.  
  3644. Will fill the marked block with the character specified. If no character is 
  3645. specified, an entry box will be put up asking for one. 
  3646.  
  3647.  
  3648. ΓòÉΓòÉΓòÉ 12.2.42. FINDFILE  (Search for File) ΓòÉΓòÉΓòÉ
  3649.  
  3650. Syntax: 
  3651.  
  3652.     FINDFILE [filespec]
  3653.  
  3654. Same as LIST. 
  3655.  
  3656.  
  3657. ΓòÉΓòÉΓòÉ 12.2.43. GET  (Insert File) ΓòÉΓòÉΓòÉ
  3658.  
  3659. Syntax: 
  3660.  
  3661.     GET filespec
  3662.  
  3663. Gets a file and inserts its text on the next line after the cursor position. 
  3664. You can use the equals sign = here as a shorthand for either the current file's 
  3665. directory or filename, as in the Edit command. See the EDIT command for 
  3666. details. 
  3667.  
  3668. Example: 
  3669.  
  3670.     GET SNORKELS.DAT
  3671.  
  3672. Loads file SNORKELS.DAT into the current file at the cursor position. 
  3673.  
  3674.  
  3675. ΓòÉΓòÉΓòÉ 12.2.44. GO, GOMARK  (Go to Bookmark) ΓòÉΓòÉΓòÉ
  3676.  
  3677. Syntax: 
  3678.  
  3679.     GO | GOMARK bookmark_name
  3680.  
  3681. Moves the cursor to the position given by the bookmark. 
  3682.  
  3683. Example: 
  3684.  
  3685.     GO fargle beans
  3686.  
  3687. Places the cursor at the location given by the bookmark fargle beans. 
  3688.  
  3689.  
  3690. ΓòÉΓòÉΓòÉ 12.2.45. HELP  (Load Help File) ΓòÉΓòÉΓòÉ
  3691.  
  3692. Syntax: 
  3693.  
  3694.     HELP
  3695.  
  3696. Loads the EPMHELP.QHL file into a help browser window to display help 
  3697. information. 
  3698.  
  3699. Example: 
  3700.  
  3701.     HELP
  3702.  
  3703.  
  3704. ΓòÉΓòÉΓòÉ 12.2.46. INSERT_ATTR_VAL_PAIR  (Insert Character Attributes) ΓòÉΓòÉΓòÉ
  3705.  
  3706. Syntax: 
  3707.  
  3708.     INSERT_ATTR_VAL_PAIR class attr_val [fstline lstline fstcol lstcol [fid]]
  3709.  
  3710. Use INSERT_ATTR_VAL_PAIR in a Rexx macro to insert push and pop attributes as a 
  3711. pair into a file.  class is the attribute class; attr_val is the attribute 
  3712. value; fstline lstline fstcol lstcol refer to the beginning and ending 
  3713. characters where the attributes are to be inserted (if omitted, then a mark 
  3714. must exist, and the attributes are inserted at the beginning and end of the 
  3715. mark; for a block mark, at the left and right sides of the mark on each line), 
  3716. and fid is the identifier of the file into which the attributes should be 
  3717. inserted (if omitted, it defaults to the current file). 
  3718.  
  3719. /* Rexx macro to highlight the subject line */
  3720. /* Assumes .levelofattributesupport has '1' turned on */
  3721. /* to enable color display. */
  3722. BLACK = 0; BLUE = 1; GREEN = 2; CYAN = 3; RED = 4; MAGENTA = 5; BROWN = 6;
  3723. LIGHT_GREY = 7; DARK_GREY = 8; LIGHT_BLUE = 9; LIGHT_GREEN = 10;
  3724. LIGHT_CYAN = 11; LIGHT_RED = 12; LIGHT_MAGENTA = 13; YELLOW = 14;
  3725. WHITE = 15; BLACKB = 0; BLUEB = 16; GREENB = 32; CYANB = 48; REDB = 64;
  3726. MAGENTAB = 80; BROWNB = 96; GREYB =112; LIGHT_GREYB =112;
  3727. DARK_GREYB =128; LIGHT_BLUEB =144; LIGHT_GREENB =160; LIGHT_CYANB = 176;
  3728. LIGHT_REDB =192; LIGHT_MAGENTAB =208; YELLOWB =224; WHITEB =240;
  3729.  
  3730. 'l /Subject:/c'
  3731. if rc = 0 then do        /* Found it! */
  3732.    'extract /line/col'
  3733.    'Insert_attr_val_pair 1' (Light_Magenta + Light_CyanB) ,
  3734.                          line.1 line.1 col.1 (col.1 + 7)
  3735. end
  3736.  
  3737.  
  3738. ΓòÉΓòÉΓòÉ 12.2.47. INSERT_ATTRIBUTE  (Insert Character Attribute) ΓòÉΓòÉΓòÉ
  3739.  
  3740. Syntax: 
  3741.  
  3742.     INSERT_ATTRIBUTE class attr_val push_flag offset [col [line [fid]]]
  3743.  
  3744. Use INSERT_ATTRIBUTE in a Rexx macro to insert a character attribute into a 
  3745. file.  class is the attribute class; attr_val is the attribute value; push_flag 
  3746. is 1 for push, 0 for pop, or the value appropriate for the attribute class 
  3747. specified. offset is the offset from the character at which the attribute 
  3748. should be inserted; line and col are the position at which the attribute should 
  3749. be inserted, and default to the cursor position; and fid is the identifier of 
  3750. the file into which the attributes should be inserted (if omitted, it defaults 
  3751. to the current file). 
  3752.  
  3753.  
  3754. ΓòÉΓòÉΓòÉ 12.2.48. KEY  (Repeat Keystroke) ΓòÉΓòÉΓòÉ
  3755.  
  3756. Syntax: 
  3757.  
  3758.     KEY #### character
  3759.  
  3760. Repeats character horizontally #### times. This can be quite powerful; for 
  3761. example you can repeat an entire set of recorded keystrokes (Ctrl-T) 20 times. 
  3762. Example:  KEY 80 =. This will write a line of 80 equal signs into your 
  3763. document. character can be a normal ASCII character or a string representing an 
  3764. extended ASCII character Example:  KEY 10 c-F8. 
  3765.  
  3766.  
  3767. ΓòÉΓòÉΓòÉ 12.2.49. L  (Locate Text) ΓòÉΓòÉΓòÉ
  3768.  
  3769. Syntax: 
  3770.  
  3771.     [L] /pattern[/ [- | + | M | A | C | E | R | F | G] ]
  3772.  
  3773. Locates text in the active file which matches pattern. The pattern delimiters 
  3774. (here shown as /) can be any non-blank character which is not present in 
  3775. pattern. The options following the second delimiter control the direction, 
  3776. scope and upper/lower case sensitivity of the search. The command name (L) may 
  3777. be omitted for convenience, in which case the delimiter must be /. See details 
  3778. in Steps to Search for a String. 
  3779.  
  3780. After a locate command, pressing Ctrl-F will repeat the search with the same 
  3781. options. 
  3782.  
  3783. Example: 
  3784.  
  3785.     L /to be or not to be
  3786.  
  3787. Searches for the first occurrence of the string to be or not to be. 
  3788.  
  3789.  
  3790. ΓòÉΓòÉΓòÉ 12.2.50. LINK  (Link File into EPM) ΓòÉΓòÉΓòÉ
  3791.  
  3792. Syntax: 
  3793.  
  3794.     LINK [filespec]
  3795.  
  3796. Will link the filespec.EX file into the currently executing version of EPM. See 
  3797. Using the RELINK, LINK, UNLINK and ETPM commands for more information. 
  3798.  
  3799.  
  3800. ΓòÉΓòÉΓòÉ 12.2.51. LIST, FILEFIND, FINDFILE    filespec ΓòÉΓòÉΓòÉ
  3801.  
  3802. Syntax: 
  3803.  
  3804.     LIST | FILEFIND | FINDFILE [filespec]
  3805.  
  3806. Loads a list of filenames that match filespec This may take a significant 
  3807. amount of time (a minute or more) if you name a filespec that qualifies an 
  3808. entire hard disk, such as list \*.*.  If the filespec is not given *.* is 
  3809. assumed. Once you have the list, by placing the cursor on the name of a file, 
  3810. you can press Alt-1 to edit that file. 
  3811.  
  3812. Example: 
  3813.  
  3814.     LIST C:\CLAY\GUMBY\POKEY.*
  3815.  
  3816. This command will list all of the files in the C:\CLAY\GUMBY\ directory which 
  3817. match the specifier POKEY.*. 
  3818.  
  3819.  
  3820. ΓòÉΓòÉΓòÉ 12.2.52. LISTMARK  (List Bookmarks) ΓòÉΓòÉΓòÉ
  3821.  
  3822. Syntax: 
  3823.  
  3824.     LISTMARK
  3825.  
  3826. Lists all existing bookmarks. 
  3827.  
  3828.  
  3829. ΓòÉΓòÉΓòÉ 12.2.53. LONGNAMES  (Long Names Toggle) ΓòÉΓòÉΓòÉ
  3830.  
  3831. Syntax: 
  3832.  
  3833.     LONGNAMES [ON | OFF]
  3834.  
  3835. Use LONGNAMES to switch the long names setting on or off; anything else tells 
  3836. you the current value.  When long names is on, a file containing a .LONGNAMES 
  3837. extended attribute will have the extended attribute value shown on the title 
  3838. bar when being edited, rather than the actual file name.  This is useful if a 
  3839. file with a long name is copied from an HPFS drive to a FAT drive and has the 
  3840. original name saved in .LONGNAME; you will be able to see the long name instead 
  3841. of the truncated name.  The default is long names mode off. This command is 
  3842. only defined when the WANT_LONGNAMES option is enabled in the configuration 
  3843. file MYCNF.E. 
  3844.  
  3845.  
  3846. ΓòÉΓòÉΓòÉ 12.2.54. LOCK  (Lock File) ΓòÉΓòÉΓòÉ
  3847.  
  3848. Syntax: 
  3849.  
  3850.     LOCK [filespec]
  3851.  
  3852. Will lock the current file or the file specified from other users in a LAN 
  3853. networking situation. This command is only defined when the WANT_LAN_SUPPORT 
  3854. option is enabled in the configuration file MYCNF.E. 
  3855.  
  3856. Example: 
  3857.  
  3858.     LOCK PARTICLE.MAN
  3859.  
  3860. Locks the file PARTICLE.MAN. 
  3861.  
  3862.  
  3863. ΓòÉΓòÉΓòÉ 12.2.55. LOOPKEY  (Repeat Keystroke Vertically) ΓòÉΓòÉΓòÉ
  3864.  
  3865. Syntax: 
  3866.  
  3867.     LOOPKEY [####|ALL] char
  3868.  
  3869. Allows the repeat of char in a vertical column. The character will be entered 
  3870. #### times, proceeding vertically downward in the current column. (Compare this 
  3871. to the KEY command, which repeats the key horizontally in the same row.) The 
  3872. argument ALL can be given instead of a number, in which case the repetition 
  3873. will continue to the end of the file. char can be a normal ASCII character or a 
  3874. string representing an extended ASCII character 
  3875.  
  3876.  
  3877. ΓòÉΓòÉΓòÉ 12.2.56. LOWERCASE  (Convert to Lowercase) ΓòÉΓòÉΓòÉ
  3878.  
  3879. Syntax: 
  3880.  
  3881.     LOWERCASE
  3882.  
  3883. Converts all uppercase alphabetic characters in the marked area to lowercase. 
  3884.  
  3885.  
  3886. ΓòÉΓòÉΓòÉ 12.2.57. MARGINS, MA  (View/Change Margins) ΓòÉΓòÉΓòÉ
  3887.  
  3888. Syntax: 
  3889.  
  3890.     MARGINS | MA [ left [ right [ new_pgph ] ] ]
  3891.  
  3892. Sets the margins with the parameters: column number on the left, column number 
  3893. on the right, and number of spaces to indent the start of a new paragraph. The 
  3894. new-paragraph indentation occurs when you press Alt-P, for example. Words typed 
  3895. past the right margin are wrapped to the next line. left and new_pgph must be 
  3896. less than right. 
  3897.  
  3898. If no parameters are given, the current value is presented on the command line 
  3899. to allow easy modification.  If right is omitted, it defaults to the current 
  3900. value; if new_pgph is omitted, it defaults to left. 
  3901.  
  3902.  
  3903. ΓòÉΓòÉΓòÉ 12.2.58. MARKWORD  (Mark Word) ΓòÉΓòÉΓòÉ
  3904.  
  3905. Syntax: 
  3906.  
  3907.     MARKWORD
  3908.  
  3909. Marks the word under the cursor. This command is equivalent to the standard key 
  3910. defintion of Alt+W. 
  3911.  
  3912.  
  3913. ΓòÉΓòÉΓòÉ 12.2.59. MATCHTAB  (Type of Tab Toggle) ΓòÉΓòÉΓòÉ
  3914.  
  3915. Syntax: 
  3916.  
  3917.     MATCHTAB [ON | OFF]
  3918.  
  3919. If set on, the Tab and Shift-Tab keys use the previous line's columns for the 
  3920. current line's tab stops. The previous line's columns are defined by the first 
  3921. letter of each space-delimited word. If no parameter is given, the current 
  3922. value is displayed. 
  3923.  
  3924.  
  3925. ΓòÉΓòÉΓòÉ 12.2.60. MATH  (Resolve Simple Expression) ΓòÉΓòÉΓòÉ
  3926.  
  3927. Syntax: 
  3928.  
  3929.     MATH expression
  3930.  
  3931. Computes expression using floating point arithmetic and displays the result on 
  3932. the message line. Output is decimal. Input numbers may be hex (Ex. xff), octal 
  3933. (Ex. o77), and decimal. Valid operators are +, -, /, *, % (integer division) 
  3934. and // (remainder). 
  3935.  
  3936. Example: 
  3937.  
  3938.     MATH 121345342-121345340+1-3
  3939.  
  3940. When this is executed the result will be placed in the message line.  In this 
  3941. case: 
  3942.  
  3943.     math 121345342-121345340+1-3= 0
  3944.  
  3945. See Calculating Mathematical Expressions for further details. 
  3946.  
  3947.  
  3948. ΓòÉΓòÉΓòÉ 12.2.61. MATHO  (Resolve Simple Expression) ΓòÉΓòÉΓòÉ
  3949.  
  3950. Syntax: 
  3951.  
  3952.     MATHO expression
  3953.  
  3954. Same as MATH command but output is octal. 
  3955.  
  3956.  
  3957. ΓòÉΓòÉΓòÉ 12.2.62. MATHX  (Resolve Simple Expression) ΓòÉΓòÉΓòÉ
  3958.  
  3959. Syntax: 
  3960.  
  3961.     MATHX expression
  3962.  
  3963. Same as MATH command but output is hexadecimal. 
  3964.  
  3965.  
  3966. ΓòÉΓòÉΓòÉ 12.2.63. MESSAGEBOX  (Bring up Message Box) ΓòÉΓòÉΓòÉ
  3967.  
  3968. Syntax: 
  3969.  
  3970.     MESSAGEBOX
  3971.  
  3972. Brings up the Editor Messages box for review. 
  3973.  
  3974.  
  3975. ΓòÉΓòÉΓòÉ 12.2.64. MULT  (Multiply Numbers in Mark) ΓòÉΓòÉΓòÉ
  3976.  
  3977. Syntax: 
  3978.  
  3979.     MULT
  3980.  
  3981. Multiplies the numbers in the marked area, and inserts the product in a new row 
  3982. underneath the marked area. 
  3983.  
  3984.  
  3985. ΓòÉΓòÉΓòÉ 12.2.65. NAME, N  (Name Current File) ΓòÉΓòÉΓòÉ
  3986.  
  3987. Syntax: 
  3988.  
  3989.     NAME | N [filespec]
  3990.  
  3991. Renames the file in the editor buffer, but not on disk. The new name will be 
  3992. used the next time you save the file. A useful way to avoid overwriting the 
  3993. original. 
  3994.  
  3995. Example: 
  3996.  
  3997.     NAME ACHTUNG.U2
  3998.  
  3999. This command will name the current file ACHTUNG.U2. 
  4000.  
  4001. If no name is given, the command line dialog will be presented prefilled with 
  4002. Name current_file_name. 
  4003.  
  4004.  
  4005. ΓòÉΓòÉΓòÉ 12.2.66. NEWWINDOW  (Create New Edit Window) ΓòÉΓòÉΓòÉ
  4006.  
  4007. Syntax: 
  4008.  
  4009.     NEWWINDOW
  4010.  
  4011. Use NEWWINDOW to save the current file if it has been changed, open a new 
  4012. window containing the file, then quit the file in the current window. 
  4013.  
  4014.  
  4015. ΓòÉΓòÉΓòÉ 12.2.67. OPEN, O  (Open New Edit Ring) ΓòÉΓòÉΓòÉ
  4016.  
  4017. Syntax: 
  4018.  
  4019.     OPEN | O { [ [options] filespec] [quoted-command] }
  4020.  
  4021. Loads specified files into a new window (and therefore a new ring). This OPEN 
  4022. command is similar to the EDIT command, however, OPEN will open the file in a 
  4023. new window, whereas EDIT will add the file to the edit ring of the current 
  4024. window. Note that OPEN will open the file regardless of other open copies of 
  4025. the file in other rings. The following options are valid when typing the OPEN 
  4026. command on the command line dialog (in addition to those valid for the EDIT 
  4027. command): 
  4028.  
  4029. OPTION  EFFECT 
  4030.  
  4031. /e      loads the compiled macros in the file specified after the /e switch. 
  4032.         See section Compiling Macros for examples. Note: If you do not use this 
  4033.         option, the default compiled macros are used, i.e. the file EPM.EX is 
  4034.         interpreted by the editor. 
  4035.  
  4036. =       is shorthand for same path as last specified at the OS/2 prompt, or 
  4037.         same as current file's at the editor command line dialog. 
  4038.  
  4039. The last option can save many keystrokes if you're editing several files in 
  4040. another directory. 
  4041.  
  4042. See the description of the Edit command for examples of using the = as part of 
  4043. the file specifier, and for examples of passing commands to be executed in the 
  4044. new edit window. 
  4045.  
  4046. Return codes are placed in the RC universal variable. RC==0 means no error. 
  4047.  
  4048.  
  4049. ΓòÉΓòÉΓòÉ 12.2.68. OPENPATH,OP  (Open File from Path) ΓòÉΓòÉΓòÉ
  4050.  
  4051. Syntax: 
  4052.  
  4053.     OPENPATH | OP [filename]
  4054.  
  4055. If the file specified is not in the current directory, this command will search 
  4056. for it along the EPMPATH before calling OPEN. This command is only defined when 
  4057. the EPATH command is defined; see the description of EPATH for the 
  4058. requirements.  If no filename is given the command will open the new edit ring 
  4059. with an untitled file. 
  4060.  
  4061. Example: 
  4062.  
  4063.     OP HOLLOW.MEN
  4064.  
  4065.  
  4066. ΓòÉΓòÉΓòÉ 12.2.69. OS2  (Execute OS/2 Command) ΓòÉΓòÉΓòÉ
  4067.  
  4068. Syntax: 
  4069.  
  4070.     OS2 command
  4071.  
  4072. Run the OS/2 command processor (as specified by the COMSPEC environment 
  4073. variable) to execute a command. A new windowed OS/2 command session is started 
  4074. to execute the command. Compare this with the QUIETSHELL command. 
  4075.  
  4076. Example: 
  4077.  
  4078. OS2 erase c:\*.*
  4079.  
  4080. This will execute the command erase c:\*.* in a new windowed OS/2 command 
  4081. session. 
  4082.  
  4083.  
  4084. ΓòÉΓòÉΓòÉ 12.2.70. PASTE  (Paste Text Into Clipboard) ΓòÉΓòÉΓòÉ
  4085.  
  4086. Syntax: 
  4087.  
  4088.     PASTE [C | B]
  4089.  
  4090. Moves text from the PM clipboard into EPM file at the current cursor location. 
  4091. The text in the buffer can come from either an EPM file or any other PM 
  4092. application. If no argument is given, the text is inserted as new lines in the 
  4093. file.  If the argument is 'C', the text is inserted as a character stream, and 
  4094. if the argument is 'B', the text is inserted as a block. 
  4095.  
  4096.  
  4097. ΓòÉΓòÉΓòÉ 12.2.71. PATH  (Display Path Variable) ΓòÉΓòÉΓòÉ
  4098.  
  4099. Syntax: 
  4100.  
  4101.     PATH
  4102.  
  4103. Opens a temporary file and displays the current PATH setting. 
  4104.  
  4105.  
  4106. ΓòÉΓòÉΓòÉ 12.2.72. POPMARK  (Pop Mark from Stack) ΓòÉΓòÉΓòÉ
  4107.  
  4108. Syntax: 
  4109.  
  4110.     POPMARK
  4111.  
  4112. Pops the mark on the top of the Mark Stack and creates it.  If no mark has been 
  4113. pushed onto the Mark Stack, this command will have no effect. 
  4114.  
  4115. This command is only defined when the WANT_STACK_CMDS option is enabled in the 
  4116. configuration file MYCNF.E. 
  4117.  
  4118.  
  4119. ΓòÉΓòÉΓòÉ 12.2.73. POPPOS  (Pop Cursor Position from Stack) ΓòÉΓòÉΓòÉ
  4120.  
  4121. Syntax: 
  4122.  
  4123.     POPPOS
  4124.  
  4125. Pops the cursor location from the top of the Position Stack and moves the 
  4126. cursor to this location.  If the Position Stack is empty an error will occur. 
  4127.  
  4128. This command is only defined when the WANT_STACK_CMDS option is enabled in the 
  4129. configuration file MYCNF.E. 
  4130.  
  4131.  
  4132. ΓòÉΓòÉΓòÉ 12.2.74. PRINT  (Print File) ΓòÉΓòÉΓòÉ
  4133.  
  4134. Syntax: 
  4135.  
  4136.     PRINT [printer_name]
  4137.  
  4138. Sends the marked block, or the entire file if there is no mark, to your 
  4139. printer. Printer_name must be PRN, LPT1:, LPT2:, ... LPT9:, COM1: ... COM:4, or 
  4140. a LAN device (e.g., \\server\printq). If no printer is specified then the block 
  4141. or file will be output to the default printer. 
  4142.  
  4143. Note:  Entering the print command will print in draft mode.  If you wish to 
  4144.        print in WYSIWYG mode you must choose Print File... selection from the 
  4145.        File menu.
  4146.  
  4147. See Printing a File for more details. 
  4148.  
  4149.  
  4150. ΓòÉΓòÉΓòÉ 12.2.75. PROCESSBREAK  (Halt Command in Progress) ΓòÉΓòÉΓòÉ
  4151.  
  4152. Syntax: 
  4153.  
  4154.     PROCESSBREAK
  4155.  
  4156. This command is executed when Ctrl+Break is pressed or Command / Halt Command 
  4157. is selected from the action bar.  The default action is to do a 
  4158.  
  4159. sayerror 'Macro halted by user'
  4160. but E macro programmers can add cleanup code if needed for their routines. 
  4161.  
  4162.  
  4163. ΓòÉΓòÉΓòÉ 12.2.76. PROFILE  (Toggle Profile Setting) ΓòÉΓòÉΓòÉ
  4164.  
  4165. Syntax: 
  4166.  
  4167.     PROFILE [ON | OFF]
  4168.  
  4169. Use PROFILE to switch the profile setting on or off; anything else tells you 
  4170. the current value.  When PROFILE is on, a Rexx profile (PROFILE.ERX) is 
  4171. searched for along the EPMPATH and PATH.  If found, it is executed, and passed 
  4172. the same arguments that EPM was given.  This happens after EPM has processed 
  4173. the arguments.  The default is profile mode off. 
  4174.  
  4175. This command is only defined when WANT_PROFILE = 'SWITCH' is included in the 
  4176. configuration file MYCNF.E. 
  4177.  
  4178.  
  4179. ΓòÉΓòÉΓòÉ 12.2.77. PROCESSFONTREQUEST  (Set a Font) ΓòÉΓòÉΓòÉ
  4180.  
  4181. Syntax: 
  4182.  
  4183. PROCESSFONTREQUEST  fontname.fontsize.fontsel.setfont.markedonly[.fg.bg]
  4184.  
  4185. The PROCESSFONTREQUEST command is used internally by the Style and Settings 
  4186. dialogs, but it can also be issued by the user from the EPM command line or 
  4187. from a macro. The parameters are: 
  4188.  
  4189. fontname  the name of the font to be set. 
  4190.  
  4191. fontsize  the size of the font to be set; can be any point size (for ATM 
  4192.           fonts), or can be a width and height (in pixels) that match an 
  4193.           existing bitmap font.  Note that ATM fonts can be displayed in any 
  4194.           size, even though only a limited number of sizes are shown in the 
  4195.           font dialogs. The size can be represented as in integer point size, 
  4196.           or DDnnn for nnn deci-points, or HHhhWWww for a bitmapped font hh 
  4197.           pixels high and ww pixels wide. 
  4198.  
  4199. fontsel   the attributes of the font to be set; can be any combination of: 
  4200.  
  4201.    1   Italic 
  4202.    2   Underscore 
  4203.    8   Outline 
  4204.    16  Strikeout 
  4205.    32  Bold 
  4206.  
  4207. setfont   A flag (0 or 1) specifying whether the font should be made the 
  4208.           default font for all future edit windows.  Only processed if 
  4209.           markedonly is 0. 
  4210.  
  4211. markedonly A flag (0 or 1) specifying whether the font change should apply to 
  4212.           the marked area only, or should be made the base font for the file. 
  4213.  
  4214. fg        Optional foreground color (0 - 15; see COLORS.E) used if markedonly 
  4215.           is 1. 
  4216.  
  4217. bg        Optional background color (0 - 15; see COLORS.E) used if markedonly 
  4218.           is 1. 
  4219.  
  4220. Examples: 
  4221.  
  4222. Set base font to 16-point Times New Roman:
  4223.    PROCESSFONTREQUEST Times New Roman.16.0.0.0
  4224. Display the marked text in 17 1/2-point Helvetica Bold Italic:
  4225.    PROCESSFONTREQUEST Helvetica.DD175.33.0.1
  4226. Change base font to 20x9 System Monospaced, and make it permanent:
  4227.    PROCESSFONTREQUEST System Monospaced.HH20WW9.0.1.0
  4228. Display the marked text in a 24-point outline Tms Rmn font, with a
  4229. magenta foreground and a light cyan background:
  4230.    PROCESSFONTREQUEST Tms Rmn.24.8.0.1.5.11
  4231.  
  4232.  
  4233. ΓòÉΓòÉΓòÉ 12.2.78. PROOF  (Spell Check Document) ΓòÉΓòÉΓòÉ
  4234.  
  4235. Syntax: 
  4236.  
  4237.     PROOF
  4238.  
  4239. The proof command begins the spell check facility. When the PROOF command is 
  4240. issued, EPM begins spell checking at the cursor position and continues until a 
  4241. suspect word is found, or until the end of the document is reached. If a 
  4242. suspect word is found, a spell check dialog box will appear. The upper portion 
  4243. of the dialog box contains possible corrections. The bottom of the dialog box 
  4244. asks you to choose: Replace, Cancel, Next, Temp. Add, Add, Edit or Help. If the 
  4245. word appears spelled correctly in the list of possible corrections, use the 
  4246. mouse to click on the correct spelling (thereby highlighting your choice) and 
  4247. then click on the Replace entry at the bottom of the dialog box. EPM will make 
  4248. the substitution automatically. (You can double-click on any word word in the 
  4249. list to select Replace for that word.) Choose the Cancel option to stop spell 
  4250. checking. Choose the Next option to ignore the word and continue with spell 
  4251. checking. Choose Temp. Add to mark the word as correctly spelled for the 
  4252. current PROOF session, but not update your addenda file. Choose Add to add the 
  4253. word to your addenda file for future spell checks. Choose Edit to be given a 
  4254. chance to edit the word; the result will be substituted for the word in the 
  4255. file and then rechecked. Choose Help to display a help panel describing what 
  4256. each button does. 
  4257.  
  4258. Note:  Spell checking requires LEXAM.DLL, which is included with some other IBM 
  4259.        products (e.g., OS/2 TCP/IP).  It is not available directly.
  4260.  
  4261.  
  4262. ΓòÉΓòÉΓòÉ 12.2.79. PROOFWORD  (Spell Check Current Word) ΓòÉΓòÉΓòÉ
  4263.  
  4264. Syntax: 
  4265.  
  4266.     PROOFWORD
  4267.  
  4268. Proofs the word that the cursor is on. It brings up the spell checking dialog 
  4269. box if the word is spelled incorectly. See the PROOF command for more 
  4270. information on the spell checking dialog box. 
  4271.  
  4272. Note:  Spell checking requires LEXAM.DLL, which is included with some other IBM 
  4273.        products (e.g., OS/2 TCP/IP).  It is not available directly.
  4274.  
  4275.  
  4276. ΓòÉΓòÉΓòÉ 12.2.80. PUSHMARK  (Push Current Mark onto Stack) ΓòÉΓòÉΓòÉ
  4277.  
  4278. Syntax: 
  4279.  
  4280.     PUSHMARK
  4281.  
  4282. Pushes the location of the current mark into a stack to allow it to be recalled 
  4283. later using a POPMARK command. 
  4284.  
  4285. Note:  Only the position of the mark relative to the file is saved, so if lines 
  4286.        are added to the file before the saved position, and then the mark is 
  4287.        popped, different text will be marked than was originally.
  4288.  
  4289. This command is only defined when the WANT_STACK_CMDS option is enabled in the 
  4290. configuration file MYCNF.E. 
  4291.  
  4292.  
  4293. ΓòÉΓòÉΓòÉ 12.2.81. PUSHPOS  (Push Current Position onto Stack) ΓòÉΓòÉΓòÉ
  4294.  
  4295. Syntax: 
  4296.  
  4297.     PUSHPOS
  4298.  
  4299. Pushes the location of the current cursor position into a stack to allow it to 
  4300. be recalled later using a POPPOS command. 
  4301.  
  4302. This command is only defined when the WANT_STACK_CMDS option is enabled in the 
  4303. configuration file MYCNF.E. 
  4304.  
  4305.  
  4306. ΓòÉΓòÉΓòÉ 12.2.82. PUT  (Append Text to a File) ΓòÉΓòÉΓòÉ
  4307.  
  4308. Syntax: 
  4309.  
  4310.     PUT [filespec]
  4311.  
  4312. Writes the marked text area to the named file. If the named file already exists 
  4313. it's appended rather than overwritten. 
  4314.  
  4315. For convenience, filespec can be omitted if you wish to repeat a PUT to the 
  4316. same file. PUT commands without a filespec will reuse the last-specified name. 
  4317.  
  4318. If there is no mark, the entire current file is PUT. You can use the equals 
  4319. sign = here as a shorthand for either the directory or filename, as in the Edit 
  4320. command. 
  4321.  
  4322. Example: 
  4323.  
  4324.     PUT IT.NOW
  4325.  
  4326. Will append the marked text to the end of the file IT.NOW. 
  4327.  
  4328. See the Edit entry in this section for details. 
  4329.  
  4330.  
  4331. ΓòÉΓòÉΓòÉ 12.2.83. QDATE, QD  (Query System Date) ΓòÉΓòÉΓòÉ
  4332.  
  4333. Syntax: 
  4334.  
  4335.     QDATE | QD
  4336.  
  4337. Displays the current system date in the form: 
  4338.  
  4339.    Today is Sunday July 21, 1992.
  4340.  
  4341.  
  4342. ΓòÉΓòÉΓòÉ 12.2.84. QL, QLINK, QLINKED  (Query Link Status) ΓòÉΓòÉΓòÉ
  4343.  
  4344. Syntax: 
  4345.  
  4346.     QL | QLINK | QLINKED [filespec]
  4347.  
  4348. Checks if the E module specified in filespec is linked. For example, to see if 
  4349. LAMPDQ has been linked you could type from the command line dialog: 
  4350.  
  4351.    QLINKED lampdq
  4352. Depending on your configuration EPM will return: 
  4353.  
  4354. o 'Can't find LAMPDQ on disk' - LAMPDQ.EX does not exist in the EPMPATH (it may 
  4355.   be in the uncompiled LAMPDQ.E form); 
  4356. o 'LAMPDQ is not linked' - LAMPDQ has not been included in EPM; 
  4357. o 'LAMPDQ is linked as module #somenum' - LAMPDQ has been included in EPM. 
  4358. See Using the RELINK, LINK, UNLINK and ETPM commands for more information. 
  4359.  
  4360.  
  4361. ΓòÉΓòÉΓòÉ 12.2.85. QS, QUIETSHELL  (Quiet OS/2 Shell) ΓòÉΓòÉΓòÉ
  4362.  
  4363. Syntax: 
  4364.  
  4365.     QS | QUIETSHELL command
  4366.  
  4367. Executes the OS/2 command specified by command without displaying any results 
  4368. from the command. This is useful when you want to execute an OS/2 command and 
  4369. avoid a macro front-end. 
  4370.  
  4371.  
  4372. ΓòÉΓòÉΓòÉ 12.2.86. QTIME, QT  (Query Time) ΓòÉΓòÉΓòÉ
  4373.  
  4374. Syntax: 
  4375.  
  4376.     QTIME | QT
  4377.  
  4378. Displays the current system time in the form: 
  4379.  
  4380.    The time is 3:12:31 am.
  4381.  
  4382.  
  4383. ΓòÉΓòÉΓòÉ 12.2.87. QUIT, Q  (Quit Current File) ΓòÉΓòÉΓòÉ
  4384.  
  4385. Syntax: 
  4386.  
  4387.     QUIT | Q
  4388.  
  4389. Quits current file and exits the ring if no more files are left. If the visible 
  4390. ring is empty, then the editor exits with return code 0. 
  4391.  
  4392.  
  4393. ΓòÉΓòÉΓòÉ 12.2.88. RC  (Display Return Code) ΓòÉΓòÉΓòÉ
  4394.  
  4395. Syntax: 
  4396.  
  4397.     RC command
  4398.  
  4399. Displays return code of command. A good way to determine the exact result of a 
  4400. command. A number will be shown which can be looked up in section Return Codes. 
  4401. This command should be used in the following way: 
  4402.  
  4403.    rc tabs 35 10 20
  4404. This command will result in the error number 272 ("Error in tab settings") 
  4405. being displayed below the command line dialog. 
  4406.  
  4407. RC can also be used to verify that OS/2 commands completed successfully without 
  4408. having to open a command prompt or redirect output: 
  4409.  
  4410.    RC erase temp.fil
  4411. This will display a RC of 0 if the command completed successfully. 
  4412.  
  4413.  
  4414. ΓòÉΓòÉΓòÉ 12.2.89. REFLOW_ALL  (Reflow Entire File) ΓòÉΓòÉΓòÉ
  4415.  
  4416. Syntax: 
  4417.  
  4418.     REFLOW_ALL
  4419.  
  4420. Reflows all of the current file to the margins. 
  4421.  
  4422.  
  4423. ΓòÉΓòÉΓòÉ 12.2.90. REGISTER_MOUSE  (Register Mouse Event) ΓòÉΓòÉΓòÉ
  4424.  
  4425. Syntax: 
  4426.  
  4427.     REGISTER_MOUSE which button action shifts command
  4428.  
  4429. Use REGISTER_MOUSE in a Rexx macro to associate a command with a mouse event. 
  4430. which is 1 for the global mouse table or 0 for the local; button is the mouse 
  4431. button (1, 2 or 3), action is one of: 
  4432.  
  4433. Action    meaning 
  4434.  
  4435. CLICK     Pressing and releasing the mouse button produces a click. 
  4436.  
  4437. SECONDCLK follows click when the mouse is double-clicked. 
  4438.  
  4439. BEGINDRAG this is called when the mouse button is depressed and the mouse is 
  4440.           moved. 
  4441.  
  4442. ENDDRAG   this is called when the mouse button is released after dragging it. 
  4443.  
  4444. CANCELDRAG. this is called when the drag is cancelled (by pressing Esc before 
  4445.           releaseing the mouse button). 
  4446. shifts is 0 for no shift, or the sum of any combination of 1 for the shift key, 
  4447. 2 for the Ctrl key, and 4 for the Alt key. command is the command to be 
  4448. executed when this mouse event occurs, or blank if the event should be ignored. 
  4449.  
  4450. Note:  The standard mouse definitions issue a register_mouse for ENDDRAG and 
  4451.        CANCELDRAG as part of the BEGINDRAG processing.
  4452.  
  4453. /* Register an action for Ctrl+Alt+Double-click MB1 */
  4454. 'register_mouse 1 1 SECONDCLK 6 rx do_line'
  4455.  
  4456. /* Do_Line.erx */
  4457. 'MH_gotoposition'  /* Move cursor to mouse position */
  4458. 'extract /line/getline'
  4459. if line.1 > 0 then
  4460.    getline.1  /* Execute the line as a command */
  4461.  
  4462.  
  4463. ΓòÉΓòÉΓòÉ 12.2.91. RELINK  (Relink Macros) ΓòÉΓòÉΓòÉ
  4464.  
  4465. Syntax: 
  4466.  
  4467.     RELINK [filespec]
  4468.  
  4469. Compiles and links a macro into a currently running version of EPM. See Using 
  4470. the RELINK, LINK, UNLINK and ETPM commands for more information. 
  4471.  
  4472.  
  4473. ΓòÉΓòÉΓòÉ 12.2.92. RENAME  (Rename File) ΓòÉΓòÉΓòÉ
  4474.  
  4475. Syntax: 
  4476.  
  4477.     RENAME
  4478.  
  4479. Allows you to rename the current file. This command presents the Rename dialog. 
  4480.  
  4481.  
  4482. ΓòÉΓòÉΓòÉ 12.2.93. SAVE, S  (Save Current File) ΓòÉΓòÉΓòÉ
  4483.  
  4484. Syntax: 
  4485.  
  4486.     SAVE | S [/q] [/s | /ns] [/t | /nt] [/ne] [/u | /l] [filespec]
  4487.  
  4488. Saves the file to disk, using the current name if none is specified. You can 
  4489. use the equals sign = here as a shorthand for either the directory or filename, 
  4490. as you can in the Edit command. See the Edit entry in this section for details. 
  4491. The '/q' option saves quietly; the "Saved to" message is not given. If the '/s' 
  4492. option is given, trailing spaces are stripped from each line as it is written 
  4493. out. The '/ns' option says to not strip spaces; this is the default. If the 
  4494. '/t' option is given, tab compression is performed: a file is compressed by 
  4495. substituting tabs for spaces where possible, i.e. when two or more spaces are 
  4496. found close to a tab stop. The '/nt' option says No Tabs; it can be used to 
  4497. override default_save_options = '/t' The '/ne' option prevents the EOF from 
  4498. being written at the end of the file. The '/u' option says to save the file in 
  4499. Unix format - i.e., each line should be terminated with just a line feed, and 
  4500. no EOF should be added at the End of File. This is useful when saving files to 
  4501. NFS-mounted drives on an AIX or Unix system. The '/l' option is the default; 
  4502. this says to save the file in standard OS/2 format - each line should be 
  4503. terminated with a carriage return followed by a line feed; an EOF character is 
  4504. added at the end if SET EOF 1 is in effect. 
  4505.  
  4506.  
  4507. ΓòÉΓòÉΓòÉ 12.2.94. SAYERROR  (Display Error Code or Message) ΓòÉΓòÉΓòÉ
  4508.  
  4509. Syntax: 
  4510.  
  4511.     SAYERROR expression
  4512.  
  4513. Use SAYERROR to display an error code or message in the message area. 
  4514.  
  4515. If expression is the number 0 or 1, any pending error messages are discarded 
  4516. and not displayed.  0 will refresh the screen; 1 will not. 
  4517.  
  4518. If expression is any number other than 0 or 1, the interpreter displays the 
  4519. string corresponding to that numbered error message.  Error messages and their 
  4520. corresponding return codes are listed in the EPM Technical Reference. 
  4521.  
  4522. If expression is not a number, that text will be displayed on the message line. 
  4523. This is useful in Rexx macros. 
  4524.  
  4525.  
  4526. ΓòÉΓòÉΓòÉ 12.2.95. SELECT_ALL  (Select Entire File) ΓòÉΓòÉΓòÉ
  4527.  
  4528. Syntax: 
  4529.  
  4530.     SELECT_ALL
  4531.  
  4532. Creates a mark which encompasses the entire file. 
  4533.  
  4534.  
  4535. ΓòÉΓòÉΓòÉ 12.2.96. SET  (Execute an OS/2 SET Command) ΓòÉΓòÉΓòÉ
  4536.  
  4537. Syntax: 
  4538.  
  4539.     SET
  4540.  
  4541. Executes an OS/2 SET command. All the SET parameters will be displayed in a 
  4542. temporary file. 
  4543.  
  4544.  
  4545. ΓòÉΓòÉΓòÉ 12.2.97. SETMARKP  (Set Permanent Bookmark) ΓòÉΓòÉΓòÉ
  4546.  
  4547. Syntax: 
  4548.  
  4549.     SETMARKP
  4550.  
  4551. Sets a permanent bookmark at the current cursor position. 
  4552.  
  4553.  
  4554. ΓòÉΓòÉΓòÉ 12.2.98. SETSCROLLS  (Toggle Scroll Bars) ΓòÉΓòÉΓòÉ
  4555.  
  4556. Syntax: 
  4557.  
  4558.     SETSCROLLS
  4559.  
  4560. Toggles the scroll bars (both the horizontal and vertical) on or off. 
  4561.  
  4562.  
  4563. ΓòÉΓòÉΓòÉ 12.2.99. SHELL  (Start OS/2 Shell) ΓòÉΓòÉΓòÉ
  4564.  
  4565. Syntax: 
  4566.  
  4567.     SHELL
  4568.  
  4569. Use SHELL to create an EPM command shell session.  If the MYCNF.E contains 
  4570. WANT_EPM_SHELL='HIDDEN', then the first time you enter SHELL in an edit window, 
  4571. two new entries will be added to the Command menu.  Create command shell 
  4572. creates a new shell window, and Write to shell... lets you write a string to 
  4573. the shell window.  If the shell window is waiting at an OS/2 command prompt, 
  4574. then you can enter a command to be executed by either: 
  4575.  
  4576.  1. Select Command. 
  4577.  2. Select Write to shell.... 
  4578.  3. Type the text to be written to the shell. 
  4579.  4. Select OK. 
  4580. or 
  4581.  
  4582.  1. Type the text in the shell window following the prompt. 
  4583.  2. Press the Enter key. 
  4584.  
  4585. If the string to be written to the shell is in response to a program prompt, 
  4586. then you must perform the first sequence; the second method won't write 
  4587. anything to the shell. (The standard Enter key definition recognizes the 
  4588. default EPM_SHELL_PROMPT and automatically performs a Write to shell. Note that 
  4589. this works as well for repeating previously entered commands.) 
  4590.  
  4591. The shell can be used for running any non-fullscreen OS/2 program.  The output 
  4592. from the program is inserted in the shell window as it is generated, even if 
  4593. you switch to some other file in the edit ring. 
  4594.  
  4595. This command is only defined when the WANT_SHELL option is enabled in the 
  4596. configuration file MYCNF.E. 
  4597.  
  4598.  
  4599. ΓòÉΓòÉΓòÉ 12.2.100. SHOWMENU  (Activate Menu) ΓòÉΓòÉΓòÉ
  4600.  
  4601. Syntax: 
  4602.  
  4603.     SHOWMENU menuname
  4604.  
  4605. Use SHOWMENU to activate the action bar named menuname. Changes made with the 
  4606. BuildSubMenu and BuildMenuItem commands will not be seen until the updated menu 
  4607. is displayed with ShowMenu. 
  4608.  
  4609.  
  4610. ΓòÉΓòÉΓòÉ 12.2.101. SORT, SORTDLL  (Sort Text) ΓòÉΓòÉΓòÉ
  4611.  
  4612. Syntax: 
  4613.  
  4614.     SORT | SORTDLL [R] [C] [I]
  4615.  
  4616. If no area is marked, sorts the entire file. If an area is marked, the entire 
  4617. lines are sorted with the marked columns treated as the sort key.  The options 
  4618. are as follows: 
  4619.  
  4620. R   Sorts in reverse (descending) order. 
  4621. C   Sorts according to collating order, as indicated by your country and code 
  4622.     page settings. 
  4623. I   Sorts ignoring case. 
  4624.  
  4625. If two lines have equal keys they are left in the same relative order. This 
  4626. allows you to sort a directory listing, for example, first by extension and 
  4627. again by filename; during the second sort, lines with equal filenames will be 
  4628. left in extension order. 
  4629.  
  4630.  
  4631. ΓòÉΓòÉΓòÉ 12.2.102. STAY  (Toggle SETSTAY) ΓòÉΓòÉΓòÉ
  4632.  
  4633. Syntax: 
  4634.  
  4635.     STAY ON|OFF
  4636.  
  4637. Allows SETSTAY option to be changed from within EPM. When STAY is specified 
  4638. with ON then the cursor will not be moved after a change command has been 
  4639. issued. With STAY set to OFF, the cursor will move to the last occurrence of a 
  4640. change when the change command is issued. 
  4641.  
  4642. This command is only defined when SETSTAY = '?' is included in the 
  4643. configuration file MYCNF.E. 
  4644.  
  4645.  
  4646. ΓòÉΓòÉΓòÉ 12.2.103. STDFILE_READ  (Read a File From STDIN) ΓòÉΓòÉΓòÉ
  4647.  
  4648. Syntax: 
  4649.  
  4650.     STDFILE_READ
  4651.  
  4652. Reads a file in from STDIN. This is most useful when the STDIN has been 
  4653. redirected from a keyboard to another device. 
  4654.  
  4655.  
  4656. ΓòÉΓòÉΓòÉ 12.2.104. STDFILE_WRITE  (Write a File to STDOUT) ΓòÉΓòÉΓòÉ
  4657.  
  4658. Syntax: 
  4659.  
  4660.     STDFILE_WRITE
  4661.  
  4662. Writes a file to STDOUT. This command is most useful to write files when the 
  4663. STDOUT device has been redirected. 
  4664.  
  4665.  
  4666. ΓòÉΓòÉΓòÉ 12.2.105. SUBJECT  (Set File Subject) ΓòÉΓòÉΓòÉ
  4667.  
  4668. Syntax: 
  4669.  
  4670.     SUBJECT
  4671.  
  4672. Use SUBJECT to display, set, or change the file subject field. 
  4673.  
  4674.  
  4675. ΓòÉΓòÉΓòÉ 12.2.106. SWAPMARK  (Swap Mark with Mark on Stack) ΓòÉΓòÉΓòÉ
  4676.  
  4677. Syntax: 
  4678.  
  4679.     SWAPMARK
  4680.  
  4681. Swaps the current mark with the top mark in the mark stack. Will fail if no 
  4682. mark exists in the current window. 
  4683.  
  4684. This command is only defined when the WANT_STACK_CMDS option is enabled in the 
  4685. configuration file MYCNF.E. 
  4686.  
  4687.  
  4688. ΓòÉΓòÉΓòÉ 12.2.107. SWAPPOS  (Swap Position with Position on Stack) ΓòÉΓòÉΓòÉ
  4689.  
  4690. Syntax: 
  4691.  
  4692.     SWAPPOS
  4693.  
  4694. Swaps the current position of the cursor with the top position in the position 
  4695. stack. 
  4696.  
  4697. This command is only defined when the WANT_STACK_CMDS option is enabled in the 
  4698. configuration file MYCNF.E. 
  4699.  
  4700.  
  4701. ΓòÉΓòÉΓòÉ 12.2.108. TABKEY  (Toggle Tab Key Mode) ΓòÉΓòÉΓòÉ
  4702.  
  4703. Syntax: 
  4704.  
  4705.     TABKEY [ON | OFF]
  4706.  
  4707. Use TABKEY to switch the tab key mode on or off; anything else tells you the 
  4708. current value.  When tab key mode is on, the tab key will enter a tab 
  4709. character.  When TAB key mode is off, the tab key will move the cursor to the 
  4710. next tab stop without typing in a tab character.  The default is tab key mode 
  4711. off. 
  4712.  
  4713. You must issue this command from the Command window. 
  4714.  
  4715. This command is only defined when the TOGGLE_TAB option is enabled in the 
  4716. configuration file MYCNF.E. 
  4717.  
  4718. To save the current tab key mode setting as your permanent default: 
  4719.  
  4720.  1. Select Options. 
  4721.  2. Select Save options. 
  4722.  
  4723.  
  4724. ΓòÉΓòÉΓòÉ 12.2.109. TABS  (Set Tabs) ΓòÉΓòÉΓòÉ
  4725.  
  4726. Syntax: 
  4727.  
  4728.     TABS n1 [n2...n32]
  4729.  
  4730. Sets tab stops used by Tab and Shift-Tab keys. If only one tab stop is 
  4731. specified, e.g. TABS 8, the editor interprets this as meaning that the user 
  4732. wants 32 tabs set, each 8 spaces apart, beginning with column 1. In this case, 
  4733. the result would be the same as issuing the following command: TABS 1 9 17 25 
  4734. ... 247 The tab stops must must be listed in ascending order. If no tab values 
  4735. are listed then the current tab settings are returned in the command dialog 
  4736. window (so they can be modified, if desired). Syntax errors in the tab values 
  4737. will be ignored. See Setting Tabs for more information on setting tabs. 
  4738.  
  4739.  
  4740. ΓòÉΓòÉΓòÉ 12.2.110. TOGGLECONTROL  (Toggle Window Visibility) ΓòÉΓòÉΓòÉ
  4741.  
  4742. Syntax: 
  4743.  
  4744.     TOGGLECONTROL windownum [0|1]
  4745.  
  4746. Toggles the window specified by windownum. If the second argument is a 1; then 
  4747. EPM will attempt to turn window on. If the second argument is a 0; then EPM 
  4748. will attempt to turn the window off.  If no second argument is given, then if 
  4749. the window is off it will be turned on; and if the window is on, then it will 
  4750. be turned off. Useful windownum values are: 
  4751.  
  4752. 7  = the status line 
  4753. 8  = the message line 
  4754. 9  = the vertical scroll bar 
  4755. 10 = the horizontal scroll bar 
  4756. 20 = the ring icons 
  4757. 22 = the drag/drop text icon (OS/2 1.3 only) 
  4758. 23 = the status and message line position (top or bottom of window) 
  4759.  
  4760.  
  4761. ΓòÉΓòÉΓòÉ 12.2.111. TOP  (Go to Top of File) ΓòÉΓòÉΓòÉ
  4762.  
  4763. Syntax: 
  4764.  
  4765.     TOP
  4766.  
  4767. Moves to the top of the current file. 
  4768.  
  4769.  
  4770. ΓòÉΓòÉΓòÉ 12.2.112. TRIM  (Trim Window) ΓòÉΓòÉΓòÉ
  4771.  
  4772. Syntax: 
  4773.  
  4774.     TRIM
  4775.  
  4776. Use TRIM to resize the edit window so that no partial characters can be seen at 
  4777. the right or bottom edge of the edit window. 
  4778.  
  4779.  
  4780. ΓòÉΓòÉΓòÉ 12.2.113. TYPE  (Set Type of File) ΓòÉΓòÉΓòÉ
  4781.  
  4782. Syntax: 
  4783.  
  4784.     TYPE
  4785.  
  4786. Use TYPE to display, set, or change the file type. 
  4787.  
  4788.  
  4789. ΓòÉΓòÉΓòÉ 12.2.114. UNIVERSAL  (Change Universal Variables) ΓòÉΓòÉΓòÉ
  4790.  
  4791. Syntax: 
  4792.  
  4793.     UNIVERSAL variable_name [value]
  4794.  
  4795. Use REGISTER_MOUSE in a Rexx macro to update some internal universal variables 
  4796. without having to recompile the macros. variable_name can be one of 
  4797.  
  4798. default_search_options Options used by the Locate command and initial values 
  4799.           for the Search dialog. 
  4800.  
  4801. default_edit_options Options used by the Edit command 
  4802.  
  4803. default_save_options Options used by the Save command 
  4804. value is the value to be set in the universal variable, and can be blank. The 
  4805. value of these variables is inserted before any options passed on the command 
  4806. line, so these defaults can be overridden on any specific command. 
  4807.  
  4808. /* Profile.erx - initializations for a new edit window */
  4809.       /* Make the default search be case-insensitive */
  4810. 'universal default_search_options C'
  4811.       /* No Tabs - expand them when loading a file */
  4812. 'universal default_edit_options /nt'
  4813.       /* Strip trailing blanks when saving a file */
  4814. 'universal default_save_options /s'
  4815.  
  4816.  
  4817. ΓòÉΓòÉΓòÉ 12.2.115. UNLINK  (Unlink EPM Macros) ΓòÉΓòÉΓòÉ
  4818.  
  4819. Syntax: 
  4820.  
  4821.     UNLINK [filespec]
  4822.  
  4823. Removes an E module (ie .EX code) from a version of EPM running in memory. This 
  4824. is useful to remove unused or temporary code to save space. See Using the 
  4825. RELINK, LINK, UNLINK and ETPM commands for more information. 
  4826.  
  4827.  
  4828. ΓòÉΓòÉΓòÉ 12.2.116. UNLOCK  (Unlock File) ΓòÉΓòÉΓòÉ
  4829.  
  4830. Syntax: 
  4831.  
  4832.     UNLOCK [filename]
  4833.  
  4834. Unlocks a file that was locked using the LOCK command or EDIT /K. 
  4835.  
  4836. This command is only defined if WANT_LAN_SUPPORT was requested. 
  4837.  
  4838. Example: 
  4839.  
  4840.     UNLOCK E:\FISH\WANDA\TANK.KEN
  4841.  
  4842. Unlocks the file TANK.KEN from the directory E:\FISH\WANDA. 
  4843.  
  4844.  
  4845. ΓòÉΓòÉΓòÉ 12.2.117. UPPERCASE  (Convert Text to Uppercase) ΓòÉΓòÉΓòÉ
  4846.  
  4847. Syntax: 
  4848.  
  4849.     UPPERCASE
  4850.  
  4851. Converts all lowercase alphabetic characters in the marked area to uppercase 
  4852. letters. 
  4853.  
  4854.  
  4855. ΓòÉΓòÉΓòÉ 12.2.118. VER  (Display Version) ΓòÉΓòÉΓòÉ
  4856.  
  4857. Syntax: 
  4858.  
  4859.     VER
  4860.  
  4861. Displays the version of EPM. For example: 
  4862.  
  4863. EPM Version 5.51
  4864.  
  4865.  
  4866. ΓòÉΓòÉΓòÉ 12.2.119. VOL  (Query Volume Label) ΓòÉΓòÉΓòÉ
  4867.  
  4868. Syntax: 
  4869.  
  4870.     VOL [drive_letter]
  4871.  
  4872. Displays the current drive's volume label information in a temporary file. This 
  4873. command is like the OS/2 VOL command. 
  4874.  
  4875.  
  4876. ΓòÉΓòÉΓòÉ 12.2.120. XCOM  (Execute Interal Command) ΓòÉΓòÉΓòÉ
  4877.  
  4878. Syntax: 
  4879.  
  4880.     XCOM built-in command
  4881.  
  4882. Executes internal (built-in) command, ignoring user-defined (DEFC) commands. 
  4883. Prefix your command line dialog with this when you want to be sure to execute 
  4884. the original EPM version of a command, not the user's redefinition. 
  4885.  
  4886. Note:  The primary intent of XCOM is for executing internal editor commands, to 
  4887.        avoid a user's redefinitions.
  4888.  
  4889.  A typical case is xcom e filespec which executes the unembellished EPM edit 
  4890. command. (One reason for doing this is speed; if you're loading a file only for 
  4891. temporary look-up purposes you don't need the extra checking for a host file 
  4892. name, etc.) 
  4893.  
  4894. But this can be confusing because the executed command might end up being an 
  4895. external OS2 program. If EPM cannot find the command internally it will look to 
  4896. OS2, in which case the effect is the same as typing OS2 command. This is not 
  4897. the normal usage, however. If you know in advance that you want a OS2 command 
  4898. as opposed to a DEFC, you can use the QUIETSHELL prefix. 
  4899.  
  4900.  
  4901. ΓòÉΓòÉΓòÉ 13. Changing Common Default Values Via the Settings Dialog ΓòÉΓòÉΓòÉ
  4902.  
  4903. Select Options / Preferences / Settings to activate the Settings dialog, which 
  4904. has pages to let you configure certain features without requiring recompilation 
  4905. of the macros. The pages of the Settings dialog are briefly described below; 
  4906. you can select the Help button while viewing any page in the dialog to get more 
  4907. detailed information. 
  4908.  
  4909. Tabs        Set the default TABS setting. 
  4910.  
  4911. Margins     Set the default left, right, and paragraph MARGINS settings. 
  4912.  
  4913. Colors      Set the default colors for normal text, marked (selected) text, the 
  4914.             status line, and the message line. 
  4915.  
  4916. Paths       Set the temporary path, autosave path, and (if spell-checking 
  4917.             support is enabled) the dictionary and addenda file locations. 
  4918.  
  4919. Autosave    Set the default AUTOSAVE count. 
  4920.  
  4921. Fonts       Set the default font in which text should be displayed. 
  4922.  
  4923. Keys        Configure the actions performed for various combinations of the 
  4924.             Enter keys. 
  4925.  
  4926.             Note:  This page will only be present if the .ex files were 
  4927.                    compiled with ENHANCED_ENTER_KEYS set to 1 in the MYCNF.E.
  4928.  
  4929.  
  4930. Change all the appropriate values to your desired settings, then select the 
  4931. Save button. Your preferences will be saved in the EPM.INI file. (Only modified 
  4932. pages are actually saved.) EPM.INI is checked for EPM settings when opening a 
  4933. new edit window. This means that the configuration values will override any 
  4934. values set in MYCNF.E and compiled into the .ex files. 
  4935.  
  4936.  
  4937. ΓòÉΓòÉΓòÉ 14. Host Editing ΓòÉΓòÉΓòÉ
  4938.  
  4939. Information on the use of the host editing features of EPM. 
  4940.  
  4941.  
  4942. ΓòÉΓòÉΓòÉ 14.1. Introduction ΓòÉΓòÉΓòÉ
  4943.  
  4944. EPM allows editing of IBM mainframe files from your PC. The host can have 
  4945. either a VM or MVS operating system. Your PC must use a terminal emulator 
  4946. package which supports file transfer between the two systems. EPM supports the 
  4947. OS2 Communications Manager using the ALMCOPY command for uploading and 
  4948. downloading. 
  4949.  
  4950. To specify a host file name, the dummy drive letter H: is used. Below is an 
  4951. example of editing a CMS file from within EPM. 
  4952.  
  4953.    edit h:profile exec
  4954.  
  4955. When EPM sees the H: it expects a CMS file specification to follow (i.e. 
  4956. filename filetype [filemode]). Note the use of spaces, not periods.  The 
  4957. default filemode is A. 
  4958.  
  4959. Host filenames can be given to any of the following EPM commands. 
  4960.  
  4961.     PUT
  4962.     GET
  4963.     S, SAVE
  4964.     APPEND
  4965.     E, EDIT
  4966.     F, FILE
  4967.     O, OPEN
  4968.  
  4969. Notice that the LIST command cannot take a host file specification. 
  4970.  
  4971. If your machine crashes while saving a host file there will be a temporary file 
  4972. created on your PC. If you use the standard host support, these temporary files 
  4973. have names like eeeeeeee.nnn, where nnn is a system supplied number. The files 
  4974. will be in the TEMP_PATH directory. If you use the E3EMUL host support, these 
  4975. temporary files have names like filename.ext, where ext is the first three 
  4976. characters of the host filetype. The files will be in the SAVEPATH directory. 
  4977. (If you do not have a MY_SAVEPATH in your MYCNF.E, this will default to the 
  4978. AUTOSAVE_PATH.) In addition, E3EMUL users will be asked if they wish to save 
  4979. the file as filename.TMP, which won't be overwritten the next time they try to 
  4980. edit the same host file. 
  4981.  
  4982. In order for host editing to work, the default assumptions are: 
  4983.  
  4984.  1. The OS2 communications manager has been installed and is working 
  4985.  
  4986.  2. You're logged on to a VM host system and your session has no program 
  4987.     active. 
  4988.  
  4989.  3. The package 'ALMCOPY' has been installed properly. (i.e. ALMCOPY.EXE can be 
  4990.     found in the current path.) 
  4991.  
  4992.  4. You don't want multiple logical terminal session support. 
  4993.  
  4994. If you want to change any of the above defaults you'll have to put your 
  4995. configuration information in MYCNF.E and recompile EPM.  See the HOST_SUPPORT 
  4996. configuration constant. 
  4997.  
  4998. A common change would be to support multiple logical terminals. A good way to 
  4999. do that is to use E3EMUL, or the SRPI package available as part of LaMail/PM. 
  5000. It is strongly suggested you read their documentation if installing them. 
  5001.  
  5002.  
  5003. ΓòÉΓòÉΓòÉ 14.2. Using E3EMUL for host editing ΓòÉΓòÉΓòÉ
  5004.  
  5005. E3EMUL allows host file editing through IBM licensed emulators, such as IBM's 
  5006. OS/2 Extended Edition Communications Manager. E3EMUL even works with multiple 
  5007. sessions, such as Communication Manager's multiple 3270 emulation sessions. You 
  5008. may specify a default LT (Logical Terminal)/window to use, but you may edit a 
  5009. file from any or all host sessions during an editing session. 
  5010.  
  5011. To differentiate between LT windows, you can specify a host session ID between 
  5012. the h and the colon, e.g.: 
  5013.  
  5014.        edit ha:profile exec
  5015.        edit hb:test file
  5016.  
  5017. E3EMUL does strict syntax checking on your specified filename. This is because 
  5018. it tries to determine what sort of file you have asked to edit. The usage of 
  5019. predetermined defaults allows you to be less than specific when editing host 
  5020. files. For example, you can edit the documentation for EPM on the host with the 
  5021. command: 
  5022.  
  5023.                 E EPM SCRIPT
  5024. E3EMUL fills in the rest, and carries the full filename of HA:EPM SCRIPT A 
  5025. through the editing session. Ambiguous references are resolved with a bias 
  5026. toward VM filenames. 
  5027.  
  5028. Note:  When entering host file names on the OS/2 command line (as opposed to 
  5029. from EPM's command line), you should always specify the H: prefix. This is 
  5030. because otherwise EPM prefixes the names specified with the current directory, 
  5031. and so when E3EMUL gets the command line, it looks like c:\.profile c:\exec, 
  5032. and isn't recognised as a host file. 
  5033.  
  5034.  
  5035. ΓòÉΓòÉΓòÉ 15. Including New Features into the Default Configuration ΓòÉΓòÉΓòÉ
  5036.  
  5037. Many users will wish to change or add features to EPM, but will not care to 
  5038. learn the full E macro language. Many new features can be added by installing 
  5039. add-on packages. Often the only change needed to add such a package to the 
  5040. editor is to add one line to one of the .E files that includes that package 
  5041. into the file. 
  5042.  
  5043. The preferred place to put the include statement is in a file of your own, not 
  5044. in the distributed .E files.  It is tempting to put your includes in the main 
  5045. EPM.E file, but this will cause you extra work when new versions of EPM are 
  5046. released; you'd need to re-add your includes to the new EPM.E. Instead, put 
  5047. your includes in a file named MYKEYS.E, MYSTUFF.E, MYMAIN.E, MYSELECT.E, or 
  5048. MYKEYSET.E. (Listed in order of usefulness; most packages can be installed in 
  5049. MYKEYS.E or MYSTUFF.E.) The E compiler will automatically include those 
  5050. filenames if they exist. 
  5051.  
  5052. Here are some sample includes to show how the MY*.E files might be used. 
  5053.  
  5054. o MYKEYS.E should contain any code which defines new keys. Perhaps you have 
  5055.   redefined one or more key(s) in a file called NEWKEYS.E, as follows: 
  5056.  
  5057.     def c_k=
  5058.        Getline Line
  5059.        InsertLine Line, .line + 1
  5060.  
  5061.   In this case, the Ctrl-K key is defined to duplicate the current line. 
  5062.  
  5063.   To activate this new definition, simply add the following line to the 
  5064.   MYKEYS.E: 
  5065.  
  5066.        include 'newkeys.e'
  5067.  
  5068.   Including a file in the file MYKEYS.E insures that the key will be recognized 
  5069.   in the proper place, and not be included in a special-case keyset. 
  5070. o MYSTUFF.E should contain packages which define non-key features, such as 
  5071.   commands and procedures, for example: 
  5072.  
  5073.        include 'e3code.e'
  5074.  
  5075.   Note:  Most users will not care whether a package defines a key or a command. 
  5076.   Don't worry about the distinction, since in the current EPM it makes no 
  5077.   difference. You can include a package in either MYKEYS.E or MYSTUFF.E. 
  5078. o MYMAIN.E will typically contain small pieces of code to set options at E's 
  5079.   start-up, especially options that we didn't provide as part of the standard 
  5080.   configuration file STDCNF.E. Any code in MYMAIN.E will be included at the end 
  5081.   of E's start-up code (DEFMAIN). 
  5082. o MYSELECT.E can contain anything you want to be executed whenever you select a 
  5083.   different file. Typical tasks here are setting tabs and margins based on 
  5084.   filetype, or selecting keysets based on filetype (this is how the 
  5085.   syntax-editing keys are selected). 
  5086. o MYKEYSET.E is the least frequently used addition.  Not many users will define 
  5087.   an entirely new keyset. 
  5088.  
  5089.  
  5090. ΓòÉΓòÉΓòÉ 16. Changing the Default Configuration ΓòÉΓòÉΓòÉ
  5091.  
  5092. A distinguishing feature of EPM is its configurability. It allows the user to 
  5093. change its standard modes of operation, as well as add new commands and delete 
  5094. unwanted commands. This is possible because a significant portion of the editor 
  5095. (known as macro definitions) is written in a high level programming language 
  5096. (the E language). This language can be learned easily by experienced 
  5097. programmers using The EPM Editor Technical Reference Manual and the delivered 
  5098. source code as a guide. 
  5099.  
  5100. EPM has a Quick Configuration option to allow for easy update of some of the 
  5101. most popular configuration variables (i.e. colors and margins). See Changing 
  5102. Common Default Values for information on the shortcut approach. Not all 
  5103. variables are included there. This section explains how to change any and all 
  5104. of the default features in EPM. 
  5105.  
  5106. Note:  If you change the same values in MYCNF.E and in the Quick Configure 
  5107. menu, those in Quick Configure will take precedence. 
  5108.  
  5109. You can also change the way the editor performs by changing the source code, 
  5110. which comes as a collection of ASCII files with extension .E. The source code 
  5111. is translated by a compiler (ETPM) into a file with extension .EX which will be 
  5112. loaded automatically by EPM as it starts execution. (See Compiling Macros.) The 
  5113. standard file EPM.EX is delivered in the initial EPM package and contains 
  5114. default information. 
  5115.  
  5116. Making elaborate changes, for example redefining commands or keys to perform 
  5117. differently, involves learning the E language and modifying the code. However, 
  5118. more simple changes to the layout of the editor can be made much more easily. 
  5119. Constants set in the files STDCNF.E and COLORS.E control the colors displayed 
  5120. on the screen, margin settings, tab settings, cursor sizes, insert mode status, 
  5121. terminal emulator to be used for editing host files, etc. You need very little 
  5122. experience to create a MYCNF.E that tailors the editor to your preferences 
  5123. without having to learn the E programming language. A sample MYCNF.SMP is 
  5124. included in EMACROS.FLS as a guide. You can override the STDCNF.E settings by 
  5125. using MYCNF.E. This has two advantages: 
  5126.  
  5127.  1. You can easily upgrade to new versions by dropping in the new files. No 
  5128.     more need to merge your modified STDCNF.E with our new one, or to worry 
  5129.     about accidentally overlaying your carefully customized version with ours. 
  5130.  
  5131.  2. Macro writers can include your MYCNF and use the constants the way that you 
  5132.     defined them even if their routines aren't included in the base set of E 
  5133.     code. 
  5134.  
  5135. Therefore, we strongly suggest that you create a MYCNF.E file if you want to 
  5136. make changes to the standard configuration. Do not make changes directly to 
  5137. STDCNF.E or COLORS.E (or, for that matter, to any of the distributed files). 
  5138.  
  5139. In the following, where you read change FOO in STDCNF, you should interpret 
  5140. this to mean find the line defining FOO in STDCNF.E, copy that to your MYCNF.E, 
  5141. and change the value in the copy. 
  5142.  
  5143. There are three sections to STDCNF.E, setting different types of defaults, and 
  5144. each can be overridden in the MYCNF.E file. The first section contains SET 
  5145. statements, the second section defines constants, and the third section 
  5146. initializes various global variables. To override the first section, you simply 
  5147. include the appropriate SET statement in your MYCNF. (The ones in STDCNF.E are 
  5148. commented out, and exist just to document the defaults.) To override the second 
  5149. section, simply define the constants. To override the third section, define a 
  5150. MY_variablename set to the desired value. 
  5151.  
  5152. Comments in STDCNF.E explain this in more detail, and examples of each can be 
  5153. seen in the sample MYCNF.SMP. 
  5154.  
  5155. Note:  One user we know recommends copying the entire STDCNF.E into MYCNF.E in 
  5156. order to have all the spelling and the internal documentation handy. This is 
  5157. not a good idea. STDCNF.E contains some code executed when an EPM window is 
  5158. opened. MYCNF.E should contain no executable code. It should contain only SET, 
  5159. CONST and DEFINE statements. This is so that separately compiled routines can 
  5160. include MYCNF.E to pick up your preferences, without having any unexpected side 
  5161. effects. 
  5162.  
  5163.  
  5164. ΓòÉΓòÉΓòÉ 16.1. The Defaults ΓòÉΓòÉΓòÉ
  5165.  
  5166. This section of MYCNF.E lists all of the modifiable options, their default 
  5167. values, and all possible values. You simply have to add the appropriate 
  5168. assignment to your MYCNF.E. 
  5169.  
  5170. After making one or more of the changes described here, you must compile 
  5171. (translate) the .E files. This can be done two ways. At the editor command 
  5172. line, type the command ETPM. This will invoke ETPM.EXE with the default 
  5173. filenames. The advantage of doing this from within EPM is the ease of 
  5174. correcting a syntax error (if there is one). EPM will automatically load the 
  5175. offending file and position the cursor to the error (or occasionally one line 
  5176. after it). You can also go to an OS/2 command prompt, and issue etpm epm from 
  5177. there. Before either method, make sure your current directory is the one where 
  5178. the E files are stored. 
  5179.  
  5180. String values of configuration options need not be entirely uppercase. A string 
  5181. value may be composed of any combination of upper and lower case letters. All 
  5182. strings will be converted to entirely uppercase letters by ETPM (the compiler) 
  5183. when comparisons are done. 
  5184.  
  5185. See Compiling Macros for more information. 
  5186.  
  5187.  
  5188. ΓòÉΓòÉΓòÉ 16.2. Sample Reconfiguration ΓòÉΓòÉΓòÉ
  5189.  
  5190. One of the most common questions is how to change the default colors and 
  5191. margins. This section will walk a user through the steps needed to reconfigure 
  5192. EPM's default colors and margins. 
  5193.  
  5194.  1. Edit the file MYCNF.E. 
  5195.  2. enter the following lines lines of text into the MYCNF file: 
  5196.  
  5197.             const
  5198.               DEFAULT_MARGINS = '1 75 5'
  5199.  
  5200.             compile if defined('BLACK')
  5201.             define
  5202.               WINDOWCOLOR = YELLOW + BLUEB
  5203.               TEXTCOLOR = WINDOWCOLOR
  5204.               MODIFIED_WINDOWCOLOR = WINDOWCOLOR
  5205.               DRAGCOLOR = LIGHT_BLUE + GREENB
  5206.             compile endif
  5207.  
  5208.  3. Use F4 to save MYCNF and quit. 
  5209.  4. Move to the OS/2 prompt. 
  5210.  5. Change directories to the directory where your .E files are stored. 
  5211.  6. Enter the command: 
  5212.  
  5213.                 etpm epm
  5214.  
  5215.  7. Providing no typing errors were made (ETPM will report these), the changes 
  5216.     should be made. Opening a new EPM edit window should show the changes to 
  5217.     the color scheme and the margin setups. 
  5218. These changes are only examples. See the next section for more information on 
  5219. what these changes mean and how to customize EPM for your own particular needs. 
  5220.  
  5221.  
  5222. ΓòÉΓòÉΓòÉ 16.3. Summary of Configuration Constants ΓòÉΓòÉΓòÉ
  5223.  
  5224. The following section lists all the configuration constants used by EPM, along 
  5225. with their possible values. 
  5226.  
  5227. Note:  The majority of these constants should follow a CONST statement in the 
  5228.        MYCNF.E.  The exception is the constants that set a color (DRAGCOLOR, 
  5229.        MARKCOLOR, MESSAGECOLOR, STATUSCOLOR, TEXTCOLOR); these should follow a 
  5230.        DEFINE statement.  The reason for this is that they are already defined 
  5231.        in COLORS.E, and constants set via CONST can not be redefined with 
  5232.        different values, but compile-time variables set via DEFINE can be.
  5233.  
  5234. ADDENDASUPPORT 
  5235.           Include addenda-file support in spell-checking. 
  5236. ALLOW_PROMPTING_AT_TOP 
  5237.           Should Prompting and Info at Top choices be connected. 
  5238. ALTERNATE_KEYSETS 
  5239.           Include support for syntax assist and user-defined keysets. 
  5240. ASSIST_TRIGGER 
  5241.           Use Enter or Ctrl+Enter to trigger syntax assist. 
  5242. AUTOSAVE_PATH 
  5243.           Default autosave path. 
  5244. BACKUP_PATH 
  5245.           Default backup path. 
  5246. BLOCK_ACTIONBAR_ACCELERATORS 
  5247.           Should Alt+letter perform the editor-defined action, or activate the 
  5248.           corresponding action bar menu. 
  5249. BLOCK_ALT_KEY 
  5250.           Should tapping the Alt key activate the action bar. 
  5251. CALL_USER_FTO 
  5252.           Enable a user exit for setting file transfer options when saving a 
  5253.           host file. 
  5254. CHECK_FOR_LEXAM 
  5255.           Should the presence of the spell-checking library be checked at run 
  5256.           time. 
  5257. COMPILER_ERROR_COLOR 
  5258.           Specify the color that lines with compiler errors will be displayed 
  5259.           in, when EPM is called from the IBM Workframe/2. 
  5260. CORE_STUFF 
  5261.           Include CORE-specific definitions. 
  5262. C_ENTER_ACTION 
  5263.           Action performed by the Ctrl+Enter key. 
  5264. C_MARGINS 
  5265.           Define margins for C files. 
  5266. C_SYNTAX_ASSIST 
  5267.           Specify whether syntax assistance for C should be included. 
  5268. C_TABS 
  5269.           Define tabs for E files. 
  5270. DEBUG 
  5271.           Include debug messages in E3EMUL. 
  5272. DECIMAL 
  5273.           Specify the character used for the decimal point. 
  5274. DEFAULT_AUTOSAVE 
  5275.           Specify how many changes should occur between autosaves. 
  5276. DEFAULT_FILEMODE 
  5277.           Specify the default filemode for VM files. 
  5278. DEFAULT_MARGINS 
  5279.           Define margins for files without extension-specific defaults. 
  5280. DEFAULT_PASTE 
  5281.           Default paste mode - as a line, block, or character mark. 
  5282. DEFAULT_TABS 
  5283.           Define tabs for files without extension-specific defaults. 
  5284. DIRECTORYOF_STRING 
  5285.           Specify the "Directory of" string that appears when a DIR command is 
  5286.           executed. 
  5287. DRAGCOLOR 
  5288.           Specify the color used when drag-marking. 
  5289. DRAG_ALWAYS_MARKS 
  5290.           Specify whether a drag will start a mark even if a mark already 
  5291.           exists. 
  5292. DUPLICATES_ALLOWED 
  5293.           Specify whether duplicate bookmark names are allowed. 
  5294. ENHANCED_ENTER_KEYS 
  5295.           Specify whether support for dynamically changing the actions assigned 
  5296.           to the Enter key combinations is included. 
  5297. ENHANCED_PRINT_SUPPORT 
  5298.           Specify whether support for the print dialog is included. 
  5299. ENTER_ACTION 
  5300.           Action performed by the Enter key. 
  5301. EPATH 
  5302.           Specify what path should be searched for .e files. 
  5303. EPM_POINTER 
  5304.           Specify the default pointer type. 
  5305. EPM_SHELL_PROMPT 
  5306.           Specify the prompt to be used in the shell window. 
  5307. EXTRA_EX 
  5308.           Specify whether code should be split between EPM.EX and EXTRA.EX 
  5309.           (required for normal-sized configurations). 
  5310. E_MARGINS 
  5311.           Define margins for E files. 
  5312. E_SYNTAX_ASSIST 
  5313.           Specify whether syntax assistance for C should be included. 
  5314. E_TABS 
  5315.           Define tabs for E files. 
  5316. FIX_CURSOR 
  5317.           Set this if the cursor disappears after saving a host file. 
  5318. HELPFILENAME 
  5319.           Specify the name of the file loaded when Help / Quick reference is 
  5320.           selected. 
  5321. HIGHLIGHT_COLOR 
  5322.           Specify that found strings should be circled. 
  5323. HOSTCOPYDRIVE 
  5324.           Specify the host drive letter used for the HOSTCOPY command. 
  5325. HOSTCOPYOPTIONS 
  5326.           Specify default options to be passed to the HOSTCOPY command. 
  5327. HOSTDRIVE 
  5328.           Specify what letter should be used to indicate host files. 
  5329. HOSTDRIVE_REQUIRED 
  5330.           Require that the host drive letter be specifed when using E3EMUL. 
  5331. HOST_LT_REQUIRED 
  5332.           Require that the host logical terminal ID be specifed to indicate a 
  5333.           host file. 
  5334. HOST_SUPPORT 
  5335.           Specify the type of support to be included for editing files on a VM 
  5336.           or MVS host. 
  5337. INCLUDE_MATHLIB 
  5338.           Specify whether math support routines should be compiled in or linked 
  5339.           when needed. 
  5340. INCLUDE_MENU_SUPPORT 
  5341.           Specify whether menu support should be included. 
  5342. INCLUDE_WORKFRAME_SUPPORT 
  5343.           Specify whether support for the IBM Workframe/2 should be included. 
  5344. I_LIKE_A_SEMICOLON_SUPPLIED_AFTER_DEFAULT 
  5345.           Specify whether a ';' should be supplied after a 'default' in C 
  5346.           syntax assist. 
  5347. I_LIKE_MY_CASES_UNDER_MY_SWITCH 
  5348.           Specify whether 'case' should be aligned under 'switch' in C syntax 
  5349.           assist. 
  5350. KEEP_CURSOR_ON_SCREEN 
  5351.           Specify whether the cursor should be allowed to be scolled off the 
  5352.           screen using the scroll bars. 
  5353. KEYWORD_HELP_INDEX_FILE 
  5354.           Specify the default index file to be used for keyword help. 
  5355. LINK_HOST_SUPPORT 
  5356.           Specify whether host support should be linked as an external file. 
  5357. LOCAL_MOUSE_SUPPORT 
  5358.           Specify whether support should be included for file-specific mouse 
  5359.           definitions. 
  5360. MAINFILE 
  5361.           Specify the file to be compiled by ETPM if no name is given. 
  5362. MARKCOLOR 
  5363.           Specify the color to be used for marked text. 
  5364. MENU_LIMIT 
  5365.           Allow for the inclusion of a Ring menu.  (Not recommended.) 
  5366. MESSAGECOLOR 
  5367.           Specify the color to be used for the message line. 
  5368. MODIFIED_MARKCOLOR 
  5369.           Specify the color to be used for marked text in a modified file. 
  5370. MODIFIED_WINDOWCOLOR 
  5371.           Specify the color to be used for normal text in a modified file. 
  5372. MOUSE_SUPPORT 
  5373.           Specify whether (and how) mouse support should be included. 
  5374. MVS 
  5375.           Specify whether support should be included for editing files on an 
  5376.           MVS host. 
  5377. MY_ADDENDA_FILENAME 
  5378.           Specify a default addenda file name for spell-checking. 
  5379. MY_APPNAME 
  5380.           Specify the application name to be used in the .INI file. 
  5381. MY_BINOPTIONS 
  5382.           Specify default options for binary file transfers. 
  5383. MY_CENTER_SEARCH 
  5384.           Specify the default initial value for CENTER_SEARCH. 
  5385. MY_CUA_MARKING_SWITCH 
  5386.           Specify whether CUA marking should initially be on or off. 
  5387. MY_CUA_MENU_ACCEL 
  5388.           Specify the initial mode for blocking the action bar accelerators. 
  5389. MY_DEFAULT_EDIT_OPTIONS 
  5390.           Specify default options to be used on EDIT commands. 
  5391. MY_DEFAULT_SAVE_OPTIONS 
  5392.           Specify default options to be used on SAVE commands. 
  5393. MY_DEFAULT_SEARCH_OPTIONS 
  5394.           Specify default options to be used on LOCATE commands. 
  5395. MY_DICTIONARY_FILENAME 
  5396.           Specify the default dictionary filename to be used for spell 
  5397.           checking. 
  5398. MY_EXPAND_ON 
  5399.           Specify whether syntax expansion should initially be on or off. 
  5400. MY_EXTRA_EX_NAME 
  5401.           Specify the name to be used for the EXTRA.EX file. 
  5402. MY_FTOPTIONS 
  5403.           Specify default file transfer options for ASCII files. 
  5404. MY_HOSTCMD 
  5405.           Specify the default command to be used for issuing host commands. 
  5406. MY_HOSTCOPY 
  5407.           Specify the default command to be used for transferring files to the 
  5408.           host. 
  5409. MY_HOSTDRIVE 
  5410.           Specify what letter should be used to indicate host files. 
  5411. MY_JOIN_AFTER_WRAP 
  5412.           Specify the initial value for the JOIN_AFTER_WRAP switch. 
  5413. MY_KEEP_TEMP_FILES 
  5414.           Specify whether temporary files should be erased after use during 
  5415.           host file editing. 
  5416. MY_LT 
  5417.           Specify the default logical terminal to be used for host file 
  5418.           editing. 
  5419. MY_MATCHTAB_ON 
  5420.           Specify the initial MATCHTAB setting. 
  5421. MY_MENU_PROMPT 
  5422.           Specify whether menu prompting should start out on or off. 
  5423. MY_MOUSESTYLE 
  5424.           Specify the default mouse behavior in Advanced Marking mode. 
  5425. MY_PRINTER 
  5426.           Specify the default printer. 
  5427. MY_REXX_PROFILE 
  5428.           Specify whether profile support should initially be on or off. 
  5429. MY_RING_ENABLED 
  5430.           Specify whether the presence of the edit ring should initially be 
  5431.           hidden. 
  5432. MY_SAVEPATH 
  5433.           Specify a default SAVEPATH for host file editing. 
  5434. MY_SAVE_WITH_TABS 
  5435.           Specify if EPM should convert multiple spaces to tabs when saving. 
  5436. MY_SCRIPT_FILE_TYPE 
  5437.           Specify an additional file type that shoule be considered a SCRIPT 
  5438.           file during spell checking. 
  5439. MY_SHOW_LONGNAMES 
  5440.           Specify the initial value for LONGNAMES support. 
  5441. MY_STAY 
  5442.           Specify the initial STAY default. 
  5443. MY_STREAM_MODE 
  5444.           Specify whether stream mode should start out on or off. 
  5445. MY_TWO_SPACES 
  5446.           Specify whether 1 or 2 spaces should be used at the end of a sentence 
  5447.           during text reflow. 
  5448. NLS_LANGUAGE 
  5449.           Specify the language to be used for text strings. 
  5450. NO_DUPLICATE_BOOKMARKS 
  5451.           Specify if duplicate bookmarks should be disallowed. 
  5452. NO_ESCAPE 
  5453.           Specify if the Escape key should not activate the command dialog. 
  5454. PROCESSNAME_CMD 
  5455.           Specify the command used when the filename is directly edited on the 
  5456.           title bar. 
  5457. PROOF_DIALOG_FIXED 
  5458.           Specify that the PROOF dialog always appear in a fixed location, 
  5459.           instead of under the word being proofed. 
  5460. P_MARGINS 
  5461.           Define margins for Pascal files. 
  5462. P_SYNTAX_ASSIST 
  5463.           Specify whether syntax assistance for Pascal should be included. 
  5464. P_TABS 
  5465.           Define tabs for Pascal files. 
  5466. RECEIVE_CMD 
  5467.           Specify the name of the RECEIVE command. 
  5468. RESPECT_CASE_FOR_ADDENDA 
  5469.           Specify whether the case of words in the addenda should be respected. 
  5470. RESTORE_MARK_AFTER_SORT 
  5471.           Specify whether the mark should be restored after a sort operation. 
  5472. REXX_MARGINS 
  5473.           Define margins for Rexx files. 
  5474. REXX_SYNTAX_ASSIST 
  5475.           Specify whether syntax assistance for Rexx should be included. 
  5476. REXX_TABS 
  5477.           Define tabs for Rexx files. 
  5478. RING_OPTIONAL 
  5479.           Specify whether EPM should include support for hiding the presence of 
  5480.           the edit ring. 
  5481. RUNTIME 
  5482.           Specify if runtime support for changing E3EMUL settings should be 
  5483.           included. 
  5484. SEND_CMD 
  5485.           Specify the name of the SEND command. 
  5486. SETSTAY 
  5487.           Specify where the cursor should be after a Change command. 
  5488. SHIFT_BLOCK_ONLY 
  5489.           Specify if shifting a block should also move text to the right of the 
  5490.           mark. 
  5491. SHOW_MODIFY_METHOD 
  5492.           Specify how modified files should be displayed. 
  5493. SHOW_MODIFY_TEXT 
  5494.           Specify the text to be included in the title bar for modified files. 
  5495. SMARTFILE 
  5496.           Specify if the File key should Quit if there were no changes. 
  5497. SMARTSAVE 
  5498.           Specify if the Save key should prompt you if there were no changes. 
  5499. SORT_TYPE 
  5500.           Specify the type of sort routine that should be included. 
  5501. SPELL_SUPPORT 
  5502.           Specify whether spell-checking support should be included. 
  5503. STATUSCOLOR 
  5504.           Specify te default color for the status line. 
  5505. STATUS_TEMPLATE 
  5506.           Specify the default text that should appear on the status line. 
  5507. SUPPORT_BOOK_ICON 
  5508.           Specify if Book Icon should appear on the Options menu. 
  5509. SUPPORT_TECHREF 
  5510.           Specify if View Technical Reference should appear on the Help menu. 
  5511. SUPPORT_USER_EXITS 
  5512.           Specify if hooks for user exits should be included. 
  5513. SUPPORT_USERS_GUIDE 
  5514.           Specify if View User's Guide should appear on the Help menu. 
  5515. SYNTAX_INDENT 
  5516.           Specify the indentation to be used for syntax assist. 
  5517. TEMP_FILENAME 
  5518.           Specify the name of a temporary file (including path). 
  5519. TEMP_PATH 
  5520.           Specify the path to be used for temporary files. 
  5521. TEXTCOLOR 
  5522.           Specify the default color to be used for normal text. 
  5523. TOGGLE_ESCAPE 
  5524.           Specify whether the ESCAPEKEY command should be defined. 
  5525. TOGGLE_TAB 
  5526.           Specify whether the TABKEY command should be defined. 
  5527. TOP_OF_FILE_VALID 
  5528.           Specify whether the user should be allowed to position the cursor on 
  5529.           line 0. 
  5530. TRASH_TEMP_FILES 
  5531.           Specify whether temporary files should get the "Quitting file" dialog 
  5532.           if an attempt is made to quit them when they have been modified. 
  5533. UNDERLINE_CURSOR 
  5534.           Specify that the cursor should be an underline instead of a vertical 
  5535.           bar. 
  5536. UNMARK_AFTER_MOVE 
  5537.           Set to automatically unmark after a move mark operation. 
  5538. USE_ANSI_C_NOTATION 
  5539.           Specify if ANSI C notation should be used for the MAIN expansion in C 
  5540.           syntax assist. 
  5541. USE_APPEND 
  5542.           Specify if files not found in the current directory should be 
  5543.           searched for in the DPATH. 
  5544. USE_EHLLAPI 
  5545.           Specify if EHLLAPI calls should be used to invoke SEND and RECEIVE. 
  5546. USING 
  5547.           Specify the file transfer protocol to be used when editing host 
  5548.           files. 
  5549. VALID_LTS 
  5550.           Specify the list of valid logical terminal identifiers. 
  5551. VANILLA 
  5552.           Omit all user-written macro code. 
  5553. VM 
  5554.           Specify if support should be included for editing files on a VM host. 
  5555. WANT_ALL 
  5556.           Specify if the ALL command should be included. 
  5557. WANT_APPLICATION_INI_FILE 
  5558.           Specify if support should be included for saving information in an 
  5559.           application INI file. 
  5560. WANT_BOOKMARKS 
  5561.           Specify if bookmark support should be included. 
  5562. WANT_BRACE_BELOW_STATEMENT 
  5563.           Specify if braces should appear below the statement in C syntax 
  5564.           assist. 
  5565. WANT_BRACKET_MATCHING 
  5566.           Specify if bracket-matching code should be included. 
  5567. WANT_CHAR_OPS 
  5568.           Specify if support for character marks should be included. 
  5569. WANT_CUA_MARKING 
  5570.           Specify if support for the CUA-style marking should be included. 
  5571. WANT_DBCS_SUPPORT 
  5572.           Specify if support for DBCS text should be included. 
  5573. WANT_DM_BUFFER 
  5574.           Specify if text deleted via a delete_mark operation should be saved 
  5575.           in a buffer. 
  5576. WANT_DOSUTIL 
  5577.           Specify whether the OS-related functions in DOSUTIL.E should be 
  5578.           included. 
  5579. WANT_DRAW 
  5580.           Specify if the DRAW command should be included. 
  5581. WANT_DYNAMIC_PROMPTS 
  5582.           Specify if support should be included for dynamic menu prompts. 
  5583. WANT_EBOOKIE 
  5584.           Specify if support for EBOOKIE should be included. 
  5585. WANT_EPM_SHELL 
  5586.           Specify if support for the EPM shell window should be included. 
  5587. WANT_ET_COMMAND 
  5588.           Specify if support for the ETPM command should be included. 
  5589. WANT_GET_ENV 
  5590.           Specify if the GET_ENV routine should be included. 
  5591. WANT_KEYWORD_HELP 
  5592.           Specify if support for keyword help should be included. 
  5593. WANT_LAN_SUPPORT 
  5594.           Specify if file locking support should be included. 
  5595. WANT_LONGNAMES 
  5596.           Specify if support of the .LONGNAME EA should be included. 
  5597. WANT_MATH 
  5598.           Specify if the math-related commands should be included. 
  5599. WANT_NODISMISS_MENUS 
  5600.           Specify if the Preferences and Frame Controls menus should stay 
  5601.           active. 
  5602. WANT_PROFILE 
  5603.           Specify if support for a Rexx profile should be included. 
  5604. WANT_SEARCH_PATH 
  5605.           Specify is the search_path routine should be included. 
  5606. WANT_STACK_CMDS 
  5607.           Specify if the (mark and cursor position) stack commands should be 
  5608.           included. 
  5609. WANT_STREAM_MODE 
  5610.           Specify is support for stream-mode editing should be included. 
  5611. WANT_TAGS 
  5612.           Specify if support for tags files should be included. 
  5613.  
  5614.  
  5615. ΓòÉΓòÉΓòÉ 16.3.1. ADDENDASUPPORT ΓòÉΓòÉΓòÉ
  5616.  
  5617. Set ADDENDASUPPORT in MYCNF.E to control whether or not support for an addenda 
  5618. file (user additions to dictionary) is included as part of the spell checking 
  5619. support. 
  5620.  
  5621. The default value for ADDENDASUPPORT is 1. Possible values are: 
  5622.  
  5623. 0     Omit support. 
  5624.  
  5625. 1     Include support 
  5626.  
  5627.  
  5628. ΓòÉΓòÉΓòÉ 16.3.2. ALLOW_PROMPTING_AT_TOP ΓòÉΓòÉΓòÉ
  5629.  
  5630. Set ALLOW_PROMPTING_AT_TOP in MYCNF.E to specify whether the Prompting and Info 
  5631. at Top choices of the Frame Controls pull-right menu on the Options menu are 
  5632. inter-connected. 
  5633.  
  5634. The default value for ALLOW_PROMPTING_AT_TOP is 0. Possible values are: 
  5635.  
  5636. 0     When Info at Top is turned on, Prompting will be turned off; when 
  5637.       Prompting is turned on, Info at Top will be turned off.  The net effect 
  5638.       will be that selecting a menu can never have the menu hiding the prompt. 
  5639.  
  5640. 1     The menu selections are independent. 
  5641.  
  5642.  
  5643. ΓòÉΓòÉΓòÉ 16.3.3. ALTERNATE_KEYSETS ΓòÉΓòÉΓòÉ
  5644.  
  5645. Set ALTERNATE_KEYSETS in MYCNF.E to control whether or not support for 
  5646. alternate keysets is included.  This acts as a master switch for 
  5647. C_SYNTAX_ASSIST, E_SYNTAX_ASSIST, P_SYNTAX_ASSIST, and REXX_SYNTAX_ASSIST, as 
  5648. well as controlling whether MYKEYSET.E is included. 
  5649.  
  5650. The default value for ALTERNATE_KEYSETS is 1. Possible values are: 
  5651.  
  5652. 0     Don't define any other keysets. 
  5653.  
  5654. 1     Define the keysets indicated by the above constants and in MYKEYSET.E. 
  5655.  
  5656.  
  5657. ΓòÉΓòÉΓòÉ 16.3.4. ASSIST_TRIGGER ΓòÉΓòÉΓòÉ
  5658.  
  5659. Set ASSIST_TRIGGER in MYCNF.E to specify which key should trigger syntax 
  5660. assist. 
  5661.  
  5662. The default value for ASSIST_TRIGGER is 'ENTER' Possible values are: 
  5663.  
  5664. 'ENTER'     The Enter key will be the trigger. 
  5665.  
  5666. 'C_ENTER'   the Ctrl+Enter key will be the trigger. 
  5667.  
  5668.  
  5669. ΓòÉΓòÉΓòÉ 16.3.5. AUTOSAVE_PATH ΓòÉΓòÉΓòÉ
  5670.  
  5671. Set AUTOSAVE_PATH in MYCNF.E to specify the directory in which autosave files 
  5672. will be saved. 
  5673.  
  5674. The default value for AUTOSAVE_PATH is the null string, which means that the 
  5675. current directory will be used. 
  5676.  
  5677. Note:  The value set in the MYCNF.E can be overridden by the value set in the 
  5678.        Paths page of the Settings dialog.
  5679.  
  5680. Related configuration constants: 
  5681.  
  5682. DEFAULT_AUTOSAVE 
  5683.  
  5684.  
  5685. ΓòÉΓòÉΓòÉ 16.3.6. BACKUP_PATH ΓòÉΓòÉΓòÉ
  5686.  
  5687. Set BACKUP_PATH in MYCNF.E to specify the directory in which backup files will 
  5688. be saved.  Whenever a file is saved, the old version will be copied to the 
  5689. backup directory. 
  5690.  
  5691. The default value for BACKUP_PATH is the null string, which means that no 
  5692. backup files will be kept. It can be set to '=', which means that the directory 
  5693. of the file being saved will be used, or to any subdirectory (which must end 
  5694. with a trailing backslash). 
  5695.  
  5696.  
  5697. ΓòÉΓòÉΓòÉ 16.3.7. BLOCK_ACTIONBAR_ACCELERATORS ΓòÉΓòÉΓòÉ
  5698.  
  5699. Whenever an action bar entry has a mnemonic defined, PM automatically defines 
  5700. it as an accelerator key.  This blocks the normal action defined for that key 
  5701. in EPM.  Taking NLS translations into account, this would essentially mean 
  5702. giving up all of the Alt+letter keys.  Since we found this unacceptable, we 
  5703. defined the keys as accelerators ourself in order to bypass the PM definition. 
  5704.  
  5705. Set BLOCK_ACTIONBAR_ACCELERATORS in MYCNF.E to control whether or not these 
  5706. accelerator keys are definined by EPM. 
  5707.  
  5708. The default value for BLOCK_ACTIONBAR_ACCELERATORS is 1. Possible values are: 
  5709.  
  5710. 0     Don't block the PM definitions, so that Alt+C will go to the action bar 
  5711.       Command menu, etc. 
  5712.  
  5713. 1     Define accelerator table entries to block the PM defaults, so Alt+C will 
  5714.       perform a Copy Mark operation, etc. 
  5715.  
  5716. 'SWITCH' Support both marking modes, and allow the user to change back and 
  5717.       forth between them (via an entry on the Preferences selection of the 
  5718.       Options menu). 
  5719.  
  5720. Related configuration constants: 
  5721.  
  5722. MY_CUA_MENU_ACCEL 
  5723.  
  5724.  
  5725. ΓòÉΓòÉΓòÉ 16.3.8. BLOCK_ALT_KEY ΓòÉΓòÉΓòÉ
  5726.  
  5727. Set BLOCK_ALT_KEY in MYCNF.E to define the Alt key as an accelerator.  PM 
  5728. defines the Alt key so that pressing and releasing it will give focus to the 
  5729. action bar.  Some users find this annoying, so EPM lets you redefine it to not 
  5730. do this. 
  5731.  
  5732. The default value for BLOCK_ALT_KEY is 0 Possible values are: 
  5733.  
  5734. 0     Pressing and releasing the Alt key will go to the action bar. 
  5735.  
  5736. 1     Pressing and releasing the Alt key will just beep. 
  5737.  
  5738.  
  5739. ΓòÉΓòÉΓòÉ 16.3.9. CALL_USER_FTO ΓòÉΓòÉΓòÉ
  5740.  
  5741. Set CALL_USER_FTO in MYCNF.E to have a User_FTO() routine called to set the 
  5742. file transfer options when saving a host file (if HOST_SUPPORT is set to 
  5743. 'EMUL').  See E3EMUL.E for a sample User_FTO() routine. 
  5744.  
  5745. The default value for CALL_USER_FTO is 0. Possible values are: 
  5746.  
  5747. 0     Don't try to call a user exit. 
  5748.  
  5749. 1     Call the user exit when saving. 
  5750.  
  5751.  
  5752. ΓòÉΓòÉΓòÉ 16.3.10. CHECK_FOR_LEXAM ΓòÉΓòÉΓòÉ
  5753.  
  5754. Set CHECK_FOR_LEXAM in MYCNF.E to have the LEXAM DLL checked for at run time, 
  5755. and spell support added to the Options menu only if it is found.  This also 
  5756. controls whether the Dictionary File and Personal Dictionary entries are 
  5757. present on the Paths page of the Settings dialog. 
  5758.  
  5759. The default value for CHECK_FOR_LEXAM is 0. Possible values are: 
  5760.  
  5761. 0     Don't see if LEXAM.DLL is present. 
  5762.  
  5763. 1     Check to see if LEXAM.DLL is present. 
  5764.  
  5765.  
  5766. ΓòÉΓòÉΓòÉ 16.3.11. COMPILER_ERROR_COLOR ΓòÉΓòÉΓòÉ
  5767.  
  5768. Set COMPILER_ERROR_COLOR in MYCNF.E to control what color lines containing 
  5769. errors are displayed in when EPM is invoked from the Workframe/2. 
  5770.  
  5771. The default value for COMPILER_ERROR_COLOR is 244, or red on a white 
  5772. background. Possible values are any combination of foreground and background 
  5773. colors as defined in COLORS.E. 
  5774.  
  5775.  
  5776. ΓòÉΓòÉΓòÉ 16.3.12. CORE_STUFF ΓòÉΓòÉΓòÉ
  5777.  
  5778. Set CORE_STUFF in MYCNF.E to determine whether CORE-specific code is included. 
  5779.  
  5780. The default value for CORE_STUFF is 0. Possible values are: 
  5781.  
  5782. 0     Not being compiled for the CORE environment. 
  5783.  
  5784. 1     Being compiled for the CORE environment. 
  5785.  
  5786.  
  5787. ΓòÉΓòÉΓòÉ 16.3.13. C_ENTER_ACTION ΓòÉΓòÉΓòÉ
  5788.  
  5789. Set C_ENTER_ACTION in MYCNF.E to specify what action should be performed by the 
  5790. Ctrl+Enter key.  If ENHANCED_ENTER_KEYS is set to 0, this controls the behavior 
  5791. of a my_c_enter() routine that will be called when the Ctrl+Enter key is 
  5792. pressed.  If ENHANCED_ENTER_KEYS is set to 1, this only sets the initial value 
  5793. for the Ctrl+Enter and Ctrl+PadEnter keys. 
  5794.  
  5795. The default value for C_ENTER_ACTION is 'NEXTLINE' Possible values are: 
  5796.  
  5797. 'ADDLINE'   Insert a line after the current line. 
  5798.  
  5799. 'NEXTLINE'  Move to the next line without inserting a line. 
  5800.  
  5801. 'ADDATEND'  ADDLINE if on last line, else NEXTLINE. 
  5802.  
  5803. 'DEPENDS'   NEXTLINE if in insert_mode, else ADDLINE. 
  5804.  
  5805. 'DEPENDS+'  ADDLINE if on last line, else DEPENDS. 
  5806.  
  5807. 'STREAM'    Act like stream editors; Ctrl+Enter splits a line. 
  5808.  
  5809. ''          Don't define a my_c_enter() routine; user will supply one (in 
  5810.             MYSTUFF.E).  Only meaningful if ENHANCED_ENTER_KEYS is set to 0, 
  5811.  
  5812.  
  5813. ΓòÉΓòÉΓòÉ 16.3.14. C_MARGINS ΓòÉΓòÉΓòÉ
  5814.  
  5815. Set C_MARGINS in MYCNF.E to specify what the margins should be when editing C 
  5816. files if C_SYNTAX_ASSIST is enabled. 
  5817.  
  5818. The default value for C_MARGINS is 1 MAXMARGIN 1, where MAXMARGIN is one less 
  5819. than the maximum length of a line.  (MAXMARGIN is 254 for EPM versions prior to 
  5820. 5.60.) You can specify any valid margins, or set to 0 to indicate that no 
  5821. special margins should be set for C files. 
  5822.  
  5823.  
  5824. ΓòÉΓòÉΓòÉ 16.3.15. C_SYNTAX_ASSIST ΓòÉΓòÉΓòÉ
  5825.  
  5826. Set C_SYNTAX_ASSIST in MYCNF.E to control whether syntax assist for the C 
  5827. language is included. 
  5828.  
  5829. The default value for C_SYNTAX_ASSIST is 1. Possible values are: 
  5830.  
  5831. 0     Omit support 
  5832.  
  5833. 1     Include support 
  5834.  
  5835. Related configuration constants: 
  5836.  
  5837. ALTERNATE_KEYSETS 
  5838. MY_EXPAND_ON 
  5839.  
  5840.  
  5841. ΓòÉΓòÉΓòÉ 16.3.16. C_TABS ΓòÉΓòÉΓòÉ
  5842.  
  5843. Set C_TABS in MYCNF.E to set the default tabs setting for C files. 
  5844.  
  5845. The default value for C_TABS is 3. You can specify any valid tabs setting, or 
  5846. set to 0 to indicate that no special tabs should be set for C files. 
  5847.  
  5848.  
  5849. ΓòÉΓòÉΓòÉ 16.3.17. DEBUG ΓòÉΓòÉΓòÉ
  5850.  
  5851. Set DEBUG in MYCNF.E to cause debugging messages to be output by E3EMUL.E. 
  5852. This is not normally set by the end user. 
  5853.  
  5854. The default value for DEBUG is 0. Possible values are: 
  5855.  
  5856. 0     No debug messages. 
  5857.  
  5858. 1     Give messages. 
  5859.  
  5860.  
  5861. ΓòÉΓòÉΓòÉ 16.3.18. DECIMAL ΓòÉΓòÉΓòÉ
  5862.  
  5863. Set DECIMAL in MYCNF.E to specify what character is used to represent the 
  5864. decimal point in the math-related commands. 
  5865.  
  5866. The default value for DECIMAL is '.'. 
  5867.  
  5868.  
  5869. ΓòÉΓòÉΓòÉ 16.3.19. DEFAULT_AUTOSAVE ΓòÉΓòÉΓòÉ
  5870.  
  5871. Set DEFAULT_AUTOSAVE in MYCNF.E to specify the number of changes that can be 
  5872. made to a file before an autosave is performed. 
  5873.  
  5874. The default value for DEFAULT_AUTOSAVE is 100. 
  5875.  
  5876. Note:  The value set in the MYCNF.E can be overridden by the value set in the 
  5877.        Autosave page of the Settings dialog.
  5878.  
  5879.  
  5880. ΓòÉΓòÉΓòÉ 16.3.20. DEFAULT_FILEMODE ΓòÉΓòÉΓòÉ
  5881.  
  5882. Set DEFAULT_FILEMODE in MYCNF.E to specify what filemode should be assumed by 
  5883. E3EMUL for host files whose file mode is not specified. 
  5884.  
  5885. The default value for DEFAULT_FILEMODE is 'A'. Some users might prefer '*', but 
  5886. this should not be set before determining what effect a file mode of '*' will 
  5887. have when saving a host file using your file transfer program. 
  5888.  
  5889.  
  5890. ΓòÉΓòÉΓòÉ 16.3.21. DEFAULT_MARGINS ΓòÉΓòÉΓòÉ
  5891.  
  5892. Set DEFAULT_MARGINS in MYCNF.E to specify the initial default margins for files 
  5893. not having syntax assist support available. 
  5894.  
  5895. The default value for DEFAULT_MARGINS is 1 MAXMARGIN 1, where MAXMARGIN is one 
  5896. less than the maximum length of a line.  (MAXMARGIN is 254 for EPM versions 
  5897. prior to 5.60.)  You can specify any valid margins. 
  5898.  
  5899. Note:  The value set in the MYCNF.E can be overridden by the value set in the 
  5900.        Margins page of the Settings dialog.
  5901.  
  5902. Related configuration constants: 
  5903.  
  5904. C_MARGINS 
  5905. E_MARGINS 
  5906. P_MARGINS 
  5907. REXX_MARGINS 
  5908.  
  5909.  
  5910. ΓòÉΓòÉΓòÉ 16.3.22. DEFAULT_PASTE ΓòÉΓòÉΓòÉ
  5911.  
  5912. Set DEFAULT_PASTE in MYCNF.E to specify which type of PASTE should be performed 
  5913. by the Shift+Insert key. 
  5914.  
  5915. The default value for DEFAULT_PASTE is 'C'. Possible values are: 
  5916.  
  5917. ''    Paste as new lines. 
  5918.  
  5919. 'B'   Paste as a block. 
  5920.  
  5921. 'C'   Paste as a character stream. 
  5922.  
  5923.  
  5924. ΓòÉΓòÉΓòÉ 16.3.23. DEFAULT_TABS ΓòÉΓòÉΓòÉ
  5925.  
  5926. Set DEFAULT_TABS in MYCNF.E to specify the initial default tabs for files not 
  5927. having syntax assist support available. 
  5928.  
  5929. The default value for DEFAULT_TABS is 8. 
  5930.  
  5931.  
  5932. ΓòÉΓòÉΓòÉ 16.3.24. DIRECTORYOF_STRING ΓòÉΓòÉΓòÉ
  5933.  
  5934. Set DIRECTORYOF_STRING in MYCNF.E to the string equivalent to "Directory of" 
  5935. that is output by the OS/2 DIR command. 
  5936.  
  5937. The default value for DIRECTORYOF_STRING is DIR_OF__MSG, which is defined in 
  5938. ENGLISH.E or your NLS language version. You might want to specify a different 
  5939. value if you are using the English-language version of EPM on a non-English 
  5940. version of OS/2. 
  5941.  
  5942.  
  5943. ΓòÉΓòÉΓòÉ 16.3.25. DRAGCOLOR ΓòÉΓòÉΓòÉ
  5944.  
  5945. Set DRAGCOLOR in MYCNF.E to specify what color should be used to display the 
  5946. marked area while drag-marking with the mouse. 
  5947.  
  5948. If DRAGCOLOR is not set, then the MARKCOLOR will be used. 
  5949.  
  5950. Note:  DRAGCOLOR is used for line and character marks; inverse video is used 
  5951.        for performance reasons when drag-marking a block mark.
  5952.  
  5953. Note:  Must follow a DEFINE, not a CONST.
  5954.  
  5955.  
  5956. ΓòÉΓòÉΓòÉ 16.3.26. DRAG_ALWAYS_MARKS ΓòÉΓòÉΓòÉ
  5957.  
  5958. Set DRAG_ALWAYS_MARKS in MYCNF.E to specify whether dragging the mouse should 
  5959. always start a new mark. 
  5960.  
  5961. The default value for DRAG_ALWAYS_MARKS is 0. Possible values are: 
  5962.  
  5963. 0     Don't start a new mark if one exists; instead, warn the user. 
  5964.  
  5965. 1     Always start a new mark; do an Unmark first if necessary. 
  5966.  
  5967. Note:  This applies only to advanced marking mode; a new mark is always started 
  5968.        in the CUA-style basic marking mode.
  5969.  
  5970.  
  5971. ΓòÉΓòÉΓòÉ 16.3.27. DUPLICATES_ALLOWED ΓòÉΓòÉΓòÉ
  5972.  
  5973. Set DUPLICATES_ALLOWED in MYCNF.E to specify whether more than one instance of 
  5974. a host file is allowed to be loaded into an edit ring when using E3EMUL.E for 
  5975. host support. 
  5976.  
  5977. The default value for DUPLICATES_ALLOWED is 1. Possible values are: 
  5978.  
  5979. 0     Don't allow the same host file to appear more than once in the ring. 
  5980.  
  5981. 1     Allow multiple copies. 
  5982.  
  5983.  
  5984. ΓòÉΓòÉΓòÉ 16.3.28. ENHANCED_ENTER_KEYS ΓòÉΓòÉΓòÉ
  5985.  
  5986. Set ENHANCED_ENTER_KEYS in MYCNF.E to specify whether support should be 
  5987. included for dynamically setting the action performed by the Enter keys (Enter, 
  5988. Alt+Enter, Ctrl+Enter, Shift+Enter, PadEnter, Alt+PadEnter, Ctrl+PadEnter, 
  5989. Shift+PadEnter). 
  5990.  
  5991. The default value for ENHANCED_ENTER_KEYS is 0. Possible values are: 
  5992.  
  5993. 0     The Ctrl+Enter and Ctrl+PadEnter keys are set to the action indicated by 
  5994.       the C_ENTER_ACTION configuration constant, and the remaining Enter keys 
  5995.       are set to the action indicated by the ENTER_ACTION configuration 
  5996.       constant. 
  5997.  
  5998. 1     The Enter keys can be set dynamically via a Keys page on the Settings 
  5999.       dialog. 
  6000.  
  6001.  
  6002. ΓòÉΓòÉΓòÉ 16.3.29. ENHANCED_PRINT_SUPPORT ΓòÉΓòÉΓòÉ
  6003.  
  6004. Set ENHANCED_PRINT_SUPPORT in MYCNF.E to specify whether the Print entries on 
  6005. the File and Edit menus bring up the Print Dialog, or simply print the file or 
  6006. marked area (in draft mode) to the default printer 
  6007.  
  6008. The default value for ENHANCED_PRINT_SUPPORT is 0. Possible values are: 
  6009.  
  6010. 0     Print menu items print to the default printer 
  6011.  
  6012. 1     Print menu items activate the Print Dialog. 
  6013.  
  6014.  
  6015. ΓòÉΓòÉΓòÉ 16.3.30. ENTER_ACTION ΓòÉΓòÉΓòÉ
  6016.  
  6017. Set ENTER_ACTION in MYCNF.E to specify what action should be performed by the 
  6018. Enter keys (Enter, Alt+Enter, Shify+Enter, PadEnter,Alt+PadEnter, 
  6019. Shift+PadEnter). If ENHANCED_ENTER_KEYS is set to 0, this controls the behavior 
  6020. of a my_enter() routine that will be called when one of the Enter keys is 
  6021. pressed.  If ENHANCED_ENTER_KEYS is set to 1, this only sets the initial value 
  6022. for the Enter keys. 
  6023.  
  6024. The default value for ENTER_ACTION is 'ADDLINE'. Possible values are: 
  6025.  
  6026. 'ADDLINE'   Insert a line after the current line. 
  6027.  
  6028. 'NEXTLINE'  Move to the next line without inserting a line. 
  6029.  
  6030. 'ADDATEND'  ADDLINE if on last line, else NEXTLINE. 
  6031.  
  6032. 'DEPENDS'   ADDLINE if in insert_mode, else NEXTLINE. 
  6033.  
  6034. 'DEPENDS+'  ADDLINE if on last line, else DEPENDS. 
  6035.  
  6036. 'STREAM'    Act like stream editors; Enter splits a line at the cursor 
  6037.             position. 
  6038.  
  6039. ''          Don't define a my_enter() routine; user will supply one (in 
  6040.             MYSTUFF.E).  Only meaningful if ENHANCED_ENTER_KEYS is set to 0, 
  6041.  
  6042.  
  6043. ΓòÉΓòÉΓòÉ 16.3.31. EPATH ΓòÉΓòÉΓòÉ
  6044.  
  6045. Set EPATH in MYCNF.E to specify the name of the environment variable used by 
  6046. EPM to search for editor-specific files.  For example, the EPATH and OPENPATH 
  6047. commands use this as the default path to search. 
  6048.  
  6049. The default value for EPATH is 'EPMPATH'. 
  6050.  
  6051. Note:  The editor path is also set internally by the editor, and can not be 
  6052.        changed by the user.  EPATH should be left as 'EPMPATH' when compiling 
  6053.        macros for EPM, and set to 'LAMPATH' when compiling macros for LaMail. 
  6054.  
  6055.  
  6056. ΓòÉΓòÉΓòÉ 16.3.32. EPM_POINTER ΓòÉΓòÉΓòÉ
  6057.  
  6058. Set EPM_POINTER in MYCNF.E to specify what shape you want the EPM mouse pointer 
  6059. to have. 
  6060.  
  6061. The default value for EPM_POINTER is TEXT_POINTER, or 2. Possible values are 
  6062. listed in STDCONST.E; see the _POINTER constants. 
  6063.  
  6064. compile if defined(SYSTEM_POINTER)
  6065.    const
  6066.       EPM_POINTER = SYSTEM_POINTER  -- I prefer the arrow pointer
  6067. compile endif
  6068.  
  6069.  
  6070. ΓòÉΓòÉΓòÉ 16.3.33. EPM_SHELL_PROMPT ΓòÉΓòÉΓòÉ
  6071.  
  6072. Set EPM_SHELL_PROMPT in MYCNF.E to specify a string that will be written to a 
  6073. newly-created shell window. This string will generally be a PROMPT command. 
  6074.  
  6075. The default value for EPM_SHELL_PROMPT is '@prompt epm: $p $g'. 
  6076.  
  6077. Note:  Support for automatically performing a Write to shell when the Enter key 
  6078.        is pressed in a shell window is only included if EPM_SHELL_PROMPT is 
  6079.        left at the default value.
  6080.  
  6081.  
  6082. ΓòÉΓòÉΓòÉ 16.3.34. EXTRA_EX ΓòÉΓòÉΓòÉ
  6083.  
  6084. Set EXTRA_EX in MYCNF.E to specify that the base function normally included in 
  6085. EPM.EX is to be split between EPM.EX and EXTRA.EX.  The standard configuration 
  6086. is too large to fit into a single 64k .ex file, so this constant must be set to 
  6087. 1 unless you are setting other constants to omit a large amount of code. 
  6088.  
  6089. The default value for EXTRA_EX is 0. Possible values are: 
  6090.  
  6091. 0     EPM.EX will be a stand-alone file. 
  6092.  
  6093. 1     EPM.EX will automatically link EXTRA.EX at startup. 
  6094.  
  6095. Note:  When EXTRA_EX is 1, the EPM action bar is built in EXTRA.EX while most 
  6096.        of the commands used by it are built in EPM.EX.  This means that 
  6097.        whenever a configuration constant affecting the action bar is changed, 
  6098.        both EPM and EXTRA should be recompiled.
  6099.  
  6100.  
  6101. ΓòÉΓòÉΓòÉ 16.3.35. E_MARGINS ΓòÉΓòÉΓòÉ
  6102.  
  6103. Set E_MARGINS in MYCNF.E to to specify what the margins should be when editing 
  6104. E files if E_SYNTAX_ASSIST is enabled. 
  6105.  
  6106. The default value for E_MARGINS is 1 MAXMARGIN 1, where MAXMARGIN is one less 
  6107. than the maximum length of a line.  (MAXMARGIN is 254 for EPM versions prior to 
  6108. 5.60.) You can specify any valid margins, or set to 0 to indicate that no 
  6109. special margins should be set for E files. 
  6110.  
  6111.  
  6112. ΓòÉΓòÉΓòÉ 16.3.36. E_SYNTAX_ASSIST ΓòÉΓòÉΓòÉ
  6113.  
  6114. Set E_SYNTAX_ASSIST in MYCNF.E to control whether syntax assist for the E 
  6115. language is included. 
  6116.  
  6117. The default value for E_SYNTAX_ASSIST is 1. Possible values are: 
  6118.  
  6119. 0     Omit support 
  6120.  
  6121. 1     Include support 
  6122.  
  6123. Related configuration constants: 
  6124.  
  6125. ALTERNATE_KEYSETS 
  6126. MY_EXPAND_ON 
  6127.  
  6128.  
  6129. ΓòÉΓòÉΓòÉ 16.3.37. E_TABS ΓòÉΓòÉΓòÉ
  6130.  
  6131. Set E_TABS in MYCNF.E to set the default tabs setting for E files. 
  6132.  
  6133. The default value for E_TABS is 3. You can specify any valid tabs setting, or 
  6134. set to 0 to indicate that no special tabs should be set for E files. 
  6135.  
  6136.  
  6137. ΓòÉΓòÉΓòÉ 16.3.38. FIX_CURSOR ΓòÉΓòÉΓòÉ
  6138.  
  6139. Set FIX_CURSOR in MYCNF.E to work around a bug in ALMCOPY which sometimes 
  6140. results in the cursor not being restored after a file transfer.  If you use 
  6141. ALMCOPY for host file transfer, and "lose" the text cursor after loading or 
  6142. saving a host file, set FIX_CURSOR=1. 
  6143.  
  6144. The default value for FIX_CURSOR is 0. Possible values are: 
  6145.  
  6146. 0     Do nothing special. 
  6147.  
  6148. 1     Fix the cursor after calling ALMCOPY. 
  6149.  
  6150. Note:  FIX_CURSOR=1 only applies if HOST_SUPPORT is set to 'EMUL'.
  6151.  
  6152.  
  6153. ΓòÉΓòÉΓòÉ 16.3.39. HELPFILENAME ΓòÉΓòÉΓòÉ
  6154.  
  6155. Set HELPFILENAME in MYCNF.E to specify the file to be loaded when Quick 
  6156. Reference is selected from the Help menu. 
  6157.  
  6158. The default value for HELPFILENAME is 'epmhelp.qhl'. 
  6159.  
  6160.  
  6161. ΓòÉΓòÉΓòÉ 16.3.40. HIGHLIGHT_COLOR ΓòÉΓòÉΓòÉ
  6162.  
  6163. Set HIGHLIGHT_COLOR in MYCNF.E to specify that after a successful Locate or 
  6164. repeat_find (Ctrl+F) operation, the target string should be highlighted.  In 
  6165. versions of EPM prior to 5.50, the value was the color used to highlight the 
  6166. text.  In 5.50 and above, the text is highlighted by having a circle drawn 
  6167. around it, and the actual value used for HIGHLIGHT_COLOR is irrelevant. 
  6168.  
  6169. The default value for HIGHLIGHT_COLOR is that it is not set. 
  6170.  
  6171.  
  6172. ΓòÉΓòÉΓòÉ 16.3.41. HOSTCOPYDRIVE ΓòÉΓòÉΓòÉ
  6173.  
  6174. Set HOSTCOPYDRIVE in MYCNF.E to specify the drive letter used to indicate the 
  6175. host session to the HOSTCOPY command.  This lets you change the HOSTDRIVE and 
  6176. the HOSTCOPYDRIVE independently. 
  6177.  
  6178. Note:  If HOST_SUPPORT is set to 'EMUL'. then HOSTCOPYDRIVE should only contain 
  6179.        a drive letter.  If HOST_SUPPORT is set to (or defaults to) 'STD', then 
  6180.        HOSTCOPYDRIVE should contain a drive letter followed by a colon.
  6181.  
  6182. The default value for HOSTCOPYDRIVE is 'H' or 'H:'. It should not be changed. 
  6183.  
  6184.  
  6185. ΓòÉΓòÉΓòÉ 16.3.42. HOSTCOPYOPTIONS ΓòÉΓòÉΓòÉ
  6186.  
  6187. Set HOSTCOPYOPTIONS in MYCNF.E to specify options that should be included as 
  6188. part of the HOSTCOPY command if HOST_SUPPORT is set to (or defaults to) 'STD'. 
  6189. If HOST_SUPPORT is set to 'EMUL'. then my_FTOPTIONS and my_BINOPTIONS are used 
  6190. instead. 
  6191.  
  6192. The default value for HOSTCOPYOPTIONS is the null string. 
  6193.  
  6194.  
  6195. ΓòÉΓòÉΓòÉ 16.3.43. HOSTDRIVE ΓòÉΓòÉΓòÉ
  6196.  
  6197. Set HOSTDRIVE in MYCNF.E to specify what drive letter should be used to 
  6198. represent the host when HOST_SUPPORT is set to (or defaults to) 'STD'. 
  6199.  
  6200. The default value for HOSTDRIVE is 'H:'. (The trailing colon is required.) 
  6201. Users who have a real H: drive on their machine might want to set it to some 
  6202. other value - for example, 'V:' to represent VM files. 
  6203.  
  6204. Related configuration constants: 
  6205.  
  6206. my_HOSTDRIVE (for E3EMUL users) 
  6207.  
  6208.  
  6209. ΓòÉΓòÉΓòÉ 16.3.44. HOSTDRIVE_REQUIRED ΓòÉΓòÉΓòÉ
  6210.  
  6211. Set HOSTDRIVE_REQUIRED in MYCNF.E to specify that the host drive letter is 
  6212. required when editing host files using HOST_SUPPORT='EMUL'. Normally, E3EMUL 
  6213. will attempt to figure out whether the argument of an Edit command is a host 
  6214. file or a workstation file; if it is ambiguous, it will be assumed to represent 
  6215. a host file. 
  6216.  
  6217. The default value for HOSTDRIVE_REQUIRED is 0. Possible values are: 
  6218.  
  6219. 0     Assume that ambiguous strings not containing a drive specifier represent 
  6220.       host files. 
  6221.  
  6222. 1     Don't assume that a file is a host file unless the host drive letter is 
  6223.       given explicitly. 
  6224.  
  6225.  
  6226. ΓòÉΓòÉΓòÉ 16.3.45. HOST_LT_REQUIRED ΓòÉΓòÉΓòÉ
  6227.  
  6228. Set HOST_LT_REQUIRED in MYCNF.E to specify that a logical terminal ID is 
  6229. required when editing host files using HOST_SUPPORT='EMUL'. This lets users 
  6230. with a local H: drive use H: to refer to the local drive, and HA: to refer to 
  6231. the host session (LT A). 
  6232.  
  6233. The default value for HOST_LT_REQUIRED is 0 Possible values are: 
  6234.  
  6235. 0     Don't require the LT. 
  6236.  
  6237. 1     Require the LT. 
  6238.  
  6239. Related configuration constants: 
  6240.  
  6241. my_HOSTDRIVE 
  6242. HOSTDRIVE_REQUIRED 
  6243.  
  6244.  
  6245. ΓòÉΓòÉΓòÉ 16.3.46. HOST_SUPPORT ΓòÉΓòÉΓòÉ
  6246.  
  6247. Set HOST_SUPPORT in MYCNF.E to specify the type of support included in EPM for 
  6248. editing files that reside on a VM or MVS host.  In order to load or save a host 
  6249. file, you must be logged on to the host through Communications Manager. 
  6250.  
  6251. The default value for HOST_SUPPORT is 'STD' when compiling EPM.E, or '' when 
  6252. compiling SMALL.E. Possible values are: 
  6253.  
  6254. 'STD' Use the standard host support method, SAVELOAD.E. This only supports a 
  6255.       single VM host session, and requires an external file transfer program 
  6256.       (such as Almcopy). It does not support Communication Manager's Send / 
  6257.       Receive. 
  6258.  
  6259. 'EMUL' Use the enhanced host support method, E3EMUL.E. This supports multiple 
  6260.       host sessions (logical terminals), both VM and MVS files, Send / Receive, 
  6261.       and is the most flexible. 
  6262.  
  6263. 'SRPI' Use the enhanced host support method, SLSRPI.E. This supports multiple 
  6264.       VM host sessions, and is the fastest file transfer method (since files 
  6265.       are loaded and saved directly between the workstation's memory and the 
  6266.       host disk, rather than going through a temporary file on the 
  6267.       workstations's disk).  The drawback is that a SRPI server must be running 
  6268.       on the host in order to load or save files.  SLSRPI.E and the required 
  6269.       SRPI servers are available in the LaMail22 package within IBM, and are 
  6270.       not currently available externally. 
  6271.  
  6272. ''    Use SLNOHOST.E and omit host support entirely. 
  6273.  
  6274. Related configuration constants: 
  6275.  
  6276. LINK_HOST_SUPPORT 
  6277.  
  6278.  
  6279. ΓòÉΓòÉΓòÉ 16.3.47. INCLUDE_MATHLIB ΓòÉΓòÉΓòÉ
  6280.  
  6281. Set INCLUDE_MATHLIB in MYCNF.E to specify whether the bulk of the MATH-related 
  6282. commands are included in the base .ex file or linked separately when needed. 
  6283.  
  6284. The default value for INCLUDE_MATHLIB is 0. Possible values are: 
  6285.  
  6286. 0     Omit most of the support; dynamically link MATHLIB.EX when any of MATH, 
  6287.       MATHX, MATHO, ADD, or MULT are entered. 
  6288.  
  6289. 1     Include the MATHLIB support in the base .ex file. 
  6290.  
  6291. Note:  The value of INCLUDE_MATHLIB is ignored if EXTRA_EX is 1; in this case, 
  6292.        EXTRA_EX will include all of MATH.E.
  6293.  
  6294. Related configuration constants: 
  6295.  
  6296. WANT_MATH 
  6297.  
  6298.  
  6299. ΓòÉΓòÉΓòÉ 16.3.48. INCLUDE_MENU_SUPPORT ΓòÉΓòÉΓòÉ
  6300.  
  6301. Set INCLUDE_MENU_SUPPORT in MYCNF.E to specify whether or not support for the 
  6302. EPM action bar is included. 
  6303.  
  6304. The default value for INCLUDE_MENU_SUPPORT is 1. Possible values are: 
  6305.  
  6306. 0     Omit support 
  6307.  
  6308. 1     Include support 
  6309.  
  6310. Note:  This would only be set by someone providing their own action bar, either 
  6311.        in the macro language or by using the E Toolkit.
  6312.  
  6313.  
  6314. ΓòÉΓòÉΓòÉ 16.3.49. INCLUDE_WORKFRAME_SUPPORT ΓòÉΓòÉΓòÉ
  6315.  
  6316. Set INCLUDE_WORKFRAME_SUPPORT in MYCNF.E to specify whether the commands sent 
  6317. from the IBM Workframe/2 should be defined in EPM. 
  6318.  
  6319. The default value for INCLUDE_WORKFRAME_SUPPORT is 1. Possible values are: 
  6320.  
  6321. 0     Omit support 
  6322.  
  6323. 1     Include support 
  6324.  
  6325. Note:  Compiler support is only included if bookmark support is included.
  6326.  
  6327.  
  6328. ΓòÉΓòÉΓòÉ 16.3.50. I_LIKE_A_SEMICOLON_SUPPLIED_AFTER_DEFAULT ΓòÉΓòÉΓòÉ
  6329.  
  6330. Set I_LIKE_A_SEMICOLON_SUPPLIED_AFTER_DEFAULT in MYCNF.E to specify that a 
  6331. semicolon should be supplied after a DEFAULT statement when expanding a SWITCH 
  6332. statement with C syntax assist active. 
  6333.  
  6334. The default value for I_LIKE_A_SEMICOLON_SUPPLIED_AFTER_DEFAULT is 0. Possible 
  6335. values are: 
  6336.  
  6337. 0     Don't add a semicolon. 
  6338.  
  6339. 1     Add a line containing a semicolon after inserting the line containing the 
  6340.       DEFAULT statement. 
  6341.  
  6342. Related configuration constants: 
  6343.  
  6344. C_SYNTAX_ASSIST 
  6345. MY_EXPAND_ON 
  6346.  
  6347.  
  6348. ΓòÉΓòÉΓòÉ 16.3.51. I_LIKE_MY_CASES_UNDER_MY_SWITCH ΓòÉΓòÉΓòÉ
  6349.  
  6350. Set I_LIKE_MY_CASES_UNDER_MY_SWITCH in MYCNF.E to specify whether the CASE 
  6351. statement should be aligned under the SWITCH when expanding a SWITCH statement 
  6352. with C syntax assist active. 
  6353.  
  6354. The default value for I_LIKE_MY_CASES_UNDER_MY_SWITCH is 1. Possible values 
  6355. are: 
  6356.  
  6357. 0     Indent the CASE statement. 
  6358.  
  6359. 1     Align the CASE statement with the SWITCH statement. 
  6360.  
  6361. Related configuration constants: 
  6362.  
  6363. C_SYNTAX_ASSIST 
  6364. MY_EXPAND_ON 
  6365. SYNTAX_INDENT 
  6366.  
  6367.  
  6368. ΓòÉΓòÉΓòÉ 16.3.52. KEEP_CURSOR_ON_SCREEN ΓòÉΓòÉΓòÉ
  6369.  
  6370. Set KEEP_CURSOR_ON_SCREEN in MYCNF.E to specify whether the cursor should be 
  6371. allowed to scroll off the visible portion of the edit window. 
  6372.  
  6373. The default value for KEEP_CURSOR_ON_SCREEN is 1. Possible values are: 
  6374.  
  6375. 0     Conform to CUA, and don't change the line the cursor is on when scrolling 
  6376.       with the scroll bars.  If the cursor is scrolled off the screen, then 
  6377.       pressing any key that moves the cursor will cause the screen to jump so 
  6378.       that the cursor is once again visible. 
  6379.  
  6380. 1     When scrolling with the scroll bars, keep the cursor at the same 
  6381.       screen-relative position. 
  6382.  
  6383. Note:  This option is only supported for EPM version 5.60 or above. 
  6384.  
  6385.  
  6386. ΓòÉΓòÉΓòÉ 16.3.53. KEYWORD_HELP_INDEX_FILE ΓòÉΓòÉΓòÉ
  6387.  
  6388. Set KEYWORD_HELP_INDEX_FILE in MYCNF.E to specify the name of the index file(s) 
  6389. used for providing keyword help. 
  6390.  
  6391. The default value for KEYWORD_HELP_INDEX_FILE is 'epmkwhlp.ndx'. The value can 
  6392. be a single filename or a list of filenames separated by plus signs.  For 
  6393. example, 
  6394.  
  6395. const
  6396.    KEYWORD_HELP_INDEX_FILE = 'epmkwhlp.ndx+epmtech.ndx+dde4.ndx'
  6397.  
  6398. Each file listed will be searched for in the current directory, EPMPATH, DPATH, 
  6399. EPM.EXE's directory, and PATH (in that order). 
  6400.  
  6401. Note:  The value compiled in will be overridden by the value of the environment 
  6402.        variable HELPNDX if it is set in your environment.
  6403.  
  6404. Related configuration constants: 
  6405.  
  6406. WANT_KEYWORD_HELP 
  6407.  
  6408.  
  6409. ΓòÉΓòÉΓòÉ 16.3.54. LINK_HOST_SUPPORT ΓòÉΓòÉΓòÉ
  6410.  
  6411. Set LINK_HOST_SUPPORT in MYCNF.E to specify that the support for editing host 
  6412. files is to be linked separately. This can be used if there is no other way to 
  6413. fit everything you need into your EPM.EX, but it is not recommended since the 
  6414. separate file contains support for loading and saving workstation files as well 
  6415. as host files; if you have a problem with the separate .ex file, you won't be 
  6416. able to edit anything. 
  6417.  
  6418. The default value for LINK_HOST_SUPPORT is 0. Possible values are: 
  6419.  
  6420. 0     Include host support in the base .ex file. 
  6421.  
  6422. 1     Include host support in a separate .ex file that will dynamically be 
  6423.       linked at run time.  This is only supported for HOST_SUPPORT set to 
  6424.       'EMUL' or 'SRPI'. 
  6425.  
  6426.  
  6427. ΓòÉΓòÉΓòÉ 16.3.55. LOCAL_MOUSE_SUPPORT ΓòÉΓòÉΓòÉ
  6428.  
  6429. Set LOCAL_MOUSE_SUPPORT in MYCNF.E to include support for local mouse 
  6430. definitions.  A local mouse definition is one that applies to a single file, 
  6431. rather than to all files in the ring.  Since the default macros don't take 
  6432. advantage of this, you would only set this to 1 if you were writing your own 
  6433. mouse macros.  (See the description of register_mousehandler in EPMTECH.INF.) 
  6434.  
  6435. The default value for LOCAL_MOUSE_SUPPORT is 0. Possible values are: 
  6436.  
  6437. 0     Omit local mouse support. 
  6438.  
  6439. 1     Include local mouse support. 
  6440.  
  6441.  
  6442. ΓòÉΓòÉΓòÉ 16.3.56. MAINFILE ΓòÉΓòÉΓòÉ
  6443.  
  6444. Set MAINFILE in MYCNF.E to specify the name of the macro file to be compiled by 
  6445. the ETPM command if no argument is specified. 
  6446.  
  6447. The default value for MAINFILE is 'epm.e'. 
  6448.  
  6449.  
  6450. ΓòÉΓòÉΓòÉ 16.3.57. MARKCOLOR ΓòÉΓòÉΓòÉ
  6451.  
  6452. Set MARKCOLOR in MYCNF.E to specify the color in which marked (selected) text 
  6453. should be displayed. 
  6454.  
  6455. The default value for MARKCOLOR is Blue + GreyB. 
  6456.  
  6457. Note:  The value set in the MYCNF.E can be overridden by the value set in the 
  6458.        Colors page of the Settings dialog.
  6459.  
  6460. Note:  Must follow a DEFINE, not a CONST.
  6461.  
  6462.  
  6463. ΓòÉΓòÉΓòÉ 16.3.58. MENU_LIMIT ΓòÉΓòÉΓòÉ
  6464.  
  6465. Set MENU_LIMIT in MYCNF.E to include a Ring entry on the action bar that lists 
  6466. each file in the edit ring.  The value of MENU_LIMIT is the number of files 
  6467. that will be included in the Ring pulldown. If more than this many files are in 
  6468. the ring, the (MENU_LIMIT + 1) entry will be More..., which will bring up a 
  6469. listbox. One exception - if you set this to 0, there will be no Ring pulldown; 
  6470. instead, a List ring entry will be added to the Options pulldown. This means 
  6471. that adding files to or removing them from the ring will be faster. 
  6472.  
  6473. The default value for MENU_LIMIT is 0. 
  6474.  
  6475.  
  6476. ΓòÉΓòÉΓòÉ 16.3.59. MESSAGECOLOR ΓòÉΓòÉΓòÉ
  6477.  
  6478. Set MESSAGECOLOR in MYCNF.E to specify the color for the message line, and for 
  6479. error messages displayed when the message line is hidden. 
  6480.  
  6481. The default value for MESSAGECOLOR is Light_Red + WhiteB. 
  6482.  
  6483. Note:  The value set in the MYCNF.E can be overridden by the value set in the 
  6484.        Colors page of the Settings dialog.
  6485.  
  6486. Note:  Must follow a DEFINE, not a CONST.
  6487.  
  6488.  
  6489. ΓòÉΓòÉΓòÉ 16.3.60. MODIFIED_MARKCOLOR ΓòÉΓòÉΓòÉ
  6490.  
  6491. Set MODIFIED_MARKCOLOR in MYCNF.E to specify the color in which marked text 
  6492. should be displayed in a modified file when SHOW_MODIFY_METHOD is set to 
  6493. 'COLOR'. 
  6494.  
  6495. The default value for MODIFIED_MARKCOLOR is Blue + WhiteB. 
  6496.  
  6497.  
  6498. ΓòÉΓòÉΓòÉ 16.3.61. MODIFIED_WINDOWCOLOR ΓòÉΓòÉΓòÉ
  6499.  
  6500. Set MODIFIED_WINDOWCOLOR in MYCNF.E to specify the color in which unmarked text 
  6501. should be displayed in a modified file when SHOW_MODIFY_METHOD is set to 
  6502. 'COLOR'. 
  6503.  
  6504. The default value for MODIFIED_WINDOWCOLOR is White + BlueB. Possible values 
  6505. are: 
  6506.  
  6507. 0     Omit support 
  6508.  
  6509. 1     Include support 
  6510.  
  6511.  
  6512. ΓòÉΓòÉΓòÉ 16.3.62. MOUSE_SUPPORT ΓòÉΓòÉΓòÉ
  6513.  
  6514. Set MOUSE_SUPPORT in MYCNF.E to specify whether or not mouse support should be 
  6515. included in the base .ex file. 
  6516.  
  6517. The default value for MOUSE_SUPPORT is 1. Possible values are: 
  6518.  
  6519. 0     Omit mouse support completely. 
  6520.  
  6521. 1     Include mouse support in EPM.EX (or in EXTRA.EX if EXTRA_EX is 1). 
  6522.  
  6523. 'LINK' Dynamically link MOUSE.EX at run time (if EXTRA_EX is 0; if EXTRA_EX is 
  6524.       1, then MOUSE.E will be included in EXTRA.EX). 
  6525.  
  6526.  
  6527. ΓòÉΓòÉΓòÉ 16.3.63. MVS ΓòÉΓòÉΓòÉ
  6528.  
  6529. Set MVS in MYCNF.E to specify whether support for editing files on an MVS host 
  6530. should be included; this only applies when HOST_SUPPORT is set to 'EMUL'. 
  6531.  
  6532. The default value for MVS is 0. Possible values are: 
  6533.  
  6534. 0     Omit MVS support. 
  6535.  
  6536. 1     Include MVS support. 
  6537.  
  6538.  
  6539. ΓòÉΓòÉΓòÉ 16.3.64. MY_ADDENDA_FILENAME ΓòÉΓòÉΓòÉ
  6540.  
  6541. Set MY_ADDENDA_FILENAME in MYCNF.E to specify the name of the dictionary 
  6542. addenda file to be used when spell checking a file. 
  6543.  
  6544. The default value for MY_ADDENDA_FILENAME is 'c:\lexam\lexam.adl'. 
  6545.  
  6546. Note:  The value set in the MYCNF.E can be overridden by the value set in the 
  6547.        Paths page of the Settings dialog.
  6548.  
  6549. Related configuration constants: 
  6550.  
  6551. SPELL_SUPPORT 
  6552. ADDENDASUPPORT 
  6553. CHECK_FOR_LEXAM 
  6554.  
  6555.  
  6556. ΓòÉΓòÉΓòÉ 16.3.65. MY_APPNAME ΓòÉΓòÉΓòÉ
  6557.  
  6558. Set MY_APPNAME in MYCNF.E to specify the name of the application in the EPM.INI 
  6559. file (or LAM.INI for LaMail) under which configuration information will be 
  6560. saved. 
  6561.  
  6562. The default value for MY_APPNAME is the first 3 characters of the .ex search 
  6563. path name (i.e., 'EPM' for EPM and 'LAM' for LaMail). 
  6564.  
  6565.  
  6566. ΓòÉΓòÉΓòÉ 16.3.66. MY_BINOPTIONS ΓòÉΓòÉΓòÉ
  6567.  
  6568. Set MY_BINOPTIONS in MYCNF.E to specify the default file transfer options that 
  6569. should be used when loading or saving host binary files if HOST_SUPPORT is set 
  6570. to 'EMUL'. If HOST_SUPPORT is set to (or defaults to) 'STD', then 
  6571. HOSTCOPYOPTIONS is used instead. 
  6572.  
  6573. The default value for MY_BINOPTIONS is dependant on the value for USING; see 
  6574. E3EMUL.E. 
  6575.  
  6576.  
  6577. ΓòÉΓòÉΓòÉ 16.3.67. MY_CENTER_SEARCH ΓòÉΓòÉΓòÉ
  6578.  
  6579. Set MY_CENTER_SEARCH in MYCNF.E to specify the initial value for the predefined 
  6580. universal variable CENTER_SEARCH, which controls the position of the cursor 
  6581. after a successful Locate or repeat_find (Ctrl+F) operation. 
  6582.  
  6583. The default value for MY_CENTER_SEARCH is 1. Possible values are: 
  6584.  
  6585. 0     Cursor moves to target string; if target is before or after the text in 
  6586.       the window, the cursor moves to the first or last line of the edit window 
  6587.       (respectively). 
  6588.  
  6589. 1     Target string is centered vertically in the edit window. 
  6590.  
  6591.  
  6592. ΓòÉΓòÉΓòÉ 16.3.68. MY_CUA_MARKING_SWITCH ΓòÉΓòÉΓòÉ
  6593.  
  6594. Set MY_CUA_MARKING_SWITCH in MYCNF.E to specify the initial value for the 
  6595. CUA_marking_switch flag when WANT_CUA_MARKING is set to 'SWITCH'. 
  6596.  
  6597. The default value for MY_CUA_MARKING_SWITCH is 0. Possible values are: 
  6598.  
  6599. 0     Start out in Advanced Marking mode. 
  6600.  
  6601. 1     Start out in the more limited CUA-compatible mode. 
  6602.  
  6603.  
  6604. ΓòÉΓòÉΓòÉ 16.3.69. MY_CUA_MENU_ACCEL ΓòÉΓòÉΓòÉ
  6605.  
  6606. Set MY_CUA_MENU_ACCEL in MYCNF.E to specify the initial value for the 
  6607. CUA_menu_accel flag when BLOCK_ACTIONBAR_ACCELERATORS is set to 'SWITCH'. 
  6608.  
  6609. The default value for MY_CUA_MENU_ACCEL is 0. Possible values are: 
  6610.  
  6611. 0     Start out with the CUA accelerators blocked, so the EPM-defined actions 
  6612.       will be performed. 
  6613.  
  6614. 1     Start out with the CUA accelerator definitions in effect. 
  6615.  
  6616.  
  6617. ΓòÉΓòÉΓòÉ 16.3.70. MY_DEFAULT_EDIT_OPTIONS ΓòÉΓòÉΓòÉ
  6618.  
  6619. Set MY_DEFAULT_EDIT_OPTIONS in MYCNF.E to give an initial value for the 
  6620. DEFAULT_EDIT_OPTIONS universal variable, which is used as default options by 
  6621. the Edit command. These default options can be overridden by options given with 
  6622. any particular edit command.  For example, if you normally don't want tabs to 
  6623. be expanded to spaces when loading a file, you could include in your MYCNF.E: 
  6624.  
  6625. const
  6626.    my_DEFAULT_EDIT_OPTIONS = '/t'
  6627. If you then did want to expand tabs for one file, you could enter the command: 
  6628.  
  6629. e /nt myfile
  6630.  
  6631. The default value for MY_DEFAULT_EDIT_OPTIONS is the null string. 
  6632.  
  6633.  
  6634. ΓòÉΓòÉΓòÉ 16.3.71. MY_DEFAULT_SAVE_OPTIONS ΓòÉΓòÉΓòÉ
  6635.  
  6636. Set MY_DEFAULT_SAVE_OPTIONS in MYCNF.E to give an initial value for the 
  6637. DEFAULT_SAVE_OPTIONS universal variable, which is used as default options by 
  6638. the Save command. These default options can be overridden by options given with 
  6639. any particular save command.  For example, if you normally want trailing spaces 
  6640. to be stripped off when saving a file, you could include in your MYCNF.E: 
  6641.  
  6642. const
  6643.    my_DEFAULT_SAVE_OPTIONS = '/s'
  6644. If you then did want to strip spaces for one file, you could enter the command: 
  6645.  
  6646. s /nt myfile
  6647.  
  6648. The default value for MY_DEFAULT_SAVE_OPTIONS is the null string. 
  6649.  
  6650.  
  6651. ΓòÉΓòÉΓòÉ 16.3.72. MY_DEFAULT_SEARCH_OPTIONS ΓòÉΓòÉΓòÉ
  6652.  
  6653. Set MY_DEFAULT_SEARCH_OPTIONS in MYCNF.E to give an initial value for the 
  6654. DEFAULT_SEARCH_OPTIONS universal variable, which is used as default options by 
  6655. the Locate and Change commands. These default options can be overridden by 
  6656. options given with any particular locate or changecommand.  For example, if you 
  6657. normally want searches to be case insensitive, you could include in your 
  6658. MYCNF.E: 
  6659.  
  6660. const
  6661.    my_DEFAULT_SEARCH_OPTIONS = 'c'
  6662. If you then wanted to find a string where case mattered, you could enter the 
  6663. command: 
  6664.  
  6665. l /BiCapital/ e
  6666.  
  6667. The default value for MY_DEFAULT_SEARCH_OPTIONS is the null string. 
  6668.  
  6669.  
  6670. ΓòÉΓòÉΓòÉ 16.3.73. MY_DICTIONARY_FILENAME ΓòÉΓòÉΓòÉ
  6671.  
  6672. Set MY_DICTIONARY_FILENAME in MYCNF.E to specify the name of the dictionary 
  6673. file to be used when spell checking a file. 
  6674.  
  6675. The default value for MY_DICTIONARY_FILENAME is 'c:\lexam\us.dct'. You can list 
  6676. multiple dictionaries, separated by spaces. 
  6677.  
  6678. const
  6679.    my_DICTIONARY_FILENAME = 'us.dct legal.dct medical.dct'
  6680.  
  6681. Note:  The value set in the MYCNF.E can be overridden by the value set in the 
  6682.        Paths page of the Settings dialog.
  6683.  
  6684. Related configuration constants: 
  6685.  
  6686. SPELL_SUPPORT 
  6687. CHECK_FOR_LEXAM 
  6688.  
  6689.  
  6690. ΓòÉΓòÉΓòÉ 16.3.74. MY_EXPAND_ON ΓòÉΓòÉΓòÉ
  6691.  
  6692. Set MY_EXPAND_ON in MYCNF.E to specify the initial value for the EXPAND_ON flag 
  6693. which determines whether syntax expansion will be performed automatically. 
  6694.  
  6695. The default value for EXPAND_ON is 1. It can be changed at run time by use of 
  6696. the EXPAND command. Possible values are: 
  6697.  
  6698. 0     Don't automatically provide syntax assist. 
  6699.  
  6700. 1     Expand all known keywords automatically. 
  6701.  
  6702. Related configuration constants: 
  6703.  
  6704. ALTERNATE_KEYSETS 
  6705. C_SYNTAX_ASSIST 
  6706. E_SYNTAX_ASSIST 
  6707. P_SYNTAX_ASSIST 
  6708. REXX_SYNTAX_ASSIST 
  6709.  
  6710.  
  6711. ΓòÉΓòÉΓòÉ 16.3.75. MY_EXTRA_EX_NAME ΓòÉΓòÉΓòÉ
  6712.  
  6713. Set MY_EXTRA_EX_NAME in MYCNF.E to specify the name used for the extra .ex file 
  6714. linked when EXTRA_EX is 1. This can be useful when you want to create multiple 
  6715. sets of .ex files and want to avoid naming conflicts.  For example, LaMail uses 
  6716. 'LAMEXTRA'. 
  6717.  
  6718. The default value for MY_EXTRA_EX_NAME is 'EXTRA' 
  6719.  
  6720.  
  6721. ΓòÉΓòÉΓòÉ 16.3.76. MY_FTOPTIONS ΓòÉΓòÉΓòÉ
  6722.  
  6723. Set MY_FTOPTIONS in MYCNF.E to specify the default file transfer options that 
  6724. should be used when loading or saving host text files if HOST_SUPPORT is set to 
  6725. 'EMUL'. If HOST_SUPPORT is set to (or defaults to) 'STD', then HOSTCOPYOPTIONS 
  6726. is used instead. 
  6727.  
  6728. The default value for MY_FTOPTIONS is dependant on the value for USING; see 
  6729. E3EMUL.E. 
  6730.  
  6731.  
  6732. ΓòÉΓòÉΓòÉ 16.3.77. MY_HOSTCMD ΓòÉΓòÉΓòÉ
  6733.  
  6734. Set MY_HOSTCMD in MYCNF.E to specify the method to be used for sending commands 
  6735. to the host if HOST_SUPPORT is set to 'EMUL'. This is meant for use by 
  6736. user-written applications; it is not used by the distributed macros. 
  6737.  
  6738. The default value for MY_HOSTCMD is dependant on the value for USING; see 
  6739. E3EMUL.E. If USING is set to 'IBM', then the default is 'EHLLAPI', which uses 
  6740. the included EHLLAPI support to write to the host screen. All other methods 
  6741. require an external program, which is not included with the EPM package. 
  6742.  
  6743. Related configuration constants: 
  6744.  
  6745. USE_EHLLAPI 
  6746.  
  6747.  
  6748. ΓòÉΓòÉΓòÉ 16.3.78. MY_HOSTCOPY ΓòÉΓòÉΓòÉ
  6749.  
  6750. Set MY_HOSTCOPY in MYCNF.E to specify the command used for copying files 
  6751. between the host and the workstation. 
  6752.  
  6753. The default value for MY_HOSTCOPY is 'almcopy' 
  6754.  
  6755. Related configuration constants: 
  6756.  
  6757. HOST_SUPPORT 
  6758.  
  6759.  
  6760. ΓòÉΓòÉΓòÉ 16.3.79. MY_HOSTDRIVE ΓòÉΓòÉΓòÉ
  6761.  
  6762. Set MY_HOSTDRIVE in MYCNF.E to specify what drive letter should be used to 
  6763. represent the host when HOST_SUPPORT is set to 'EMUL'. 
  6764.  
  6765. The default value for my_HOSTDRIVE is 'H'. (Note:  No trailing colon is 
  6766. allowed.) Users who have a real H: drive on their machine might want to set it 
  6767. to some other value - for example, 'V' to represent VM files. 
  6768.  
  6769. Related configuration constants: 
  6770.  
  6771. HOSTDRIVE (for SAVELOAD.E users) 
  6772.  
  6773.  
  6774. ΓòÉΓòÉΓòÉ 16.3.80. MY_JOIN_AFTER_WRAP ΓòÉΓòÉΓòÉ
  6775.  
  6776. Set MY_JOIN_AFTER_WRAP in MYCNF.E to specify whether text that wraps from one 
  6777. line should be joined with the following line.  See Join After Wrap for an 
  6778. example. 
  6779.  
  6780. The default value for MY_JOIN_AFTER_WRAP is 1. Possible values are: 
  6781.  
  6782. 0     Join the wrapped text with the next line. 
  6783.  
  6784. 1     Place the wrapped text on its own line. 
  6785.  
  6786.  
  6787. ΓòÉΓòÉΓòÉ 16.3.81. MY_KEEP_TEMP_FILES ΓòÉΓòÉΓòÉ
  6788.  
  6789. Set MY_KEEP_TEMP_FILES in MYCNF.E to specify if temporary files should be saved 
  6790. after editing is completed when HOST_SUPPORT is set to 'EMUL'.  (Host file 
  6791. editing is done by copying the host file to a temporary file on the 
  6792. workstation, and then loading that file into the editor.) 
  6793.  
  6794. The default value for MY_KEEP_TEMP_FILES is 0. Possible values are: 
  6795.  
  6796. 0     Erase temporary files after successfully loading or saving the host file 
  6797.  
  6798. 1     Preserve the temporary files. 
  6799.  
  6800.  
  6801. ΓòÉΓòÉΓòÉ 16.3.82. MY_LT ΓòÉΓòÉΓòÉ
  6802.  
  6803. Set MY_LT in MYCNF.E to specify the default logical terminal to be used for 
  6804. loading or saving host files when HOST_SUPPORT is set to 'EMUL'. 
  6805.  
  6806. The default value for MY_LT is 'A' 
  6807.  
  6808.  
  6809. ΓòÉΓòÉΓòÉ 16.3.83. MY_MATCHTAB_ON ΓòÉΓòÉΓòÉ
  6810.  
  6811. Set MY_MATCHTAB_ON in MYCNF.E to set the initial value used for MATCHTAB. 
  6812.  
  6813. The default value for MY_MATCHTAB_ON is 0. Possible values are: 
  6814.  
  6815. 0     Start with MATCHTAB off. 
  6816.  
  6817. 1     Start with MATCHTAB on. 
  6818.  
  6819.  
  6820. ΓòÉΓòÉΓòÉ 16.3.84. MY_MENU_PROMPT ΓòÉΓòÉΓòÉ
  6821.  
  6822. Set MY_MENU_PROMPT in MYCNF.E to specify the initial value for menu prompting 
  6823. if WANT_DYNAMIC_PROMPTS is set to 1. 
  6824.  
  6825. The default value for MY_MENU_PROMPT is 1. Possible values are: 
  6826.  
  6827. 0     Start out without dynamic prompts. 
  6828.  
  6829. 1     Start out with dynamic prompts. 
  6830.  
  6831. Note:  The value set in the MYCNF.E will be overridden by the value saved in 
  6832.        the .INI file if the user selects Options / Save Options 
  6833.  
  6834.  
  6835. ΓòÉΓòÉΓòÉ 16.3.85. MY_MOUSESTYLE ΓòÉΓòÉΓòÉ
  6836.  
  6837. Set MY_MOUSESTYLE in MYCNF.E to choose the default mouse behavior in Advanced 
  6838. Marking mode. 
  6839.  
  6840. The default value for MY_MOUSESTYLE is 1. Possible values are: 
  6841.  
  6842. 1     Drag button 1 for block mark, Ctrl+MB1 for character mark. 
  6843.  
  6844. 2     Drag button 1 for character mark, Ctrl+MB1 for block mark. 
  6845.  
  6846. Related configuration constants: 
  6847.  
  6848. WANT_CUA_MARKING 
  6849.  
  6850.  
  6851. ΓòÉΓòÉΓòÉ 16.3.86. MY_PRINTER ΓòÉΓòÉΓòÉ
  6852.  
  6853. Set MY_PRINTER in MYCNF.E to specify the device ('LPT1', 'COM1', etc.) to be 
  6854. used for the default printer. This can also be a LAN printer (e.g., 
  6855. '\\server\printq') The default printer is used when the Print command is given 
  6856. without specifying an argument, or (if ENHANCED_PRINT_SUPPORT is 0,) when Print 
  6857. is selected from the File or Edit menu. 
  6858.  
  6859. If no value for MY_PRINTER is set, then the device associated with the printer 
  6860. listed in OS2SYS.INI under application PM_SPOOLER, key PRINTER will be used. 
  6861.  
  6862.  
  6863. ΓòÉΓòÉΓòÉ 16.3.87. MY_REXX_PROFILE ΓòÉΓòÉΓòÉ
  6864.  
  6865. Set MY_REXX_PROFILE in MYCNF.E to specify whether a Rexx profile will be called 
  6866. if WANT_PROFILE is set to 'SWITCH'. 
  6867.  
  6868. The default value for MY_REXX_PROFILE is 0. Possible values are: 
  6869.  
  6870. 0     Don't call PROFILE.ERX. 
  6871.  
  6872. 1     Call PROFILE.ERX. 
  6873.  
  6874. Note:  The value set in the MYCNF.E will be overridden by the value saved in 
  6875.        the .INI file if the user selects Options / Save Options The Profile 
  6876.        command can be used to change this dynamically in order to save a new value.
  6877.  
  6878.  
  6879. ΓòÉΓòÉΓòÉ 16.3.88. MY_RING_ENABLED ΓòÉΓòÉΓòÉ
  6880.  
  6881. Set MY_RING_ENABLED in MYCNF.E to specify whether the ring (support of multiple 
  6882. files) will be turned on or off at startup if RING_OPTIONAL is set to 1. 
  6883.  
  6884. The default value for MY_RING_ENABLED is 1. Possible values are: 
  6885.  
  6886. 0     Start out with the ring disabled. 
  6887.  
  6888. 1     Start out with the ring enabled. 
  6889.  
  6890. Note:  The value set in the MYCNF.E will be overridden by the value saved in 
  6891.        the .INI file if the user selects Options / Save Options 
  6892.  
  6893.  
  6894. ΓòÉΓòÉΓòÉ 16.3.89. MY_SAVEPATH ΓòÉΓòÉΓòÉ
  6895.  
  6896. Set MY_SAVEPATH in MYCNF.E to specify the directory to which intermediate files 
  6897. should be written when transferring files between the host and the workstation 
  6898. if HOST_SUPPORT='EMUL'. 
  6899.  
  6900. If no value for MY_SAVEPATH is given, the SAVEPATH defaults to the 
  6901. AUTOSAVE_PATH 
  6902.  
  6903.  
  6904. ΓòÉΓòÉΓòÉ 16.3.90. MY_SAVE_WITH_TABS ΓòÉΓòÉΓòÉ
  6905.  
  6906. Set MY_SAVE_WITH_TABS in MYCNF.E to specify that the /t option should always be 
  6907. given when saving a file. This is equivalent to setting my_DEFAULT_SAVE_OPTIONS 
  6908. to '/t'. 
  6909.  
  6910. The default value for MY_SAVE_WITH_TABS is 0. Possible values are: 
  6911.  
  6912. 0     Don't save with tabs 
  6913.  
  6914. 1     Always convert multiple spaces to tabs when saving. 
  6915.  
  6916.  
  6917. ΓòÉΓòÉΓòÉ 16.3.91. MY_SCRIPT_FILE_TYPE ΓòÉΓòÉΓòÉ
  6918.  
  6919. Set MY_SCRIPT_FILE_TYPE in MYCNF.E to specify an additional filetype 
  6920. (extension) which will be considered to be a SCRIPT file when spell checking 
  6921. the file. When spell checking a SCRIPT file, then SCRIPT variables and markup 
  6922. are checked for and ignored.  The file types normally considered SCRIPT files 
  6923. are 'SCR', 'SCT', 'SCRIPT', and 'IPF'. 
  6924.  
  6925. The default value for MY_SCRIPT_FILE_TYPE is that it is not set. 
  6926.  
  6927. Related configuration constants: 
  6928.  
  6929. SPELL_SUPPORT 
  6930.  
  6931.  
  6932. ΓòÉΓòÉΓòÉ 16.3.92. MY_SHOW_LONGNAMES ΓòÉΓòÉΓòÉ
  6933.  
  6934. Set MY_SHOW_LONGNAMES in MYCNF.E to set the initial value for the 
  6935. SHOW_LONGNAMES flag when WANT_LONGNAMES is set to 'SWITCH'. 
  6936.  
  6937. The default value for MY_SHOW_LONGNAMES is 0. Possible values are: 
  6938.  
  6939. 0     Don't display the .LONGNAME extended attribute. 
  6940.  
  6941. 1     Display the .LONGNAME on the title bar. 
  6942.  
  6943. Note:  The value set in the MYCNF.E will be overridden by the value saved in 
  6944.        the .INI file if the user selects Options / Save Options The Longnames 
  6945.        command can be used to change this dynamically in order to save a new value.
  6946.  
  6947.  
  6948. ΓòÉΓòÉΓòÉ 16.3.93. MY_STAY ΓòÉΓòÉΓòÉ
  6949.  
  6950. Set MY_STAY in MYCNF.E to set the initial value for the STAY flag when SETSTAY 
  6951. is set to '?'. 
  6952.  
  6953. The default value for MY_STAY is 0. Possible values are: 
  6954.  
  6955. 0     After a Change, leave the cursor on the last changed string. 
  6956.  
  6957. 1     After a Change, preserve the original position of the cursor. 
  6958.  
  6959.  
  6960. ΓòÉΓòÉΓòÉ 16.3.94. MY_STREAM_MODE ΓòÉΓòÉΓòÉ
  6961.  
  6962. Set MY_STREAM_MODE in MYCNF.E to set the initial value for the STREAM_MODE flag 
  6963. when WANT_STREAM_MODE is set to 'SWITCH'. 
  6964.  
  6965. The default value for MY_STREAM_MODE is 1 if ENTER_ACTION is set to 'STREAM', 
  6966. or 0 otherwise. Possible values are: 
  6967.  
  6968. 0     Start out in line mode. 
  6969.  
  6970. 1     Start out in stream mode. 
  6971.  
  6972. Note:  The value set in the MYCNF.E will be overridden by the value saved in 
  6973.        the .INI file if the user selects Options / Save Options 
  6974.  
  6975.  
  6976. ΓòÉΓòÉΓòÉ 16.3.95. MY_TWO_SPACES ΓòÉΓòÉΓòÉ
  6977.  
  6978. Set MY_TWO_SPACES in MYCNF.E to initialize the TWO_SPACES universal variable, 
  6979. which controls whether one or two spaces are left after a period, question 
  6980. mark, exclamation point or colon when reflowing text. 
  6981.  
  6982. The default value for MY_TWO_SPACES is 1. Possible values are: 
  6983.  
  6984. 0     Leave only one space. 
  6985.  
  6986. 1     Leave two spaces. 
  6987.  
  6988.  
  6989. ΓòÉΓòÉΓòÉ 16.3.96. NLS_LANGUAGE ΓòÉΓòÉΓòÉ
  6990.  
  6991. Set NLS_LANGUAGE in MYCNF.E to 
  6992.  
  6993. The default value for NLS_LANGUAGE is 'english'. The following languages are 
  6994. available separately in the EPMMRI package: 
  6995.  
  6996. 'DANSK' 
  6997. 'DEUTSCH' 
  6998. 'ESPANOL' 
  6999. 'FRANCAIS' 
  7000. 'ITALIANO' 
  7001. 'NL' 
  7002. 'NORSK' 
  7003. 'PORTUGAL' 
  7004. 'SUOMI' 
  7005. 'SV' 
  7006.  
  7007.  
  7008. ΓòÉΓòÉΓòÉ 16.3.97. NO_DUPLICATE_BOOKMARKS ΓòÉΓòÉΓòÉ
  7009.  
  7010. Set NO_DUPLICATE_BOOKMARKS in MYCNF.E to disallow duplicate bookmark names. 
  7011. Duplicate bookmarks are useful if you want to access them using the Next and 
  7012. Previous Bookmark operations rather than by name, and so don't want to bother 
  7013. giving them unique names.  This can be confusing to some people, however, 
  7014. because although all the names will be listed in the bookmark list, selecting 
  7015. any of them will go to the same place in the file.  Also, deleting any of the 
  7016. bookmarks with a given name from the list will result in none of them being 
  7017. listed (although they will still be able to be accessed by Next and Previous). 
  7018.  
  7019. The default value for NO_DUPLICATE_BOOKMARKS is 0. Possible values are: 
  7020.  
  7021. 0     Allow duplicate bookmarks. 
  7022.  
  7023. 1     Don't allow duplicate bookmarks. 
  7024.  
  7025.  
  7026. ΓòÉΓòÉΓòÉ 16.3.98. NO_ESCAPE ΓòÉΓòÉΓòÉ
  7027.  
  7028. Set NO_ESCAPE in MYCNF.E to prevent the Escape key from activating the command 
  7029. line dialog. 
  7030.  
  7031. The default value for NO_ESCAPE is 0. Possible values are: 
  7032.  
  7033. 0     Escape key will activate command dialog. 
  7034.  
  7035. 1     Only Ctrl+I will activate the command dialog. 
  7036.  
  7037. Related configuration constants: 
  7038.  
  7039. TOGGLE_ESCAPE 
  7040.  
  7041.  
  7042. ΓòÉΓòÉΓòÉ 16.3.99. PROCESSNAME_CMD ΓòÉΓòÉΓòÉ
  7043.  
  7044. Set PROCESSNAME_CMD in MYCNF.E to specify the command executed after mouse 
  7045. button 2 is double-clicked on the title bar and the user presses Enter. 
  7046.  
  7047. The default value for PROCESSNAME_CMD is 'name'. 
  7048.  
  7049.  
  7050. ΓòÉΓòÉΓòÉ 16.3.100. PROOF_DIALOG_FIXED ΓòÉΓòÉΓòÉ
  7051.  
  7052. Set PROOF_DIALOG_FIXED in MYCNF.E to specify that the Proof dialog always 
  7053. appear in a fixed location. 
  7054.  
  7055. The default value for PROOF_DIALOG_FIXED is 0. Possible values are: 
  7056.  
  7057. 0     The Proof dialog will appear under the word being proofed. 
  7058.  
  7059. 1     The Proof dialog will appear to the right of the edit window. 
  7060.  
  7061. Note:  This specifies where EPMLEX.E asks to have the proof dialog placed; if 
  7062.        this would result in part of the dialog being off the screen, the dialog 
  7063.        will automatically be shifted appropriately. This might result in the 
  7064.        dialog covering the word being proofed.
  7065.  
  7066. Related configuration constants: 
  7067.  
  7068. SPELL_SUPPORT 
  7069.  
  7070.  
  7071. ΓòÉΓòÉΓòÉ 16.3.101. P_MARGINS ΓòÉΓòÉΓòÉ
  7072.  
  7073. Set P_MARGINS in MYCNF.E to to specify what the margins should be when editing 
  7074. Pascal files if P_SYNTAX_ASSIST is enabled. 
  7075.  
  7076. The default value for P_MARGINS is 1 MAXMARGIN 1, where MAXMARGIN is one less 
  7077. than the maximum length of a line.  (MAXMARGIN is 254 for EPM versions prior to 
  7078. 5.60.) You can specify any valid margins, or set to 0 to indicate that no 
  7079. special margins should be set for Pascal files. 
  7080.  
  7081.  
  7082. ΓòÉΓòÉΓòÉ 16.3.102. P_SYNTAX_ASSIST ΓòÉΓòÉΓòÉ
  7083.  
  7084. Set P_SYNTAX_ASSIST in MYCNF.E to control whether syntax assist for the Pascal 
  7085. language is included. 
  7086.  
  7087. The default value for P_SYNTAX_ASSIST is 1. Possible values are: 
  7088.  
  7089. 0     Omit support 
  7090.  
  7091. 1     Include support 
  7092.  
  7093. Related configuration constants: 
  7094.  
  7095. ALTERNATE_KEYSETS 
  7096. MY_EXPAND_ON 
  7097.  
  7098.  
  7099. ΓòÉΓòÉΓòÉ 16.3.103. P_TABS ΓòÉΓòÉΓòÉ
  7100.  
  7101. Set P_TABS in MYCNF.E to set the default tabs setting for Pascal files. 
  7102.  
  7103. The default value for P_TABS is 3. You can specify any valid tabs setting, or 
  7104. set to 0 to indicate that no special tabs should be set for Pascal files. 
  7105.  
  7106.  
  7107. ΓòÉΓòÉΓòÉ 16.3.104. RECEIVE_CMD ΓòÉΓòÉΓòÉ
  7108.  
  7109. Set RECEIVE_CMD in MYCNF.E to specify the command to be used to receive a file 
  7110. from the host when HOST_SUPPORT is 'EMUL' and USING is 'CP78'. 
  7111.  
  7112. The default value for RECEIVE_CMD is 'receive'. 
  7113.  
  7114.  
  7115. ΓòÉΓòÉΓòÉ 16.3.105. RESPECT_CASE_FOR_ADDENDA ΓòÉΓòÉΓòÉ
  7116.  
  7117. Set RESPECT_CASE_FOR_ADDENDA in MYCNF.E to specify whether words added to the 
  7118. addenda dictionary should have their case preserved. 
  7119.  
  7120. The default value for RESPECT_CASE_FOR_ADDENDA is 1. Possible values are: 
  7121.  
  7122. 0     Translate all words to lower case before adding them to the addenda. 
  7123.  
  7124. 1     Add words as they appeared in the document. 
  7125.  
  7126. Related configuration constants: 
  7127.  
  7128. SPELL_SUPPORT 
  7129. ADDENDASUPPORT 
  7130. CHECK_FOR_LEXAM 
  7131.  
  7132.  
  7133. ΓòÉΓòÉΓòÉ 16.3.106. RESTORE_MARK_AFTER_SORT ΓòÉΓòÉΓòÉ
  7134.  
  7135. Set RESTORE_MARK_AFTER_SORT in MYCNF.E to specify whther the mark should be 
  7136. restored after sorting. 
  7137.  
  7138. The default value for RESTORE_MARK_AFTER_SORT is 1. Possible values are: 
  7139.  
  7140. 0     Leave the sorted text unmarked. 
  7141.  
  7142. 1     Restore the mark after sorting. 
  7143.  
  7144.  
  7145. ΓòÉΓòÉΓòÉ 16.3.107. REXX_MARGINS ΓòÉΓòÉΓòÉ
  7146.  
  7147. Set REXX_MARGINS in MYCNF.E to to specify what the margins should be when 
  7148. editing Rexx files if REXX_SYNTAX_ASSIST is enabled. 
  7149.  
  7150. The default value for REXX_MARGINS is 1 MAXMARGIN 1, where MAXMARGIN is one 
  7151. less than the maximum length of a line.  (MAXMARGIN is 254 for EPM versions 
  7152. prior to 5.60.) You can specify any valid margins, or set to 0 to indicate that 
  7153. no special margins should be set for Rexx files. 
  7154.  
  7155.  
  7156. ΓòÉΓòÉΓòÉ 16.3.108. REXX_SYNTAX_ASSIST ΓòÉΓòÉΓòÉ
  7157.  
  7158. Set REXX_SYNTAX_ASSIST in MYCNF.E to control whether syntax assist for the Rexx 
  7159. language is included. 
  7160.  
  7161. The default value for REXX_SYNTAX_ASSIST is 1. Possible values are: 
  7162.  
  7163. 0     Omit support 
  7164.  
  7165. 1     Include support 
  7166.  
  7167. Related configuration constants: 
  7168.  
  7169. ALTERNATE_KEYSETS 
  7170. MY_EXPAND_ON 
  7171.  
  7172.  
  7173. ΓòÉΓòÉΓòÉ 16.3.109. REXX_TABS ΓòÉΓòÉΓòÉ
  7174.  
  7175. Set REXX_TABS in MYCNF.E to set the default tabs setting for Rexx files. 
  7176.  
  7177. The default value for REXX_TABS is 3. You can specify any valid tabs setting, 
  7178. or set to 0 to indicate that no special tabs should be set for Rexx files. 
  7179.  
  7180.  
  7181. ΓòÉΓòÉΓòÉ 16.3.110. RING_OPTIONAL ΓòÉΓòÉΓòÉ
  7182.  
  7183. Set RING_OPTIONAL in MYCNF.E to specify whether or not EPM should pretend to be 
  7184. able to only edit a single file at a time.  Note that EPM can always edit 
  7185. multiple files; this merely controls how easy it is to do so. 
  7186.  
  7187. The default value for RING_OPTIONAL is 0. Possible values are: 
  7188.  
  7189. 0     Don't hide the presence of the edit ring. 
  7190.  
  7191. 1     Allow the hiding of the ring. 
  7192.  
  7193. Related configuration constants: 
  7194.  
  7195. MY_RING_ENABLED 
  7196.  
  7197.  
  7198. ΓòÉΓòÉΓòÉ 16.3.111. RUNTIME ΓòÉΓòÉΓòÉ
  7199.  
  7200. Set RUNTIME in MYCNF.E to specify whether various commands should be defined 
  7201. for changing variable values at runtime if HOST_SUPPORT is 'EMUL'. 
  7202.  
  7203. The default value for RUNTIME is 0. Possible values are: 
  7204.  
  7205. 0     Omit runtime support. 
  7206.  
  7207. 1     Include runtime support. 
  7208.  
  7209. The runtime commands are: 
  7210.  
  7211. EM    Change the emulator being used. 
  7212.  
  7213. LT    Change the default logical terminal. 
  7214.  
  7215. HD    Change the HOSTDRIVE drive letter. 
  7216.  
  7217. SAVEPATH Change the directory being used for the SAVEPATH. 
  7218.  
  7219.  
  7220. ΓòÉΓòÉΓòÉ 16.3.112. SEND_CMD ΓòÉΓòÉΓòÉ
  7221.  
  7222. Set SEND_CMD in MYCNF.E to specify the command to be used to send a file to the 
  7223. host when HOST_SUPPORT is 'EMUL' and USING is 'CP78'. 
  7224.  
  7225. The default value for SEND_CMD is 'send'. 
  7226.  
  7227.  
  7228. ΓòÉΓòÉΓòÉ 16.3.113. SETSTAY ΓòÉΓòÉΓòÉ
  7229.  
  7230. Set SETSTAY in MYCNF.E to determine which is to be the current line after a 
  7231. Change command. 
  7232.  
  7233. The default value for SETSTAY is 0. Possible values are: 
  7234.  
  7235. 0     Cursor will be positioned on the last occurrence of the string in the 
  7236.       file. 
  7237.  
  7238. 1     The original position of the cursor will not be changed. 
  7239.  
  7240. '?'   A STAY command will be defined so you can change between the above two 
  7241.       behaviors at run time. 
  7242.  
  7243.  
  7244. ΓòÉΓòÉΓòÉ 16.3.114. SHIFT_BLOCK_ONLY ΓòÉΓòÉΓòÉ
  7245.  
  7246. Set SHIFT_BLOCK_ONLY in MYCNF.E to control what is shifted by the Ctrl+F7 and 
  7247. Ctrl+F8 keys. 
  7248.  
  7249. The default value for SHIFT_BLOCK_ONLY is 0. Possible values are: 
  7250.  
  7251. 0     Shift all text to the right of the left edge of the block, ignoring the 
  7252.       right edge of the block 
  7253.  
  7254. 1     Shift only the contents of the block, truncating what is shifted past the 
  7255.       right edge, and adding blanks at the right edge of the block when 
  7256.       shifting to the left. 
  7257.  
  7258.  
  7259. ΓòÉΓòÉΓòÉ 16.3.115. SHOW_MODIFY_METHOD ΓòÉΓòÉΓòÉ
  7260.  
  7261. Set SHOW_MODIFY_METHOD in MYCNF.E to specify what indication should be given 
  7262. that the current file has been modified. 
  7263.  
  7264. The default value for SHOW_MODIFY_METHOD is ''. Possible values are: 
  7265.  
  7266. ''        Don't do anything special; the word "Modified" will appear on the 
  7267.           status line when the file is modified if using the default 
  7268.           STATUS_TEMPLATE. 
  7269.  
  7270. 'COLOR'   Indicate by changing the color of the text. Modified files will have 
  7271.           unmarked text displayed in MODIFIED_WINDOWCOLOR instead of TEXTCOLOR, 
  7272.           and marked text displayed in MODIFIED_MARKCOLOR instead of MARKCOLOR. 
  7273.  
  7274. 'TITLE'   Indicate by appending a string (default '(mod)') to the filename 
  7275.           displayed on the title bar. 
  7276.  
  7277.  
  7278. ΓòÉΓòÉΓòÉ 16.3.116. SHOW_MODIFY_TEXT ΓòÉΓòÉΓòÉ
  7279.  
  7280. Set SHOW_MODIFY_TEXT in MYCNF.E to specify the string that should be added to 
  7281. the title bar when the file has been modified, if SHOW_MODIFY_METHOD is set to 
  7282. 'TITLE'. 
  7283.  
  7284. The default value for SHOW_MODIFY_TEXT is ' (mod)'. 
  7285.  
  7286.  
  7287. ΓòÉΓòÉΓòÉ 16.3.117. SMARTFILE ΓòÉΓòÉΓòÉ
  7288.  
  7289. Set SMARTFILE in MYCNF.E to specify whether the File key (F4) should just quit 
  7290. if the file has not been modified. 
  7291.  
  7292. The default value for SMARTFILE is 0. Possible values are: 
  7293.  
  7294. 0     Pressing F4 will always do a Save and Quit. 
  7295.  
  7296. 1     Pressing F4 if there were no changes made will only Quit. 
  7297.  
  7298.  
  7299. ΓòÉΓòÉΓòÉ 16.3.118. SMARTSAVE ΓòÉΓòÉΓòÉ
  7300.  
  7301. Set SMARTSAVE in MYCNF.E to specify whether the user should be warned when 
  7302. pressing the Save key (F2) in a file that hasn't had any changes made to it. 
  7303.  
  7304. The default value for SMARTSAVE is 0. Possible values are: 
  7305.  
  7306. 0     Pressing F2 will always do a Save. 
  7307.  
  7308. 1     Pressing F2 if there were no changes made will give a message saying that 
  7309.       the file has not been modified, and bring up the command line with a Save 
  7310.       command in it.  The user can then press Enter to save the file anyway, or 
  7311.       Esc to cancel. 
  7312.  
  7313.  
  7314. ΓòÉΓòÉΓòÉ 16.3.119. SORT_TYPE ΓòÉΓòÉΓòÉ
  7315.  
  7316. Set SORT_TYPE in MYCNF.E to specify the type of sort command desired. 
  7317.  
  7318. The default value for SORT_TYPE is 'DLL'. Possible values are: 
  7319.  
  7320. ''    Omit support for the Sort command. 
  7321.  
  7322. 'DLL' Define the Sort command to use a sort routine defined in a DLL; this is 
  7323.       fast, but can sort up to a limit of 64k of data because the text to be 
  7324.       sorted is passed in a buffer. 
  7325.  
  7326. 'E'   Define the Sort command to use a sort routine defined in the E language. 
  7327.       This is slower than the DLL code, but has no size limit. 
  7328.  
  7329. XXX   (any other string)  Will attempt to include a user-written SortXXX.E 
  7330.       file, which might call a user-supplied sort routine.  Samples are 
  7331.       available that call various IBM Internal Use Only utilities. 
  7332.  
  7333.  
  7334. ΓòÉΓòÉΓòÉ 16.3.120. SPELL_SUPPORT ΓòÉΓòÉΓòÉ
  7335.  
  7336. Set SPELL_SUPPORT in MYCNF.E to specify if and how the spell checking support 
  7337. should be included. 
  7338.  
  7339. The default value for SPELL_SUPPORT is 'DYNALINK' Possible values are: 
  7340.  
  7341. 0           Omit spell-checking support. 
  7342.  
  7343. 1           Include support in the base .ex file. 
  7344.  
  7345. 'LINK'      Link the separately-compiled EPMLEX.EX file automatically at 
  7346.             startup time. 
  7347.  
  7348. 'DYNALINK'  Link the separately-compiled EPMLEX.EX file automatically the first 
  7349.             time the user attempts to do a spell check. 
  7350.  
  7351.  
  7352. ΓòÉΓòÉΓòÉ 16.3.121. STATUSCOLOR ΓòÉΓòÉΓòÉ
  7353.  
  7354. Set STATUSCOLOR in MYCNF.E to specify in what color the status line should be 
  7355. displayed. 
  7356.  
  7357. The default value for STATUSCOLOR is Black + WhiteB. 
  7358.  
  7359. Note:  The value set in the MYCNF.E can be overridden by the value set in the 
  7360.        Colors page of the Settings dialog.
  7361.  
  7362. Note:  Must follow a DEFINE, not a CONST.
  7363.  
  7364.  
  7365. ΓòÉΓòÉΓòÉ 16.3.122. STATUS_TEMPLATE ΓòÉΓòÉΓòÉ
  7366.  
  7367. Set STATUS_TEMPLATE in MYCNF.E to specify what should be displayed on the EPM 
  7368. status line. The template is a character string of up to 128 characters. The 
  7369. string can contain an assortment of characters and status tags. These tags 
  7370. instruct EPM what to insert into the final status line string. 
  7371.  
  7372. A status tag consists of two characters; '%' followed by a legal status item 
  7373. character. Defined status tags are as follows: 
  7374.  
  7375. %A   Autosave count value (number of changes made to the file since the last 
  7376.      autosave) 
  7377. %C   current Column number 
  7378. %F   number of Files in ring (followed by the word "File" or "Files") 
  7379. %I   Insert or replace state (cursor status) 
  7380. %L   current Line number 
  7381. %M   Modified status (if the file has been modified) 
  7382. %S   total number of lines in the current file 
  7383. %X   displays the hexadecimal value of the current character 
  7384. %Z   displays the ASCII value of the current character 
  7385.  
  7386. The default value if STATUS_TEMPLATE is not defined is 'Line %l of %s  Column 
  7387. %c  %i  %m  %f' 
  7388.  
  7389. Note:  Previous versions of EPM used a .STATUSLINE field which allowed macro 
  7390.        writers to set a different status line for each file in the ring.  This 
  7391.        was wasteful, since space had to be allocated for the status line for 
  7392.        every file.  Now, instead of a .STATUSLINE field, there is a global 
  7393.        status line whose value is set using the SETSTATUSLINE command (defined 
  7394.        in STDCTRL.E).  Users wishing to have a different status line depending 
  7395.        on the file can call SETSTATUSLINE from a DEFSELECT.  See the EPM 
  7396.        Technical Reference for details.
  7397.  
  7398. Examples: Example 1: 
  7399.  
  7400. STATUS_TEMPLATE = 'L= %l, C= %c'
  7401.  
  7402. Given the above constant and your cursor on line 100, column 3.  The following 
  7403. status line will be produced: 
  7404.  
  7405. L= 100, C= 3
  7406. Example 2: 
  7407.  
  7408. STATUS_TEMPLATE = 'Total Lines = %S Row %l Col %c  Char<%z> mode=%i'
  7409.  
  7410. Given the above constant, your cursor on line 100, column 3, your cursor is 
  7411. below the letter 'A', and the cursor is in insert mode.  The following status 
  7412. line will be produced: 
  7413.  
  7414. Total Lines = 1015 Row 100 Col 3  Char<65> mode=Insert
  7415. Example 3: 
  7416.  
  7417. STATUS_TEMPLATE = Line %l of %s   Col %c  %i   %m    Asc. %z=x'%x'   %f
  7418. If the cursor is on the digit 0, this will produce a status line like: 
  7419.  
  7420. Line 1 of 1234   Col 13  Replace  Modified   Asc. 48=x'30'  5 Files
  7421.  
  7422.  
  7423. ΓòÉΓòÉΓòÉ 16.3.123. SUPPORT_BOOK_ICON ΓòÉΓòÉΓòÉ
  7424.  
  7425. Set SUPPORT_BOOK_ICON in MYCNF.E to specify whether or not the Book icon entry 
  7426. should appear on the Options menu. 
  7427.  
  7428. The default value for SUPPORT_BOOK_ICON is 1. Possible values are: 
  7429.  
  7430. 0     Omit Book icon 
  7431.  
  7432. 1     Include Book icon 
  7433.  
  7434.  
  7435. ΓòÉΓòÉΓòÉ 16.3.124. SUPPORT_TECHREF ΓòÉΓòÉΓòÉ
  7436.  
  7437. Set SUPPORT_TECHREF in MYCNF.E to specify whether or not the View Technical 
  7438. Reference entry should appear on the Help menu. 
  7439.  
  7440. The default value for SUPPORT_TECHREF is 0. Possible values are: 
  7441.  
  7442. 0     Omit View Technical Reference 
  7443.  
  7444. 1     Include a View Technical Reference selection that will call VIEW to look 
  7445.       at the file EPMTECH.INF. 
  7446.  
  7447.  
  7448. ΓòÉΓòÉΓòÉ 16.3.125. SUPPORT_USER_EXITS ΓòÉΓòÉΓòÉ
  7449.  
  7450. Set SUPPORT_USER_EXITS in MYCNF.E to specify whether or not "hooks" for calling 
  7451. user exits should be included. If included, the exits will be checked for and, 
  7452. if present, called, at editor startup (where the command line arguments can be 
  7453. examined and modified), when the name of the file being edited is changed, 
  7454. before and after saving a file, and when quitting a file. For additional 
  7455. information on the exits, including the paramaters passed, users should refer 
  7456. to The EPM Editor Technical Reference. 
  7457.  
  7458. The default value for SUPPORT_USER_EXITS is 0. Possible values are: 
  7459.  
  7460. 0     Omit support for user exits. 
  7461.  
  7462. 1     Include support for user exits. 
  7463.  
  7464.  
  7465. ΓòÉΓòÉΓòÉ 16.3.126. SUPPORT_USERS_GUIDE ΓòÉΓòÉΓòÉ
  7466.  
  7467. Set SUPPORT_USERS_GUIDE in MYCNF.E to specify whether or not the View User's 
  7468. Guide entry should appear on the Help menu. 
  7469.  
  7470. The default value for SUPPORT_BOOK_ICON is 0. Possible values are: 
  7471.  
  7472. 0     Omit View User's Guide 
  7473.  
  7474. 1     Include a View User's Guide selection that will call VIEW to look at the 
  7475.       file EPMUSERS.INF. 
  7476.  
  7477.  
  7478. ΓòÉΓòÉΓòÉ 16.3.127. SYNTAX_INDENT ΓòÉΓòÉΓòÉ
  7479.  
  7480. Set SYNTAX_INDENT in MYCNF.E to specify how many spaces blocks should be 
  7481. indented when using syntax assist. 
  7482.  
  7483. The default value for SYNTAX_INDENT is 3. 
  7484.  
  7485. Related configuration constants: 
  7486.  
  7487. ALTERNATE_KEYSETS 
  7488. C_SYNTAX_ASSIST 
  7489. E_SYNTAX_ASSIST 
  7490. P_SYNTAX_ASSIST 
  7491. REXX_SYNTAX_ASSIST 
  7492. MY_EXPAND_ON 
  7493.  
  7494.  
  7495. ΓòÉΓòÉΓòÉ 16.3.128. TEMP_FILENAME ΓòÉΓòÉΓòÉ
  7496.  
  7497. Set TEMP_FILENAME in MYCNF.E to specify the (fully-qualified) name of a 
  7498. temporary file that will be used for various commands. This should point to the 
  7499. fastest drive you have (a VDISK is ideal). If no drive or directory is 
  7500. specified, and a temporary path is set in the Paths page of the Settings 
  7501. dialog, then that path will be attached to the file name. 
  7502.  
  7503. The default value for TEMP_FILENAME is 'e.tmp'. 
  7504.  
  7505. Note:  This constant is used to initialize a universal variable that is used 
  7506.        wherever a single temporary file is needed. The universal variable can 
  7507.        be modified at run time if desired. MYSTUFF.SMP (in the standard set of 
  7508.        E_MACROS) contains sample code that sets the variable according to the 
  7509.        value of an environment variable which points to a VDISK.
  7510.  
  7511. Related configuration constants: 
  7512.  
  7513. TEMP_PATH 
  7514.  
  7515.  
  7516. ΓòÉΓòÉΓòÉ 16.3.129. TEMP_PATH ΓòÉΓòÉΓòÉ
  7517.  
  7518. Set TEMP_PATH in MYCNF.E to specify the path where temporary files should be 
  7519. placed. This should point to the fastest drive you have (a VDISK is ideal).  If 
  7520. a value is given, a trailing backslash must be supplied. 
  7521.  
  7522. The default value for TEMP_PATH is '' (the current directory). 
  7523.  
  7524. Note:  This constant is used to initialize a universal variable that is used 
  7525.        wherever more than one temporary file is needed. The universal variable 
  7526.        can be modified at run time if desired. MYSTUFF.SMP (in the standard set 
  7527.        of E_MACROS) contains sample code that sets the variable according to 
  7528.        the value of an environment variable which points to a VDISK.
  7529.  
  7530. Note:  The value set in the MYCNF.E can be overridden by the value set in the 
  7531.        Paths page of the Settings dialog.
  7532.  
  7533. Related configuration constants: 
  7534.  
  7535. TEMP_FILENAME 
  7536.  
  7537.  
  7538. ΓòÉΓòÉΓòÉ 16.3.130. TEXTCOLOR ΓòÉΓòÉΓòÉ
  7539.  
  7540. Set TEXTCOLOR in MYCNF.E to specify the color in which unmarked text in the 
  7541. edit window should be displayed. 
  7542.  
  7543. The default value for TEXTCOLOR is Black + WhiteB. 
  7544.  
  7545. Note:  The value set in the MYCNF.E can be overridden by the value set in the 
  7546.        Colors page of the Settings dialog.
  7547.  
  7548. Note:  Must follow a DEFINE, not a CONST.
  7549.  
  7550.  
  7551. ΓòÉΓòÉΓòÉ 16.3.131. TOGGLE_ESCAPE ΓòÉΓòÉΓòÉ
  7552.  
  7553. Set TOGGLE_ESCAPE in MYCNF.E to specify whether an ESCAPEKEY command should be 
  7554. defined. 
  7555.  
  7556. The default value for TOGGLE_ESCAPE is 0. Possible values are: 
  7557.  
  7558. 0     Omit ESCAPEKEY 
  7559.  
  7560. 1     Define ESCAPEKEY 
  7561.  
  7562. Related configuration constants: 
  7563.  
  7564. NO_ESCAPE 
  7565.  
  7566.  
  7567. ΓòÉΓòÉΓòÉ 16.3.132. TOGGLE_TAB ΓòÉΓòÉΓòÉ
  7568.  
  7569. Set TOGGLE_TAB in MYCNF.E to specify whether a TABKEY command is defined. 
  7570.  
  7571. The default value for TOGGLE_TAB is 0. Possible values are: 
  7572.  
  7573. 0     Omit TABKEY 
  7574.  
  7575. 1     Define the TABKEY command 
  7576.  
  7577.  
  7578. ΓòÉΓòÉΓòÉ 16.3.133. TOP_OF_FILE_VALID ΓòÉΓòÉΓòÉ
  7579.  
  7580. Set TOP_OF_FILE_VALID in MYCNF.E to specify whether or not the user should be 
  7581. allowed to position the cursor on line 0 (the Top of File line). 
  7582.  
  7583. The default value for TOP_OF_FILE_VALID is 1. Possible values are: 
  7584.  
  7585. 0     Don't allow the cursor on line 0. 
  7586.  
  7587. 1     Allow the cursor on line 0. 
  7588.  
  7589.  
  7590. ΓòÉΓòÉΓòÉ 16.3.134. TRASH_TEMP_FILES ΓòÉΓòÉΓòÉ
  7591.  
  7592. Set TRASH_TEMP_FILES in MYCNF.E to specify whether or not temporary files 
  7593. should be allowed to be quit without warning the user.  (A file whose filename 
  7594. begins with a period, like '.DIR', is assumed to be a temporary file.) 
  7595.  
  7596. The default value for TRASH_TEMP_FILES is 0. Possible values are: 
  7597.  
  7598. 0     Don't treat temporary files any differently. 
  7599.  
  7600. 1     When quitting a temporary file, don't present the Quitting file dialog if 
  7601.       the file was modified; just throw away the changes. 
  7602.  
  7603.  
  7604. ΓòÉΓòÉΓòÉ 16.3.135. UNDERLINE_CURSOR ΓòÉΓòÉΓòÉ
  7605.  
  7606. Set UNDERLINE_CURSOR in MYCNF.E to specify that you want the AVIO-style 
  7607. underline cursor rather than the GPI-style vertical bar. 
  7608.  
  7609. The default value for UNDERLINE_CURSOR is 0. Possible values are: 
  7610.  
  7611. 0     Insert-mode cursor is a vertical bar to the left of the current 
  7612.       character; replace-mode cursor is a block the height and width of the 
  7613.       current character. 
  7614.  
  7615. 1     Replace-mode cursor is a horizontal line below the baseline of the 
  7616.       current character; insert-mode cursor is a block the width and half the 
  7617.       height of the current character. 
  7618.  
  7619.  
  7620. ΓòÉΓòÉΓòÉ 16.3.136. UNMARK_AFTER_MOVE ΓòÉΓòÉΓòÉ
  7621.  
  7622. Set UNMARK_AFTER_MOVE in MYCNF.E to specify that an unmark operation should be 
  7623. performed after a mark is moved with the Alt+M key or via the Edit menu. 
  7624.  
  7625. The default value for UNMARK_AFTER_MOVE is 0. Possible values are: 
  7626.  
  7627. 0     Leave the mark, so the marked text can be copied or moved again. 
  7628.  
  7629. 1     Remove the mark, so a new mark can be started. 
  7630.  
  7631.  
  7632. ΓòÉΓòÉΓòÉ 16.3.137. USE_ANSI_C_NOTATION ΓòÉΓòÉΓòÉ
  7633.  
  7634. Set USE_ANSI_C_NOTATION in MYCNF.E to control how the template for MAIN is 
  7635. created using the C syntax assist. 
  7636.  
  7637. The default value for USE_ANSI_C_NOTATION is 1. Possible values are: 
  7638.  
  7639. 0     the declarations for argc, argv and envp will be entered as separate 
  7640.       statements. 
  7641.  
  7642. 1     the declarations will be included as part of the function's argument 
  7643.       list. 
  7644.  
  7645.  
  7646. ΓòÉΓòÉΓòÉ 16.3.138. USE_APPEND ΓòÉΓòÉΓòÉ
  7647.  
  7648. Set USE_APPEND in MYCNF.E to specify that files passed to the edit command 
  7649. without a path should be searched for along the DPATH if not found in the 
  7650. current directory.  (This gives an effect similar to the DOS APPEND command.) 
  7651.  
  7652. The default value for USE_APPEND is 0. Possible values are: 
  7653.  
  7654. 0     Use filenames as given. 
  7655.  
  7656. 1     If an unqualified filename is given and it is not found in the current 
  7657.       directory, check the DPATH for it. 
  7658.  
  7659.  
  7660. ΓòÉΓòÉΓòÉ 16.3.139. USE_EHLLAPI ΓòÉΓòÉΓòÉ
  7661.  
  7662. Set USE_EHLLAPI in MYCNF.E to specify whether Send and Receive should be called 
  7663. directly to transfer files between the workstation and the host, or whether 
  7664. they should be called via EHLLAPI. Communication Manager's Send & Receive don't 
  7665. work from inside a PM program, so we call them via EHLLAPI. The FTTERM and 
  7666. PMFTERM versions do work (and EHLLAPI does not), so we let the user override 
  7667. the default. 
  7668.  
  7669. The default value for USE_EHLLAPI is 1. Possible values are: 
  7670.  
  7671. 0     Call Send and Receive directly. 
  7672.  
  7673. 1     Use EHLLAPI calls to invoke Send and Receive. 
  7674.  
  7675. Note:  This is only relevant if HOST_SUPPORT is set to 'EMUL' and USING is set 
  7676.        to 'IBM'.
  7677.  
  7678.  
  7679. ΓòÉΓòÉΓòÉ 16.3.140. USING ΓòÉΓòÉΓòÉ
  7680.  
  7681. Set USING in MYCNF.E to specify the file transfer protocol to be used when 
  7682. HOST_SUPPORT is set to 'EMUL'. 
  7683.  
  7684. The default value for USING is 'IBM'. Possible values are: 
  7685.  
  7686. 'CM'      Communications Manager, using ALMCOPY. 
  7687.  
  7688. 'CP78'    CP78 (the CUT-mode emulator) 
  7689.  
  7690. 'CM+CP78' Both of the above, when using multiple 3270 adapters.  HA:, HB:, etc. 
  7691.           will go to CM on adapter 1; H2: will go to CP78 on adapter 2. 
  7692.  
  7693. 'IBM'     Send / Receive protocol, as used by CM, FTTERM, PMFTERM, etc. 
  7694.  
  7695. Related configuration constants: 
  7696.  
  7697. USE_EHLLAPI 
  7698.  
  7699.  
  7700. ΓòÉΓòÉΓòÉ 16.3.141. VALID_LTS ΓòÉΓòÉΓòÉ
  7701.  
  7702. Set VALID_LTS in MYCNF.E to specify what characters will be considered as 
  7703. representing valid logical terminals when HOST_SUPPORT is set to 'EMUL'. 
  7704.  
  7705. The default value for VALID_LTS is dependant on the value for USING; see 
  7706. E3EMUL.E. 
  7707.  
  7708.  
  7709. ΓòÉΓòÉΓòÉ 16.3.142. VANILLA ΓòÉΓòÉΓòÉ
  7710.  
  7711. Set VANILLA in MYCNF.E to omit all other MY*.E files when compiling.  This can 
  7712. be useful when debugging problems, to determine whether the problem is with the 
  7713. base set of macros (as configured by your MYCNF.E) or with user-written code in 
  7714. other MY*.E files. 
  7715.  
  7716. The default value for VANILLA is 0. Possible values are: 
  7717.  
  7718. 0     Include all the normal MY*.E files. 
  7719.  
  7720. 1     Compile a "vanilla" .ex file, omitting all user-written code. 
  7721.  
  7722.  
  7723. ΓòÉΓòÉΓòÉ 16.3.143. VM ΓòÉΓòÉΓòÉ
  7724.  
  7725. Set VM in MYCNF.E to specify whether support should be included for editing 
  7726. files on a VM host when HOST_SUPPORT is set to 'EMUL'. 
  7727.  
  7728. The default value for VM is 1. Possible values are: 
  7729.  
  7730. 0     Omit support for VM files. 
  7731.  
  7732. 1     Include support. 
  7733.  
  7734.  
  7735. ΓòÉΓòÉΓòÉ 16.3.144. WANT_ALL ΓòÉΓòÉΓòÉ
  7736.  
  7737. Set WANT_ALL in MYCNF.E to specify whether or not the ALL command should be 
  7738. included in the base .ex file. 
  7739.  
  7740. The default value for WANT_ALL is 0. Possible values are: 
  7741.  
  7742. 0     Omit ALL command. 
  7743.  
  7744. 1     Include ALL command. 
  7745.  
  7746. Note:  ALL can be compiled and used separately; it need not be included in the 
  7747.        base .ex file.
  7748.  
  7749.  
  7750. ΓòÉΓòÉΓòÉ 16.3.145. WANT_APPLICATION_INI_FILE ΓòÉΓòÉΓòÉ
  7751.  
  7752. Set WANT_APPLICATION_INI_FILE in MYCNF.E to specify whether or not support for 
  7753. accessing the application .ini file (e.g., EPM.INI) is included.  People 
  7754. building an E Toolkit application using the base EPM macros might want to set 
  7755. this to 0; EPM users should leave it as 1. 
  7756.  
  7757. The default value for WANT_APPLICATION_INI_FILE is 1. Possible values are: 
  7758.  
  7759. 0     Omit support. 
  7760.  
  7761. 1     Include support. 
  7762.  
  7763.  
  7764. ΓòÉΓòÉΓòÉ 16.3.146. WANT_BOOKMARKS ΓòÉΓòÉΓòÉ
  7765.  
  7766. Set WANT_BOOKMARKS in MYCNF.E to specify whether bookmark support should be 
  7767. included. 
  7768.  
  7769. The default value for WANT_BOOKMARKS is 'LINK' Possible values are: 
  7770.  
  7771. 0       Omit bookmark support 
  7772.  
  7773. 1       Include bookmark support in EPM.EX (or in EXTRA.EX if EXTRA_EX is 1). 
  7774.  
  7775. 'LINK'  Dynamically link BOOKMARK.EX at run time (if EXTRA_EX is 0; if EXTRA_EX 
  7776.         is 1, then BOOKMARK.E will be included in EXTRA.EX). 
  7777.  
  7778. Note:  BOOKMARK.E includes support for bookmarks, for IBM's Workframe/2 
  7779.        product, and for loading and saving attributes in an Extended Attribute.
  7780.  
  7781.  
  7782. ΓòÉΓòÉΓòÉ 16.3.147. WANT_BRACE_BELOW_STATEMENT ΓòÉΓòÉΓòÉ
  7783.  
  7784. Set WANT_BRACE_BELOW_STATEMENT in MYCNF.E to specify whether braces should 
  7785. appear on the same line as the statement or on the following line during syntax 
  7786. assist expansion. 
  7787.  
  7788. The default value for WANT_BRACE_BELOW_STATEMENT is 0. Possible values are: 
  7789.  
  7790. 0     The brace will appear to the right of the statement. 
  7791.  
  7792.             if () {
  7793.             } else {
  7794.             } /* endif */
  7795.  
  7796. 1     The brace will appear below the statement. 
  7797.  
  7798.             if ()
  7799.             {
  7800.             }
  7801.             else
  7802.             {
  7803.             } /* endif */
  7804.  
  7805.  
  7806. ΓòÉΓòÉΓòÉ 16.3.148. WANT_BRACKET_MATCHING ΓòÉΓòÉΓòÉ
  7807.  
  7808. Set WANT_BRACKET_MATCHING in MYCNF.E to specify whether the bracket-matching 
  7809. code in ASSIST.E should be included. 
  7810.  
  7811. The default value for WANT_BRACKET_MATCHING is 0. Possible values are: 
  7812.  
  7813. 0     Omit support 
  7814.  
  7815. 1     Include support; pressing Ctrl+[ will move the cursor to the matching 
  7816.       parenthesis ('()'), bracket ('[]'), brace ('{}'), or angle bracket('<>'). 
  7817.  
  7818.  
  7819. ΓòÉΓòÉΓòÉ 16.3.149. WANT_CHAR_OPS ΓòÉΓòÉΓòÉ
  7820.  
  7821. Set WANT_CHAR_OPS in MYCNF.E to omit support for character marking, if you're 
  7822. trying to save space. 
  7823.  
  7824. The default value for WANT_CHAR_OPS is 1. Possible values are: 
  7825.  
  7826. 0     Omit support. 
  7827.  
  7828. 1     Include support. 
  7829.  
  7830.  
  7831. ΓòÉΓòÉΓòÉ 16.3.150. WANT_CUA_MARKING ΓòÉΓòÉΓòÉ
  7832.  
  7833. Set WANT_CUA_MARKING in MYCNF.E to specify whether you want CUA-style marking 
  7834. or the more powerful EPM marking. 
  7835.  
  7836. The default value for WANT_CUA_MARKING is 0. Possible values are: 
  7837.  
  7838. 0         Use the normal EPM marking ("Advanced marking"). 
  7839.  
  7840. 1         Use the CUA-style marking. 
  7841.  
  7842. 'SWITCH'  Support both marking styles, and allow the user to change back and 
  7843.           forth between them (via an entry on the Preferences selection of the 
  7844.           Options menu). 
  7845.  
  7846. Related configuration constants: 
  7847.  
  7848. MY_CUA_MARKING_SWITCH 
  7849.  
  7850.  
  7851. ΓòÉΓòÉΓòÉ 16.3.151. WANT_DBCS_SUPPORT ΓòÉΓòÉΓòÉ
  7852.  
  7853. Set WANT_DBCS_SUPPORT in MYCNF.E to specify whether the macros should include 
  7854. support for Double Byte Character Sets. 
  7855.  
  7856. The default value for WANT_DBCS_SUPPORT is 0. Possible values are: 
  7857.  
  7858. 0     Omit DBCS support. 
  7859.  
  7860. 1     Include DBCS support. 
  7861.  
  7862.  
  7863. ΓòÉΓòÉΓòÉ 16.3.152. WANT_DM_BUFFER ΓòÉΓòÉΓòÉ
  7864.  
  7865. Set WANT_DM_BUFFER in MYCNF.E to specify whether all deleted marks should be 
  7866. saved in a buffer for later recovery 
  7867.  
  7868. The default value for WANT_DM_BUFFER is 0. Possible values are: 
  7869.  
  7870. 0     Omit support 
  7871.  
  7872. 1     Include support; a Recover mark delete entry will appear on the Edit 
  7873.       menu. 
  7874.  
  7875.  
  7876. ΓòÉΓòÉΓòÉ 16.3.153. WANT_DOSUTIL ΓòÉΓòÉΓòÉ
  7877.  
  7878. Set WANT_DOSUTIL in MYCNF.E to omit DOSUTIL.E if you are tight on space. The 
  7879. commands affected include QDATE, QTIME, DIR, SET, VOL, PATH, DPATH and OS2. 
  7880.  
  7881. The default value for WANT_DOSUTIL is '?'. Possible values are: 
  7882.  
  7883. 0     Omit DOSUTIL.E. 
  7884.  
  7885. 1     Include DOSUTIL.E. 
  7886.  
  7887. '?'   Include DOSUTIL.E if found; don't warn the user if it's not. 
  7888.  
  7889.  
  7890. ΓòÉΓòÉΓòÉ 16.3.154. WANT_DRAW ΓòÉΓòÉΓòÉ
  7891.  
  7892. Set WANT_DRAW in MYCNF.E to omit support for the DRAW command. 
  7893.  
  7894. The default value for WANT_DRAW is 'F6' Possible values are: 
  7895.  
  7896. 0     Omit support for the DRAW command. 
  7897.  
  7898. 1     Include support for the DRAW command. 
  7899.  
  7900. 'F6'  Include support for the DRAW command, and define F6 to invoke it. 
  7901.  
  7902.  
  7903. ΓòÉΓòÉΓòÉ 16.3.155. WANT_DYNAMIC_PROMPTS ΓòÉΓòÉΓòÉ
  7904.  
  7905. Set WANT_DYNAMIC_PROMPTS in MYCNF.E to specify whether support for dynamic menu 
  7906. prompting is included. This refers to the display of a prompt on the message 
  7907. line whenever a menu item is selected, describing what that menu item does. If 
  7908. support is included, the presentation of the prompts can be toggled on or off 
  7909. dynamically (via a Prompting entry on the Frame Controls pull-right menu of the 
  7910. Options menu). 
  7911.  
  7912. The default value for WANT_DYNAMIC_PROMPTS is 1. Possible values are: 
  7913.  
  7914. 0     Omit support. 
  7915.  
  7916. 1     Include support. 
  7917.  
  7918. Related configuration constants: 
  7919.  
  7920. MY_MENU_PROMPT 
  7921.  
  7922.  
  7923. ΓòÉΓòÉΓòÉ 16.3.156. WANT_EBOOKIE ΓòÉΓòÉΓòÉ
  7924.  
  7925. Set WANT_EBOOKIE in MYCNF.E to specify whether support for EBOOKIE should be 
  7926. included. 
  7927.  
  7928. The default value for WANT_EBOOKIE is 'DYNALINK'. Possible values are: 
  7929.  
  7930. 0           Omit support. 
  7931.  
  7932. 1           Include BKEYS.E in EPM.EX (or in EXTRA.EX if EXTRA_EX is set to 1). 
  7933.  
  7934. 'LINK'      always link BKEYS.EX at startup. 
  7935.  
  7936. 'DYNALINK'  Include support for EBOOKIE in the base macros, but don't try to 
  7937.             link BKEYS.EX.  EBOOKIE support will be activated when BKEYS is 
  7938.             linked, either explicitly (LINK BKEYS) or implicitly (BOOKIE ON). 
  7939.  
  7940.  
  7941. ΓòÉΓòÉΓòÉ 16.3.157. WANT_EPM_SHELL ΓòÉΓòÉΓòÉ
  7942.  
  7943. Set WANT_EPM_SHELL in MYCNF.E to specify whether support should be included for 
  7944. the EPM shell window. 
  7945.  
  7946. The default value for WANT_EPM_SHELL is 0. Possible values are: 
  7947.  
  7948. 0         Omit support. 
  7949.  
  7950. 1         Include support. 
  7951.  
  7952. 'HIDDEN'  Include support, but hide it from the Command menu until the first 
  7953.           time the user enters a Shell command. 
  7954.  
  7955.  
  7956. ΓòÉΓòÉΓòÉ 16.3.158. WANT_ET_COMMAND ΓòÉΓòÉΓòÉ
  7957.  
  7958. Set WANT_ET_COMMAND in MYCNF.E to specify whether support for the ETPM command 
  7959. should be included. 
  7960.  
  7961. The default value for WANT_ET_COMMAND is 1. Possible values are: 
  7962.  
  7963. 0     Omit support. 
  7964.  
  7965. 1     Include support. 
  7966.  
  7967.  
  7968. ΓòÉΓòÉΓòÉ 16.3.159. WANT_GET_ENV ΓòÉΓòÉΓòÉ
  7969.  
  7970. Set WANT_GET_ENV in MYCNF.E to specify whether the Get_env() routine should be 
  7971. defined in DOSUTIL.E.  The routine will be defined if either WANT_GET_ENV or 
  7972. USE_APPEND are set to 1. The EPATH and OPATH commands will only be defined if 
  7973. both the Get_Env() and Search_path() routines are defined. You can also set 
  7974. WANT_GET_ENV to 1 if you want to call Get_Env() from your own routines. 
  7975.  
  7976. The default value for WANT_GET_ENV is 1. Possible values are: 
  7977.  
  7978. 0     Omit the routine. 
  7979.  
  7980. 1     Include the routine. 
  7981.  
  7982.  
  7983. ΓòÉΓòÉΓòÉ 16.3.160. WANT_KEYWORD_HELP ΓòÉΓòÉΓòÉ
  7984.  
  7985. Set WANT_KEYWORD_HELP in MYCNF.E to specify whether support for getting help 
  7986. for a keyword is included. 
  7987.  
  7988. The default value for WANT_KEYWORD_HELP is 0. Possible values are: 
  7989.  
  7990. 0     Omit support. 
  7991.  
  7992. 1     Include support. 
  7993.  
  7994. KEYWORD_HELP_INDEX_FILE 
  7995.  
  7996.  
  7997. ΓòÉΓòÉΓòÉ 16.3.161. WANT_LAN_SUPPORT ΓòÉΓòÉΓòÉ
  7998.  
  7999. Set WANT_LAN_SUPPORT in MYCNF.E to specify whether the LOCK and UNLOCK commands 
  8000. are defined. 
  8001.  
  8002. The default value for WANT_LAN_SUPPORT is 0. Possible values are: 
  8003.  
  8004. 0     Omit support. 
  8005.  
  8006. 1     Include support. 
  8007.  
  8008. Note:  In previous versions, the file locking support was done completely in 
  8009.        the macros.  Starting with EPM version 5.51, we have internal support 
  8010.        for file locking.  Therefore, files can be locked using the Edit /k 
  8011.        option regardless of the setting of WANT_LAN_SUPPORT.
  8012.  
  8013.  
  8014. ΓòÉΓòÉΓòÉ 16.3.162. WANT_LONGNAMES ΓòÉΓòÉΓòÉ
  8015.  
  8016. Set WANT_LONGNAMES in MYCNF.E to specify whether support for long names should 
  8017. be included. See the Longnames command for a description of what this does. 
  8018.  
  8019. The default value for WANT_LONGNAMES is 0. Possible values are: 
  8020.  
  8021. 0         Omit support. 
  8022.  
  8023. 1         Include support. 
  8024.  
  8025. 'SWITCH'  Include support, and define a Longnames command to let you turn it on 
  8026.           and off at runtime. 
  8027.  
  8028. Related configuration constants: 
  8029.  
  8030. MY_SHOW_LONGNAMES 
  8031.  
  8032.  
  8033. ΓòÉΓòÉΓòÉ 16.3.163. WANT_MATH ΓòÉΓòÉΓòÉ
  8034.  
  8035. Set WANT_MATH in MYCNF.E to optionally omit MATH.E if space is needed. The 
  8036. commands affected are MATH, MATHX, MATHO, ADD, and MULT. 
  8037.  
  8038. The default value for WANT_MATH is '?'. Possible values are: 
  8039.  
  8040. 0     Omit MATH.E. 
  8041.  
  8042. 1     Include MATH.E. 
  8043.  
  8044. '?'   Include MATH.E if found; don't warn the user if it's not. 
  8045.  
  8046. Related configuration constants: 
  8047.  
  8048. INCLUDE_MATHLIB 
  8049.  
  8050.  
  8051. ΓòÉΓòÉΓòÉ 16.3.164. WANT_NODISMISS_MENUS ΓòÉΓòÉΓòÉ
  8052.  
  8053. Set WANT_NODISMISS_MENUS in MYCNF.E to specify whether the Preferences and 
  8054. Frame Controls pull-right menus under the Options menu will be dismissed as 
  8055. soon as something is selected, or whether they should stay up until explicitly 
  8056. dismissed. 
  8057.  
  8058. The default value for WANT_NODISMISS_MENUS is 1. Possible values are: 
  8059.  
  8060. 0     The above-mentioned menus will disappear as soon as anything is selected 
  8061.  
  8062. 1     The above-mentioned menus will remain active as long as only selections 
  8063.       that can have check marks are toggled. 
  8064.  
  8065.  
  8066. ΓòÉΓòÉΓòÉ 16.3.165. WANT_PROFILE ΓòÉΓòÉΓòÉ
  8067.  
  8068. Set WANT_PROFILE in MYCNF.E to specify whether a PROFILE.ERX should be called 
  8069. if one exists. 
  8070.  
  8071. The default value for WANT_PROFILE is 0. Possible values are: 
  8072.  
  8073. 0         Don't check for a Rexx profile. 
  8074.  
  8075. 1         Check for a Rexx profile whenever a new edit window is created, and 
  8076.           execute it if found. 
  8077.  
  8078. 'SWITCH'  Define a Profile command to allow turning this on and off 
  8079.           dynamically. 
  8080.  
  8081. Related configuration constants: 
  8082.  
  8083. MY_REXX_PROFILE 
  8084.  
  8085.  
  8086. ΓòÉΓòÉΓòÉ 16.3.166. WANT_SEARCH_PATH ΓòÉΓòÉΓòÉ
  8087.  
  8088. Set WANT_SEARCH_PATH in MYCNF.E to specify whether the Search_path() routine 
  8089. should be defined in DOSUTIL.E.  The routine will be defined if either 
  8090. WANT_SEARCH_PATH or USE_APPEND are set to 1. The EPATH and OPATH commands will 
  8091. only be defined if both Search_path() and Get_Env() routines are defined. You 
  8092. can also set WANT_SEARCH_PATH to 1 if you want to call Search_path() from your 
  8093. own routines. 
  8094.  
  8095. The default value for WANT_SEARCH_PATH is 0. Possible values are: 
  8096.  
  8097. 0     Omit the routine. 
  8098.  
  8099. 1     Include the routine. 
  8100.  
  8101.  
  8102. ΓòÉΓòÉΓòÉ 16.3.167. WANT_STACK_CMDS ΓòÉΓòÉΓòÉ
  8103.  
  8104. Set WANT_STACK_CMDS in MYCNF.E to specify whether the stack commands (PushMark, 
  8105. PopMark, SwapMark, PushPos, PopPos, and SwapPos) are defined. 
  8106.  
  8107. The default value for WANT_STACK_CMDS is 0. Possible values are: 
  8108.  
  8109. 0         Omit the commands. 
  8110.  
  8111. 1         Define the commands. 
  8112.  
  8113. 'SWITCH'  Define the commands and add an entry to the Preferences cascade on 
  8114.           the Options menu which allows selecting whether or not the commands 
  8115.           will be included in the Edit menu. 
  8116.  
  8117.  
  8118. ΓòÉΓòÉΓòÉ 16.3.168. WANT_STREAM_MODE ΓòÉΓòÉΓòÉ
  8119.  
  8120. Set WANT_STREAM_MODE in MYCNF.E to specify whether support for emulating a 
  8121. stream mode editor should be included. 
  8122.  
  8123. The default value for WANT_STREAM_MODE is 0. Possible values are: 
  8124.  
  8125. 0     Omit stream mode support. 
  8126.  
  8127. 1     Use only stream mode. 
  8128.  
  8129. 'SWITCH' Include support for both stream and line mode, and enable switching 
  8130.       back and forth at runtime. 
  8131.  
  8132. Related configuration constants: 
  8133.  
  8134. MY_STREAM_MODE 
  8135.  
  8136.  
  8137. ΓòÉΓòÉΓòÉ 16.3.169. WANT_TAGS ΓòÉΓòÉΓòÉ
  8138.  
  8139. Set WANT_TAGS in MYCNF.E to specify whether tags file support should be 
  8140. included. 
  8141.  
  8142. The default value for WANT_TAGS is 0. Possible values are: 
  8143.  
  8144. 0       Omit tags file support 
  8145.  
  8146. 1       Include tags file support in EPM.EX (or in EXTRA.EX if EXTRA_EX is 1). 
  8147.  
  8148. 'LINK'  Dynamically link TAGS.EX at run time (if EXTRA_EX is 0; if EXTRA_EX is 
  8149.         1, then TAGS.E will be included in EXTRA.EX). 
  8150.  
  8151. Note:  This option is only supported for EPM version 5.60 or above. See the EPM 
  8152.        5.60 / 6.00 online help for a description of what tags files are. 
  8153.  
  8154.  
  8155. ΓòÉΓòÉΓòÉ 16.4. Changing the Default Color Scheme ΓòÉΓòÉΓòÉ
  8156.  
  8157. The default color configuration can be changed. The default colors are defined 
  8158. in the bottom half of the file COLORS.E. 
  8159.  
  8160. o Defines mnemonic constants for the color numbers, so the rest of the files 
  8161.   can refer to "RED" rather than 4. 
  8162. o Configures the standard colors, by defining mnemonic field names such as 
  8163.   STATUSCOLOR. 
  8164.  
  8165. The following is a listing of the defined colors in EPM: 
  8166.  
  8167. Foreground Colors                  Background Colors
  8168. -----------------                  -----------------
  8169. BLACK          = 00                BLACKB         = 00
  8170. BLUE           = 01                BLUEB          = 16
  8171. GREEN          = 02                GREENB         = 32
  8172. CYAN           = 03                CYANB          = 48
  8173. RED            = 04                REDB           = 64
  8174. MAGENTA        = 05                MAGENTAB       = 80
  8175. BROWN          = 06                BROWNB         = 96
  8176. LIGHT_GREY     = 07                LIGHT_GREYB    =112
  8177. DARK_GREY      = 08                DARK_GREYB     =128
  8178. LIGHT_BLUE     = 09                LIGHT_BLUEB    =144
  8179. LIGHT_GREEN    = 10                LIGHT_GREENB   =160
  8180. LIGHT_CYAN     = 11                LIGHT_CYANB    =176
  8181. LIGHT_RED      = 12                LIGHT_REDB     =192
  8182. LIGHT_MAGENTA  = 13                LIGHT_MAGENTAB =208
  8183. YELLOW         = 14                YELLOWB        =224
  8184. WHITE          = 15                WHITEB         =240
  8185.                        BLINK = 128
  8186.  
  8187. You can override the standard colors by defining the appropriate constant in 
  8188. your MYCNF.E.  See the configuration constants DRAGCOLOR, MARKCOLOR, 
  8189. MESSAGECOLOR, STATUSCOLOR, and TEXTCOLOR. 
  8190.  
  8191. MYCNF.SMP includes an example of customizing your colors. 
  8192.  
  8193.  
  8194. ΓòÉΓòÉΓòÉ 16.5. Insert Mode ΓòÉΓòÉΓòÉ
  8195.  
  8196. The default insert/replace mode is set in a line which looks like: 
  8197.  
  8198. set insert_state 1      /* default setting */
  8199. set insert_state 0      /* if you prefer replace mode */
  8200.  
  8201.  
  8202. ΓòÉΓòÉΓòÉ 16.6. EOF Mode ΓòÉΓòÉΓòÉ
  8203.  
  8204. The default is that when loading a file, EPM will stop reading at the first EOF 
  8205. (End-Of-File) character it encounters at the end of a line, and when saving a 
  8206. file, it will write an EOF character at the end of the file. If you set EOF to 
  8207. 0, then when loading a file, EPM will read the file until the very end, and 
  8208. keep any EOF characters it encounters (except if the last character in the file 
  8209. is an EOF). When saving a file with EOF set to 0, EPM will not append an EOF 
  8210. character to the end. 
  8211.  
  8212. set EOF 1      /* Respect EOF characters */
  8213. set EOF 0      /* Treat EOF like text */
  8214.  
  8215.  
  8216. ΓòÉΓòÉΓòÉ 16.7. Join After Wrap ΓòÉΓòÉΓòÉ
  8217.  
  8218. When you type a word beyond the right margin EPM will perform automatic word 
  8219. wrap; the word will be moved to the next line. In addition, if you're in insert 
  8220. mode, EPM will join the next line to the wrapped word in an attempt to keep the 
  8221. paragraph flowing together. To illustrate: 
  8222.  
  8223. This is a test paragraph.  Set narrow margins,
  8224. like 'ma 1 45', go into insert mode, and type
  8225. characters into this line to cause a word wrap.
  8226. (sample next line)
  8227. If you follow the instructions you'll end up with a joined-after-wrap last 
  8228. line: 
  8229.  
  8230. wrap. (sample next line)
  8231.  
  8232. This behavior is useful if you're typing plain text, but can be annoying in a 
  8233. SCRIPT document where the next line can contain non-text tags. The 
  8234. join-after-wrap feature can be turned off with the configuration constant 
  8235. MY_JOIN_AFTER_WRAP 
  8236.  
  8237. Note that setting join_after_wrap is a simple assignment which can be done 
  8238. anywhere in the macros. Power users might like to set the option to 0 for 
  8239. SCRipt files, but 1 for all other file types. Typically this would be done in 
  8240. MYSELECT.E (see the section Including New Features into the Default 
  8241. Configuration for more details): 
  8242.  
  8243. defselect
  8244.    join_after_wrap = filetype()<>'SCR'
  8245.  
  8246.  
  8247. ΓòÉΓòÉΓòÉ 16.8. Enter Key Behavior ΓòÉΓòÉΓòÉ
  8248.  
  8249. You can easily configure the way the Enter and Ctrl-Enter keys work by setting 
  8250. the ENTER_ACTION and C_ENTER_ACTION constants in MYCNF.E, or allow dynamic 
  8251. changing of all the Enter key variations by setting the ENHANCED_ENTER_KEYS 
  8252. constant. The default action for the Enter key is to insert a new line, and the 
  8253. default action for the Ctrl+Enter key is to move to the beginning of the next 
  8254. line. 
  8255.  
  8256.  
  8257. ΓòÉΓòÉΓòÉ 17. Changing the Default Window Layout ΓòÉΓòÉΓòÉ
  8258.  
  8259. Note:  In the current release, the Options pulldown includes a Save Options 
  8260. Setting entry, which will save the current font and the status (on or off) of 
  8261. the status line, message line, and scroll bars. Once you save them (in your 
  8262. OS2.INI), EPM will set them to the same state every time an edit window is 
  8263. opened. This is an easier way of configuring than the following, if you don't 
  8264. need to recompile the macros for any other reason. 
  8265.  
  8266. The Options pulldown contains some window features you can change. If you would 
  8267. prefer for the editor to start with them different from the defaults, you can 
  8268. change them in your MYMAIN.E file. These items include the size of the font 
  8269. used, whether the status line, message line, and scroll bars should be 
  8270. displayed. 
  8271.  
  8272. If you prefer to have the status line off when starting EPM, add the following 
  8273. line to MYMAIN.E: 
  8274.  
  8275. 'togglecontrol 7'  -- Toggle the status line
  8276.  
  8277. If you prefer to have the message line on when starting EPM, add the following 
  8278. line to MYMAIN.E: 
  8279.  
  8280. 'togglecontrol 8'  -- Toggle the message line
  8281.  
  8282. If you prefer to have the scroll bars off when starting EPM, add the following 
  8283. line to MYMAIN.E: 
  8284.  
  8285. 'setscrolls'  -- Toggle the scroll bars
  8286.  
  8287. If you want to have one on and one off, add one of the following: 
  8288.  
  8289. 'togglecontrol 9'   -- Toggle the vertical scroll bar
  8290. 'togglecontrol 10'  -- Toggle the horizontal scroll bar
  8291.  
  8292. If you would like to maximize the window whenever EPM creates a new edit 
  8293. window, then add the following code to MYMAIN.E: 
  8294.  
  8295. call dynalink( 'PMWIN',
  8296.           'WINSETWINDOWPOS',
  8297.            gethwnd(6)              ||
  8298.            atoi(0) || atoi(3)      ||      -- HWND_TOP
  8299.            atoi(0)                 ||
  8300.            atoi(0)                 ||
  8301.            atoi(0)                 ||
  8302.            atoi(0)                 ||
  8303.            atoi(2048))                     -- SWP_MAXIMIZE
  8304. or: 
  8305.  
  8306. call windowsize1(0, 0, 0, 0, 2048)
  8307.  
  8308.  
  8309. ΓòÉΓòÉΓòÉ 18. Recompiling Your Editor ΓòÉΓòÉΓòÉ
  8310.  
  8311. How to recompile EPM macros. 
  8312.  
  8313.  
  8314. ΓòÉΓòÉΓòÉ 18.1. Compiling Macros ΓòÉΓòÉΓòÉ
  8315.  
  8316. To compile the macros, issue this command from the OS/2 system prompt: 
  8317.  
  8318. ETPM EPM
  8319. Use 'EPMPATH' to specify the directory containing EPM macros. If you haven't 
  8320. already done so, create an EPMPATH environment variable. For example, add the 
  8321. following to your CONFIG.SYS file: 
  8322.  
  8323. SET EPMPATH=d:\EDIT\EPM;d:\EDIT\EMACROS;d:\EDIT\MYMACROS;
  8324. This assumes that you have a directory called EDIT which contains the following 
  8325. subdirectories: EPM, EMACROS, and MYMACROS. In this case, you will need to 
  8326. recompile as described above. EPM searches the following directories for data 
  8327. files (e.g. .E and .HLP files): 
  8328.  
  8329.  1. the current directory, and then in 
  8330.  
  8331.  2. the directories specified by the EPMPATH environment variable (if it is 
  8332.     defined), and then 
  8333.  
  8334.  3. the directories specified by the DPATH environment variable, and then 
  8335.  
  8336.  4. the same directory as the editor's translator program (ETPM.EXE). 
  8337.  
  8338.  
  8339. ΓòÉΓòÉΓòÉ 18.1.1. Using the RELINK, LINK, UNLINK and ETPM commands ΓòÉΓòÉΓòÉ
  8340.  
  8341. A macro source file (ie. a .E file) must be compiled into a EPM executable file 
  8342. (ie. a .EX file). If EPM is already in memory, then the new .EX file must be 
  8343. loaded (LINKed) into EPM. Whenever EPM tries to load a new .EX file, it first 
  8344. checks to see if it is already loaded into some edit window. If it is, EPM 
  8345. checks if the file on disk is newer than the one in memory. If the dates are 
  8346. the same, the copy in memory is shared. If not, EPM will load the new .ex file. 
  8347. This means that even though you can't unlink the base .ex file (EPM.EX), you 
  8348. can recompile it and any new edit windows you open will use the new EPM.EX, 
  8349. while any existing edit windows will be unaffected. The commands that allow you 
  8350. to compile macro files are: 
  8351.  
  8352. ETPM filename                 This will compile the E macro source file 
  8353.                               specified in filename into a .EX file. The new 
  8354.                               .EX file will not be loaded into version of EPM 
  8355.                               currently loaded into memory, and thus will not 
  8356.                               be immediately available for use. If no filename 
  8357.                               is specified, the MAINFILE (default EPM.E; see 
  8358.                               the MAINFILEconfiguration constant) will be used. 
  8359. LINK filename                 This will load the .EX file specified by filename 
  8360.                               into the copy of EPM residing in memory. It will 
  8361.                               not, however, recompile the .E source file. 
  8362. RELINK filename               This will compile the .E file specified by 
  8363.                               filename into an EPM executable .EX file and load 
  8364.                               the file into the copy of EPM that currently 
  8365.                               resides in memory. If no filename is specified, 
  8366.                               the current file being edited will be used; if 
  8367.                               modified, it will be saved before being compiled. 
  8368. UNLINK filename               This will remove a previously linked .EX file 
  8369.                               specified by filename from the version of EPM 
  8370.                               that currently resides in memory. This is useful 
  8371.                               to save memory when space is at a premium. 
  8372.  
  8373. For example, create a file called TEST.E containing the following command 
  8374. definition: 
  8375.  
  8376. defc hello=
  8377.    messageNwait("Hello, world!")
  8378. You can keep the file in an open window for further changes (in fact this is 
  8379. advisable because EPM will move the cursor to the location of any mistakes if 
  8380. the file being compiled exists in the current ring). 
  8381.  
  8382. Now press the ESCape key to bring up the command line dialog box. Type: 
  8383.  
  8384. relink
  8385. The current filename and .E extension will automatically be appended to the 
  8386. relink command. Alternatively, you could have issued the following commands: 
  8387.  
  8388.         etpm test
  8389.         link test
  8390. If the compiler reported an error, edit TEST.E and correct any typos. Once your 
  8391. macro compiles correctly, try the new command HELLO. Issue the following in the 
  8392. command line dialog box: 
  8393.  
  8394. hello
  8395. A dialog box should appear with the message "Hello, world" in it. 
  8396.  
  8397.  
  8398. ΓòÉΓòÉΓòÉ 18.2. Saving Memory and Macro Complexity with the Smaller Macro Set ΓòÉΓòÉΓòÉ
  8399.  
  8400. There is an extra file distributed with the editor package called SMALL.E. This 
  8401. may be used as a replacement for EPM.E. You will save about 17k of memory at 
  8402. the expense of losing syntax-directed editing, all math commands, host-file 
  8403. support, sorting, and the qdate/qtime commands. To activate the smaller 
  8404. definitions issue the command: 
  8405.  
  8406. ETPM small.e epm.ex
  8407. from the OS/2 prompt. You may also compile it to some name other than EPM.EX, 
  8408. and thereafter load it only when desired with the /E command-line switch. 
  8409.  
  8410.  
  8411. ΓòÉΓòÉΓòÉ 19. Return Codes ΓòÉΓòÉΓòÉ
  8412.  
  8413. This variable's value is set by all commands. It will contain one of the 
  8414. following error codes if the command did not succeed. It will contain 0 if the 
  8415. command did succeed. See the RC command for further information. 
  8416.  
  8417.  RC     Error strings               RC     Error strings
  8418. ----  -----------------            ----  -----------------
  8419.   -2  File not found               -270  Not enough memory
  8420.   -3  Path not found               -271  Error in margin settings
  8421.   -4  Too many open files          -272  Error in tab settings
  8422.   -5  Access denied                -273  String not found
  8423.   -7  Memory control blocks        -274  Unknown command
  8424.   -8  Insufficient memory          -275  Missing filename
  8425.  -15  Invalid drive                -276  Line too long to join
  8426.  -18  No more files                -277  Too many files
  8427.  -19  Disk is write-protected      -278  Lines truncated
  8428.  -20  Unknown unit                 -279  Text already marked
  8429.  -21  Drive not ready              -280  Text not marked
  8430.  -22  Unknown command              -281  Source destination conflict
  8431.  -23  Data error (CRC)             -282  New file
  8432.  -24  Bad request structure length -283  Line mark required
  8433.  -25  Seek error                   -284  Error opening file
  8434.  -26  Unknown media type           -285  Error writing file
  8435.  -27  Sector not found             -286  Error reading file
  8436.  -28  Printer out of paper         -287  Insufficient disk space
  8437.  -29  Write fault                  -288  Block mark required
  8438.  -30  Read fault                   -289  Too many rings
  8439.  -31  General failure              -290  .ex file has incorrect version.
  8440.                                          Check EPM and ETPM versions
  8441.                                    -291  No main entry point
  8442.                                    -292  Error closing file
  8443.  
  8444.  -300 command line too long to shell
  8445.  -301 Cannot unlink module in use
  8446.  -302 Cannot unlink base keyset module
  8447.  -307 Link: file not found
  8448.  -308 Link: invalid filename
  8449.  -309 File already linked
  8450.  -310 Unlink: unknown module
  8451.  -311 Unlink: bad module filename
  8452.  -313 Call: unknown proc
  8453.  -314 Grep: memory error
  8454.  -315 Grep: missing [
  8455.  -316 Grep: bad range in [Alt-z]
  8456.  -317 Grep: empty []
  8457.  -318 Grep: regular expression too long
  8458.  -319 Dynalink: incorrect number of parameters
  8459.  -321 Cannot find keyset
  8460.  -322 Dynalink: unrecognized library name
  8461.  -323 Line number invalid or too large for file
  8462.  -324 Keyboard status failed
  8463.  -325 Buffer creation size too large
  8464.  -326 Dynalink: unrecognized procedure name
  8465.  -327 Too many keysets
  8466.  
  8467.  
  8468. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8469.  
  8470. The following operations can be performed from this dialog box: 
  8471.  
  8472. o A previously loaded file can be loaded by choosing from the list box. 
  8473. o A file can be loaded by typing the name of the file in the entry field. If 
  8474.   the file entered does not exist then EPM will create it. 
  8475. o You can search for a file by pressing the File list... button which will open 
  8476.   the File List dialog box. 
  8477.  
  8478.  
  8479. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8480.  
  8481. The file list dialog box is operated as follows: 
  8482.  
  8483. o If the file is in the current directory it can be loaded by choosing it from 
  8484.   the File list box. 
  8485. o The directory can be changed using the Directory list box. 
  8486. o The current disk drive can be changed through the Drive combination list box. 
  8487. o The files listed can be constrained by selecting the applicable file type 
  8488.   from the Type of file combination list box. 
  8489. o The name of the file can be typed in the Open filename entry field. 
  8490.  
  8491.  
  8492. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8493.  
  8494. If you have a separate Ring pulldown, then every time you add a file to the 
  8495. ring (with the Edit command) or remove a file from the ring (with the File or 
  8496. Quit command), the Ring pulldown will be rebuilt. This can be slow if you have 
  8497. many files in the ring. Also, the Ring pulldown is static, so it shows the ring 
  8498. starting from the file that was active the last time the pulldown was built. 
  8499. The List files in ring option is built dynamically every time it is called, so 
  8500. it always shows the contents of the ring starting with the current file.
  8501.  
  8502.  
  8503. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8504.  
  8505. draft mode: the text will be printed in the default printer font, ignoring any 
  8506. and all font and size settings.
  8507.  
  8508.  
  8509. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8510.  
  8511. NLS: National Language Support.  As used in this document, it basically refers 
  8512. to the translation of text strings into other languages.
  8513.  
  8514.  
  8515. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8516.  
  8517. WYSIWYG- What You See Is What You Get.  The printed text will look exactly like 
  8518. the text on the screen, including font and size changes within the file. 
  8519.  
  8520.  
  8521. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8522.  
  8523. A modification refers to a single action, whether that action is typing a 
  8524. single character, deleting a section of marked text, or importing a large file 
  8525. - each counts as a single change. 
  8526.  
  8527.  
  8528. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8529.  
  8530. A word is defined as any contiguous sequence of non-blank characters. (Tabs and 
  8531. line-ends are treated as blanks for this purpose.) 
  8532.  
  8533.  
  8534. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8535.  
  8536. Local Area Network 
  8537.  
  8538.  
  8539. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8540.  
  8541. A block mark contains strictly rectangular area of text.
  8542.  
  8543.  
  8544. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8545.  
  8546. A line mark is a mark in which the entire line from column 1 to column 255 is marked.
  8547.  
  8548.  
  8549. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8550.  
  8551. A word mark contains only one word. Note that this is actually a special case 
  8552. of a block mark.
  8553.  
  8554.  
  8555. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8556.  
  8557. A character mark is one which contains the stream of characters located between 
  8558. two points.
  8559.  
  8560.  
  8561. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8562.  
  8563. An extended ASCII character can be passed as a command-line argument by 
  8564. entering a string which the command recognizes and translates to the actual 
  8565. internal representation.  The string can be any of the following: 
  8566.  
  8567. a+x   Alt+X, where 'x' is any alphabetic key. 
  8568.  
  8569. c+x   Ctrl+X, where 'x' is any alphabetic key. 
  8570.  
  8571. Fn    Function key N, where 'n' is 1 to 12. 
  8572.  
  8573. x+Fn  shifted Function key N, where 'n' is 1 to 12, and 'x' can be 's' for the 
  8574.       Shift key, 'a' for the Alt key, and 'c' for the Ctrl key. 
  8575.  
  8576. In the above, '+' can actually be '+', '-', or '_'.