home *** CD-ROM | disk | FTP | other *** search
/ Collection of Hack-Phreak Scene Programs / cleanhpvac.zip / cleanhpvac / PWAFDC10.ZIP / EFDC.DOX next >
Text File  |  1995-11-10  |  7KB  |  121 lines

  1. ───────────────────────────────────────────────────────────────────────────────
  2. ▒▒▌[EFDC]▐▒▒░ Enhanced File Directories Chopper v1.0 EXE (c) 1995 ░▒▒▌[EFDC]▐▒▒
  3. ───────────────────────────────────────────────────────────────────────────────
  4. ▐│ CONTENTS      │ 1. Files Included          5. Last Words                  │▌
  5. ▐│ OF            │ 2. Brief Program Summary                                  │▌
  6. ▐│ DOCUMENTATION │ 3. Running The Program                                    │▌
  7. ▐│               │ 4. General Program Info                                   │▌
  8. ───────────────────────────────────────────────────────────────────────────────
  9. ▒▒▌ FILES INCLUDED ▐▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  10. ───────────────────────────────────────────────────────────────────────────────
  11. ▐│   EFDC.DOX ..... 7,448 .. Documentation / Installation Guide   (Please Read)
  12. ▐│   EFDC.EXE .... 47,778 .. Chopper EXEcutable               (Check It's Size)
  13. ▐│   STRIPDIZ.LST . 5,066 .. File Which Contains All Unwanted Lines / Keywords
  14. ▐│   PWA.NFO ...... X,XXX .. PWA Nfo File
  15. ▐│   FILE_ID.DIZ .... XXX .. Description Identification File
  16. ───────────────────────────────────────────────────────────────────────────────
  17. ───────────────────────────────────────────────────────────────────────────────
  18. ▒▒▌ BRIEF PROGRAM SUMMARY ▐▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  19. ───────────────────────────────────────────────────────────────────────────────
  20.  Original  idea came from Drew.  He  said that  he  wouldn't  use  my  shrinker
  21.  because  it leaves only the  first line of  a  description  and the first line
  22.  might contain crap.   One day I was bored so I decided to write a utility that
  23.  would be functioning  similarly to SHRINKER,  but it would take out only lines
  24.  that  either  don't  contain  alpha-numeric  characters  or contain very small
  25.  amount  of  alpha-numeric  characters (ratio),  or lines that matched  lines /
  26.  keywords in STRIPDIZ.LST file.
  27. ───────────────────────────────────────────────────────────────────────────────
  28. ───────────────────────────────────────────────────────────────────────────────
  29. ▒▒▌ RUNNING THE PROGRAM ▐▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  30. ───────────────────────────────────────────────────────────────────────────────
  31.  From  the very beginning I wanted to give the utility  as much configuration /
  32.  features as possible.  Here is a list of all options / features:
  33.  
  34.  1. Strip PCBoard colors          (-p) (@Xnn)
  35.  2. Strip Wild Cat colors         (-c) (@nn@)
  36.  3. Strip PIPE colors             (-i) (|nn)
  37.  4. Strip ANSI colors             (-a) (ESC[nn;nnm)
  38.  5. Strip HIGH ASCII characters   (-s) (RANGE: 128 - 255)
  39.  6. Strip ASCII graphics          (-g) (weird looking text)
  40.  7. Zap NUKED files               (-n) (altered size or zero size)
  41.  8. Case SENSITIVE                (-u) (case matters / does not matter)
  42.  9. Use SMART WORDWRAP            (-w) (back wordwrap to save space)
  43. 10. Run in QUIET mode             (-q) (no status line will be shown)
  44. 11. Ratio for STRIPDIZ comparison (-X) (1-9, 0-disable; only if using STRIPDIZ)
  45.  
  46.  Of all the 11 options I think that only  two need further explanation.   Let's
  47.  say you have something like this:
  48.  
  49. ABC4_1.ZIP    >NUKED<  04-18-95  <===========\_/==============\__/=========>
  50.                                |  ABC FlowCharter for Windows v4.0 [01/06]
  51.                                | <=========================================>
  52.                                | -/-  ^^ CRAP! WATCH YOUR UPLOADS M8!^^  -/-
  53.                                | -/-            ^^ TIMECOP ^^            -/-
  54.                                | -/- ####>  3 TIMES CREDITS TAKEN  <#### -/-
  55.                                |
  56.  
  57.  This  kind of a description will be taken out if you choose to ZAP nuked files
  58.  (-n) since you altered filesize.   Also,  if filesize is 0, the description is
  59.  gone.
  60.  
  61.  One other thing that I want to explain is stripdiz RATIO.
  62.  
  63.  Suppose you have this line:  =[EOS]==\__|__|=/\ky==|_____/==PRESENTS:===
  64.  
  65.  Just  by looking  at it you can  say that it has less alpha-numeric characters
  66.  than non  alpha-numeric  (not including spaces).  What I'm trying to say is if
  67.  you ever see this kind of a line, most likely that it'll contain garbage which
  68.  is not part of a real description, therefore you don't have to look for  it in
  69.  stripdiz   file.    What  ratio  tells  the  program is:  multiply  number  of
  70.  non-alphanumeric  characters  by  X  and  see  if  it  is  less than number of
  71.  alphanumeric characters.  If it is then go ahead and check with stripdiz file.
  72.  If not then take the whole  line out.   I think that it's a very sophisticated
  73.  method that can be used to take out unwanted lines / keywords.
  74.  
  75.  When you add a line to STRIPDIZ you have to be aware of two things.
  76.  
  77.  1. If you are adding a keyword make sure  that it's  unique.  In  other  words
  78.     make sure that it won't appear in a part of a description.
  79.  2. If  you are adding a  line make sure that  it corresponds to the ratio that
  80.     you are about to use.  Otherwise it'll be  just sitting there doing nothing
  81.     and slowing down the execution speed.
  82.  
  83.  You can combine all 11 options in any  way you want.  The  only thing that you
  84.  can't do is specify stripdiz  ratio  without specifying stripdiz file.  If you
  85.  do that,  the utility will think that  your ratio is a stripdiz filename which
  86.  of course will not exist, therefore you'll get an error.
  87.  
  88.  I would recommend to use the following options:
  89.  
  90.  efdc dir out -p -c -i -a -s -g -n -z -w -2 stripdiz.lst
  91.  
  92.  To make your life a little easier you could create a little batch file:
  93.  
  94.  ----<cut>-------------
  95.  efdc dir out -p -c -i -a -s -g -n -z -w -2 stripdiz.lst
  96.  del dir
  97.  ren out dir
  98.  ----<cut>-------------
  99.  
  100.  That is if you are extremely lazy.
  101. ───────────────────────────────────────────────────────────────────────────────
  102. ───────────────────────────────────────────────────────────────────────────────
  103. ▒▒▌ GENERAL PROGRAM INFORMATION ▐▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  104. ───────────────────────────────────────────────────────────────────────────────
  105.  EFDC was written in C and compiled with Borland C++ 3.1 for DOS.  You can have
  106.  an unlimited amount of lines  in your stripdiz  file (as long as you don't run
  107.  out of memory).  It took me about two  months to write it little by little. So
  108.  far I tested it under DOS/Desqview, Windows 95 and OS/2.
  109. ───────────────────────────────────────────────────────────────────────────────
  110. ───────────────────────────────────────────────────────────────────────────────
  111. ▒▒▌ LAST WORDS ▐▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  112. ───────────────────────────────────────────────────────────────────────────────
  113.  Donations are certainly accepted if you feel so compelled,  and  I won't  even
  114.  mention the many hours of programming/debugging/testing/whatever spent on this
  115.  thing.  Cash,  old hardware,  or even  a good  leech account  on your board is
  116.  always appreciated.  Enjoy!
  117. ───────────────────────────────────────────────────────────────────────────────
  118. ───────────────────────────────────────────────────────────────────────────────
  119. ▒▒▌ <EOF> ▐▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  120. ───────────────────────────────────────────────────────────────────────────────
  121.