home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1992 June / SIMTEL_0692.cdr / msdos / screen / pcbao11.arc / PCB-AO.DOC < prev   
Encoding:
Text File  |  1986-06-01  |  3.8 KB  |  83 lines

  1.   -------------------------------------------------------------------------
  2.  
  3.               A.M. Development Presents:
  4.  
  5.        PC-BOARD Ansi Optimizer  -  Version 1.1  -  May 31, 1986
  6.         Copyright 1986, Babul Mukherjee   ALL RIGHTS RESERVED
  7.                Author: Babul Mukherjee
  8.  
  9.   -------------------------------------------------------------------------
  10.  
  11.   The "in-thing" right now seems to be optimizers. Disk optimizer sales
  12.   have picked up because the demand for "super" speed is large. I must add
  13.   a program to the growing list of optimizers except my program is a little
  14.   different from the rest. This program optimizes ANSI text files. Namely
  15.   text files that use ANSI for screen control. Now why on earth would
  16.   someone want to optimize ANSI? Speed. ANSI is notorious for being slow
  17.   and when ANSI is being sent over the modem, speed is of the escence. I
  18.   first noticed that some ANSI text files were too slow when I looked at
  19.   some ANSI pictures made with ANSIDRAW. I love ANSIDRAW and couldn't live
  20.   without it but the sad fact of life is, it outputs unnecessary ANSI
  21.   sequences. ANSIDRAW is not the only culprit, not by any stretch of the
  22.   imagination, many other fine programs do the same. If you like to type up
  23.   your own ANSI screens, you might not realize that your ANSI "code" is too
  24.   long.
  25.  
  26.   To optimize your ANSI files, type in:
  27.  
  28.          C>PCB-AO      - or -    C>PCB-AO <filename>
  29.  
  30.   from your DOS prompt. It will display the introduction and ask you for
  31.   the filename to optimize. You can include the drive and path in the
  32.   filename if you wish. Once you enter the filename the program will then
  33.   begin to scan the file, looking for any CURSOR LOCATION or COLOR
  34.   sequences. At present, that is all that is optimized. How can only two
  35.   checks increase speed? Hold tight because you may be surprised! The
  36.   program will print out all ANSI sequences it looks at and tell you what
  37.   it replaces each with. If there is a "Not needed" after a sequence, that
  38.   means the ANSI sequence was omitted because it was not necessary. After
  39.   it has scanned the entire file, it will save the changes into a file
  40.   called PCB-AO.WRK. The program esitmates how well it optimized the file
  41.   by comparing the filesizes. The higher the number, the better! It will
  42.   then ask you if you wish to see the new file displayed. Choose as you
  43.   wish. That's it!
  44.  
  45.   After viewing the optimized file (PCB-AO.WRK), you may elect to delete
  46.   your original file and replace it. Be careful and make sure you have a
  47.   backup of your original file. This program ONLY reads the file you
  48.   specifed and does not alter it but it is always good to be cautious.
  49.  
  50.   In the future I plan on enhancing the optimization by scanning the file
  51.   for different sequences (other than color and cursor location). I also
  52.   plan on making the program ANALYZE the original ANSI file BEFORE it
  53.   optimizes it. This will speed up the ANSI file even more. This is the
  54.   first version and I want to see how well it works out before I make
  55.   any more major changes.
  56.  
  57.   If you have problems with this program or want to offer a suggestion,
  58.   write me at:
  59.                Babul Mukherjee
  60.               202 Vanderheck #1
  61.               San Antonio, Texas
  62.                 78209
  63.   or call:
  64.            TELSTAR COMMUNICATIONS SYSTEMS:
  65.               (512) 822-8882  [BBS #1]
  66.               (512) 829-4533  [BBS #2]
  67.                    - or -
  68.                (512) 826-8119 [Voice]
  69.  
  70.   If you do have problems, if possible, send the offending ANSI file to
  71.   TELSTAR so I will be able to reproduce the problem and get the bug
  72.   stomped quickly. Thanks and I hope this program is useful for you.
  73.  
  74.   If you do use this program on a regular basis and/or you are a business
  75.   using this program, send a contribution of $5-$10 to:
  76.  
  77.                A.M. Development
  78.               202 Vanderheck  #1
  79.               San Antonio, Texas
  80.                 78209
  81.  
  82.    Keep the shareware spirit alive by paying for the programs you use!
  83.