CHANGES:

v1.4.5 2001/07/01
        (2001/07/01) PS1 - got rid of usercmds.c	
	(2001/07/01) PS1 - binary distributions are now statically
	linked to avoid dependencies on specific shared library versions. 
	(2001/06/30) PS1 - changed implementation of checknv().
	(2001/06/30) PS1 - made OpenNap servers the default. Server list
	will be read from napigator.com on startup. Added /getservers
	command. Added "metaserver", "metatimeout", and "nometa" user
	variables.
	(2001/06/30) PS1 - close open socket after checking for news.
	(2001/06/29) PS1 - now report full file name if file cannot be
	opened in incomplete directory.
	(2001/06/28) PS1 - changed default value of connecttimeout to 5
	seconds. It can still be disabled by setting connecttimeout to 0.
	(2001/06/28) PS1 - automatically rename .nap/nap.conf as
	.nap/napconf, if the former file exists. This is to remove an
	incompatibility with former debian distributions.
	(2001/06/28) PS1 - added "announcepongs" user variable. If not
	set, PONG packets will be silently ignored.
	(2001/06/28) PS1 - renamed cmds.h:basename as ud_basename, to
	avoid potential conflict with strings.h.
	(2001/06/27) PAF - fixed a segfault during startup (while checking
	for new releases).
	(2001/06/08) MDR - fixed bug in firewall mode where upload state
	was inadvertently left in state CONNECTING1. This caused ongoing
	uploads to time out after 90 seconds.
	(2001/06/02) PS1 - started removing arbitrary limits on length of
	strings.
	(2001/05/31) SP1 - contributed shell script for getting server
	list from www.napigator.com, and an alias for reading it into nap.
	(2001/05/30) PS1 - changed the syntax of the "incomplete tag" in
	preparation of resumes.
	(2001/05/30) PS1 - spun off scmds.c from cmds.c.
	(2001/05/30) PS1 - added more comments to config file.
	(2001/05/30) PS1 - added "cursorfollowsscreen" user variable to
	configure behavior of "PgUp" and "PgDn" keys on search result
	screen.
	(2001/05/30) PS1 - allow CTRL-C to interrupt /reconnect command.
	(2001/05/30) SP1, PS1 - changed /reconnect command to cycle to the
	next server on the list, rather than start from the beginning of
	the list.
	(2001/05/30) PS1 - fixed a string allocation bug in dosend().
	(2001/05/29) PS1 - added "sdefaults" user variable for
	user-configurable default appearance of the search screen.
	(2001/05/29) PS1 - made state of the search result screen
	persistent while switching between screens.
        (2001/05/29) PS1 - fixed bug where files could not be moved from
	incomplete directory to download directory if these were on
	different file systems.
        (2001/05/24) NBL - improved VBR support to recognize Xing headers.
        (2001/05/15) PS1 - allow ~/ notation in /loadconfig, /loadalias,
	/loadchannels, /loadhandler, and similarly /saveconfig etc.
	(2001/05/15) PS1 - changed /set, /alias, /ban, /block, /cban,
	/join, /handler, /ignore, /notify, and /server commands to behave
	like /pvars, /aliaslist, /banlist, /blocklist, /cbanlist, /clist2,
	/handlerlist, /ignorelist, /hotlist, and /serv when no arguments
	are given. This removes the need for the latter commands, but we
	keep them for compatibility. Also, /set, /alias, and /handler will
	print the current value when just one argument is given.
        (2001/05/15) PS1 - removed duplicate "removed turd" message.
        (2001/05/15) MG1 - fixed a bug in the command list which prevented
	the /retryall command from working.
	(2001/05/03) RK1 - fixed a segfault in mark_incomplete.
        (2001/04/28) NBL - added support for VBR (variable bit rate).
	(2001/04/27) PS1 - if no download path given, use $CWD by default
	as announced (and not $HOME as in ps9).
	(2001/04/27) PS1 - changed autoconf magic to link against ncurses
	or curses, but not both.
	(2001/04/27) PS1 - fixed appearance of horizontal and vertical
	lines for cygwin32.
	(2001/04/27) PS1 - replaced sys_errlist[] by strerror() for
	cygwin32 and Solaris compatibility.
	(2001/04/24) PS1 - eliminated ECANCELED for OpenBSD and cygwin32
	compatibility.

