home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: InfoMgt / InfoMgt.zip / uudbz003.zip / readme < prev    next >
Text File  |  1997-08-21  |  8KB  |  213 lines

  1. This is the README documentation for the Mome Raths BBS package dbz for
  2. UUPC/Extended.  This package is not part of the UUPC distribution, but 
  3. is based upon their work.  UUPC/Extended is copyrighted, trademarked 
  4. software, and every effort has been made to not knowingly infringe upon
  5. either one.
  6.  
  7. The patched copy of expire.exe in this package have had only minor
  8. modifications made to it.  It is covered under the above copyright.
  9.  
  10. However, the dbz.c and dbz.h that are in this distribution are original
  11. works.  It has been made public domain by myself, the author.
  12.  
  13.  
  14. These are the files you should have:
  15.  
  16. README -- this file, which explains the prerequisites, what dbz is, 
  17. what it is used for, what NoCEM is, why dbz is but isn't public domain 
  18. and why I wrote it.
  19.  
  20. Install.doc -- tells you how to install and use dbz.  How it may differ
  21. from other dbz programs.  How to recompile it using emx.
  22.  
  23. Makefile.dbz -- for using dmake to recompile dbz.
  24.  
  25. dbz.exe -- a compiled executable, ready-to-go (assuming you already
  26. have the other prerequites setup).
  27.  
  28. expire.exe -- another compiled executable.  This patched version
  29. works around a bug in the UUPC 1.12s expire.exe, where expire
  30. would try to delete a non-existent file, thus crashing.
  31.  
  32. dbzMake.Cmd -- a REXX script that sets up the correct paths to compile 
  33. dbz.
  34.  
  35. dbz_mksetup.cmd -- a supporting REXX script called by dbzMake.Cmd, if 
  36. necessary.
  37.  
  38. makediffs.cmd -- a small batch file used to create the diffs.
  39.  
  40. patchme.cmd -- a rather brainless batch file that can be used to patch 
  41. the sources.
  42.  
  43. lib/lib.diff -- diff file for library files.
  44.  
  45. news/news.diff -- diff file for news files.
  46.  
  47. news/dbz.c -- source file for dbz executable.
  48.  
  49. news/dbz.h -- header file for dbz.
  50.  
  51.  
  52. Overview:
  53.  
  54. This dbz program is based upon the same concept as the C-News program of 
  55. the same name. I actually downloaded C-News and had a look at it.  The
  56. dbz program compiled without any problems whatsoever.  However, it
  57. bombed very quickly.  Looking at the program provided very few clues as
  58. to how they actually expected it to work, in actuality.  So, while it is
  59. intended to act similarly, I really don't know since I've never seen
  60. it actually work.  Comments on how it is supposed to work can be sent to
  61. MarchHare@momeraths.org.
  62.  
  63. The code itself is based upon, not surprisingly, genhist, which comes 
  64. with the UUPC/Extended package.  Portions of the code are copyright of
  65. Kew, and they are not being distributed with this package.  If you wish
  66. to modify and recompile it, you will need the source code that
  67. accompanies the UUPC/Extended package.  The source code packages are
  68. usually designated by the letter 'S' and should be available wherever
  69. you got UUPC.  If all else fails, try ftp.kew.com.  See section on
  70. Recompiling dbz in Install.doc, which also lists how to patch the 
  71. source code if you wish to recompile any of UUPC under OS/2's emx.
  72.  
  73.  
  74. Prerequisites:
  75.  
  76. An installed, running, working UUPC machine - If you don't have one of 
  77. these, you probably just wasted a small chunk of time.  The current 
  78. version of UUPC is 1.12s.  If you are using an older version, please 
  79. upgrade it.  Drew gets questions on a regular basis from people who 
  80. have run into a bug that has been fixed several revisions ago.  This 
  81. has not been tested on anything earlier, nor do I have the time or 
  82. desire to do so.  If you need to upgrade, check out http://www.kew.com 
  83. for the latest.
  84.  
  85. emx 0.9c development package, or equivalent runtime version - Please 
  86. note that several packages come with DLL's for emx.  This package does 
  87. not.  You should always make sure you only have one copy in your PATH 
  88. and LIBPATH statements, and that you are using the latest.  IMO, 
  89. distributing these files with the software is counter-productive, as 
  90. they become out-of-date so quickly.
  91.  
  92. zip/unzip - which I assume you have or you would not be reading this.
  93.  
  94.  
  95. Further prerequisites for compiling (this assumes you are compiling 
  96. with emx):
  97.  
  98. HPFS - the diff files are named with .diff as the extension.  I'm not 
  99. about to apologize for this.  One of the Rexx scripts is also above 
  100. the 8.3 format.  If you are running news on FAT, on OS/2 at least, you 
  101. get what you deserve.
  102.  
  103. emx development system 0.9c or later.
  104.  
  105. OS/2 port of GNU patch.
  106.  
  107. dmake, version 4 or higher
  108.  
  109.  
  110. What is dbz?
  111.  
  112. dbz is a program which can be used to test, extract information from, 
  113. add information to or check the existence of data within a BSD-type 
  114. database.  These databases are usually associated with news programs, 
  115. which track the history of incoming news messages or (in the case of 
  116. newsreaders) already read news messages.  The messages are inserted 
  117. into the database and indexed on the message ID number.
  118.  
  119.  
  120. Why would I want to use dbz?
  121.  
  122. There can be several reasons.  The most obvious is if you simply want 
  123. to test the functionality of the database.  However, it is unlikely 
  124. that you would want the package for this for various reasons.
  125.  
  126. The most likely reason you need dbz, and perhaps the least obvious, is 
  127. for NoCEM on spool.  Since you probably downloaded this package because
  128. you are running UUPC/Extended, then you can appreciate the difficulties
  129. involved in trying to run NoCEM.
  130.  
  131.  
  132. I'm using NNTP, can I still use this package?
  133.  
  134. Very unlikely.  Most NoCEM packages come with alternatives for NNTP.
  135. I would suggest looking at those instead.  Note that there are 
  136. actually two history database formats:  C-News format and the older
  137. B-News format.  From what I can ascertain, UUPC/Extended uses the
  138. older format.
  139.  
  140.  
  141. I'm using Waffle/Gigo/etc., not UUPC/Extended, can I still use this
  142. package?
  143.  
  144. Unknown and untested.  If you try it, back up your history files and/or
  145. have a way to rebuild them first.
  146.  
  147.  
  148. What is NoCEM?
  149.  
  150. NoCEM is a way to either mark as read or remove articles from a news
  151. spool which have been determined to be spam, Make-Money-Fast schemes or
  152. binary-in-discussion-group articles.  NoCEM just marks the messages as
  153. read, and is a user-oriented program.  NoCEM on spool is run by a
  154. newsadmin and actually removes the articles from the news spool.  A
  155. better explanation is at http://www.cm.org, the home of the Cancelmoose.
  156.  
  157.  
  158. Does this mean this is free?
  159.  
  160. Parts of this program are under copyright of UUPC/Extended.  The
  161. conditions of that package currently state that it is free, but a (very)
  162. small fee can get you telephone support.  Obviously, this is subject to
  163. change, although it is unlikely to change.  Please read the UUPC 
  164. documentation for specifics.
  165.  
  166. The part of this program written by myself is public domain.  You can do
  167. whatever you wish to do with it.  Those parts are the only ones included
  168. in this package.
  169.  
  170.  
  171. Public domain?  Does this mean it is worthless?
  172.  
  173. No.  It means that I want people to use it.  I want other programmers to
  174. include it (or parts thereof) into their programs.  I want people to
  175. realize, as well, that OS/2 and UUCP are not dead, and NNTP is not the
  176. only protocol affected by spam.  In fact, UUCP has more problems because
  177. of the time delays.
  178.  
  179.  
  180. So, you are porting NoCEM to OS/2?
  181.  
  182. I already have a working REXX script, which I am still debugging
  183. and some cosmetic changes (such as at least one misleading error
  184. message) and about another week of testing.  I was going to do 
  185. the Perl script first, but I found it was harder than I 
  186. anticipated.  So, I will actually be doing a "port of a port", 
  187. by porting the REXX script into Perl.  The Perl port, as well
  188. is almost completed, with development now being done in parallel
  189. (or, perhaps back-and-forth would be more accurate :) ).
  190.  
  191.  
  192. How much longer will it take?
  193.  
  194. About another three weeks, I estimate.  As soon as I am satisfied
  195. that there are no bugs that I can find, I will unleash it upon
  196. the world.  Of course, I'm really learning Perl, so that is the
  197. main reason it will still take that long.  A Perl expert could
  198. probably do it in a week (in their spare time, that is).  Also,
  199. getting side-tracked on the expire bug added some time to this
  200. project.
  201.  
  202.  
  203. That's fine for news, but what about email?
  204.  
  205. Stay tuned...
  206.  
  207.  
  208. Will the OS/2 NoCEM be public domain as well?
  209.  
  210. Yes.  Use it for yourself.  Use it in your programs.  All I
  211. really ask is that you don't ABUSE it.
  212.  
  213.