home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / WE12.ZIP / WE.DOC < prev    next >
Text File  |  1991-05-04  |  54KB  |  1,390 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.                           Wilkes Editor
  13.                             for OS/2
  14.  
  15.                  Copyright 1989 by Roger E. Wilkes
  16.  
  17.         Member of ASP - Association of Shareware Professionals
  18.  
  19.  
  20.         Distributed by: Wilkes Software, inc.
  21.                         5231 Longwood Drive
  22.                         Memphis, TN  38134
  23.  
  24.  
  25.  
  26.  
  27.                           Table of Contents
  28.  
  29.         License....................................................   i
  30.         Warranty...................................................  ii
  31.         Registration Fee........................................... iii
  32.  
  33.         Files......................................................   1
  34.         Help.......................................................   2
  35.         How WE Works...............................................   3
  36.         Control Keys...............................................   6
  37.             Cursor Movement Keys...................................   6
  38.                 CURSOR TO BEGINNING OF NEXT LINE...................   6
  39.                 CURSOR TO NEXT SENTENCE............................   7
  40.                 CURSOR TO NEXT WORD................................   8
  41.                 CURSOR TO PREVIOUS WORD............................   9
  42.                 CURSOR TO PREVIOUS SENTENCE........................  10
  43.                 CURSOR TO END OF LINE..............................  11
  44.                 CURSOR TO BEGINNING OF LINE........................  12
  45.                 CURSOR TO END OF DOCUMENT..........................  13
  46.                 CURSOR TO TOP OF DOCUMENT..........................  14
  47.                 CURSOR UP..........................................  15
  48.                 PAGE UP............................................  16
  49.                 CURSOR DOWN........................................  17
  50.                 PAGE DOWN..........................................  18
  51.                 CURSOR LEFT........................................  19
  52.                 CURSOR RIGHT.......................................  20
  53.                 CURSOR TO NEXT TAB POSITION........................  21
  54.                 BACKSPACE..........................................  22
  55.             File Controls..........................................  23
  56.                 OPEN NEW FILE - ADD TO ACTIVE LIST.................  23
  57.                 GO TO THE NEXT ACTIVE FILE.........................  24
  58.                 SAVE FILE - EXIT EDITOR OR NEXT FILE...............  25
  59.                 ESCAPE FROM WHERE YOU CURRENTLY ARE................  26
  60.             Deleting...............................................  27
  61.                 DELETE CHARACTER...................................  27
  62.                 DELETE WORD........................................  28
  63.                 DELETE LINE........................................  29
  64.             Text Block Control.....................................  30
  65.                 BEGIN BLOCK........................................  30
  66.                 END BLOCK..........................................  31
  67.                 DELETE BLOCK.......................................  32
  68.                 COPY BLOCK.........................................  33
  69.             Searching and Replacing................................  34
  70.                 SET SEARCH LITERAL.................................  34
  71.                 SEARCH FOR LITERAL ENTERED.........................  35
  72.                 SEARCH BACKWARD FOR LITERAL ENTERED................  36
  73.                 SET LITERAL TO CHANGE TO...........................  37
  74.                 SEARCH FOR AND CHANGE LITERAL......................  38
  75.                 SEARCH BACKWARD AND CHANGE LITERAL.................  39
  76.  
  77.  
  78.         Table of Contents (cont.)
  79.  
  80.  
  81.  
  82.             Help...................................................  40
  83.             Set Video Attributes...................................  41
  84.             Save Current Controls..................................  42
  85.             Other Controls.........................................  43
  86.                 UNDO LINE OR BLOCK.................................  43
  87.                 CHANGE CONTROL CHARACTERS..........................  44
  88.                 INSERT MODE (ON/OFF)...............................  45
  89.                 BLANKS AT END OF LINE (ON/OFF).....................  46
  90.                 SET SEARCH CASE SENSITIVE (ON/OFF).................  47
  91.  
  92.                                                                       i
  93.  
  94.  
  95.  
  96.             LICENSE
  97.             -------
  98.  
  99.     Wilkes Editor, version 1.0, is being distributed under the "shareware" or
  100. user supported concept.  This software is NOT free software.  The use or
  101. reproduction of this software outside of the limits specified in this license
  102. agreement is prohibited.
  103.  
  104.     Non-registered users are granted a limited license to use this software
  105. for a period not to exceed thirty days.  During this period they should test
  106. and evaluate the software to determine if it will meet their needs. The use of
  107. this software beyond this limited time period requires registration.
  108. Non-registered users are not allowed to distribute this software without the
  109. express written permission of Wilkes Software inc.  The only exceptions to this
  110. distribution restriction are SYSOPS of electronic bulletin boards and
  111. distributors of public domain and user supported software.  SYSOPS and
  112. software distributors must abide by the copying restrictions specified below.
  113.  
  114.     Registered users are granted the right to use Wilkes Editor on only
  115. one computer at any time.  Site licensing agreements are available for
  116. businesses, corporations, and government agencies.  Registered users are also
  117. granted the right to copy and distribute Wilkes Editor subject to the
  118. following conditions.
  119.  
  120.     Wilkes Editor must be copied in its original unmodified form.
  121.  
  122.     All of the files must be included in the copy.
  123.  
  124.     Wilkes Editor may not be distributed in conjunction with any other
  125.     product without the express written consent of Wilkes Software inc.
  126.  
  127.                                                                      ii
  128.  
  129.  
  130.                 WARRANTY
  131.                 --------
  132.  
  133.     Wilkes Software makes no warranty of any kind, express or implied,
  134. including without limitation, any warranties of merchantability and or fitness
  135. for a particular purpose.  Wilkes Software shall not be liable for any
  136. damages, whether direct, indirect, special or consequential arising from a
  137. failure of this software to operate in the manner desired by the user.
  138. Wilkes Software shall not be liable for any damage to data or property which
  139. may be caused directly or indirectly by use of the program.
  140.  
  141.     IN NO EVENT WILL Wilkes Software BE LIABLE TO YOU FOR ANY DAMAGES,
  142. INCLUDING ANY LOST PROFITS, LOST SAVINGS OR OTHER INCIDENTAL OR CONSEQUENTIAL
  143. DAMAGES ARISING OUT OF YOUR USE OR INABILITY TO USE THE PROGRAM, OR FOR ANY
  144. CLAIM BY ANY OTHER PARTY.
  145.  
  146.                                                                     iii
  147.  
  148.  
  149.  
  150.             REGISTRATION FEES
  151.             -----------------
  152.  
  153. The registration fee for Wilkes Editor, version 1.2, is only $45.00, with
  154. quantity discount for 10 or more copies to $30.00/copy.
  155.  
  156. Government and Education registration fee is only $35.00, with quantity
  157. discount for 10 or more copies to $25.00/copy.
  158.  
  159. You may fill out and return the registration page below or register on-line
  160. at (901)377-5608.  Enter "s" from the main menu and select the software you
  161. wish to register.
  162.  
  163. Future updates of the site license copy are provided as follows. The first
  164. update is free.   All others $15.00.
  165.  
  166. Prices are for a titled master copy and cover all charges including shipping.
  167. Licensees will be informed when updates become available and given the option
  168. to update at will.  There is NO penalty for skipping updates.
  169.  
  170.                                                                      iv
  171.  
  172.  
  173.  
  174.     If you should require assistance in the use of the Wilkes Editor, you
  175. may call the WSI BBS at (901)377-5608.
  176.  
  177.     If you like this software please let me know.  If you have enhancements
  178. you would like to see in this software, please let me know those also.  If you
  179. have complaints about the way the Wilkes Editor functions I would even like to
  180. hear those.
  181.  
  182.     The following is a registration form.  In addition to the licensing use,
  183. I will also use this information to correlate requests for additional
  184. functionality and for Wilkes Software mailing list purpose (only by Wilkes
  185. Software).  When Wilkes Software offers other software into the shareware
  186. system in the future, information will be sent to registered users of the
  187. Wilkes Editor.  If you register a non-current version, I will send the
  188. current version to you.
  189.  
  190.                                                                       v
  191.  
  192. to: Wilkes Software, inc.
  193.     5231 Longwood Drive
  194.     Memphis, TN  38134
  195.  
  196.  
  197.     Name (first) ____________________  (last) ____________________
  198.  
  199.     Title    ___________________________________
  200.  
  201.     Company  ___________________________________
  202.  
  203.     Address  ___________________________________
  204.  
  205.              ___________________________________
  206.  
  207.     City     _________________________  State  ___  Zip code _______
  208.  
  209.     Where software obtained: ________________________________________
  210.  
  211.     Version of Wilkes Editor: 1.2
  212.  
  213.     System: ____________________
  214.  
  215.     OS/2 Version: _____     Media: __ 5 1/4 (360) __ 3 1/2 (720)
  216.                                    __ 5 1/4 (1.2) __ 3 1.2 (1.44)
  217.     Phone: (____) ____ - _____
  218.  
  219.     If Gov./Ed. please specify: _____________________________________
  220.  
  221. COST:
  222.  
  223.     $45/copy - 10 + copies  $30/copy
  224.     Gov/Ed $35/copy - 10 + copies  $25/copy
  225.  
  226.     Tennessee Residents: sales tax is 7.75%
  227.  
  228.     # copies _________ x your price: ____________ + TN sales tax __________
  229.  
  230.         = Total _________________
  231.  
  232. METHOD OF PAYMENT:
  233.  
  234.     VISA/MASTERCARD/CHECK: __________
  235.  
  236.     V/MC account #: ___________________________  Expiration Date: _________
  237.  
  238.     Signature: __________________________________________________
  239.  
  240.                                                                       1
  241.  
  242.  
  243.  
  244.  
  245.         Files:
  246.         ------
  247.  
  248.             In WE12.EXE
  249.             You should have the files WE.DOC, WE.EXE,
  250.                                       DETAB.DOC and DETAB.EXE
  251.  
  252.  
  253.         Edit Files:
  254.         -----------
  255.  
  256.             You can have a maximum of 10 text files concurrently being
  257.         edited. The cumulative file sizes may be as much as OS/2 will
  258.         allow.
  259.  
  260.  
  261.         Editor Control File:
  262.         --------------------
  263.  
  264.             This file will be created the first time WE.EXE runs.
  265.         The location of this file is controlled by the environment
  266.         variable EDTCTL (short for Editor Control).  The environment
  267.         variable can be set in "startup.cmd" (remember to run startup
  268.         at the beginning of a new session or direct the system to run
  269.         a startup session when it comes up).  The OS/2 instruction to
  270.         be placed inside "startup.cmd" is
  271.  
  272.                     SET EDTCTL=<name of directory>
  273.  
  274.         There should be no spaces before or after the "=".
  275.  
  276.             The file "EDITOR.CTL" will be created in the specified
  277.         directory.
  278.  
  279.             If the environment variable EDTCTL is not set, the file
  280.         "EDITOR.CTL" will be created in the current directory.
  281.  
  282.             When the EDITOR.CTL file is created, it will contain
  283.         all of the default control keys, video attributes and initial
  284.         control settings.
  285.  
  286.             EDITOR.CTL contains the control keys, video attributes
  287.         and various control initialization settings.  Any changes
  288.         you make to control keys, video attributes, etc. will be
  289.         kept in this file (if you save the changes).
  290.  
  291.                                                                       2
  292.  
  293.  
  294.  
  295.  
  296.         Help:
  297.         -----
  298.  
  299.             Help is obtained to display the control keys current
  300.         settings by striking the F1 key.
  301.  
  302.             While the Help screen is displayed, you may use the
  303.         control keys PgUp, PgDn, up and down arrow keys and the
  304.         begin and end of document keys.
  305.  
  306.             The ESC key will get you out of the help screen and
  307.         return you to the text file you were in prior to asking
  308.         for HELP.
  309.  
  310.             The control keys are listed in the left hand column,
  311.         and may represent the depression of multiple keys.  If a
  312.         "+" is shown in this column, you must simultaneously
  313.         depress the key before and after the "+".  The abreviations
  314.         shown are:
  315.  
  316.             enter  - enter key
  317.             ctl    - control (Ctrl) key
  318.             end    - End key
  319.             home   - Home key
  320.             pgup   - page up (PgUp) key
  321.             pgdn   - page down (PgDn) key
  322.             curu   - cursor up (up arrow) key
  323.             curd   - cursor down (down arrow) key
  324.             curr   - cursor right (right arrow) key
  325.             curl   - cursor left (left arrow) key
  326.             tab    - Tab (right) key
  327.             fn     - where n is the function key number
  328.             sfn    - where n is the shifted function key number
  329.             afn    - where n is the function key number to depress
  330.                      with the Alt key
  331.             ins    - insert (Ins) key
  332.             del    - delete (Del) key
  333.             backspace - backspace (Backspace) key
  334.             esc    - escape (Esc) key
  335.  
  336.             All other keys shown are the actual keys.  For instance,
  337.             "ctl+t" would be accomplished by holding down the Ctrl key
  338.             and striking the "t" key.  Note that both keys must be
  339.             simultaneously down to accomplish "ctl+t".
  340.  
  341.                                                                       3
  342.  
  343.  
  344.  
  345.  
  346.         How WE Works:
  347.         -------------
  348.  
  349.             When you run WE, you must name the text file you wish to
  350.         edit on the command line:
  351.  
  352.                 WE letter.bob
  353.  
  354.         Note: The name of the text file is an OS/2 file name (see
  355.         Operating System/2 reference manual for file names) and may
  356.         be no longer than 39 characters maximum with full pathing.
  357.  
  358.             Example: WE c:\mailbox\outbound\letter.bob
  359.  
  360.         This restriction will also apply to files added to the working
  361.         list of text files within WE.  This restriction is created by
  362.         the space alloted to the file name on the status (bottom) line
  363.         of the WE display screen.  There is room for only 39 characters
  364.         for the file name.
  365.  
  366.  
  367.         The Display Screen:
  368.         -------------------
  369.  
  370.             The screen is broken up into 3 areas.  The first area is
  371.         where text is displayed and updated.  The second area is the
  372.         Control line, where you will enter information to control the
  373.         functioning of WE.  The Control line is located just below the
  374.         Text area.  The third area of the screen is the status line at
  375.         the bottom of the screen, containing the current location
  376.         within the text file (CUR <line>,<column>), the insert status,
  377.         whether ON or OFF, a reminder that a tab character will be
  378.         shown as up to 4 spaces, which text file is currently being
  379.         displayed (TXn - where n is 0-9) and the name of the file
  380.         currently displayed.
  381.  
  382.  
  383.         Display Lines:
  384.         --------------
  385.  
  386.             A given line of text cannot be longer than 254 characters.
  387.         Since only 80 characters of any given line can be shown on the
  388.         screen at one time, the cursor control keys (right arrow, end,
  389.         etc.) can be used to view any unshown portion of a line.  If
  390.         you move the cursor outside the first 80 characters of a line,
  391.         the entire screen will shift right or left to display the same
  392.         columns for all lines.
  393.  
  394.                                                                       4
  395.  
  396.  
  397.  
  398.  
  399.  
  400.             The cursor will stay within columns 70-80 while the columns
  401.         being displayed are outside the first 80 columns.  Don't be
  402.         alarmed when everything on the screen shifts left or right.
  403.         You can always get the screen back to the first 80 columns of
  404.         each line by hitting the "home" key.  If someone has modified
  405.         the home key, you can find the control key for "home" with
  406.         "help".  If someone has changed the location of the "help"
  407.         key, you can either locate that person, play with the keyboard
  408.         or return to OS/2 and reset the environment variable EDTCTL to
  409.         point to a different directory or delete the "EDITOR.CTL" file.
  410.         The last option should be used only sparingly if there are more
  411.         than one persons using WE on the same machine.
  412.  
  413.  
  414.         Cursor Positioning:
  415.         -------------------
  416.  
  417.             During finds, changes, block insertions, undo's, etc. WE
  418.         will attempt to maintain the cursor close to the center of
  419.         the screen.  When you perform one of the functions which uses
  420.         this method of positioning the text on the screen, don't be
  421.         startled.  The reason for this positioning is to be able to
  422.         see text prior to and after the located, inserted, manipulated
  423.         text.
  424.  
  425.  
  426.         User Friendly:
  427.         --------------
  428.  
  429.             Every attempt has been made with WE to strike a proper
  430.         balance between "don't slow the user down" and "don't let
  431.         the user hurt himself".  There are only a few places which
  432.         stop and question the motives of the user.  Hopefully, these
  433.         few instances represent the places where you would wish to
  434.         be questioned.  If you attempt to edit a file which does not
  435.         exist you will be asked if you really wish to create the file.
  436.         If you attempt to Esc a file which has had modifications made
  437.         to it, you will be asked if you really wish to drop the changes
  438.         you have made.
  439.  
  440.             The attempt was made to have a user seductive, rather than
  441.         a user friendly Editor.
  442.  
  443.                                                                       5
  444.  
  445.  
  446.  
  447.  
  448.         Ascii Graphics:
  449.         ---------------
  450.  
  451.             WE will allow most Ascii Graphic characters - where they
  452.         do not conflict with control keys.  As the Esc character is
  453.         used heavily with "ANSI.SYS" graphics, a special character is
  454.         set aside to introduce the ESC character into text, while
  455.         having the Esc key always represent the escape control key.
  456.         The escape control key is the only non-modifiable control key.
  457.         The method of entering an ESC character into a text file is to
  458.         depress the Alt key and enter 1 then 9 on the numeric key pad,
  459.         then lifting the Alt key (i.e. keep the Alt key depressed while
  460.         entering both the 1 and the 9 keys).
  461.  
  462.             Ascii Graphic characters must be entered in the same way
  463.         as the special ESC.  Keep the Alt key depressed while entering
  464.         the number representing the Ascii Graphic character.
  465.  
  466.  
  467.         Tab Character:
  468.         --------------
  469.  
  470.             WE does not use tab characters internally but will accept
  471.         text files which use them.  Since WE acts as if a tab stop
  472.         were set at every 4th column (i.e. columns 4, 8, 12, 16, 20,
  473.         etc.) the tab characters will be translated to spaces in order
  474.         to move to these tab stops.  If you have text files containing
  475.         tab characters, you may wish to run "DETAB.EXE" on them before
  476.         using WE.  The DETAB program will translate tab characters to
  477.         the desired number of spaces.
  478.  
  479.                                                                       6
  480.  
  481.  
  482.  
  483.  
  484.         Control Keys:
  485.         -------------
  486.  
  487.             Cursor Movement Keys:
  488.             ---------------------
  489.  
  490.                 enter: CURSOR TO BEGINNING OF NEXT LINE
  491.                 ---------------------------------------
  492.  
  493.                     The action of the enter key works in one of two
  494.                 ways, depending on the current setting of "insert".
  495.  
  496.                 1) Insert ON - The current line will be broken into
  497.                                two lines consisting of the portion of
  498.                                the line prior to the cursor position
  499.                                and the portion of the line under the
  500.                                cursor to the end of the line.  The
  501.                                second line will be positioned at the
  502.                                beginning of the newly introduced line.
  503.  
  504.                 2) Insert OFF - The cursor will move to the beginning
  505.                                of the next line.  If you are on the
  506.                                last line of the text you will receive
  507.                                a message on the control line to the
  508.                                effect that you are on the last line of
  509.                                text with insert OFF.
  510.  
  511.                 The enter key is the only way to introduce new lines
  512.                 of text other than BLOCK COPY and UNDO.  In order to
  513.                 insert a new line (open line) into the text, place the
  514.                 cursor at the beginning of the line just below the
  515.                 position of the open line and hit the enter key.  You
  516.                 can also simply key in the new line text and hit the
  517.                 enter key to break the line at the position of the
  518.                 cursor.
  519.  
  520.                                                                       7
  521.  
  522.  
  523.  
  524.  
  525.                 ctl+t: CURSOR TO NEXT SENTENCE
  526.                 ------------------------------
  527.  
  528.                     This control will move the cursor to the position
  529.                 in the text to the position of the first text following
  530.                 one of the sentence termination characters:
  531.  
  532.                 . (period)
  533.                 ! (exclamation point)
  534.                 ? (question mark)
  535.  
  536.                 This control was introduced to facilitate the writing
  537.                 of correspondence - for programmers who write letters
  538.                 with their editor.
  539.  
  540.                     see CURSOR TO PREVIOUS SENTENCE
  541.  
  542.                                                                       8
  543.  
  544.  
  545.  
  546.  
  547.                 ctl+w: CURSOR TO NEXT WORD
  548.                 --------------------------
  549.  
  550.                     The CURSOR TO NEXT WORD will move the cursor down
  551.                 in the text to the first non-blank character following
  552.                 one or more blank characters.
  553.  
  554.                     A word is considered to be any contiguous set of
  555.                 non-blanks.
  556.  
  557.                     see CURSOR TO PREVIOUS WORD
  558.  
  559.                                                                       9
  560.  
  561.  
  562.  
  563.  
  564.                 alt+w: CURSOR TO PREVIOUS WORD
  565.                 ------------------------------
  566.  
  567.                     The CURSOR TO PREVIOUS WORD will move the cursor
  568.                 up in the text to the beginning of the current word
  569.                 or to the previous word if the cursor is positioned
  570.                 to the immediate right of the beginning of the line
  571.                 or to the immediate right of a space.
  572.  
  573.                     A word is considered to be any contiguous set of
  574.                 non-blanks.
  575.  
  576.                     see CURSOR TO NEXT WORD
  577.  
  578.                                                                      10
  579.  
  580.  
  581.  
  582.  
  583.                 alt+t: CURSOR TO PREVIOUS SENTENCE
  584.                 ----------------------------------
  585.  
  586.                     The CURSOR TO PREVIOUS SENTENCE will move the
  587.                 cursor to the beginning of the current sentence or
  588.                 to the beginning of the previous sentence, where a
  589.                 sentence is terminated by the characters:
  590.  
  591.                 . (period)
  592.                 ! (exclamation point)
  593.                 ? (question mark)
  594.  
  595.                 If any characters other than blanks are between the
  596.                 cursor and the prior sentence terminator the cursor
  597.                 will be moved to the beginning of the current
  598.                 sentence.
  599.  
  600.                     see CURSOR TO NEXT SENTENCE
  601.  
  602.                                                                      11
  603.  
  604.  
  605.  
  606.  
  607.                 end: CURSOR TO END OF LINE
  608.                 --------------------------
  609.  
  610.                     The CURSOR TO END OF LINE control will move the
  611.                 cursor to the end of the current line.
  612.  
  613.                     If the line is longer than 80 characters,  all
  614.                 lines displayed will be shifted to correspond to the
  615.                 line the cursor is on.
  616.  
  617.                     see CURSOR TO BEGINNING OF LINE
  618.  
  619.                                                                      12
  620.  
  621.  
  622.  
  623.  
  624.  
  625.                 home: CURSOR TO BEGINNING OF LINE
  626.                 ---------------------------------
  627.  
  628.                     The CURSOR TO BEGINNING OF LINE control will
  629.                 position the cursor to the first column of the current
  630.                 line.  If the lines currently displayed do not show
  631.                 text from the beginning of the line, all lines of the
  632.                 display will shift right to display from the first
  633.                 column.
  634.  
  635.                     see CURSOR TO END OF LINE
  636.  
  637.                                                                      13
  638.  
  639.  
  640.  
  641.  
  642.  
  643.                 ctl+pgdn: CURSOR TO END OF DOCUMENT
  644.                 -----------------------------------
  645.  
  646.                     The CURSOR TO END OF DOCUMENT will move the cursor
  647.                 to the last line of the text.
  648.  
  649.                     see CURSOR TO TOP OF DOCUMENT
  650.  
  651.                                                                      14
  652.  
  653.  
  654.  
  655.  
  656.                 ctl+pgup: CURSOR TO TOP OF DOCUMENT
  657.                 -----------------------------------
  658.  
  659.                     The CURSOR TO TOP OF DOCUMENT will move the cursor
  660.                 to the first line of text.
  661.  
  662.                     see CURSOR TO END OF DOCUMENT
  663.  
  664.                                                                      15
  665.  
  666.  
  667.  
  668.  
  669.                 curu: CURSOR UP
  670.                 ---------------
  671.  
  672.                     CURSOR UP moves the cursor to the previous line
  673.                 of text, if there is a previous line of text.  If the
  674.                 cursor is already at the first line of text, there
  675.                 will be no action.  The column in which the cursor
  676.                 resides is unchanged.
  677.  
  678.                     see CURSOR DOWN, CURSOR RIGHT and CURSOR LEFT
  679.  
  680.                                                                      16
  681.  
  682.  
  683.  
  684.  
  685.                 pgup: PAGE UP
  686.                 -------------
  687.  
  688.                     The PAGE UP control will bring the previous 23
  689.                 lines of text onto the screen.  If there are less than
  690.                 23 lines of text prior to the first line currently
  691.                 being displayed, the displayed lines will begin with
  692.                 the first line of text in the document.
  693.  
  694.                     see PAGE DOWN
  695.  
  696.                                                                      17
  697.  
  698.  
  699.  
  700.  
  701.                 curd: CURSOR DOWN
  702.                 -----------------
  703.  
  704.                     The CURSOR DOWN control will position the cursor to
  705.                 the next line, in the same column it is presently in.
  706.  
  707.                     If the cursor is on the last line of the document,
  708.                 no action will be taken.
  709.  
  710.                     see CURSOR UP, CURSOR RIGHT and CURSOR LEFT
  711.  
  712.                                                                      18
  713.  
  714.  
  715.  
  716.  
  717.                 pgdn: PAGE DOWN
  718.                 ---------------
  719.  
  720.                     The PAGE DOWN control will bring the next 23
  721.                 lines of text onto the screen.  If the number of
  722.                 lines of text after the line on which the cursor
  723.                 resides is less than 23, then the last lines of text
  724.                 will be displayed.
  725.  
  726.                     see PAGE UP
  727.  
  728.                                                                      19
  729.  
  730.  
  731.  
  732.  
  733.                 curl: CURSOR LEFT
  734.                 -----------------
  735.  
  736.                     The CURSOR LEFT control moves the cursor one
  737.                 position to the left.  If the cursor is at the first
  738.                 column of the line, no action will be taken.
  739.  
  740.                     see CURSOR UP, CURSOR DOWN and CURSOR RIGHT
  741.  
  742.                                                                      20
  743.  
  744.  
  745.  
  746.  
  747.                 curr: CURSOR RIGHT
  748.                 ------------------
  749.  
  750.                     The CURSOR RIGHT control moves the cursor one
  751.                 position to the right.  If the cursor moves beyond
  752.                 the first 80 columns of the line, all lines displayed
  753.                 will shift left to keep the cursor within columns
  754.                 70-80.  If the cursor attempts to move beyond the
  755.                 maximum length of a line, a message to that effect
  756.                 will be displayed on the control line.
  757.  
  758.                     see CURSOR UP, CURSOR DOWN and CURSOR LEFT
  759.  
  760.                                                                      21
  761.  
  762.  
  763.  
  764.  
  765.                 tab: CURSOR TO NEXT TAB POSITION
  766.                 --------------------------------
  767.  
  768.                     There are automatic tab stops at every 4th column
  769.                 of the line.  Striking the TAB key will move the
  770.                 cursor to the next tab stop and insert spaces into
  771.                 the text sufficient to correspond to the way the text
  772.                 looks on the screen.
  773.  
  774.                                                                      22
  775.  
  776.  
  777.  
  778.  
  779.                 backspace: BACKSPACE
  780.                 --------------------
  781.  
  782.                     The BACKSPACE control will act in one of two
  783.                 ways, depending on the current setting of the INS
  784.                 (insert) control:
  785.  
  786.                 1) Insert ON - The cursor will move left one position,
  787.                                deleting the character which was in
  788.                                that position, and the text following
  789.                                the cursor on the line will be shifted
  790.                                left one position.
  791.  
  792.                 2) Insert OFF - The cursor will move left one position,
  793.                                 and delete the character in the column
  794.                                 to which it moves, but the text under
  795.                                 and after the cursor for the line will
  796.                                 remain in position.
  797.  
  798.                                                                      23
  799.  
  800.  
  801.  
  802.  
  803.             File Controls:
  804.             --------------
  805.  
  806.                 f4: OPEN NEW FILE - ADD TO ACTIVE LIST
  807.                 --------------------------------------
  808.  
  809.                     WE can work with up to 10 active files at a
  810.                 time.
  811.  
  812.                     In order to add a new file to the active files
  813.                 list, hit the F4 key.  You will be asked for the
  814.                 file name on the control line.  Enter up to 39
  815.                 characters for the OS/2 file name and hit the
  816.                 enter key.  The new file will be brought to the
  817.                 screen.
  818.  
  819.                     If a requested file does not exist, you will
  820.                 be asked, on the control line, if you wish to
  821.                 create the file.  If you answer "n", the cursor
  822.                 will move back to the text position it was on
  823.                 prior to F4 having been struck.  If you answer "y",
  824.                 you will be presented with a blank text area in
  825.                 which to enter text.
  826.  
  827.                     If you attempt to excede the maximum of 10
  828.                 active files, you will be notified on the control
  829.                 line.
  830.  
  831.                     see GO TO THE NEXT ACTIVE FILE, SET VIDEO
  832.                 ATTRIBUTES, SAVE FILE - EXIT EDITOR OR NEXT FILE
  833.                 and ESCAPE FROM WHERE YOU CURRENTLY ARE
  834.  
  835.                                                                      24
  836.  
  837.  
  838.  
  839.  
  840.                 af4: GO TO THE NEXT ACTIVE FILE
  841.                 -------------------------------
  842.  
  843.                     The name of the current active text file is
  844.                 displayed on the status line, and just in front of
  845.                 the file name is an indicator of which of the 10
  846.                 active text files you are currently working in.
  847.                 If you have multiple copies of the same text file
  848.                 active the TXn indicator on the status line will
  849.                 help distinguish the text file iteration.  You may
  850.                 also set the video attributes separately for each
  851.                 of the 10 active files in order to further
  852.                 distinguish which text file is being worked in.
  853.  
  854.                     see OPEN NEW FILE - ADD TO ACTIVE LIST, SET VIDEO
  855.                 ATTRIBUTES, SAVE FILE - EXIT EDITOR OR NEXT FILE
  856.                 and ESCAPE FROM WHERE YOU CURRENTLY ARE
  857.  
  858.                                                                      25
  859.  
  860.  
  861.  
  862.  
  863.                 cf1: SAVE FILE - EXIT EDITOR OR NEXT FILE
  864.                 -----------------------------------------
  865.  
  866.                     Saving a file to disk is accomplished by holding
  867.                 the control key down and hitting the F1 key.  The
  868.                 text file will be written to disk.  The text file
  869.                 already on disk by the same name will be renamed to
  870.                 have a file name extension of .BAK.  If the file name
  871.                 of the text file contains a file name of .BAK, it
  872.                 will be renamed to have a file name extension of .BK2.
  873.  
  874.                     If a file is saved which has had no modifications
  875.                 made to it, a message to that effect will be displayed
  876.                 on the control line, or if there are no more active
  877.                 files, it will be displayed upon return to OS/2.
  878.  
  879.                     When a text file has been saved to disk, there
  880.                 will be an additional open position in which you may
  881.                 add another text file to the active list.
  882.  
  883.                     see OPEN NEW FILE - ADD TO ACTIVE LIST, GO TO THE
  884.                 NEXT ACTIVE FILE, SET VIDEO ATTRIBUTES,
  885.                 and ESCAPE FROM WHERE YOU CURRENTLY ARE
  886.  
  887.                                                                      26
  888.  
  889.  
  890.  
  891.  
  892.                 esc: ESCAPE FROM WHERE YOU CURRENTLY ARE
  893.                 ----------------------------------------
  894.  
  895.                     The reason ESC was included in the file controls
  896.                 is that this is where it has its strongest effect.
  897.  
  898.                     If the cursor is within the text area of the
  899.                 screen, the ESC will drop the text without saving
  900.                 it to disk.  If you have made changes to the text
  901.                 a prompt will appear on the control line:
  902.  
  903.                     Drop Changes (y/n)?
  904.  
  905.                 If you wish to drop the changes made to this text
  906.                 answer "y" and the text will go away.  If you have
  907.                 made changes which you don't wish to destroy,
  908.                 answer "n" and the ESC will be forgotten and you
  909.                 will be returned to the text area of the same
  910.                 text file on which you were working.  Note that
  911.                 this prompt is the only prompt from which you
  912.                 cannot escape.  You must answer "y" or "n".
  913.  
  914.                     The ESC control is the only control which cannot
  915.                 be modified.
  916.  
  917.                     ESC will generally escape you from whereever
  918.                 you are.  For instance, if you are entering a new
  919.                 file name to be added to the active list, and
  920.                 decide not to add a new file at this time, hitting
  921.                 the ESC key will move the cursor back to the text
  922.                 area of the screen for you to continue to work in
  923.                 the current text file.
  924.  
  925.                     see OPEN NEW FILE - ADD TO ACTIVE LIST, GO TO THE
  926.                 NEXT ACTIVE FILE, SET VIDEO ATTRIBUTES and
  927.                 SAVE FILE - EXIT EDITOR OR NEXT FILE
  928.  
  929.                                                                      27
  930.  
  931.  
  932.  
  933.  
  934.             Deleting:
  935.             ---------
  936.  
  937.                 del: DELETE CHARACTER
  938.                 ---------------------
  939.  
  940.                     The DELETE CHARACTER control will delete the
  941.                 character under the cursor and move the text to the
  942.                 right of the cursor one position to the left to
  943.                 close up the deleted character position.
  944.  
  945.                     see DELETE WORD, DELETE LINE and DELETE BLOCK
  946.  
  947.                                                                      28
  948.  
  949.  
  950.  
  951.  
  952.                 sf6: DELETE WORD
  953.                 ----------------
  954.  
  955.                     The DELETE WORD control will delete the word
  956.                 under the cursor and draw the text following the
  957.                 deleted word left to close up the gap created by
  958.                 deleting the word.  If the cursor is sitting on
  959.                 a blank, no action will be taken.
  960.  
  961.                     see DELETE CHARACTER, DELETE LINE and DELETE
  962.                 BLOCK
  963.  
  964.                                                                      29
  965.  
  966.  
  967.  
  968.  
  969.                 f6: DELETE LINE
  970.                 ---------------
  971.  
  972.                     The DELETE LINE control will take one of two
  973.                 actions depending on where the cursor is on the
  974.                 line:
  975.  
  976.                 1) Cursor at first position of the line - The
  977.                    entire line will be deleted and following
  978.                    text lines shifted up to fill in the gap
  979.                    created by the deleted line.
  980.  
  981.                 2) Cursor not at first position of the line - The
  982.                    text under and following the cursor on the line
  983.                    will be deleted.  The line will remain in place.
  984.  
  985.                     see DELETE CHARACTER, DELETE WORD and DELETE
  986.                 BLOCK
  987.  
  988.                                                                      30
  989.  
  990.  
  991.  
  992.  
  993.             Text Block Control:
  994.             ------------------------
  995.  
  996.                 ctl+home: BEGIN BLOCK
  997.                 ---------------------
  998.  
  999.                     The BEGIN BLOCK control marks the position of
  1000.                 the cursor as the beginning of a block.
  1001.  
  1002.                     If any changes are made to the text (other than
  1003.                 cursor movement), the begin block marking will be
  1004.                 terminated.
  1005.  
  1006.                     The purpose of the begin block marking is to
  1007.                 subsequently mark the end of the block, in order to
  1008.                 copy the contents of the block or to delete the
  1009.                 block of text.
  1010.  
  1011.                                                                      31
  1012.  
  1013.  
  1014.  
  1015.  
  1016.                 ctl+end: END BLOCK
  1017.                 ------------------
  1018.  
  1019.                     The END BLOCK control marks the end of a text
  1020.                 block.
  1021.  
  1022.                     When the end of the block is marked, the entire
  1023.                 block is copied to a new memory location, in order
  1024.                 to preserve the contents of the block if the block
  1025.                 is subsequently deleted.  This allows us to copy the
  1026.                 block of text into a new location even after the
  1027.                 block has been deleted from its original location.
  1028.  
  1029.                                                                      32
  1030.  
  1031.  
  1032.  
  1033.  
  1034.                 ctl+del: DELETE BLOCK
  1035.                 ---------------------
  1036.  
  1037.                     The DELETE BLOCK control will delete the marked
  1038.                 block from the text file it was defined for.  If you
  1039.                 mark a block and change text files, you will not be
  1040.                 allowed to delete the block until you return to the
  1041.                 text file for which the block was originally defined.
  1042.  
  1043.                                                                      33
  1044.  
  1045.  
  1046.  
  1047.  
  1048.                 ctl+b: COPY BLOCK
  1049.                 -----------------
  1050.  
  1051.                     The COPY BLOCK control allows you to copy a block
  1052.                 of information from one point in the text to another
  1053.                 point.  This includes the ability to copy the block
  1054.                 from one text file into another text file.
  1055.  
  1056.                                                                      34
  1057.  
  1058.  
  1059.  
  1060.  
  1061.             Searching and Replacing:
  1062.             ------------------------
  1063.  
  1064.                 alt+l: SET SEARCH LITERAL
  1065.                 -------------------------
  1066.  
  1067.                     When you enter the SET SEARCH LITERAL control
  1068.                 you will be prompted on the control line for the
  1069.                 search literal.  Enter the text to be searched for
  1070.                 at the cursor, then hit the enter key.  The cursor
  1071.                 will be returned to the text area.  The search
  1072.                 literal will be retained until you either change
  1073.                 the search literal by performing the SET SEARCH
  1074.                 LITERAL control again or exit WE.
  1075.  
  1076.                     see SEARCH FOR LITERAL ENTERED,
  1077.                 SEARCH BACKWARD FOR LITERAL ENTERED,
  1078.                 SEARCH FOR AND CHANGE LITERAL and
  1079.                 SEARCH BACKWARD AND CHANGE LITERAL
  1080.  
  1081.                                                                      35
  1082.  
  1083.  
  1084.  
  1085.  
  1086.                 alt+f: SEARCH FOR LITERAL ENTERED
  1087.                 ---------------------------------
  1088.  
  1089.                     The literal entered refers to the literal
  1090.                 entered during the SET SEARCH LITERAL control.
  1091.  
  1092.                     The search's case sensitivity may be altered
  1093.                 by the SET SEARCH CASE SENSITIVITY (ON/OFF)
  1094.                 control.  See this control below.
  1095.  
  1096.                     When a matching literal is found, the cursor
  1097.                 will be placed at the end of the literal, in
  1098.                 order not to find that same literal on successive
  1099.                 searches.  This also allows the search backward
  1100.                 to find this literal first.
  1101.  
  1102.                     see SET SEARCH LITERAL and
  1103.                 SET SEARCH CASE SENSITIVITY (ON/OFF)
  1104.  
  1105.                                                                      36
  1106.  
  1107.  
  1108.  
  1109.  
  1110.                 alt+g: SEARCH BACKWARD FOR LITERAL ENTERED
  1111.                 ------------------------------------------
  1112.  
  1113.                     Similar to SEARCH FOR LITERAL ENTERED control,
  1114.                 except that the literal is searched for backward
  1115.                 through the text.
  1116.  
  1117.                     see SET SEARCH LITERAL, SEARCH FOR LITERAL
  1118.                 ENTERED and SET SEARCH CASE SENSITIVITY (ON/OFF)
  1119.  
  1120.                                                                      37
  1121.  
  1122.  
  1123.  
  1124.  
  1125.                 alt+h: SET LITERAL TO CHANGE TO
  1126.                 -------------------------------
  1127.  
  1128.                     The SET LITERAL TO CHANGE TO control lets
  1129.                 you specify a literal to be substituted for the
  1130.                 literal specified in the SET SEARCH LITERAL.
  1131.                 As this literal is specified independent of the
  1132.                 SEARCH LITERAL, you may change the SEARCH LITERAL
  1133.                 several times, changing several literals to the
  1134.                 same LITERAL TO CHANGE TO.
  1135.  
  1136.                     see SEARCH FOR AND CHANGE LITERAL,
  1137.                 SEARCH BACKWARD AND CHANGE LITERAL
  1138.  
  1139.                                                                      38
  1140.  
  1141.  
  1142.  
  1143.  
  1144.                 alt+j: SEARCH FOR AND CHANGE LITERAL
  1145.                 ------------------------------------
  1146.  
  1147.                     The SEARCH FOR AND CHANGE LITERAL control
  1148.                 uses the SEARCH FOR LITERAL ENTERED routine to
  1149.                 locate the literal to be replaced.
  1150.  
  1151.                     see SET LITERAL TO CHANGE TO,
  1152.                 SET SEARCH LITERAL, SEARCH FOR LITERAL ENTERED and
  1153.                 SET SEARCH CASE SENSITIVITY (ON/OFF)
  1154.  
  1155.                                                                      39
  1156.  
  1157.  
  1158.  
  1159.  
  1160.                 alt+k: SEARCH BACKWARD AND CHANGE LITERAL
  1161.                 -----------------------------------------
  1162.  
  1163.                     The SEARCH BACKWARD AND CHANGE LITERAL control
  1164.                 uses the SEARCH BACKWARD FOR LITERAL ENTERED
  1165.                 routine to locate the literal to be replaced.
  1166.  
  1167.                     see SET LITERAL TO CHANGE TO,
  1168.                 SET SEARCH LITERAL, SEARCH BACKWARD FOR LITERAL
  1169.                 ENTERED and SET SEARCH CASE SENSITIVITY (ON/OFF)
  1170.  
  1171.                                                                      40
  1172.  
  1173.  
  1174.  
  1175.  
  1176.             Help:
  1177.             -----
  1178.  
  1179.                 help: HELP
  1180.                 ----------
  1181.  
  1182.                     Help is similar to a separate text file which
  1183.                 displays two columns:
  1184.  
  1185.                 1) The current key(s) to access the control and
  1186.                 2) An explaination of the control.
  1187.  
  1188.                     These columns cannot be modified directly, but
  1189.                 will change if you modify the control keys with
  1190.                 CHANGE CONTROL KEYS discussed below.
  1191.  
  1192.                     The help display is an exhaustive display of
  1193.                 the control keys and their meanings.
  1194.  
  1195.                                                                      41
  1196.  
  1197.  
  1198.  
  1199.  
  1200.             Set Video Attributes:
  1201.             ---------------------
  1202.  
  1203.                 ctl+v: SET VIDEO ATTRIBUTES
  1204.                 ---------------------------
  1205.  
  1206.                     The video attributes are kept separately for
  1207.                 each of the 10 possible active text files.
  1208.  
  1209.                     Each text file's video attributes consists of
  1210.                 three attributes - corresponding to the screen
  1211.                 areas:
  1212.  
  1213.                 1) Text area - where you enter and modify text
  1214.                 2) Control line - where you receive messages and
  1215.                    answer prompts (questions)
  1216.                 3) Status line - at the bottom of the screen
  1217.  
  1218.                     You may modify only one or two of the areas
  1219.                 video attributes if you wish by escaping (ESC)
  1220.                 after making the modifications you wish.
  1221.  
  1222.                     The video attributes are modified only for
  1223.                 the text file area you are currently working in.
  1224.                 The video attributes will correspond to the "n" of
  1225.                 status lines "TXn".
  1226.  
  1227.                                                                      42
  1228.  
  1229.  
  1230.  
  1231.  
  1232.             Save Current Controls:
  1233.             ----------------------
  1234.  
  1235.                 ctl+y: SAVE THE CURRENT CONTROLS
  1236.                 --------------------------------
  1237.  
  1238.                     The EDITOR.CTL file contains all of the
  1239.                 control key settings, video attributes and
  1240.                 control initialization settings.
  1241.  
  1242.                     If you have made changes to any of the
  1243.                 above and wish to save them, depress the Ctrl
  1244.                 key and hit "y".  This will write the current
  1245.                 controls into the EDITOR.CTL file.
  1246.  
  1247.                     Since WE will create a new EDITOR.CTL file
  1248.                 if it is missing, you may move back to the
  1249.                 default control settings by deleting the
  1250.                 EDITOR.CTL file from the OS/2 prompt.
  1251.  
  1252.                                                                      43
  1253.  
  1254.  
  1255.  
  1256.  
  1257.             Other Controls:
  1258.             ---------------
  1259.  
  1260.                 ctl+u: UNDO LINE OR BLOCK
  1261.                 -------------------------
  1262.  
  1263.                     When a line is updated (the update takes place
  1264.                 when you move the cursor from the modified line)
  1265.                 it is stored in its original form.  In this way we
  1266.                 can recover text which has been modified, back to
  1267.                 its original contents.
  1268.  
  1269.                     The UNDO will undo a line or block at a time.
  1270.  
  1271.                     The scope of the undo is by individual text file.
  1272.                 If you wish to undo changes made to several files,
  1273.                 you will have to go to each text file and undo them
  1274.                 individually.
  1275.  
  1276.                     Undo will only undo while you are within WE.
  1277.                 When WE is exited, all information pertaining to
  1278.                 undo is forgotten.
  1279.  
  1280.                     The maximum number of lines/blocks which may
  1281.                 be undone is 100 per text file.  If you need to go
  1282.                 back further than this, you may need to escape the
  1283.                 text file and drop all changes.
  1284.  
  1285.                     Note that the undo will be stored until you
  1286.                 undo or it is pushed off the undo stack (100 entries).
  1287.                 If you undo a line/block, modify a line, and undo
  1288.                 the modifications to that line, the other entries
  1289.                 on the undo stack are still available to be undone.
  1290.  
  1291.                                                                      44
  1292.  
  1293.  
  1294.  
  1295.  
  1296.                 f2: CHANGE CONTROL CHARACTERS
  1297.                 -----------------------------
  1298.  
  1299.                     If you wish to change the key(s) associated with
  1300.                 a particular control, this control will allow you
  1301.                 to make that change.
  1302.  
  1303.                     If, for instance, you wish to have the OPEN
  1304.                 NEW FILE control to be placed on the F9 key rather
  1305.                 than the F4 key (default), strike F2.  The control
  1306.                 line will contain "Enter CURRENT Control Character".
  1307.                 Hit the control character to be changed - F4.  The
  1308.                 current control setting for F4 will be displayed
  1309.                 and a prompt for the control key(s) to be the new
  1310.                 key(s) for opening a new file.  Enter F9.  The
  1311.                 control key change is accomplished.
  1312.  
  1313.                     There are several control key combinations with
  1314.                 the Ctrl key + another key and Alt key + another
  1315.                 key.
  1316.  
  1317.                     You will not be allowed to change a control to
  1318.                 a key which is already being used as a control key.
  1319.  
  1320.                                                                      45
  1321.  
  1322.  
  1323.  
  1324.  
  1325.                 ins: INSERT MODE (ON/OFF)
  1326.                 -------------------------
  1327.  
  1328.                     The insert mode current setting is displayed
  1329.                 on the status line at the bottom of the screen.
  1330.  
  1331.                     The insert mode setting will alter the way
  1332.                 the enter and backspace keys work.
  1333.  
  1334.                     If insert mode is OFF, you will be overtyping
  1335.                 text.  If insert mode is ON, you will be inserting
  1336.                 text at the position of the cursor.
  1337.  
  1338.                                                                      46
  1339.  
  1340.  
  1341.  
  1342.  
  1343.                 alt+1: BLANKS AT END OF LINE (ON/OFF)
  1344.                 -------------------------------------
  1345.  
  1346.                     The BLANKS AT END OF LINE control determines
  1347.                 whether any terminating blanks will be saved or
  1348.                 not.  This action takes place when the line is
  1349.                 updated, and applies only at the line update level.
  1350.  
  1351.                     If you set this control to ON, modify a line and
  1352.                 move the cursor to a new line, any blanks at the end
  1353.                 of the line will be retained.
  1354.  
  1355.                     If you set this control to OFF, modify a line
  1356.                 and move the cursor to a new line, blanks at the end
  1357.                 of the updated line will be removed.
  1358.  
  1359.                     This control does not display, but you can find
  1360.                 out if it is on or off by testing it.  When you move
  1361.                 to the end of the line with the END control, you are
  1362.                 moving to the position just past the end of the line
  1363.                 and if there are blanks at the end of the line, the
  1364.                 cursor will be to the right of these blanks.
  1365.  
  1366.                                                                      47
  1367.  
  1368.  
  1369.  
  1370.  
  1371.                 af1: SET SEARCH CASE SENSITIVE (ON/OFF)
  1372.                 ---------------------------------------
  1373.  
  1374.                     This control determines whether upper case and
  1375.                 lower case will match on a search.  It is defaulted
  1376.                 to on, but may be changed and saved.
  1377.  
  1378.                     Example: If we are searching for "screen" and
  1379.                 case sensitive is ON, we would not get a match on
  1380.                 text containing "Screen".  If case sensitive is off
  1381.                 "screen" would match "Screen".
  1382.  
  1383.                     The case sensitive control determines matches on
  1384.                 both searches and search and replace.
  1385.  
  1386.                     As this control is not displayed, you may determine
  1387.                 if it is on or off by testing it.
  1388.  
  1389.  
  1390.