/*
 * ChangeLog: Dealing with the actual changes of code in ircII, leaving
 * UPDATES for actual user changes.
 *
 * Matthew Green, 1993.
 *
 * Copyright(c) 1993
 *
 * See the COPYRIGHT file, or do a HELP IRCII COPYRIGHT
 */

2.2.6
Thu May  6 04:41:24 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/numbers.c, source/parse.c, source/funny.c:
		fixed some numerics that were in accessable from /on
		<num> (353 and 366), and removed the away-time from
		the /on msg hook.
	script/finger:
		updated so it doesn't cause core dumps on AIX (Daemon)
	install:
		updated to work with the new config.h (Daemon)

Wed May  5 21:43:35 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/new_io.c:
		new_select() - if timeout == NULL, then we bzero() the
		newtimeval .. stops ircserv from hanging... thanks to
		Kenny Zalewski <zalewk@rpi.edu> for this.

2.2.5
Tue May  4 17:12:03 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/keys.h.proto, source/keys.c, source/screen.c
		Added new binding SCROLL_START, and new function 
		scrollback_start() to do it.
	source/ircaux.c:
		check_nickname() - fixed bug where it was returning `s'.

Tue May  4 02:11:02 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/exec.c:
		various patches from avalon added to help speed up
		exec handling.

Mon May  3 21:32:49 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaargh.
	Turning bold or inverse off turns everything off.  its a bug in
	termcap. sigh.

Mon May  3 01:26:18 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/irc.c:
		added HPUX and linux to the re-issue list for signals
		that are handled seeing the internal process handlers
		aren't always re-set properly -=> ^C making the client
		exit untimely.

Sun May  2 23:06:08 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/parse.c, source/notice.c, source/ignore.c, source/ignore.h:
		changed the handling of ignore_combo, introducing
		a new function double_ignore().
	source/parse.c, source/ignore.c
		moved IgnoreCombo() into ingore.c from parse.c and 
		renamed it ignore_combo()
	source/window.c, source/screen.c, source/dcc.c:
		removed netinet/in.h and arpa/inet.h includes where they
		existed as dcc.h includes them, and 386BSD has lame
		header files.
	source/pares.c:
		p_nick() - if its mynick then its shown to the current
		window.
	source/lastlog.c:
		lastlog() - added -literal switch.

Sun May  2 05:03:27 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/names.c, source/names.h:
		Added channels keys to the channel stuff, and it also
		gets shown in the mode returned.
	source/numbers.c:
		Fixed bug in 002 handling with SHOW_NUMERICS on.

Fri Apr 30 18:48:04 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/ircux.c:
		check_nickname() - rewritten, and handles things better.
	source/irc.c:
		parse_args() - we now call check_nickname() to make
		sure the nick given is "ok".  If not, we don't start.

Wed Apr 28 19:55:43 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/ctcp.c:
		fixed bug in ctcp ping reply.
	source/parse.c, source/edit.c:
		prefixed duplicate funcion names with p_ and s_.
	source/screen.c:
		fixed lame bug in add_to_window() where the arguments
		to strmcat() were wrong.  (wall privmsg quit channel
		invite nick)
	source/keys.c:
		added emacs bindings to 0x80 + b/d/f/h/^? for people
		with meta keys.
	source/keys.h:
		removed.  wasn't used anywhere.
	source/dcc.c:
		DCC connections are now shown with the ip number, to
		provide a little extra security (Avalon).

Tue Apr 27 02:33:03 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/dcc.c:
		"blah". fixing put_it() et al, didn't fix the lame
		ultrix float bug after all.  stupid ultrix.

2.2.4
Mon Apr 26 12:01:58 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/ctcp.c:
		fixed lame bug in do_atmosphere() that was making channels
		leave windows because of a missing 2nd argument to
		is_current_channel().

2.2.3
Mon Apr 26 00:42:21 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/screen.c, source/irc.h, source/irc.c:
		added new global variable, char global_all_off[] that 
		holds a string with the ALL_OFF character in it.  Fixes
		bug with crap getting on the screen.
	source/Makefile.proto:
		Added dependancies for crypt.o.

pre2.2.3
Sun Apr 25 11:17:29 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/exec.c:
		fixed lameness with wait3() arguements.
	source/screen.c:
		added a `:' to the send_to_server() call when redirecting.
		makes it so that 2.8 servers get everything.

