home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2J (Developer) / os42jdev.iso / NextDeveloper / Source / GNU / uucp / Uucp.framework / contrib / uucomp.shar / uucomp-1.1 / README < prev    next >
Encoding:
Text File  |  1993-12-20  |  3.4 KB  |  74 lines

  1. Like most people these days, I'm looking for ways to make my computing
  2. environment more efficient.  This environment consists of a 486, a 386,
  3. and a 386SL laptop, all of which run Taylor uucp under Linux.  The 386
  4. laptop gets used a lot, since it goes wherever I go and I answer a lot
  5. of news and email every day.  Often, I must use other people's facilities
  6. (phone lines and such) to send out replies and post news if I'm not at home.
  7. Since it's not fair to the client for them to pay for my zone calls back
  8. to my home in Fremont, I place the calls on my phone card.  Unfortunately,
  9. PacBell is very proud of the services they offer, especially in regards
  10. to this convenience of automatically charging calls to my house wherever I
  11. may be.  Considering that this can be very expensive to do, I searched for
  12. a way to cut my phone bill down to something I could afford to pay each
  13. month without fainting every time I saw the bill.
  14.  
  15. The first thing I did was to go out and plunk $195 for a 14.4KB modem.
  16. That helped, but C-News is very slow on my laptop, and batching articles
  17. is even slower, and email (of course) isn't batched at all.  Even with
  18. MNP5 compression turned on, this doesn't make for a very efficient setup,
  19. even at high speeds.
  20.  
  21. Playing around with uucp told me that the line turnaround wasn't that much
  22. overhead, nor was sending the C./X. files (the execute files) - the real
  23. overhead was sending out uncompressed news and especially email, since
  24. I subscribe to several mailing lists and digests can run quite large.
  25.  
  26. I looked at uubatch, but the most current version I could find (1.05) was
  27. not compatible with Taylor uucp (and I had no other alternative), so I
  28. decided to write my own.  Experiments with "gzip -9" convinced me that
  29. that was the way to go, since gzip gives email and news 60 to 75 percent
  30. compression, which would tend to cut one's phone bill significantly.
  31.  
  32. You hold in your mailbox (or news reader) the end result of that effort.
  33. Bear in mind that (1) this is a "first cut" and while it is unlikely that
  34. there are very many bugs, there are certainly places where the programs could
  35. be improved and tuned.  Suggestions and comments are welcome!
  36.  
  37. To install:
  38.  
  39.     1.    Feed this to shar.
  40.     2.    Look at the Makefile.  Make sure that the paths for
  41.         things are set up correctly.
  42.     3.    Look at uucomp.h and make sure that the path and
  43.         options for COMPRESS/UNCOMPRESS are set up properly.
  44.     3.    Type "make".  This will make uucomp, crmail, and crnews
  45.         and will place them in /usr/bin.  Move Compress into
  46.         /usr/lib/uucp.
  47.     4.    Make an entry in crontab to do
  48.             /usr/lib/uucp/Compress site1 site2 site3...
  49.         occasionally.  It is suggested that this be done fairly
  50.         frequently.  Alternately, you could set up a login shell
  51.         for selected sites to run uucomp every time that site
  52.         logged in.
  53.     5.    Don't forget to add /usr/bin/crmail and /usr/bin/crnews
  54.         to the list of programs allowed to be executed in your
  55.         Permissions file (if running HDB UUCP), or whatever is
  56.         appropriate for your version of uucp.
  57.  
  58. Enjoy!  Any questions or comments can be sent to erc@apple.com.
  59.  
  60. Note:  This is tuned for Taylor uucp, but would not be particularly
  61. difficult to adapt to other version of uucp.  See the file INTERNALS for
  62. details of how this works.
  63.  
  64. July 15, 1993
  65. Ed Carp
  66. erc@apple.com
  67. ------------------------------------------------------------------------------
  68. Changes since 1.0:
  69.  
  70.       Version    Date        Description
  71.  
  72.     1.1    08/04/93    Added sanity check in C. file (check that
  73.                 'E' is first char in file, otherwise skip)
  74.