Index: ChangeLog
===================================================================
RCS file: /home/cvsroot/laeos/xaric/ChangeLog,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- xaric/ChangeLog	1999/10/20 23:02:18	1.2
+++ xaric/ChangeLog	1999/12/02 06:38:33	1.3
@@ -1,3 +1,14 @@
+Wed Dec 01 16:59:24 1999 Rex Feany <laeos@ptw.com>
+
+	* changed version to 0.9f
+	* changed ctrl-k to clear_to_end_of_line 
+	* made /window query call query (to make mullein happy:)
+	* added /operwall for ircd-hybrid 
+	* added /locops
+	* switched rehash and restart to use cmd_oper_stuff
+	* added /htm
+	
+
 Wed Oct 20 14:24:21 1999 Rex Feany <laeos@ptw.com>
 
 	* Branched off the perl stuff in the CVS tree,
Index: Makefile.in
===================================================================
RCS file: /home/cvsroot/laeos/xaric/Makefile.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- xaric/Makefile.in	1999/10/20 23:02:18	1.2
+++ xaric/Makefile.in	1999/12/02 06:38:33	1.3
@@ -260,7 +260,7 @@
 	@for file in $(DISTFILES); do \
 	  d=$(srcdir); \
 	  if test -d $$d/$$file; then \
-	    cp -pr $$/$$file $(distdir)/$$file; \
+	    cp -pr $$d/$$file $(distdir)/$$file; \
 	  else \
 	    test -f $(distdir)/$$file \
 	    || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
Index: configure
===================================================================
RCS file: /home/cvsroot/laeos/xaric/configure,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- xaric/configure	1999/10/20 23:02:18	1.2
+++ xaric/configure	1999/12/02 06:38:33	1.3
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-# From configure.in Revision: 1.1.1.1 
+# From configure.in Revision: 1.2 
 
 
 # Do all the work for Automake.  This macro actually does too much --
@@ -724,7 +724,7 @@
 
 PACKAGE=xaric
 