Sun Apr 25 01:35:35 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/
		blah. fixed several problems in lots of stupid things
		i did for the release.
	source/screen.c, source/status.c, source/irc.h:
		changed bold, inverse and underline characters to
		^B, ^V and ^_ respectively.  wow.  it makes some sense
		now.
	Makefile:
		Some rearrangements, and general updating.  its now
		easier to install, or at least i hope so.
	config.h:
		several things updated, AUTO_RECONNECT removed..

2.2.2
Fri Apr 23 05:44:29 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/
		fixed all of the implicit functions declartions, and
		several other compiler warnings. wheeeeeeeeeee.

Thu Apr 22 14:42:07 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/numbers.c:
		fixed handling of RPL_LINKS (364) so that 2.8 servers
		would be cool.

Thu Apr 22 04:18:53 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/
		fixeds 1000's olf lines of warnings from gcc -Wall.

Tue Apr 20 22:29:05 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/term.c:
		fixed lame hpux bugs, got term.c back to working again.
	source/keys.c, source/edit.c:
		fixed 8-bit stuff again in edit_char(), by using 
		unsigned char.

pre2.2.pl12
Mon Apr 19 21:54:09 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/term.c:
		blah.  i hate sun tty drivers.  we're back to sgtty.

Sat Apr 17 21:28:42 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/alias.c, source/alias.h, source/parse.c, source/ctcp.c,
	source/dcc.c, source/dcc.h, source/edit.c, source/edit.h,
	sourec/exec.c, source/flood.c, source/help.c, source/history.c,
	source/irc.c, source/irc.h, source/ircaux.c, source/log.c,
	source/mail.c, source/notice.c, source/scandir.c, source/server.c,
	source/status.c, source/whois.c, source/dcc.c.orig, source/screen.c:
		Added OSF/1 support.  Made `long' a define, Long.
	source/output.c, source/ctcp.c, source/server.c, source/hook.c:
		put_it(), say(), yell(), send_to_server(), do_hook(),
		send_ctcp() and send_ctcp_notice() - changed from being
		`int' to `char *' being passed.  Fixes several lame
		problems.

Thu Apr 15 17:09:16 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/whois.c:
		whois_operator() - fixed 313 reply, so that 2.8 
		servers look cool.
	source/numbres.c
		cannot_join_channel() - now switch on -current_numeric,
		not current_numeric.
	source/term.c:
		Changed terminal handling from sgtty to termios for 
		SUNOS.

Tue Apr 13 13:39:09 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/ctcp.c:
		fixed various bugs with ctcp floods,
	source/
		fixed lots of compiler warnings, thanks to Vesa.

pre2.2.2pl10
Mon Apr 12 18:39:55 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	all:
		fixed various .h and .c files, removing a few compiler
		warnings.
	source/alias.c:
		changed $channels() and $servers() to $mychannels and
		$myservers().
	source/edit.c:
		Added new command XTYPE [-LITERAL] <text>, function
		xtypecmd().

Mon Apr 12 03:26:44 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	Makefile, source/Makefile.proto
		Added LEX and LEXLIB.

