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