home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / editors / edit11a.arj / EDIT11.DOC next >
Text File  |  1991-07-25  |  16KB  |  419 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.              ┌───────────────────────────────────────────────────┐
  25.              │                                                   │
  26.              │    ▄▄▄   ▄   ▄  ▄   ▄▄▄    ▄  ▄                   │
  27.              │   █   █  █   █  █  █   ▀   █▄▀                    │
  28.              │   █  ▄█  █   █  █  █   ▄   █ ▀▄                   │
  29.              │    ▀▀ ▀▀  ▀▀▀   ▀   ▀▀▀    ▀  ▀▀                  │
  30.              │                                                   │
  31.              │   █▀▀▀█  █▀▀   █  █▀▀█▀▀█                         │
  32.              │   █▄▄    █  █  █     █                            │
  33.              │   █   ▄  █  █  █     █       VERSION 1.1a         │
  34.              │   ▀▀▀▀▀  ▀▀▀   ▀     ▀                            │
  35.              │   by : PERSAD Software Inc.                       │
  36.              └───────────────────────────────────────────────────┘
  37.  
  38.  
  39.  
  40.  
  41.                                        -1-
  42.  
  43.  
  44.  
  45. ┌─────────┐
  46. │ PURPOSE │
  47. └─────────┘
  48.  
  49.         Quick Edit is a small editor written in Borland's Turbo Pascal 6.0
  50.         that replaces strings automatically in your CONFIG.SYS or
  51.         AUTOEXEC.BAT files.
  52.         It was created for quick and easy update of those pesky CONFIG.SYS
  53.         and AUTOEXEC.BAT files that needed to be updated on more than two
  54.         machines on a network.
  55.  
  56.  
  57.  
  58.  
  59. ┌────────────┐
  60. │ DISCLAIMER │
  61. └────────────┘
  62.  
  63.         This product is provided "as is" without warranty of any kind.
  64.         The entire risk and responsibility of the use of this product,
  65.         as to the results and/or performance of this product is
  66.         assumed by you. PERSAD Software Inc. makes no warranty as to
  67.         the use of, results of, merchantability or fitness for
  68.         purpose. Should the product prove to be defective, you
  69.         exclusively assume the entire cost of all necessary servicing,
  70.         repair, or correction. PERSAD Software Inc. shall not be
  71.         liable for any damages, including but not limited to system
  72.         damage, service, repair, correction, loss of profit, lost
  73.         savings or any other incidental, consequential, or special
  74.         damages of any nature whatsoever resulting from the use or
  75.         inability to use this product.
  76.  
  77.  
  78.  
  79.  
  80. ┌──────────────┐
  81. │ REGISTRATION │
  82. └──────────────┘
  83.  
  84.  
  85.         This version is SHAREWARE, but none of it's features have been
  86.         crippled nor is there any expiration date coded into the KEY
  87.         enclosed with this release.
  88.         If you find this product useful after trying it out for 30
  89.         days you MUST register it or discontinue using it.
  90.         Registration enables this author to write more programs and
  91.         being a college student will help to defray the high cost of
  92.         tuition. You will receive a "KEY" which will get rid of all
  93.         the annoying NON-REGISTERED delays and code your name into the
  94.         program.
  95.         To register, send a check or money order for $10 payable to:
  96.         RISHI PERSAD, at the following address:
  97.  
  98.                           PERSAD Software Inc.
  99.                           87-82 160th St 2nd Fl
  100.                           Jamaica, NY 11432.
  101.                                        -2-
  102.  
  103. ┌──────────────────┐
  104. │ REVISION HISTORY │
  105. └──────────────────┘
  106.  
  107.  
  108.         V1.0 ß released 7/13/91.
  109.         This was the first release of the software. It was released as
  110.         FREEWARE for testing purposes.
  111.  
  112.         V1.10 never released.
  113.         This is the first shareware release which contained major
  114.         changes outlined below:
  115.  
  116.         1> Error handling was greatly improved in the MAKEDAT.EXE
  117.         program. Introduced several tightly controlled procedures to
  118.         eliminate "garbage" responses to questions which would cause the
  119.         EDIT program to crash.
  120.  
  121.         2> MAKEDAT.EXE now supports AUTOEXEC.BAT in addition to the
  122.         CONFIG.SYS file. It can now modify up to 30 strings in each file
  123.         and files may now contain up to 50 strings. This number was
  124.         selected to minimize memory usage.
  125.  
  126.         3> Any drive from A to Z can now be selected instead of the
  127.         previous 'C' only.
  128.  
  129.         4> Graphics were modified for optimum performance and aesthetic
  130.         values.
  131.  
  132.         5> MAKEDAT.EXE now creates five editable configuration files for
  133.         on the fly editing with your favorite editor should you decide
  134.         not to use the MAKEDAT.EXE program. Note: The EDIT.CNF file must
  135.         always contain "CAPS" or "UPPERCASE CHARACTERS".
  136.  
  137.  
  138.  
  139.  
  140.         6> The EDIT11.EXE code has been revised for efficiency and
  141.         tighter control of errors.
  142.  
  143.         7> Anti-Hack and Viral Protection has been added to EDIT11.EXE
  144.         to provide the user with some sort of security control (albeit
  145.         basic).
  146.  
  147.         8> Procedures which I used only for de-bugging purposes were
  148.         removed from the code . No more "string found!" appearing as
  149.         program is run.
  150.  
  151.         9> EDIT11.EXE will now backup the original files with the .OLD
  152.         extension and the new files will have the regular extension.
  153.         This will eliminate the need to rename files as required in the
  154.         beta release.
  155.  
  156.         10> A new compilation unit was used which caused an increase in
  157.         execution speed by as much as 800 % (WOW!).
  158.                                        -3-
  159.  
  160.  
  161.         V1.1a released 7/25/91.
  162.         This is the second public release of Quick Edit. It contains
  163.         some minor enhancements which was not in V1.10 and are outlined
  164.         below:
  165.  
  166.         1> NEW and IMPROVED input/output error checking added for
  167.            tighter control of errors. System will no longer "hang" or
  168.            terminate with runtime errors (I hope). Now an error message
  169.            with a possible reason for termination will be displayed.
  170.  
  171.         2> Registration KEYS are now active (Arrrgh!). If you do not
  172.            have the EDIT11A.KEY the program will delay for a few
  173.            micro-seconds and display a "register me"  message.
  174.            Registration eliminates this message and codes your name into
  175.            the program with the KEY.
  176.  
  177.         3> Graphics were re-done to get rid of that annoying "flicker"
  178.            at the start of the menus.
  179.  
  180.         4> EDIT11a will now search for the existence of the *.OLD files
  181.            (whose presence caused the system to hang in earlier versions)
  182.            If found, the program will halt and alert you of the exact
  183.            location (including drive) of those files. This can be
  184.            avoided if you use the batch file included or something
  185.            similar.
  186.  
  187.         5> The date and time has been added at the bottom of the display
  188.            screen.
  189.  
  190. ┌─────────────────┐
  191. │ GETTING STARTED │
  192. └─────────────────┘
  193.  
  194.  
  195.         The following files should be found after uncompressing the
  196.         archive:
  197.  
  198.         EDIT11.EXE      - The editor that does the quick search/replace
  199.         MAKEDAT.EXE     - The program used to create data files needed
  200.         EDIT11.DOC      - This file that you're reading
  201.         RUN.BAT         - Sample batch file to use program
  202.         EDIT11A.KEY     - Key file for registered versions only
  203.  
  204.         After running MAKEDAT.EXE, the following files will be created:
  205.  
  206.         EDIT.CNF        - The EDIT11.EXE configuration file
  207.         A-STR.OLD       - List of old strings in autoexec
  208.         A-STR.NEW       - List of replacement strings for autoexec
  209.         C-STR.OLD       - List of old strings in config
  210.         C-STR.NEW       - List of replacement strings for config
  211.  
  212.  
  213.         First run the MAKEDAT.EXE program which will store the old and
  214.         new strings that you will need later for the EDIT11 program.
  215.         These files can also be created with any text editor but it is
  216.         recommended that you use the MAKEDAT.EXE program instead.
  217.                                        -4-
  218.  
  219.  
  220.         Here's the format for the configuration files:
  221.  
  222.         EDIT.CNF:
  223.  
  224.         Y            {Line 1 in Uppercase toggles update of CONFIG.SYS}
  225.         Y            {Line 2 in Uppercase toggles update of AUTOEXEC.BAT}
  226.         B            {Line 3 in Uppercase indicates drive location of
  227.                       CONFIG.SYS and AUTOEXEC.BAT files}
  228.  
  229.         A-STR.OLD:
  230.  
  231.         First Old String        {First String to search for and replace}
  232.         Second Old String       {Second String to search for and replace}
  233.         Etc                     {Can continue up to 30 strings}
  234.  
  235.         A-STR.NEW:
  236.  
  237.         First New String        {String to replace first old string}
  238.         Second New String       {String to replace second old string}
  239.         Etc                     {May list up to 30 strings}
  240.  
  241.         C-STR.OLD and C-STR.NEW are the CONFIG.SYS equivalent of the
  242.         above.
  243.  
  244.         When you run the EDIT11.EXE program next, it will search for an
  245.         EXACT match for each string listed in the *.OLD file. This
  246.         program *IS* case sensitive so if an exact match (including
  247.         spaces) is not found you will hear a "warning beep" and then a
  248.         list of the strings in the file it is processing will be
  249.         displayed. You will see on the top of the screen the name of the
  250.         file being processed (CONFIG or AUTOEXEC) as well as the OLD
  251.         string being searched for and the NEW replacement string. Simply
  252.         enter the line number of the string to be deleted and the program
  253.         will take care of the rest!
  254.         Your original file is backed up with the .OLD extension, so make
  255.         sure that there is no duplicate file existing before the program
  256.         is run. If there is, then the program will quit with an error
  257.         code. Take a look at the sample batch file included with this
  258.         release for ways to handle this possible problem.
  259.  
  260. ┌──────────────────┐
  261. │ TROUBLE-SHOOTING │
  262. └──────────────────┘
  263.  
  264.  
  265.         EDIT11 has undergone intensive testing under the following
  266.         equipment/software:
  267.  
  268.         IBM PS/2 Model 20z  Registered Trademark of IBM Corp.
  269.         PACKARD BELL 386sx  Registered by Packard Bell Electronics
  270.         MS-DOS V3.3 - V5.0  Registered Trademark of Microsoft Corp.
  271.         PC-DOS V3.3         Trademark of IBM Corp.
  272.         Windows 3.0         Registered Trademark of Microsoft Corp.
  273.         Novell Netware      Registered Trademark of Novell, Inc.
  274.  
  275.         If you encounter any problems please leave the author a message
  276.         on any one of the following BBSs:
  277.         Email: Rishi Persad at
  278.  
  279.         Beginners BBS [212] 397-1576
  280.         Computron I   [718] 478-6065   (Here most often!)
  281.         Omni BBS      [718] 274-5469
  282.         WiseByte BBS  [212] 962-1920
  283.                                        -5-
  284.  
  285.         
  286.         [Q] EDIT11 terminates with a runtime error after being called
  287.             up.
  288.  
  289.         [A] The program could not find the files in the drive specified.
  290.             Make sure that the files are NOT hidden and that any write
  291.             protection on the drive has been temporarily disabled. You
  292.             must also have the configuration files that the makedat.exe
  293.             created in the SAME directory as the EDIT11 program.
  294.  
  295.  
  296.         [Q] MAKEDAT terminates with a runtime error.
  297.  
  298.         [A] This will only happen in versions earlier than 1.1a. Be sure
  299.             that you have overwritten the old version. If you still get
  300.             the same problem, after re-booting the machine, then contact
  301.             this author at once with the error code generated and the
  302.             exact circumstance when it occured.
  303.  
  304.  
  305.         [Q] MAKEDAT will not let you abort an entry and stays at the
  306.             prompt.
  307.  
  308.         [A] You are trying to enter a value outside the valid entry
  309.             range. MAKEDAT has been designed to accept values which are
  310.             considered valid for the EDIT11 program only. The prompt
  311.             will usually give you the valid range in square brackets. If
  312.             you enter anything else, it will refuse to accept it.
  313.  
  314.  
  315.         [Q] The configuration files created are ZERO bytes (empty).
  316.  
  317.         [A] The MAKEDAT program was aborted by user .
  318.  
  319. ┌────────────────┐
  320. │ ERROR MESSAGES │
  321. └────────────────┘
  322.  
  323.  
  324.         Here is a list of error messages and possible reasons for
  325.         generation :
  326.  
  327.         1> NEW DATA SAME AS OLD DATA !
  328.  
  329.            The data entered as the OLD string is exactly the same as
  330.            that entered for the NEW string. For example, if you enter
  331.            the foll:
  332.            OLD STRING : BUFFERS=20
  333.            NEW STRING : BUFFERS=20
  334.            You will get that message with a prompt to abort or continue.
  335.            Hit the ESC key to abort the program or any other key to
  336.            continue.
  337.  
  338.         2> ABORTED BY USER !
  339.  
  340.            You requested to abort the program.
  341.  
  342.         3> ABORTED...NOTHING TO DO !
  343.  
  344.            The request to update CONFIG.SYS and AUTOEXEC.BAT were both
  345.            replied with a negative (N) response.
  346.                                        -6-
  347.  
  348.  
  349.         4> CONTACT AUTHOR : I/O ERROR DURING SELF CHECK !
  350.  
  351.            The self check procedure failed to work. Possible bug. Please
  352.            leave a message to the author (Rishi Persad) at any of the
  353.            previously listed Bulletin Boards.
  354.  
  355.         5> WARNING : CODE CHANGED! FILE MAY BE INFECTED!!
  356.  
  357.            The EDIT11 file has detected a change in it's code after
  358.            compilation. This may be due to a corrupted file, hacking, or
  359.            a possible virus has attached itself to the file. The program
  360.            will NOT run and MUST be deleted. You will need to get a
  361.            fresh/new copy from your backup or archive file.
  362.  
  363.         6> EXACT MATCH NOT FOUND IN ....
  364.  
  365.            EDIT11 is case sensitive and may report the above message if
  366.            it could not find the string being searched for or if the match
  367.            was not complete.
  368.  
  369.         7> NEW AND OLD STRINGS NOT EQUAL !
  370.  
  371.            There must be a NEW string for every OLD string and vice
  372.            versa. If there is a conflict in the line numbers of the .OLD
  373.            and .NEW configuration files then the program will abort
  374.            rather than risk putting 'garbage' in order to pad and
  375.            correct the balance. Note: If you wish to delete a string,
  376.            simply indicate a blank line as the NEW string.
  377.  
  378.         8> INVALID KEY !
  379.  
  380.            The KEY file has been tampered with or is corrupted.
  381.  
  382.  
  383. ┌────────┐
  384. │ THANKS │
  385. └────────┘
  386.  
  387.  
  388.         I wish to thank the following :
  389.  
  390.       *  Varouj Oghali - For the incentive and idea to start this program.
  391.       *  James Javier - For his support and suggestions.
  392.       *  Andreas Kantounas - For teaching me how to draw windows.
  393.       *  Michael Durkin - For the self check unit V1.0 used here.
  394.       *  Scott Davis - For rKey V1.6 used to annoy users <GRIN>.
  395.       *  Eagle Performance Software - For use of their SYS60 V6.0A, which
  396.          replaced the SYSTEM.TPU and increased speed 800 % !!
  397.                                        -7-
  398.  
  399.  
  400. ┌────────┐
  401. │ FUTURE │
  402. └────────┘
  403.  
  404.  
  405.         Plans are in the works for :
  406.  
  407.         1. Even faster performance.
  408.         2. Non-case sensitive search and replace.
  409.         3. Ability to update any file.
  410.         4. More error control/protection.
  411.         5. Less memory usage and disk space.
  412.         6. Program controlled by ONE editable ascii file.
  413.         7. Improved graphic display (yes, there is room).
  414.  
  415.  
  416.  
  417.  
  418. 
  419.