
CHANGES
=======
--Changes in 1.2: 
added a missing htons() thanks to laurent@brasil.frmug.fr.net
added numeric ip address handling.
--Changes in 1.3: 
fixed numeric ip handling.
--Changes in 1.4: 
added restart ability thanks to inspiration from David.H.West@um.cc.umich.edu.
--Changes in 2.0: 
added inews-alike rpost thanks to inspiration from ecarp@netcom.com.
--Changes in 2.1: 
Radically increased buffer (+1 byte) thanks to operator@melchior.frmug.fr.net
rpost now more RFC0977 conform.
Renamed rpost.sh to blow.
Added another local posting script by huber@iamexwi.unibe.ch for inn.
--Changes in 2.1.1:
Despite of the above proclamation i forgot to increase the buffer ;).
This is now fixed (hopefully). You see there is definately a need
for a new maintainer.
--Changes in 2.2:
Sgetline now cares for maxlen which means lines > 1024 bytes will
be folded. Lpost got the option -v to print some debugging output.
The other changes are only cosmetical :).

--NEW MAINTAINER 3 July 1995 boby@pixi.com
Minor changes so no warning msgs from gcc2.7.0.
suck.c - if low=high, never got message, fixed 
suck.c - changed if lastread in sucknewsrc ==0 no get to == -1
3 July 1995 suck-2.2 released

--Changes in 2.3B
Rewrote code to my code styles, this basically means: no global variables,
	single exit(), #define anything liable to change, change indentation.

both.c  - added full_path() so can put files anywhere, just change #defines in both.h.
	  added do_debug(), MyPerror() for easier debugging.
	  sgetline(), total rewrite so less character moving around
	  and handles partial lines, returns with the nl in buffer.
both.h  - clarifed debugging options.
	  centralized all #defines here for global changes
lpost.c  - just cosmetic changes, as I hope to phase this out.
Makefile - added a couple of comments
rpost.c  - rewrote to handle batch option
	   added do_article(), process one article
	   added do_batch(), loop thru batch file, process args
	   run filter as needed
	   added do_filter(), basically just fork() and execl()
suck.c   - main() rewrite to handle args
	   get_articles() rewritten to handle multifile output
	   added get_announcements() to move this out of main()
	   added do_dedupe() so no more system() calls.
	   added allocnode() for use by do_dedupe()
	   added checkdir() to check for and make directory
	   added do_innbatch() to build batch file of article file
	   names needed by innxmit
	   added do_rnewsbatch() to build file formatted for rnews
8 August 95 Suck2.3B released (I hope)

--Changes in 2.4
Makefile  - various tweaks
	  - moved DEBUG stuff to config.h

get.news  - added comments about where to change for rnews
          - changed the way I test to see if I am online to using a ping
	  - vice just checking to see if PPP is up and running

suck.c	  - get_announcement() - added #ifndef NNRP if NNTP server is called.
		NNTP servers don't need 'mode reader' command, so don't
		send it.
	  - full_path() - modified to allow for command line setting of directory paths;
		changed variables passed to it.
	  - main() - modified arg checking routine to allow for command line setting of
		directory paths
	  - get_messages() - changed checkdir() to use full_path()
	  - get_articles() - added #ifdef TIMER stuff
	  - get_articles() - changed memcpy() to bcopy() for portability's sake
	  - full_path()    - changed PATH_MAX to POSIX_PATH_MAX for portability's sake
	  - do_innbatch()
	  - do_rnewsbatch()
	  - get_articles() - added logcount, changed printf to make message file names
			     00XX-1666, where leading zeros are applied
	  - changed B_FALSE, B_INNXMIT, B_RNEWS to BATCH_ to avoid error on Sun compiler
	  - changed informational msgs to print to stdout vice stderr
	  - get_one_article() - created
	  - get_a_chunk()  - created
	  - send_a_message() - created
	  - get_articles() - moved all the stuff for one article to get_one_article()
			   - send_a_message() and get_a_chunk() and added killfile 
			   - processing stuff and ifdef KILLFILE stuff
	  - get_message_index() 
	    main()	   - moved handling of restart from get_articles() to main()

	  - do_dedupe()    - modified
	  - build_list()   - created
	  - get_articles() - added supplemental list processing, so user can specify
			   - additional message numbers to download, in addition
			   - to those from sucknewsrc.  This is so a user can specify
			   - msgs that will NOT be checked against killfile stuff
			   - Now suck.sorted has two fields per line, msgnr and a
			   - one char field that states whether or not I must download
			   - this message. If I must, I will bypass killfile routines.
	
killfile.c  -
killfile.h  - created, contains stuff related to killfile processing

suck.h    - created, contains functions in suck.c needed by killfile.c stuff

config.h  - created, moved user changeable #defines to here.  Renamed some
		so that they make more sense.  Renamed suck.tmp to suck.newrc
		to be more descriptive.
	  - added TIMEOUT option
	  - moved DEBUG stuff from Makefile to here

both.c	  - full_path() - moved to suck.c
	  - sgetline()  - #ifdef TIMEOUT stuff, to allow us to timeout if
	                  no data received from socket in some defined time.
			- plus some tweaks to speed up the routine
	  - changed informational msgs to print to stdout vice stderr
	  
rpost.c   - do_batch() - changed behavior if infile doesn't exist.  Use to
		totally bomb the program, Now just displays error msg and
		goes on to next message
	  - changed informational msgs to print to stdout vice stderr
	  - do_batch() - some INNs put message number in outgoing file
		       - in addition to the file name, so added check for this

lpost.c   - changed informational msgs to print to stdout vice stderr

timer.c   - created
timer.h   - created, contains the timer display and update routines

testhost.c- created, allows you to see if host is active and what commands it accepts
	  - added LIST option to get active list

1 Oct 95 - posted

--Changes in Suck-2.4.1

config.h  - got rid of ##ifdef KILLFILE around #define N_KILLLOG to avoid
		make errors if KILLFILE is not defined

rpost.c	  - do_batch() - changed do_article() to retval=do_article()
		so errors in upload got passed back.

suck.c    - main() 
	    get_articles() - added -s option, to force display of the status
	   	message for each message to stderr vice stdout.  That way
		if someone is not using batch mode, they can still see those
		messages.
	  - get_articles() - fixed bug where restart file was always deleted.
	  