v1.4.4-ps9 2001/04/23
	(2001/04/23) SL1 - 'm' on search screen now also toggles between
	display in megabytes and bytes.
	(2001/04/23) SL1 - added -s flag to /search command to limit file
	size searched - this works on OpenNap servers and is ignored on
	Napster.
	(2001/04/23) PS1 - moved all nap config files under ~/.nap
	directory; automatically move some old config files to their new
	location automatically (for the next couple of releases).
	(2001/04/22) MDZ - added sample nap-session script.
	(2001/04/22) MDZ - added Debian info to userguide.html.
	(2001/04/22) MDZ - fixed some potential sprintf buffer overflows.
	(2001/04/22) MDZ - default upload, download, and incomplete
	directory names relative to the home directory, and allow "~/"
	syntax.
	(2001/04/22) MDZ - include time.h in event.c
	(2001/04/22) PS1 - removed non-functional /hup command.
	(2001/04/22) PS1 - added feature to specify multiple passwords and
	email addresses in config file.
	(2001/04/22) PS1 - cleaned up hotlist code.
	(2001/04/22) PS1 - fixed a bug where the incoming socket was not
	deleted when a download was deleted, causing bytes to spill.
	(2001/04/22) PS1 - added hook to request remotely queued item
	immediately as soon as a download from that user ends.
	(2001/04/22) PS1 - added /purgeup and /purge commands
	(2001/04/22) PS1 - improved the output of some commands such as
	/pvars.
	(2001/04/22) PS1 - deleted some unused code
	(2001/04/22) PS1 - overhauled upload state model to match the new
	download state model.
	(2001/04/21) PS1 - when download request times out because server
	did not send ack, re-send the request rather than stopping the
	download.
	(2001/04/21) PS1 - fixed status line display to include queued
	downloads
        (2001/04/21) PS1 - disabled messages about "too many uploads",
	unless variable "showtoomanyuploads" is set to 1.
	(2001/04/21) PS1 - added "help" feature to search screen.
	(2001/04/21) PS1 - added ability to "remotely queue" downloads if
	the remote user's upload limit is reached. The way this is
	implemented is by silently retrying the download every 15 seconds.
	(2001/04/21) PS1 - allow numeric ranges in /get to be separated by
	spaces or commas. Allow ranges in /ddown, /dup, /force.
        (2001/04/21) PS1 - print usage message when command misused.
	(2001/04/21) PS1 - made suffix ".incomplete" configurable
	(2001/04/21) PS1 - added "autopurge" feature
        (2001/04/21) PS1 - adjusted /tquit to wait for queued downloads as
	well as ongoing ones. Added /unquit commands.
        (2001/04/21) PS1 - major overhaul of download state model. We now
	have proper queueing and global and per-user download limits.
	Added /force command to start immediate download of queued item.
        (2001/04/20) PS1 - made changes to gnum and addsock.
	(2001/04/20) PS1 - reorganized wait for ping results using use
	timers rather than a special copy of sockfunc().
	(2001/04/20) PS1 - changed timer implementation to use arbitrary
	callback functions.
        (2001/04/20) PS1 - fixed a bug where recvpack did not always set
	errno on error.
        (2001/04/20) PS1 - added user variables "connecttimeout" and
	"newstimeout" which specify how patient nap will be while
	connecting to a server, and while looking for news about itself.
	This can alleviate problems with non-responsive servers (because
	after timing out, nap will move on to the next server on the
	list).
        (2001/04/20) PS1 - disallowed downloads from self on result screen
	- such downloads led to a race condition.
        (2001/04/19) PS1 - added sorting function to result screen.
        (2001/04/19) PS1 - removed redundant "num" field from search
	results.
        (2001/04/19) PS1 - cleaned up screen switching code, removing some
	segfaults along the way.
        (2001/04/19) PS1 - redesigned command history in main screen
        (2001/04/19) PS1 - removed dependency on endianness in sendpack
	and recvpack.

