
  How to install new wget percentage
  ---------------------------------------------------

  Note this installation procedure was done on wget version 1.5.3
  but it should work fine on other version(s) because the
  print_percentage() and retr.c functions is rarely(never) changed (AFAIK:))

  AUTO INSTALLATION

  1. unpack wget sources
  2. get to the source directory (example: cd wget-1.5.3/src)
  3. copy wget-new-percentage.c and wget-new-percentage.diff to the
     current directory (i.e. wget-1.5.3/src)
  4. do this:

     $ patch retr.c < wget-new-percentage.diff

     you should get response like this:

     ---x---x---
     Hmm...  Looks like a normal diff to me...
     Patching file retr.c using Plan A...
     Hunk #1 succeeded at 127.
     done
     ---x---x---

  5. now get back to wget main directory (i.e. wget-1.5.3, by now
     only thing you should do is `cd ..')
  6. proceed along the wget installation notes


  MANUAL INSTALLATION

  see the AUTO INSTALLATION plan and instead of 4. do this:

  4.1. edit retr.c file
  4.2. remove print_percentage() function
  4.3. put this line on the same place:

     #include "wget-new-percentage.c"

  4.4. find lines starting with this:
 
     "logprintf (LOG_VERBOSE, "\n%5ldK ->",..."
 
     and remove the " ->", this just wastes space and
     wget-np uses this at the end of the dot line
     (progress line)

  5.5. find all places where print_percentage() is
       called and add ", flags" before it's closing ")"

  5.6. find show_progress() function, then find the
       if ( flags == SP_INIT ) check and add this
       line:
 
       print_percentage ( nrow * line_bytes + res, expected, flags);
 
       before the closing "}"

  P! Vladi Belperchinov-Shabanski <cade@biscom.net>