Sat Apr 10 02:42:55 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/dcc.c;
		close_all_dcc() - fixed bug where the list was merely
		being lost, not removed (so not closing fd's)

pre2.2.2pl9
Fri Apr  9 02:27:26 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	Makefile, source/dcc.c:
		Added PTX patches.
	source/exec.c, source/edit.c, source/screen.c:
		changed test_to_process() to have switch if it would
		call put_it() or not - fixed recusive bug with /redirectign
		to a process.

Thu Apr  8 01:17:41 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/window.c, source/server.c:
		Fixed /window server, and /server so that ircii would
		use the old port numbers.

Wed Apr  7 13:31:23 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/hook.c:
		Made save_hooks() include the serial number.
	source/edit.c:
		parse_line() - \r and \n are not treated as special from
		within a loaded script anymore.

pre2.2.2pl8
Tue Apr  6 23:37:27 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/history.c:
		Fixed history scrolling from the initial input line.
	source/server.c:
		Fixed bug in server -delete where Window->server's
		were left the old value.
	source/mail.c:
		Made it so mail type messages go to level CRAP.
	soucre/alias.c:
		Added poxaV's curpos patch.
	source/edit.c:
		Changed /WAIT to use unknown command, not WHOIS.
	
pre2.2.2pl7
Tue Apr  6 01:01:46 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/notice.c:
		fixed lame bug where the server version/name NOTICE was
		being shown twice.
	source/numbers.c:
		Added lastlog saving to all numeric messages.
	source/mail.c:
		init_mail() - fixed handling of env var MAIL where it was
		strcat()ing not strcpy()ing (Glenn!)
	source/status.c:
		Added Aiken's right justification patch to the status
		line (%>).
	source/screen.c, source/window.c, source/window.h:
		Fixed lame bug where I'd left variables in screen.c and
		window.c.
	source/?:
		Added various things from Lynx.

Mon Apr  5 05:15:16 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/numerics.c:
		made numerics 471 473 474 475 476 show what sort of
		cannot join channel they are.
	source/whois.c:
		made 313 replies (whois operator) only add the
		"(is an IRC operator)" if the server is < 2.8.

Tue Mar 30 03:58:27 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/dcc.c, Makefile:
		Added support for A/UX, thanks to Helen Rose for help
		with this (hrose@eff.org).

pre2.2.2pl6
Tue Mar 30 02:02:22 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/term.c, source/term.h:
		changed various things for hpux terminal emulation. .now
		uses sysV style (termio).  Fixes problem with getting
		info about the terminal out of the tty.  Also added
		support for irix.

pre2.2.2pl5
Mon Mar 29 18:50:25 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/window.c, source/window.h, source/screen.c, source/screen.h
	source/names.c, source/lastlog.c, source/hold.c, source/exec.c,
	source/translat.c, source/term.c, source/status.c, source/menu.c,
	source/irc.c, source/input.c, source/help.c, source/edit.c,
	source/alias.c
		window.c was split into window.c and screen.c today, and
		these files had various changes to fit to this.

Mon Mar 29 01:13:30 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/count.l, source/count.c, source/Makefile.proto:
		Added count.l, removed count.c, and updated Makefile.proto
		to use these changes.
	
	source/irc.c, source/dcc.c, source/exec.c
		Fixed close_all_dcc(), and close_all_exec().  Added
		signal handlers for SIGUSR1 (sig_user1) and SIGUSR2
		(sig_user2).  USR1 closes all dcc and exec connections,
		and USR2 uses setjmp()/longjmp() to break out of where
		it is, and start processing from irc_io() again.  USR2
		doesn't seem to work.  sigh.

pre2.2.2pl4
Sat Mar 27 04:18:29 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/edit.c:
		fixed lame bugs for some commands losing parameters.
	source/window.h, source/window.c:
		Fixed bugs in scroll functions where wrong lines were
		displayed when new lines had been added to the window.
		New Window element int new_scrolled_lines.
	source/server.c:
		fixed ircserv to show the real name of the program in
		argv[0], not "ircserv".
	source/edit.c:
		Fixed handling of literal ^J and ^M's to the way they were
		originally documented in UPDATES (the same as \n used to do).
	source/hook.c:
		ugh, do_hook().  added a bzero().  see comments.  ha ha ha.
	source/lastlog.h:
		Added LOG_SNOTE to LOG_ALL.

Thu Mar 25 23:58:58 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/ctcp.c, source/parse.c:
		Finished the ignore ctcps and crap stuff.
	source/parse.c:
		ON PUBLIC has $1 as channel, and $2- as message.

Thu Mar 25 02:19:04 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/edit.c:
		fixed send_com() so that it would only use "%s :%s" when
		the argument existed.
	source/ignore.c, source/ignore.h:
		changed level from unsigned char to int, to allow more than
		8 level's of ignore to work.  Reformatted the  output ..

Wed Mar 24 19:57:03 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/numbers.c:
		Fixed motd numerics for 2.8 properly..
	source/vars.h.proto, source/vars.c, config.h, config.h.lynx:
		Added new variable NOTIFY_LEVEL, which is used by default
		for new windows.
	source/edit.c:
		Fixed bug in quote(), where the arguement was being sent
		as the format string.  Real dumb.
	source/ctcp.c, source/ignore.c, source/ignore.h, source/lastlog.c,
	source/lastlog.c:
		Added ignore levels CTCP and CRAP.

Tue Mar 23 01:58:34 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/edit.c, source/numbers.c, source/window.c, source/whois.c,
	source/irc.c:
		Changed redirect to use unknown command, and fixed some
		strange bugs.  Some still exist with 2.8 servers.  Also
		made all numerics work with /on <num>.  Some (318 eg)
		didn't have hook code for it.
	source/input.c:
		Fixed lame bug in write a character to the screen.

Mon Mar 22 02:24:43 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/window.c, source/window.h:
		Added window notify levels, with /window notify_level
		level ..
	source/vars.h.proto, source/vars.c, source/window.c, source/keys.c,
	config.h, config.h.lynx:
		Added two new variables, XTERM_OPTIONS, whose value is
		passed to xterm, when using WINDOW CREATE, and 
		EIGHT_BIT_CHARACTERS, which, if set, doesn't strip the
		8th bit off the input streams.
	source/alias.c, source/names.c, source/names.h, source/server.c,
	source/server.h:
		Added new functions $channels() and $servers().

Sun Mar 21 02:31:25 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/edit.c:
		privmsg() - changed so that /msg =nick and @nick both
		set from_server to -1.. fixes lame level bug..

Sat Mar 20 02:16:34 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/window.c:
		window() - made /window server make the window level
		ALL -DCC, not just ALL.
	source/numbers.c:
		Fixed the INFO and MOTD numerics so that they will work
		with the new ones from ircd 2.8-7+ .. blah ..
	source/newio.c:
		new_select() - fixed so that select() wouldn't over right
		the struct timeval...
		

Fri Mar 12 18:27:31 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/edit.c:
		send_com() - wasn't prefixing the arguements with a
		: which meant ircd 2.8 was being lame ...  For some
		commands, using send_comm()

Mon Mar  8 10:22:03 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/exec.c:
		fixed bug in /exec -in
	source/server.c:
		added support for /server -delete
	source/edit.c, source/keys.c:
		Added support for 8 bit input.
	source/irc.c:
		Added command line option -v, version.

2.2.1.2
Sun Feb 28 13:35:19 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/whois.c:
		add_to_whois_queue() - finished fixing another bug in
		/userhost -cmd..
	source/names.c:
		ignore() - made /IGNORE use the HIGHLIGHT_CHARACTER.
		reconnect_all_channels() - fixed bug from 2.2.1

2.2.1.1
Wed Feb 24 17:43:55 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/whois.c:
		Fixed bug in /userhost.
	source/parse.c:
		Fixed bug in ON RAW_IRC.

Tue Feb 23 18:56:54 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/reg.c:
		Fixed bug in \escaping. (Troy)

Sun Feb 21 16:36:22 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	script/troy, script/killpath, script/kpstat, script/traces:
		Updatd scripts for 2.2.1.

Sat Feb 20 00:36:12 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/edit.c, source/irc.c
		Finally did The Right Thing (tm) with the wait key junk
		that help uses, and moved it from irc_io() to edit_char()
		where I should have put it originally.  Also fixes a bug
		in dumb mode.

Thu Feb 18 01:48:05 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/window.c, source/window.h:
		window() - added new command LOGFILE for window logging.
	source/dcc.c:
		We now use wait_new_free() for dcc_erase().
	Makefile:
		Removed makehelps and changed installhelp.

Wed Feb 17 06:13:34 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/notice.c:
		changed ON SERVER_NOTICE for $0 to be the server name.
		Changed the AIX_370 #if's to BROKEN_SCANF.
	source/ctcp.c:
		Fixed bugs in CTCP PING.
	source/edit.c:
		Fixed bugs in me() and describe().

Thu Feb 11 14:57:10 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/server.c:
		do_server() - actually fixed the autoreconect problems
		when there is only one server in the server list this
		time. ugh.
	config.h, source/vars.h.proto, source/vars.c, source/parse.c
		Added new variable SHOW_WHO_HOPCOUNT, whoreply().

Wed Feb 10 19:53:32 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	script/whowas
		New whowas script for 2.2 from Mycroft.
	source/ctpc.c
		Fixed NO_CTCP_FLOOD, changed do_errmsg() to do_echo(),
		and moved do_ping() to this, and added CTCP ECHO.
	Numerous other bugs fixes from various people.

Tue Feb  9 16:46:39 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/dcc.c, source/scandir.c, source/help.c, source/edit.c:
		couple of bugs fixes here and there ...
	source/edit.c:
		bug in who() with -operator switch..

Sun Feb  7 17:35:03 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/window.c, source/server.c, source/edit.c;
		Fixed away bugs..
	source/window.c:
		update_all_status() - doesn't call traverse_all_windows()
		anymore, as it was calling it recusively.  Should rewrite
		traverse_all_winodws().
	source/
		Support for Solaris 2 added (spot <raob@ee.mu.oz.au>)
	source/
		Support for 386BSD added (Mycroft)

Sun Feb  7 05:04:23 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/alias.c:
		alias_currdir(), and `$W' now return the current working
		directory. alias_version(), and '$V' give the version
		(poxaV).
	source/alias.c:
		alias_current_numeric(), and `$H' now return the current
		numeric.
	source/edit.c;
		fixed couple of memory leaks, made `:' not a special
		character in command mode, as it is now the no-op command.
		me(), describe() and prepare_action() - changed to not
		add the offensive period.
	source/window.c:
		window() - fixed bugs in WINDOW SERVER and WINDOW NAME.
	source/help.c:
		help() - bit of cleaning up..
	source/ctcp.c:
		do_version() - made it use IRCII_COMMENT if the value for
		CLIENT_INFORMATION is null.

Thu Feb  4 17:59:23 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/
		Various unused variables removed, uninitialised variables
		initilised..
	source/status.c, source/window.c, source/hook.c, source/edit.c,
	source/if.c:
		Few bug fixes here and there, and a couple of very nasty
		memory leaks..  thanks to jlemon..
	source/hook.c:
		do_hook() - fixed the `Dumb mode' bug that Daemon, then
		recently poxaV had trouble with (Mycroft)
		
Wed Feb  3 18:30:04 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/ctcp.c, source/vars.h.proto, source/vars.c, config.h:
		New variable NO_CTCP_FLOOD, which when set makes ircii
		only send one CTCP reply per second.
	source/numbers.c, source/whois.c, source/names.c, source/funny.c:
		Changed all the numerics replies so that $0 is now the
		server name (if it want't already), except for ISON and
		USERHOST, as these are server local anyway.

Tue Feb  2 21:40:46 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/edit.c, source/whois.c:
		Removed /msg -channel as it doesn't make sense anymore.
	source/dcc.c:
		process_dcc_request() - fixed start times in dcc requests.
	source/status.c:
		status_mail() - fixed stupid bug (Mycroft).
	source/whois.c:
		no_such_nickname() - fixed so that $0 is now the server name.

Sun Jan 31 23:33:18 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/window.c:
		kill_screen() - fixed more lame bugs left for me to fix.
	source/term.h, source/scandir.c, source/ircflush.c:
		Fixed various hpux problems.
	Makefile, config.h, source/dcc.c, source/edit.c,source/exec.c,
	source/irc.c, source/irc.h, source/mail.c, source/scandir.c,
	source/term.c, source/hook.c:
		Fixed various AIX 3.1/3.2 problems.  (Mycroft)

Sat Jan 30 18:28:31 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/edit.c, source/ctcp.c:
		Added CTCP PING to ircII...  pingcmd() and special case
		handling for the reply .. convert_ping_args()..
	source/edit.c
		waitcmd() - fixed stupid bug that Troy left in the code
		to set up a WAIT -CMD.

Thu Jan 28 23:37:19 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/names.c:
		Fixed bug in irc -c that I broke when fixing the phone bug.

Wed Jan 27 22:48:46 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/window.c, source/irc.c:
		Changed create_additional_screen() to select on the listening
		socket, and timeout after 5 seconds, returning an error, 
		rather than just calling accept().  This stops the case where
		the wserv process doesn't get started, and the client will
		hang in the accept().  Removed the force arguement from
		kill_screen(), and all the calls to it.

	source/edit.c:
		renamed new_send_line() to sendlinecmd() so that it follows
		the general ircII pattern (is there such a thing ? - phone :)
		
Tue Jan 26 19:03:51 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/status.c
		Added poxaV's patch to put time in standard format.

Mon Jan 25 09:14:10 EST 1993 - Brian Koehmstedt <bpk@gnu.ai.mit.edu>

	source/crypt.c, source/dcc.c, source/exec.c, source/help.c,
	source/irc.c, source/ircaux.c, source/notice.c, source/scandir.c,
	source/term.c, source/ircflush.c:
		added support for Linux

Mon Jan 25 02:52:14 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/dcc.c, source/exec.c, source/server.c, source/window.c:
		added close_all_dcc(), close_all_exec() and close_all_server(),
		which are called from create_additional_screen(), from the
		forked process to close all unneeded file descriptors.
		create_screen() - fixed bug when create_screen() returns a
		screen that was marked as being !alive.
		Hmm, somewhere here I think I have fixed the bug with the
		position of the cursor, when using more than one screen.
		No idea if it is fixed, but I can't get it to happen.
	source/names.c:
		set_window_channel() - fixed bug when channel was NULL.

Mon Jan 25 11:44:20 EST 1993 - Charles Hannum <mycroft@gnu.ai.mit.edu>

	source/window.c:
		scroll_window() - fixed bug that deleted text from the
		input prompt

Thu Jan 21 18:16:16 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/window.c, source/dcc.c:
		Added flag to dcc_message_transmit(), to indicate if the
		hook/put_it() call should be made.  Used when redirecting
		to a dcc chat connection, which is now possible.

Wed Jan 20 23:41:50 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/window.c, source/edit.c, source/whois.c, source/window.h:
		Changed how REDIRECT works.  We now send a redirect token
		to the server when redirecting, not a wait token.  It is in
		the form of #RED#nnnn where nnnn is the screen's number
		(internal).  Redirect also is a property of the screen, not
		of the whole of ircII.  This means that there are no more
		valid reasons to call irc_io() recursively.o
	source/mysetjmp.h, source/mysetjmp.c, source/irc.c, source/alias.c,
	source/window.c, source/window.h:
		Removed all the code that was applicable to the mysetjmp()
		code, as there are no need for it anymore - only /WAIT and
		$".." call irc_io() recursively, and they can be used in
		other (better) ways.

Tue Jan 19 14:05:52 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/help.c:
		You guessed it.. another bug.. fixed.
	source/window.c;
		window() - fixed bugs in WINDOW SERVER.
	source/parse.c, source/edit.c, source/exec.c:
		Added doing_privmsg, which makes ircII convert all attempts
		to PRIVMSG from a PRIVMSG in to a NOTICE.
	source/parse.c, source/whois.c:
		Added flag to HOST and USERHOST commands.  It allows a command
		to be executed when the the userhost (302) reply comes back
		from the server - userhost_cmd_returned().
	source/edit.c;
		Added new command INPUT.  Takes a ".." prompt as its first
		parameter, and displays this, and prompts for input that
		expanded, and passed to the command that is its second arg.
		(ie, /INPUT "prompt> " echo $*).  This should be used as
		a replacement for $".." type variables.

Sun Jan 17 22:01:34 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/help.c:
		help_prompt() - fixed another bug..  when will it end..?
	source/dcc.c:
		register_dcc_offer() - made dcc collisions for DCC CHAT
		automatically connect to the other party.  Impressed.
	source/window.h, source/window.c:
		Added new define in winodw.h SCROLL_AFTER_DISPLAY .. which
		makes the display scroll like it used to in 2.1.5.

Sun Jan 17 01:16:37 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/funny.c:
		Fixed lame bug in funny_list() which caused the wide list
		to be corrupted when more than 50 in it.

Sat Jan 16 17:42:41 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/window.c:
		Fixed stupid bug in window(), in the CHANNEL command.
	source/dcc.c:
		Forgot dcc get for lame ultrix - fixed.
	source/lastlog.c:
		lastlog() - made it possible to /lastlog <pattern> <count>
		now.
	source/help.c:
		help_me() - fixed a stupid bug that would cause help to
		become trapped, and unusable for that session.

Fri Jan 15 16:26:13 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/irc.c, source/window.c:
		Finally got irc_io() knowing when a socket connection to
		a wserv process closes, and to kill that screen, I know
		don't know of any pending bugs directly related to
		WINDOW CREATE.

	source/irc.c, source/help.c:
		Got help working properly again (I think), and all the
		checking to make sure ircII won't get confused, etc.

Fri Jan 15 03:07:48 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/help.c:
		Added variable help_screen, that is set when we enter a
		help command, and is set to NULL when we exit.  In help(),
		I made it illegal to call help from more then one screen
		at the same time.
	source/irc.c, source/window.c:
		Added new function is_main_screen(), and added code to 
		irc_io() to detect if a screen is closed from something
		other than window delete.

Thu Jan 14 12:37:10 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	Makefile, source/Makefile.proto:
		Removed the INSTALL section of this, replacing it with a
		cp, strip, and chmod, as not all machines support install.
		Also added new target `everything' to the Makefile.. that
		does the same as `make all ircflush ircserv wserv'.

Wed Jan 13 18:19:26 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/alias.c, source/edit.c:
		Smallish revamp of the whole modules, formatting for 80 columns
		and smallish optimizations here and there.  Could be bugs here
		I guess.
	source/crypt.c, source/ctcp.c, source/dcc.c, source/exec.c,
	source/flood.c, source/funny.c, source/help.c, source/history.c,
	source/hold.c, source/hook.c, source/if.c, source/ignore.c,
	source/input.c, source/irc.c, source/ircaux.c, source/ircflush.c,
	source/ircserv.c, source/key.c, source/lastlog.c, source/list.c,
	source/log.c, source/mail.c, source/menu.c, source/mysetjmp.c
	source/names.c, source/newio.c, source/notice.c, source/notify.c
	source/numbers.c, source/output.c, source/parse.c source/reg.c,
	source/status.c, source/server.c, source/term.c source/translat.c,
	source/vars.c, source/whois.c, source/window.c, source/wserv.c:
		reformatted for 80 columns, hopefully thats the end of the
		formatting saga..  :)

Tue Jan 12 16:42:55 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/dcc.c:
		Changed the call to put_it() for ultrix machines so that
		the floating pointers won't get garbled.
	source/ctcp.c, source/ctcp.h:
		Fixed send_ctcp_reply(), and removed Transmit_CTCP() moving
		the 2 lines to the only place it was called from.
	source/translat.c, source/term.c, source/ignore.c:
		reformatted.

Mon Jan 11 16:40:14 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/window.c:
		Changed window() so that the handling of HOLD_MODE called
		set_int_var() rather than reset_line_cnt().  Fixed a problem
		with /flush.

Mon Jan 11 01:35:22 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/lastlog.c, source/file.c, source/crypt.c, source/list.c:
		reformatted.

Mon Jan 11 00:29:41 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/names.h, source/names.c, source/window.c, source/window.h,
	source/edit.c, source/parse.c:
		Changed the handing of WINDOW CHANNEL, and JOIN so that
		ircII now remembers what window a channel was joined on.
		channel() in both parse.c and edit.c were changed, 
		add_channel() in names.c.  New function, set_channel_window()
		added, in names.c thats sets a channel's window, and as such,
		Window * added to ChannelList.  This sometimes helps ircII
		remember what channels were on which windows, when
		re-connecting to a server.  Sometimes.

	source/ctcp.c, source/output.c, source/hook.h.proto, source/parse.c,
	source/output.h:
		Moved the ctcp_* functions in output.c to ctcp.c, where they
		belong, and also put in_on_who in hook.h.proto, and fixed
		those fucntions that used it.

Sun Jan 10 10:30:20 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/funny.c:
		Changed funny_list(), fixing the -TOPIC argument to the
		LIST command.  Changed the functionality of -TOPIC so
		that it works *with* the other arguements, not against
		them.

Sun Jan 10 09:23:43 EST 1993 - poxaV <cgw@unt.edu>

	source/vars.h.proto, source/vars.c, source/status.c, config.h:
		renamed status_user() to status_user0(), and added 3
		new functions, status_user[123]()..  New variables
		STATUS_USER[0-3] ..  to go with the new status line
		functions, %X, %Y and %Z.

Thu Jan  7 00:13:14 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/status.c:
		Fixed status_oper() so that it wouldn't show
		if SHOW_STATUS_ALL wasn't set.

Wed Jan  6 19:04:42 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/funny.c:
		Changed funny_print_widelist() ..  it now works
		again, I don't know when I broke it.

Wed Jan  6 11:59:11 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/term.c, source/wserv.c:
		Made the term_init() call used in wserv to set the
		line discipline to RAW, so I could forget about
		having to worry about signals, and removed the
		SIGINT handling from wserv.c.  Hopefully this means
		that wserv works properly now.  (thanks to Dizzy
		<nathan@eas.gatech.edu> for help with this).

Wed Jan  6 00:03:00 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/Makefile.proto:
		updated depandancies, and re-organised the
		SOURCES and OBJECTS.

	source/timer.c, source/edit.c, source/irc.c, source/irc.h,
	source/mysetjmp.c, source/mysetjmp.h, source/window.c:
		Moved everything from timer.c into either edit.c
		or irc.c.  Made WINDOW_CREATE define more parts
		out, in irc.c, mysetjmp.[ch], and window.c.

Tue Jan  5 20:59:36 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/exec.c:
		Reformatted, and new element of the process list
		added, server, to allow /exec -out/msg/notice
		to go to the right server.

	source/newio.c:
		reformatted.

Tue Jan  5 18:06:25 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/edit.c, source/keys.c:
		Added new function parsekeycmd(), and new command,
		PARSEKEY which calls it - does the same as typing
		a key which is bound the the arguement.

Tue Jan  5 17:03:04 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/window.c:
		Changed window() so that the WINDOW CHANNEL
		command with no arguments make the current
		window's channel null.

Tue Jan  5 16:15:51 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/wserv.c:
		Changed got_sigint() to send the ^C down the pipe,
		rather than kill SIGINT the ircII process, as this
		was causing the ^C to be read as though it was from
		the main screen.

Tue Jan  5 01:57:58 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/edit.c:
		Changed new_send_line() to set the display on.

Mon Jan  4 23:46:58 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	source/vars.h.proto, source/vars.c, source/hook.c, source/edit.c,
	config.h:
		New variable INPUT_PROTECTION.  Doesn't allow any
		ON INPUT's to be added when set.  ON INPUT moved to
		send_line(), so that all input is caught in the hook,
		SENDLINE command added, that calls the new function,
		new_send_line, that does a simliar thing to the send_line
		command, except, no handling for prompts, or ON INPUT is
		done during this.

Mon Jan  4 15:23:34 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	hook.c:
		reformatted.

Fri Jan  1 23:46:03 EST 1993 - Matthew Green <phone@coombs.anu.edu.au>

	*.h:
		Fixed all the header files, so that if included more than
		once, they are only parsed once.