v1.4.4-ps8 2001/04/19
        (2001/04/18) PS1 - improved debugging output
	(2001/04/18) PS1 - make sure turds are removed on "/quit yes".
        (2001/04/18) PS1 - made dynamically loaded user library support
	optional - this is now disabled unless USERCMDS is defined
        (2001/04/18) PV1 - in dynamically loaded user library code, prefix
	symbols with "_" on a.out systems, but not on ELF ones.
        (2001/04/17) PS1 - changed the checksum to include the size of the
	mp3 data, rather than the file size. This conforms more closely to
	what the official Napster clients do.
	(2001/04/17) PS1 - fixed two segfaults - one when pressing Ctrl-T
	while not on a channel, the other when window too narrow while on
	a channel.
	(2001/04/17) PS1 - fixed a cursor positioning bug.
        (2001/04/17) PS1 - added "turdsize" variable. Any incomplete file
	of up to this many bytes will be considered a "turd" and removed.
        (2001/04/17) PS1 - added "incomplete" directory for files that are
	downloading but not yet complete. Such files will also have the
	suffix ".incomplete". The suffix is removed, and the file moved to
	the "download" directory, only if it has been completed.
        (2001/04/17) PS1 - added Makedist and rpm.spec.in to the
	distribution.
        (2001/04/16) PS1 - fixed a bug where the input field of the main
	screen was not always redrawn after a command.

v1.4.4-ps7 2001/04/16
        (2001/04/15) PS1 - nap now checks online for new releases and
	alerts the user to upgrade. This can be turned off with nonews=1.
        (2001/04/15) PS1 - fixed the /tquit command - it now actually
	works. Its effect can be undone with /reconnect.
        (2001/04/15) PS1 - fixed up return values of user commands, and
	removed some potential segfaults.
        (2001/04/15) PS1 - do not create a download list entry if local
	file cannot be opened.
        (2001/04/15) PS1 - moved hotlist file to home directory.
        (2001/04/14) PS1 - fixed Ctrl-C so that it can break a nested loop
        (2001/04/14) PS1 - made /loadalias, /alias, and /unalias more
	flexible. It is now possible to re-define an alias without first
	deleting it, and /loadalias will no longer create duplicates.
        (2001/04/14) PS1 - added "savepass" option, which, if set, causes
	nap to store passwords in the config file.
	(2001/04/13) PS1 - reorganized sources - spun off event.c from
	nap.c
        (2001/04/13) PS1 - added some keybindings to main window: Ctrl-A
	and Ctrl-E for beginning and end of line, Ctrl-K for kill after
	point, Ctrl-D for delete at point, Ctrl-N for PgDn, Ctrl-P for
	PgUp, Meta-DEL for deleting word before point.
        (2001/04/13) PS1 - fixed Ctrl-L (screen refresh) so that it really
	redraws the entire screen from scratch.
	(2001/04/13) PS1 - added a check to prevent duplicate uploads of
	items already in the upload list.
        (2001/04/13) PS1 - replace double quotes by single quotes when
	chatting, since double quotes confuse napster
        (2001/04/13) PS1 - the user variable "autoreply" can now be set to
	a string which will be used as an automatic reply to messages from
	remote users. This may be useful when running non-interactively.
        (2001/04/13) PS1 - added --nobuild option to prevent building the
	library.
        (2001/04/13) PS1 - all user variables can now be set on the
	command line with the --option option.
        (2001/04/13) PS1 - fixed bug which prevented password from config
	file from being be used.
        (2001/04/13) PS1 - made IP address resolution independent of
	endianness and word size.
        (2001/04/12) PV1 - code cleanup; deleted some unused variables,
	fixed #includes, as reported by -Wall.

v1.4.4-ps6 2001/04/12
        (2001/04/12) PS1 - fixed bug which prevented config file from
	being created.

