home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume36 / unpost / part05 / changes.doc next >
Encoding:
Text File  |  1993-04-18  |  8.7 KB  |  216 lines

  1. Changes for UNPOST Version 2.0.2
  2. --------------------------------
  3.  
  4. 1)  Fixed minor bug with zero length lines.
  5.  
  6. 2)  Added if-defs around sys_errlist declarations so that they
  7.     can be conditionally not compiled.
  8.  
  9. 3)  Modified part 0/# processing so that description articles
  10.     are written to the incompletes file ONLY if the -d switch is
  11.     set on the command line.
  12.  
  13. 4)  Added version printing switch, -v.
  14.  
  15. 5)  Added AIX make file.
  16.  
  17. 6)  Added an NNTP client for automated extraction of all articles from
  18.     specified news groups.
  19.  
  20.     The source code is in the nntp directory, and it can be compiled
  21.     by typing:
  22.  
  23.     gcc -o client -ansi client.c
  24.  
  25.     on a Sun running:
  26.  
  27.     SunOS 4.1 4
  28.  
  29.     using gcc:
  30.  
  31.     version 2.1
  32.  
  33.     Documentation for CLIENT is in the nntp directory.
  34.  
  35.     This program is NOT portable.  As far as I know, it can only be
  36.     used by the people who have, at a bare minimum, a Unix that
  37.     supports sockets as used in the program for communications.
  38.  
  39.     If the above does not make sense to you, don't even try it,
  40.     unless you have a Unix/C/Socket/BDS/Communications expert to
  41.     try to help you.
  42.  
  43.     CLIENT is provided as a tool only for use by experts.  You have
  44.     been warned.
  45.  
  46. Changes for UNPOST Version 2.0.3
  47. --------------------------------
  48.  
  49. 1)  Fixed bug in the way part 0/# segments were handled, as they were
  50.     not being written out properly.
  51.  
  52. 2)  Fixed bug in the way part 1/# segments with no uuencode begin line
  53.     are handled.  An error check was placed in the decode logic to report
  54.     an error if the file name is missing, even though all the
  55.     segments are present.
  56.  
  57. 3)  Fixed def.cfg so that it would get through the new parser
  58.     (removed unnecesary commas).
  59.  
  60. 4)  Removed '^From ' as one of the segment prefix recognition regular
  61.     expressions from the default configuration.  Sorry about that,
  62.     for you people whose news readers (like nn, I think) use that as
  63.     the first line, and who process email.
  64.  
  65.     To make up for it, a configuration file (called email.cfg)
  66.     has been included that should make UNPOST act properly.
  67.  
  68. 5)  Added an OS/2 EMX/gcc makefile (called makefile.os2) that has the
  69.     necesary define set to compile out the sys_errlist declarations.
  70.  
  71. 6)  Added a summary file (you're reading it now), that contains the
  72.     latest changes as well as a summary for use in posting a
  73.     description and keeping providing a location for only the changes
  74.     that have occured since the last version.  All changes from
  75.     version to version, from now on will be copied to the changes.doc
  76.     file.
  77.  
  78. 7)  Added a syntax check and very brief syntax description line to
  79.     retest.
  80.  
  81. 8)  Added a new debugging utility, mofs.  It is a single file program
  82.     that allows the user to view a file, ala more, starting at a
  83.     decimal offset.
  84.  
  85. 9)  Added a configuration file for use in UNPOSTing comp.binaries.ibm.pc
  86.     and comp.binaries.ms-windows postings (named cbip.cfg).
  87.  
  88. 10) Added a new command line switch (-b) to tell UNPOST to write the segments
  89.     of an incomplete (or damaged) posting to separate files, instead of
  90.     to the incompletes file.
  91.  
  92. Changes for UNPOST Version 2.1.0
  93. --------------------------------
  94.  
  95. 1)  Bug Fix:  UNPOST would not recognize a short (does not start with a
  96.     'M', ' ' or '`' character) UU encoded line as the first uuencoded
  97.     line of a segment.  Major bug (truncates files), rarely happens
  98.     (UNPOST will only skip this line if it is the first line in a
  99.     segment, and that only happens when a segment is posted with only
  100.     three lines) therefore hard to notice, but very easy to fix.
  101.  
  102. 2)  Bug Fix: UNPOST would add one or two extra bytes at the end of a
  103.     file when decoding.  This is due to uuencoders that put out four
  104.     characters irregardless of whether or not all three bytes are
  105.     valid.  I've been told that this is the standard, so UNPOST was
  106.     wrong (BZzzt! Got me!).
  107.  
  108. 3)  Modified the email.cfg file so that it is valid for both the nn
  109.     news reader and email extraction.  Thanks to the alert user who
  110.     not only found the problem, but also designed THEIR OWN CONFIGURATION
  111.     FILE (yes, it can be done!) and sent the change to me.
  112.  
  113. 4)  If a segment has multiple sources of information for the part # of
  114.     # of parts and binary ID information, the last source now wins.  The
  115.     last source is usually a header dumped into the body by an auto
  116.     uuencode and split program, and this information is more likely to
  117.     be correct than the hand typed Subject: stuff in the header.
  118.  
  119. 5)  Tacked the Subject: line tree into the body, as well as the header
  120.     in the default configuration.  This is for the new anonymous service
  121.     postings that put a copy of the header from the original message
  122.     into the body of the posting (irritating, to say the least, that
  123.     the two Subject: lines often disagree).
  124.  
  125. 6)  Moved all compiler header files (.h) files into a file called
  126.     "compiler.h" to simplify making changes as new systems are brought
  127.     up, and for things that are not the same across all systems.
  128.  
  129.     I hated doing this, but it should make things a little easier
  130.     for those who know enough to make some minor changes to port
  131.     it to their systems.  This suggestion was from Tom Lane
  132.     (Independent JPEG group, check out the djpeg and cjpeg code,
  133.     this stuff is really useful to have around).
  134.  
  135. 7)  Made a few changes according to the suggestions sent to me by a
  136.     user who modified the program slightly to run under VMS.
  137.  
  138. 8)  Added if-def's for nn vs. rn news readers, and defines for setting the
  139.     binary switch default settings.  See file compiler.h.
  140.  
  141.     Another Tom Lane suggestion.
  142.  
  143. 9)  Changed source slightly so that the SEGMENT begin line will also be
  144.     checked for part # of # of parts and binary ID information.  This
  145.     change was made to assist me in creating a working configuration file
  146.     for Fido Gateway and UUNET users.
  147.  
  148. 10) I added an example to the Theory of Operations section in the
  149.     documentation, and moved some other sections around as per request
  150.     by a user who thought the order of the configuration, configuration
  151.     file and regular expression tutorial sections was confusing.
  152.  
  153.     Thanks for the input.
  154.  
  155. 11) Wrote my own MemCopy and MemMove functions to quash the idiocy with
  156.     having to if def the hell out of the code to decide which one of
  157.     three functions to use.  Also, I have exactly the same version of
  158.     gcc on two exactly similiar machines (both the same type of Sparc
  159.     Station, running exactly the same version of the operating system)
  160.     but on one machine, gcc bitches about conflicting definitions for
  161.     memcpy between the builtin function versus the header file, while
  162.     on the other machine. . .  silence.  I really hate this sort of
  163.     garbage.
  164.  
  165.     Hey, Tom!  Give me solution for this one, and I'll implement it
  166.     without expressing any opinion at all. . . :-)
  167.  
  168. 12) Changed the routine that extracts the binary ID string to use only
  169.     one word (a string delimited by white space) out of the string,
  170.     preferably one that has a '.' character in it.  This string is
  171.     filtered to have only MS-DOS/USENET standard file name characters
  172.     in it.  Hopefully, this will reduce the number of misinterpretations,
  173.     and avoid putting segments of the same posting into different
  174.     file segment lists.  It should, for example, solve the problem
  175.     of putting
  176.  
  177.     Subject: WHITE.GIF (Part 1/2)
  178.  
  179.     and
  180.  
  181.     Subject: WHITE.GIF, part 1 of 2
  182.  
  183.     into two separate file lists, as the comma is NOT an acceptable
  184.     file name character.
  185.  
  186. Changes for UNPOST Version 2.1.1
  187. --------------------------------
  188.  
  189. 1)  Bug fix.  On MS-DOS and OS/2 systems, if you feed UNPOST a non-text
  190.     file (one that has only line feeds, no carriage returns), very
  191.     strange things happen.  The simple fix was to change from opening
  192.     the source files in text mode to opening them in binary mode.
  193.  
  194. 2)  Change 12 for version 2.1.0 had a bug in it that in some (rare)
  195.     circumstances, would cause core dumps due to accessing a NULL
  196.     pointer.  This has (fingers crossed) been fixed.  Thanks to the
  197.     user who analyzed the problem and sent me the article header
  198.     that was causing the core dump.
  199.  
  200. 3)  The help summary now tells the default state of the binary switches.
  201.  
  202. 4)  In response to the people who need support, a small amount of
  203.     debugging code has been added.  This is activated by defining the
  204.     UNPOST_DEBUG variable (in compiler.h).
  205.  
  206. 5)  New switch (-r) tells UNPOST which one of four news readers you
  207.     are using.
  208.         -r r    For RN,     -r e    For Email
  209.         -r n    For NN,     -r g    Look for Newsgroups: line.
  210.  
  211. 6)  For OS/2 only and if the proper variable is defined, UNPOST will
  212.     set the file name munging switch on the basis of the file
  213.     system type of the default drive.
  214.  
  215. jstevens@csn.org
  216.