-VERSION=0.9e
+VERSION=0.9f
 
 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
   { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
Index: configure.in
===================================================================
RCS file: /home/cvsroot/laeos/xaric/configure.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- xaric/configure.in	1999/10/20 23:02:18	1.2
+++ xaric/configure.in	1999/12/02 06:38:33	1.3
@@ -1,10 +1,10 @@
 dnl ------------------------------------------------------------
 dnl Mostly stolen from ircII
 dnl
-dnl @(#)$Id: configure.in,v 1.2 1999/10/20 23:02:18 laeos Exp $
+dnl @(#)$Id: configure.in,v 1.3 1999/12/02 06:38:33 laeos Exp $
 dnl -------------------------------------------------------------
 
-AC_REVISION($Revision: 1.2 $)dnl
+AC_REVISION($Revision: 1.3 $)dnl
 AC_INIT(source/ctcp.c)
 
 dnl ---------------------------------------------------------------
@@ -21,7 +21,7 @@
 dnl Version
 dnl --------------------------------------------------------------
 
-AM_INIT_AUTOMAKE(xaric, 0.9e)
+AM_INIT_AUTOMAKE(xaric, 0.9f)
 AM_CONFIG_HEADER(include/config.h)
 
 dnl ----------------------------------------------------------------
Index: doc/Makefile.in
===================================================================
RCS file: /home/cvsroot/laeos/xaric/doc/Makefile.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- xaric/doc/Makefile.in	1999/10/20 23:02:18	1.2
+++ xaric/doc/Makefile.in	1999/12/02 06:38:33	1.3
@@ -100,7 +100,7 @@
 	@for file in $(DISTFILES); do \
 	  d=$(srcdir); \
 	  if test -d $$d/$$file; then \
-	    cp -pr $$/$$file $(distdir)/$$file; \
+	    cp -pr $$d/$$file $(distdir)/$$file; \
 	  else \
 	    test -f $(distdir)/$$file \
 	    || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
Index: include/Makefile.in
===================================================================
RCS file: /home/cvsroot/laeos/xaric/include/Makefile.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- xaric/include/Makefile.in	1999/10/20 23:02:18	1.2
+++ xaric/include/Makefile.in	1999/12/02 06:38:33	1.3
@@ -128,7 +128,7 @@
 	@for file in $(DISTFILES); do \
 	  d=$(srcdir); \
 	  if test -d $$d/$$file; then \
-	    cp -pr $$/$$file $(distdir)/$$file; \
+	    cp -pr $$d/$$file $(distdir)/$$file; \
 	  else \
 	    test -f $(distdir)/$$file \
 	    || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
Index: include/config.h.in
===================================================================
RCS file: /home/cvsroot/laeos/xaric/include/config.h.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- xaric/include/config.h.in	1999/10/20 23:02:18	1.2
+++ xaric/include/config.h.in	1999/12/02 06:38:33	1.3
@@ -60,6 +60,8 @@
 #undef UNSIGNED_INT32
 #undef UNSIGNED_LONG32
 #undef USING_CURSES
+#undef PACKAGE
+#undef VERSION
 
 /* The number of bytes in a unsigned int.  */
 #undef SIZEOF_UNSIGNED_INT
Index: include/defaults.h
===================================================================
RCS file: /home/cvsroot/laeos/xaric/include/defaults.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- xaric/include/defaults.h	1999/10/20 23:02:18	1.2
+++ xaric/include/defaults.h	1999/12/02 06:38:34	1.3
@@ -10,7 +10,7 @@
  * use this version of IRCII!  Please read the INSTALL and New2.2 files
  * supplied with the distribution for details!
  *
- * @(#)$Id: defaults.h,v 1.2 1999/10/20 23:02:18 laeos Exp $
+ * @(#)$Id: defaults.h,v 1.3 1999/12/02 06:38:34 laeos Exp $
  */
 
 #ifndef __config_h_
@@ -126,7 +126,7 @@
  * proper compilation.
  */
 
-#define DEFAULT_SIGNOFF_REASON "Somewhere in DOWNTOWN BURBANK a prostitute is OVERCOOKING a LAMB CHOP!!"
+#define DEFAULT_SIGNOFF_REASON "When she hauled ass, it took three trips."
 #define DEFAULT_BANTYPE 2
 #define DEFAULT_SHOW_CTCP_IDLE 1
 #define DEFAULT_PING_TYPE 1
Index: include/format.h
===================================================================
RCS file: /home/cvsroot/laeos/xaric/include/format.h,v
retrieving revision 1.1.1.2
retrieving revision 1.2
diff -u -r1.1.1.2 -r1.2
--- xaric/include/format.h	1999/10/20 20:33:13	1.1.1.2
+++ xaric/include/format.h	1999/12/02 06:38:34	1.2
@@ -211,7 +211,7 @@
 #define DEFAULT_STATUS_LAG " [0;44;36m[[0;44;37mLag[1;37m %L[0;44;36m]"
 #define DEFAULT_STATUS_MODE " [1;37m([0;44;36m+[0;44;37m%+[1;37m)"
 #define DEFAULT_STATUS_MSGCOUNT " Received [0;44;36m[[1;37m%^[0;44;36m] msg's since away"
-#define DEFAULT_STATUS_NOTIFY " [0;44;36m[[37mActivity: [1;37m%F[0;44;36m]"
+#define DEFAULT_STATUS_NOTIFY " [0;44;36m[[37mAct: [1;37m%F[0;44;36m]"
 #define DEFAULT_STATUS_OPER "[1;31m*[0;44;37m"
 #define DEFAULT_STATUS_VOICE "[1;32m+[0;44;37m"
 #define DEFAULT_STATUS_OVERWRITE "(overtype) "
Index: source/Makefile.in
===================================================================
RCS file: /home/cvsroot/laeos/xaric/source/Makefile.in,v
retrieving revision 1.2
retrieving revision 1.4
diff -u -r1.2 -r1.4
--- xaric/source/Makefile.in	1999/10/20 23:02:18	1.2
+++ xaric/source/Makefile.in	1999/12/02 06:46:09	1.4
@@ -1,6 +1,6 @@
-# Makefile.in generated automatically by automake 1.4 from Makefile.am
+# Makefile.in generated automatically by automake 1.3 from Makefile.am
 
-# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
+# Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
@@ -11,7 +11,7 @@
 # PARTICULAR PURPOSE.
 
 
-SHELL = @SHELL@
+SHELL = /bin/sh
 
 srcdir = @srcdir@
 top_srcdir = @top_srcdir@
@@ -32,7 +32,7 @@
 includedir = @includedir@
 oldincludedir = /usr/include
 
-DESTDIR =
+DISTDIR =
 
 pkgdatadir = $(datadir)/@PACKAGE@
 pkglibdir = $(libdir)/@PACKAGE@
@@ -46,7 +46,7 @@
 AUTOHEADER = @AUTOHEADER@
 
 INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
 INSTALL_DATA = @INSTALL_DATA@
 INSTALL_SCRIPT = @INSTALL_SCRIPT@
 transform = @program_transform_name@
@@ -67,9 +67,16 @@
 
 bin_PROGRAMS = xaric
 
-xaric_SOURCES =  	alist.c alias.c alloca.c cmd_modes.c commands.c ctcp.c dcc.c     	debug.c env.c exec.c files.c flood.c fset.c functions.c funny.c  	hash.c help.c history.c hook.c ignore.c input.c irc.c ircaux.c   	ircsig.c keys.c lastlog.c list.c log.c misc.c names.c network.c  	newio.c notice.c notify.c numbers.c output.c parse.c readlog.c   	reg.c screen.c server.c status.c term.c timer.c vars.c whois.c   	whowas.c window.c words.c tcommand.c ternary.c ncommand.c  	cmd_hostname.c cmd_who.c cmd_scan.c cmd_save.c cmd_orignick.c
+xaric_SOURCES = \
+	alist.c alias.c alloca.c cmd_modes.c commands.c ctcp.c dcc.c     \
+	debug.c env.c exec.c files.c flood.c fset.c functions.c funny.c  \
+	hash.c help.c history.c hook.c ignore.c input.c irc.c ircaux.c   \
+	ircsig.c keys.c lastlog.c list.c log.c misc.c names.c network.c  \
+	newio.c notice.c notify.c numbers.c output.c parse.c readlog.c   \
+	reg.c screen.c server.c status.c term.c timer.c vars.c whois.c   \
+	whowas.c window.c words.c tcommand.c ternary.c ncommand.c  \
+	cmd_hostname.c cmd_who.c cmd_scan.c cmd_save.c cmd_orignick.c
 
-
 EXTRA_DIST = expr.c 
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
 CONFIG_HEADER = ../include/config.h
@@ -91,16 +98,15 @@
 xaric_LDADD = $(LDADD)
 xaric_DEPENDENCIES = 
 xaric_LDFLAGS = 
-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
-CCLD = $(CC)
-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
+COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
+LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@
 DIST_COMMON =  Makefile.am Makefile.in
 
 
 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
 
 TAR = tar
-GZIP_ENV = --best
+GZIP = --best
 DEP_FILES =  .deps/alias.P .deps/alist.P .deps/alloca.P \
 .deps/cmd_hostname.P .deps/cmd_modes.P .deps/cmd_orignick.P \
 .deps/cmd_save.P .deps/cmd_scan.P .deps/cmd_who.P .deps/commands.P \
@@ -117,11 +123,12 @@
 .deps/words.P
 SOURCES = $(xaric_SOURCES)
 OBJECTS = $(xaric_OBJECTS)
+
+all: Makefile $(PROGRAMS)
 
-all: all-redirect
 .SUFFIXES:
 .SUFFIXES: .S .c .o .s
-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
+$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
 	cd $(top_srcdir) && $(AUTOMAKE) --gnu source/Makefile
 
 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
@@ -143,15 +150,15 @@
 	$(mkinstalldirs) $(DESTDIR)$(bindir)
 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
 	  if test -f $$p; then \
-	    echo "  $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
-	     $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
+	    echo "  $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
+	     $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
 	  else :; fi; \
 	done
 
 uninstall-binPROGRAMS:
 	@$(NORMAL_UNINSTALL)
 	list='$(bin_PROGRAMS)'; for p in $$list; do \
-	  rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
+	  rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
 	done
 
 .s.o:
@@ -177,12 +184,8 @@
 tags: TAGS
 
 ID: $(HEADERS) $(SOURCES) $(LISP)
-	list='$(SOURCES) $(HEADERS)'; \
-	unique=`for i in $$list; do echo $$i; done | \
-	  awk '    { files[$$0] = 1; } \
-	       END { for (i in files) print i; }'`; \
 	here=`pwd` && cd $(srcdir) \
-	  && mkid -f$$here/ID $$unique $(LISP)
+	  && mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
 
 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
 	tags=; \
@@ -215,13 +218,9 @@
 	  && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu source/Makefile
 	@for file in $(DISTFILES); do \
 	  d=$(srcdir); \
-	  if test -d $$d/$$file; then \
-	    cp -pr $$/$$file $(distdir)/$$file; \
-	  else \
-	    test -f $(distdir)/$$file \
-	    || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
-	    || cp -p $$d/$$file $(distdir)/$$file || :; \
-	  fi; \
+	  test -f $(distdir)/$$file \
+	  || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
+	  || cp -p $$d/$$file $(distdir)/$$file; \
 	done
 
 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
@@ -233,98 +232,80 @@
 clean-depend:
 
 distclean-depend:
-	-rm -rf .deps
 
 maintainer-clean-depend:
+	-rm -rf .deps
 
 %.o: %.c
 	@echo '$(COMPILE) -c $<'; \
-	$(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
-	@-cp .deps/$(*F).pp .deps/$(*F).P; \
-	tr ' ' '\012' < .deps/$(*F).pp \
-	  | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
-	    >> .deps/$(*F).P; \
-	rm .deps/$(*F).pp
+	$(COMPILE) -Wp,-MD,.deps/$(*F).P -c $<
 
 %.lo: %.c
 	@echo '$(LTCOMPILE) -c $<'; \
-	$(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
-	@-sed -e 's/^\([^:]*\)\.o[ 	]*:/\1.lo \1.o :/' \
-	  < .deps/$(*F).pp > .deps/$(*F).P; \
-	tr ' ' '\012' < .deps/$(*F).pp \
-	  | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
-	    >> .deps/$(*F).P; \
-	rm -f .deps/$(*F).pp
-info-am:
-info: info-am
-dvi-am:
-dvi: dvi-am
-check-am: all-am
-check: check-am
-installcheck-am:
-installcheck: installcheck-am
-install-exec-am: install-binPROGRAMS
-install-exec: install-exec-am
-
-install-data-am:
-install-data: install-data-am
-
-install-am: all-am
-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-install: install-am
-uninstall-am: uninstall-binPROGRAMS
-uninstall: uninstall-am
-all-am: Makefile $(PROGRAMS)
-all-redirect: all-am
+	$(LTCOMPILE) -Wp,-MD,.deps/$(*F).p -c $<
+	@-sed -e 's/^\([^:]*\)\.o:/\1.lo \1.o:/' \
+	  < .deps/$(*F).p > .deps/$(*F).P
+	@-rm -f .deps/$(*F).p
+info:
+dvi:
+check: all
+	$(MAKE)
+installcheck:
+install-exec: install-binPROGRAMS
+	@$(NORMAL_INSTALL)
+
+install-data: 
+	@$(NORMAL_INSTALL)
+
+install: install-exec install-data all
+	@:
+
+uninstall: uninstall-binPROGRAMS
+
 install-strip:
-	$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
+	$(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
 installdirs:
-	$(mkinstalldirs)  $(DESTDIR)$(bindir)
+	$(mkinstalldirs)  $(DATADIR)$(bindir)
 
 
 mostlyclean-generic:
+	-test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
 
 clean-generic:
+	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
 
 distclean-generic:
-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+	-rm -f Makefile $(DISTCLEANFILES)
 	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
+	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 
 maintainer-clean-generic:
-mostlyclean-am:  mostlyclean-binPROGRAMS mostlyclean-compile \
+	-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
+	-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
+mostlyclean:  mostlyclean-binPROGRAMS mostlyclean-compile \
 		mostlyclean-tags mostlyclean-depend mostlyclean-generic
-
-mostlyclean: mostlyclean-am
 
-clean-am:  clean-binPROGRAMS clean-compile clean-tags clean-depend \
-		clean-generic mostlyclean-am
+clean:  clean-binPROGRAMS clean-compile clean-tags clean-depend \
+		clean-generic mostlyclean
 
-clean: clean-am
-
-distclean-am:  distclean-binPROGRAMS distclean-compile distclean-tags \
-		distclean-depend distclean-generic clean-am
-
-distclean: distclean-am
-
-maintainer-clean-am:  maintainer-clean-binPROGRAMS \
-		maintainer-clean-compile maintainer-clean-tags \
-		maintainer-clean-depend maintainer-clean-generic \
-		distclean-am
+distclean:  distclean-binPROGRAMS distclean-compile distclean-tags \
+		distclean-depend distclean-generic clean
+	-rm -f config.status
+
+maintainer-clean:  maintainer-clean-binPROGRAMS maintainer-clean-compile \
+		maintainer-clean-tags maintainer-clean-depend \
+		maintainer-clean-generic distclean
 	@echo "This command is intended for maintainers to use;"
 	@echo "it deletes files that may require special tools to rebuild."
 
-maintainer-clean: maintainer-clean-am
-
 .PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
 mostlyclean-compile distclean-compile clean-compile \
 maintainer-clean-compile tags mostlyclean-tags distclean-tags \
 clean-tags maintainer-clean-tags distdir mostlyclean-depend \
-distclean-depend clean-depend maintainer-clean-depend info-am info \
-dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
-install-exec install-data-am install-data install-am install \
-uninstall-am uninstall all-redirect all-am all installdirs \
-mostlyclean-generic distclean-generic clean-generic \
+distclean-depend clean-depend maintainer-clean-depend info dvi \
+installcheck install-exec install-data install uninstall all \
+installdirs mostlyclean-generic distclean-generic clean-generic \
 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
 
 
Index: source/ctcp.c
===================================================================
RCS file: /home/cvsroot/laeos/xaric/source/ctcp.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- xaric/source/ctcp.c	1999/10/20 23:02:18	1.2
+++ xaric/source/ctcp.c	1999/12/02 06:38:34	1.3
@@ -1,4 +1,4 @@
-#ident "$Id: ctcp.c,v 1.2 1999/10/20 23:02:18 laeos Exp $"
+#ident "$Id: ctcp.c,v 1.3 1999/12/02 06:38:34 laeos Exp $"
 /*
  * ctcp.c:handles the client-to-client protocol(ctcp). 
  *
@@ -247,7 +247,6 @@
 	char *size;
 	char *extra_flags;
 
-	say("starting do dcc");
 	if (my_stricmp (to, get_server_nickname (from_server)))
 		return NULL;
 
Index: source/keys.c
===================================================================
RCS file: /home/cvsroot/laeos/xaric/source/keys.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- xaric/source/keys.c	1999/10/20 21:07:38	1.2
+++ xaric/source/keys.c	1999/12/02 06:38:34	1.3
@@ -570,7 +570,7 @@
 #endif
 	snew_key (0, 9, TAB_MSG);	/* ^I (tab) */
 	snew_key (0, 10, SEND_LINE);	/* ^J (enter) */
-	snew_key (0, 11, JOIN_LAST_INVITE);	/* ^K */
+	snew_key (0, 11, ERASE_TO_END_OF_LINE);	/* ^K */
 	snew_key (0, 12, REFRESH_SCREEN);	/* ^L (linefeed) */
 	snew_key (0, 13, SEND_LINE);	/* ^M (return) */
 	snew_key (0, 14, QUOTE_CHARACTER);	/* ^N */
Index: source/ncommand.c
===================================================================
RCS file: /home/cvsroot/laeos/xaric/source/ncommand.c,v
retrieving revision 1.2
retrieving revision 1.4
diff -u -r1.2 -r1.4
--- xaric/source/ncommand.c	1999/10/20 23:02:18	1.2
+++ xaric/source/ncommand.c	1999/12/02 03:30:51	1.4
@@ -1,4 +1,4 @@
-#ident "$Id: ncommand.c,v 1.2 1999/10/20 23:02:18 laeos Exp $"
+#ident "$Id: ncommand.c,v 1.4 1999/12/02 03:30:51 laeos Exp $"
 /*
  * ncommand.c : new commands for Xaric
  * (c) 1998 Rex Feany <laeos@ptw.com> 
@@ -2018,25 +2018,25 @@
 
 }
 
-void
-cmd_wallops (struct command *cmd, char *args)
+
+void cmd_oper_stuff (struct command *cmd, char *args)
 {
-	if ((!args || !*args))
+	char *use = cmd->rname ? cmd->rname : cmd->name;
+
+	if ( cmd->data && (!args || !*args))
 	{
 		userage (cmd->name, cmd->qhelp);
 		return;
 	}
 	if (!get_server_operator (current_screen->current_window->server))
 	{
-		yell ("You arn't worthy enough to use /WALLOPS!");
+		yell ("You arn't worthy enough to use /%s!", cmd->name);
 		return;
 	}
-
+	
 	message_from (NULL, LOG_WALLOP);
 	if (!in_on_who)
-		send_to_server ("WALLOPS :%s", args);
-	if (get_server_flag (from_server, USER_MODE_W))
-		put_it ("!! %s", args);
+		send_to_server ("%s :%s", use, args);
 
 	message_from (NULL, LOG_CRAP);
 }
@@ -2168,7 +2168,8 @@
 	{"CL", NULL, NULL, cmd_clear, "- Clears the screen"},
 	{"CLEAR", NULL, NULL, cmd_clear, "- Clears the screen"},
 	{"CLEARTAB", NULL, NULL, cmd_clear_tab, "- Clears the nicks in the tabkey list"},
-	{"CONNECT", NULL, NULL, cmd_generic, "%Y<%nserver1%Y>%n %Y<%nport%Y>%n %R[%nserver2%R]%n\n%Y*%n Requires irc operator status"},
+	{"CLOSE", NULL, NULL, cmd_oper_stuff, "Requires irc operator status. Close any connections from clients who have not fully registered yet."},   
+	{"CONNECT", NULL, NULL, cmd_oper_stuff, "%Y<%nserver1%Y>%n %Y<%nport%Y>%n %R[%nserver2%R]%n\n%Y*%n Requires irc operator status"},
 	{"CTCP", NULL, NULL, cmd_ctcp, "%Y<%Cnick%Y>%n %Y<%nrequest%Y>%n\n- CTCP sends %Y<%Cnick%Y>%n with %Y<%nrequest%Y>%n"},
 	{"CYCLE", NULL, NULL, cmd_cycle, "%R[%Bchannel%R]%n\n- Leaves current channel or %R[%Bchannel%R]%n and immediately rejoins"},
 	{"D", NULL, NULL, cmd_describe, "See %YDESCRIBE%n"},
@@ -2191,11 +2192,12 @@
 	{"EXIT", NULL, NULL, cmd_quit, "- Quits IRC"},
 	{"FLUSH", NULL, NULL, cmd_flush, "- Flush ALL server output"},
 	{"FSET", NULL, NULL, cmd_fset, NULL},
-	{"HASH", NULL, NULL, cmd_generic, "- I'm not sure!"},
+	{"HASH", NULL, NULL, cmd_generic, "- Shows some stats about ircd's internal hashes."},
 	{"HELP", NULL, NULL, cmd_help, "%Y<%nindex%Y|%ncommand%Y>%n\n- Show an index of commands or get help on a specific command"},
 	{"HISTORY", NULL, NULL, cmd_history, "- Shows recently typed commands"},
 	{"HOSTNAME", NULL, NULL, cmd_hostname, "%Y<%nhostname%Y>%n\n- Shows list of possible hostnames with option to change it on virtual hosts"},
 	{"HOOK", NULL, NULL, cmd_hook, "- View / delete / add a hook"},
+	{"HTM", NULL, NULL, cmd_oper_stuff, "- manipulate ircd's High Traffic Mode. Requires irc operator status"},
 	{"I", NULL, NULL, cmd_invite, "- See %YINVITE%n"},
 	{"IG", NULL, NULL, cmd_doig, "+%G|%n-%Y<%Cnick%Y>%n\n- Ignores ALL except crap and public of nick!host matching %Y<%Cnick%Y>%n"},
 	{"IGH", NULL, NULL, cmd_doig, "+%G|%n-%Y<%Cnick%Y>%n\n- Ignores ALL except crap and public of hostname matching %Y<%Cnick%Y>%n"},
@@ -2217,6 +2219,7 @@
 	{"LINKS", NULL, NULL, cmd_generic, "- Shows servers and links to other servers"},
 	{"LIST", NULL, NULL, cmd_generic, "- Lists all channels"},
 	{"LLOOK", NULL, NULL, cmd_linklook, "%Y*%n Requires set %YLLOOK%n %RON%n\n- Lists all the servers which are current split from the IRC network"},
+	{"LOCOPS", NULL, empty_string, cmd_oper_stuff, "\n%Y<%Cmessage%Y>%n Requires irc operator status. Sends a message to all local operators.%n"},
 	{"LUSERS", NULL, NULL, cmd_generic, "- Shows stats on current server"},
 	{"M", "PRIVMSG", NULL, cmd_privmsg, "See %YMSG%n"},
 	{"MAP", NULL, NULL, cmd_map, "- Displays a map of the current servers"},
@@ -2238,6 +2241,7 @@
 	{"NWHOWAS", NULL, NULL, cmd_nwhowas, "- Displays internal whowas info for all channels. This information expires after 20 minutes for users on internal list, 10 minutes for others"},
 	{"OP", NULL, NULL, cmd_op, "%Y<%Cnick%Y>%n\n- Gives %Y<%Cnick%Y>%n +o"},
 	{"OPER", NULL, NULL, cmd_oper, "%Y*%n Requires irc operator status\n%Y<%Cnick%Y>%n %R[%npassword%R]%n"},
+	{"OPERWALL", NULL, empty_string, cmd_oper_stuff, "\n%Y<%Cmessage%Y>%n Requires irc operator status. Sends a message to operators.%n"},
 	{"ORIGNICK", NULL, NULL, cmd_orig_nick, "- Trys to regain old nick"},
 	{"PART", NULL, NULL, cmd_part, "- Leaves %Y<%nchannel%Y>%n"},
 	{"PARTALL", NULL, NULL, cmd_part, "- Leaves all channels"},
@@ -2249,9 +2253,9 @@
 	{"READLOG", NULL, NULL, cmd_readlog, "- Displays current away log"},
 	{"REMLOG", NULL, NULL, cmd_remove_log, "- Removes logfile"},
 	{"RECONNECT", NULL, NULL, cmd_reconnect, "- Reconnects you to current server"},
-	{"REHASH", NULL, NULL, cmd_generic, "%Y*%n Requires irc operator status\n- Rehashs ircd.conf for new configuration"},
+	{"REHASH", NULL, NULL, cmd_oper_stuff, "%Y*%n Requires irc operator status\n- Rehashs ircd.conf for new configuration"},
 	{"RESET", NULL, NULL, cmd_reset, "- Fixes flashed terminals"},
-	{"RESTART", NULL, NULL, cmd_generic, "%Y*%n Requires irc operator status\n- Restarts server"},
+	{"RESTART", NULL, NULL, cmd_oper_stuff, "%Y*%n Requires irc operator status\n- Restarts server"},
 	{"QUIT", NULL, NULL, cmd_quit, "- Quit IRC"},
 	{"QUOTE", NULL, NULL, cmd_quote, "%Y<%ntext%Y>%n\n- Sends text directly to the server"},
 	{"SAVEIRC", NULL, NULL, cmd_save, "- Saves ~/.ircrc"},
@@ -2296,7 +2300,7 @@
 	{"VERSION", NULL, NULL, cmd_ircii_version, "- Gives server and client version (a la ircII)"},
 	{"VOICE", "Voice", NULL, cmd_op, "- Gives someone voice (+v) on the channel"},
 	{"WALL", NULL, NULL, cmd_chwall, "- Send a message to all channel ops"},
-	{"WALLOPS", NULL, NULL, cmd_wallops, NULL},
+	{"WALLOPS", NULL, empty_string, cmd_oper_stuff, NULL},
 	{"WALLCHOPS", NULL, NULL, cmd_chwall, "- Send a message to all channel ops"},
 	{"WHOIS", NULL, NULL, cmd_whois, "- Get info on a person"},
 	{"WHOLEFT", NULL, NULL, cmd_wholeft, "- Shows who left?"},
Index: source/numbers.c
===================================================================
RCS file: /home/cvsroot/laeos/xaric/source/numbers.c,v
retrieving revision 1.1.1.3
retrieving revision 1.2
diff -u -r1.1.1.3 -r1.2
--- xaric/source/numbers.c	1999/10/20 20:33:43	1.1.1.3
+++ xaric/source/numbers.c	1999/12/02 06:38:34	1.2
@@ -1,4 +1,4 @@
-#ident "$Id: numbers.c,v 1.1.1.3 1999/10/20 20:33:43 laeos Exp $"
+#ident "$Id: numbers.c,v 1.2 1999/12/02 06:38:34 laeos Exp $"
 /*
  * numbers.c:handles all those strange numeric response dished out by that
  * wacky, nutty program we call ircd 
@@ -136,6 +136,30 @@
    ^on ^raw_irc "% 242 *" {suecho $0 has been up for $5- }
    ^on ^raw_irc "% 243 *" {suecho \($3:line\) \($[20]4\) \($[9]6\)}
    ^on ^raw_irc "% 244 *" {suecho \($3:line\) \($[25]4\) \($[25]6\)}
+ */
+
+/*   c - Shows C/N lines
+ * ^ b - Shows B lines
+ * ^ d - Shows D lines
+ * ^ e - Shows E lines
+ * ^ f - Shows F lines
+ *   g - Shows G lines
+ *   h - Shows H/L lines
+ *   i - Shows I lines
+ *   K - Shows K lines (or matched klines)
+ *   k - Shows temporary K lines (or matched temp klines)
+ *   L - Shows IP and generic info about [nick]
+ *   l - Shows hostname and generic info about [nick]
+ *   m - Shows commands and their usage
+ *   o - Shows O/o lines
+ *   p - Shows opers connected and their idle times
+ *   r - Shows resource usage by ircd (only in DEBUGMODE)
+ * * t - Shows generic server stats
+ *   u - Shows server uptime
+ *   v - Shows connected servers and their idle times
+ *   y - Shows Y lines
+ * * z - Shows memory stats
+ *   ? - Shows connected servers and sendq info about them
  */
 	case 211:
 		format_str = "L:line $[20]left($rindex([ $1) $1)  :$[-5]2 $[-5]3 $[-6]4 $[-5]5 $[-6]6 $[-8]strip(: $7) $strip(: $8)";
Index: source/status.c
===================================================================
RCS file: /home/cvsroot/laeos/xaric/source/status.c,v
retrieving revision 1.1.1.3
retrieving revision 1.2
diff -u -r1.1.1.3 -r1.2
--- xaric/source/status.c	1999/10/20 20:33:43	1.1.1.3
+++ xaric/source/status.c	1999/12/02 06:38:34	1.2
@@ -625,6 +625,7 @@
 	return (my_buffer);
 }
 
+
 static char *
 status_notify_windows (Window * window)
 {
Index: source/window.c
===================================================================
RCS file: /home/cvsroot/laeos/xaric/source/window.c,v
retrieving revision 1.1.1.2
retrieving revision 1.2
diff -u -r1.1.1.2 -r1.2
--- xaric/source/window.c	1999/10/20 20:33:43	1.1.1.2
+++ xaric/source/window.c	1999/12/02 06:38:34	1.2
@@ -3142,6 +3142,15 @@
 	return window;
 }
 
+static Window * window_query(Window * window, char **args, char *usage)
+{
+	char *arg;
+
+	arg = next_arg (*args, args);
+	t_parse_command ("QUERY", arg);
+	return window;
+}
+
 typedef Window *(*window_func) (Window *, char **args, char *usage);
 
 typedef struct window_ops_T
@@ -3193,6 +3202,7 @@
 	{"PREVIOUS", window_previous, NULL},
 	{"PROMPT", window_prompt, NULL},
 	{"PUSH", window_push, NULL},
+	{"QUERY", window_query, NULL},
 	{"REFNUM", window_refnum, NULL},
 	{"REMOVE", window_remove, NULL},
 	{"SERVER", window_server, NULL},
@@ -3206,6 +3216,9 @@
 	{"UNBIND", window_unbind, NULL},
 	{NULL, NULL, NULL}
 };
+
+
+
 
 
 static Window *