v1.4.4-ps5 2001/04/12
        (2001/04/12) PS1 - fixed an old bug which caused nap to freeze
	sometimes when switching back and forth between main screen and
	result screen with F1/F2.
        (2001/04/11) NBL - fixed some bugs in optional queueing code.
        (2001/04/11) PS1 - removed lists.c and fixed some bugs regarding
	hotlists.
        (2001/04/11) PS1 - added /loadchannels and /savechannels commands
        (2001/04/11) PS1 - fixed bug which starved user input and server
	during an upload
        (2001/04/10) PS1 - changed library file format to allow nap to
	automatically rebuild the library when necessary on startup.
        (2001/04/10) PS1 - closed security loophole which allowed remote
	clients to access non-shared files.
        (2001/04/10) PS1 - better error messages for "newbie" errors -
	suggest starting commands with "/", and using /help.
        (2001/04/10) PS1 - unified the concepts of user variables, command
	line options, and config file options. Create config file if none
	exists.

v1.4.4-ps4 2001/04/09
        (2001/04/09) PS1 - fixed fatal bug in v1.4.4-ps3 which prevented
	all uploads. Immediate bugfix release.
	(2001/04/07) PS1 - started matching command line parameters with
	user-settable variables.
	(2001/04/07) PS1 - reorganized sources - spun off winio.c from nap.c
        (2001/04/07) PS1 - improved resizing behavior of main and results
	screens, fixing some segfaults along the way.
        (2001/04/07) PS1 - automatically scroll to bottom on output
	on main screen. This can be turned off by /set noscroll 1.
        (2001/04/07) PS1 - added control over information that appears on
	result screen: new keys 'a', 'b', 'l', 'm', 'f', 'u', 's', 'p'.
	Also changed behavior of PgUp and PgDn keys.
        (2001/04/07) PS1 - changed behavior of md5 hash to conform to 
	that of other clients.
        (2001/04/07) PS1 - fixed ID3 sharing bugs (#211841) - the ID3
	header size was calculated incorrectly in some cases.

v1.4.4-ps3 2001/04/04
     	(2001/03/30) NBL - added functions that respond to 609 (0x261)
	"accept failed" and 620 (0x26c) "queue limit reached" messages
	from server. Currently also only accessible via preprocessor flag
	QUEUE.
	(2001/03/30) NBL - /pdown shows which clients are firewalled
	(2001/03/30) NBL - additional error reporting, and additional
	comments in code; reorganized packet codes
	(2001/03/30) NBL - pressing 'u' on an item in the search results
	screen will show nickname of user offering the item
	(2001/03/30) NBL - fixed bug in numbering of results if "/set
	noresultscreen 1"
        (2001/03/30) NBL - fixed "percentage completed" calculation in
	case of a "resume". It now shows the percentage of the total file.
        (2001/03/30) NBL - added ability to queue downloads. Download only
	one file per user at a time, but automatically start the next one
	when one finishes. Also added /forceq command to deal with stuck
	queue items. (Experimental - define preprocessor flag QUEUE to
	include this patch).
        (2001/03/30) NBL - fixed ID3 download bug
        (2001/04/03) PS1 - removed static up/download limits
        (2001/04/02) PS1 - renamed "maxusers" as "maxuploads"
        (2001/03/28) PS1 - added User Guide
        (2001/03/27) PS1 - added RPM distribution
	(2001/03/26) PS1 - experimental list macros
	(2001/03/26) PS1 - disallow concurrent uploads of same file by
	same user. This was the cause of unexpected segfaults.
	(2001/03/26) PS1 - close some files that were left open
	
v1.4.4-ps-2 2001/03/24
	(2001/03/12) GT1 - OpenBSD patches: updated getopt, made configure
	check for curses, and include <netinet/in.h> under OpenBSD. Nap
	should now compile "out of the box" on OpenBSD.

v1.4.4-ps-1 2001/02/28
	(2001/02/28) PS1 - problem: if the specified port is busy, nap
	goes into firewall mode.  fix: allow user to specify a port range,
	rather than just a single port. By default, use ports 6699-6799.
	(2001/02/27) PS1 - fixed bug #214363: /d command takes (n-x)
	instead of x as arg
	(2001/02/27) PS1 - fixed bug #215003, single file can't be
	downloaded by hitting return
	(2001/02/26) PS1 - applied modified patch #401946 by Ville Aikas:
	fix bug #116254, segmentation fault
	(2001/02/26) PS1 - applied modified patch #403468 by christoph
	hebeisen: use 32-bit integer type for host addresses (improved:
	use configure script to figure out which type to use)
	(2001/02/26) PS1 - applied modified patch #403480 by Anonymous:
	display total count of mp3's in search or browse screen
	(2001/02/26) PS1 - fixed null pointer bug in nap.c

v1.4.4-ps-0 2001/02/24
	(2001/02/24) PS1 - renamed config file to .napconf, since .naprc
	was already taken.
	(2001/02/24) PS1 - fixed bug in config file handling: now only
	complain about non-existing file if the filename was explicitly
	given
	(2001/01/28) PS1 - fixed many memory leaks in nap.c, coming from
	excessive use of malloc for character arrays. Replaced these by
	stack-allocated arrays where possible.
	(2001/01/28) PS1 - fixed bug where uploads and downloads were
	deleted by their username and filename fields: this sometimes
	caused the wrong one to be deleted if some user requested two
	copies of the same file, resulting in a segmentation fault.
	(2001/01/28) PS1 - fixed several instances where members of a
	struct were accessed after the struct was free()d.
	(2001/01/27) PS1 - added the ability to give multiple --server
	options, and remember servers given for later /reconnect
	commands. Also, if more than one server is given, we go through
	the list in trying to connect, even if no -r option is given. The
	-r option then causes us to cycle back to the beginning of the
	list (leading to an infinite loop).
	(2001/01/27) PS1 - added an --autorestart option which
	automatically reconnects to a server when the connection was
	lost. This is useful when running in --daemon mode, since the
	Napster server usually disconnects after a day or so.
	(2001/01/27) PS1 - Print IP address and port of server whenever a
	connection to a server is established. This is useful for
	debugging in --daemon mode, since we can log this info to a
	file. We can then log into the same server and try to establish a
	connection to the client being debugged.
	(2001/01/20) PS1 - added POSIX-style long options.
	(2001/01/20) PS1 - added --version option to check version of nap
	without running it.
	(2001/01/20) PS1 - added --daemon option to run quietly without
	user interface. This will allow users to share their files by
	running nap in the background as a "nohup" process.
	(2001/01/20) PS1 - look for config and library files in user's
	home directory, rather than current directory. Also, renamed these
	files more discreetly as .naprc and .nap_shared.
	(2001/01/20) PS1 - improved certain error messages by printing
	more specific information.
	(2001/01/20) PS1 - added --user, --pass, --email, --upload,
	--download, --dataport, --connection, --maxusers options to
	override settings in config file.
	(2001/01/20) PS1 - handle missing config file or missing values by
	prompting user or guessing a default, rather than by giving up.
	(2001/01/20) PS1 - allow more flexible format for config file:
	allow blank lines, and whitespace at beginning and end of line,
	and before and after '='.  Do not quit on ill-formed lines.
	(2001/01/20) PS1 - fixed a security bug (string format attack):
	calls to sendpack(a, b, c), where c is not a constant string, must
	be replaced by sendpack(a, b, "%s", c).  This is because in some
	contexts, c may contain arbitrary data (such as filenames), and by
	embedding '%' characters in c, a cracker could gain access to any
	data on this process's evaluation stack, including passwords
	etc. I found this bug in a posting by gregory duchemin
	<c3rb3r@HOTMAIL.COM> to BUGTRAQ@SECURITYFOCUS.COM, archived at
	http://www.shmoo.com/mail/bugtraq/sep00/msg00942.shtml.

v1.4.4 2000/09/08
	no ChangeLog available past this point.
