scrollz-2.2.3.orig/0000755000175000017500000000000012260222760013706 5ustar madhackmadhackscrollz-2.2.3.orig/README0000644000175000017500000000216012251073234014565 0ustar madhackmadhack$Id: README.ScrollZ,v 1.16 2009-09-03 16:26:55 f Exp $ This is the readme file for ScrollZ IRC client. ScrollZ is copyright (C) 1995-2005 by Flier (flier@scrollz.org). Please read the COPYRIGHT file for licensing information. For list of changes please see the ChangeLog.ScrollZ file. For the installation instructions please read the INSTALL.ScrollZ file in doc directory. ScrollZ tutorial can be found in doc directory as ScrollZ.doc (new users should read it). Some tools for customising the client (colour setup) can be found in tools directory. I would like to thank the following individuals: f0x for scrollz.com, acidflash for patches and support, ogre for bugtracker, Anton and colrebel for arranging and maintaining the FTP site/mirrors, Ahnberg for the FTP mirror and the mailing list, largo and rob for the web page design, tel and Tero for the web space and web forum, Sheik for cdcc.c, whowas.c and edit2.c.lame, and Saud for the FTP mirror. Also thanks to Sharky and Darkie for permission to use the code from their BitchX SSL port - it was modified as ircII code differs a lot from the EPIC code these days. -flier scrollz-2.2.3.orig/ChangeLog.ircii0000644000175000017500000051613112251073234016565 0ustar madhackmadhack/* * ChangeLog: Dealing with the actual changes of code in ircII, leaving * UPDATES for actual user changes. * * Matthew Green, 1993. * * Copyright(c) 1993-2003 * * See the COPYRIGHT file, or do a HELP IRCII COPYRIGHT * * @(#)$eterna: ChangeLog,v 2.328 2002/03/10 09:30:28 mrg Exp $ */ 20020310 Sun Mar 10 20:10:51 EST 2002 - matthew green source/numbers.c: password_sendline: server index is in data not line: PR#547. source/server.c: add_to_server_list: be careful not to clear valid passwords: PR#547. Sun Mar 10 19:14:11 EST 2002 - matthew green configure.in, configure: if we don't find gethostbyname in -lresolv, try -lnsl. PR#537. Sun Mar 10 18:16:23 EST 2002 - matthew green source/notice.c: fix a bug from 8 years ago: don't send flooded notices as public notices. fixes PR#549. source/edit.c: display sub-second timer information, from flier in PR#554. source/numbers.c: add a hack to fix PR#552: set the nick on numeric 001 if it is wrong. Sun Mar 10 01:55:57 EST 2002 - matthew green source/hook.c: add fuzzy matching so that, eg, "/on send" will show all the current hooks starting with "send". idea from poxaV. 20020309 Sat Mar 9 02:34:44 EST 2002 - matthew green source/ctcp.c, source/dcc.c: add some beep support, if beep_on_level has CTCP or DCC. from dive@endersgame.net. Makefile.in: regen depends. Sat Mar 9 02:05:25 EST 2002 - matthew green source/irc.c, source/input.c, source/screen.c: add some debug code. in input_update() don't overwrite buffer_pos or str_start on resize. use set_current_screen(), don't set current_screen manually. clean up screen_wserv_message() some. 20020306 Wed Mar 6 21:18:30 EST 2002 - matthew green source/irc.c: fix a Debug(). source/term.c: restructure term_resize() slightly. source/screen.c: add some debugging to create_additional_screen(). clean up unix sockets. default screen size from the master, not 80x24. call recalculate_windows after getting a wserv message. source/wserv.c: remove ircIIpid and related code, obsolete. include some more headers so we find TIOCGWINSZ where it can be. fix got_sigwinch() bugs. fixed arg checking bugs. fixed control socket path bug. don't perror with our tty. call got_sigwinch() at startup. Tue Jan 22 20:24:56 EST 2002 - matthew green source/vars.c: set the default IRCHOST variable. from flier. Tue Jan 22 13:46:53 EST 2002 - matthew green script/autoop: fix from Bernd Eckenfels for nicks ending in backslash. help/alias/special: fix an example. from David Murn in debian PR#113884. Tue Jan 22 03:05:27 EST 2002 - matthew green source/irc.c: only look at wservin for non-main screen's. source/screen.c: implement screen_wserv_message(). source/term.c: modify term_resize() to cope with wserv messages. Tue Jan 22 01:15:29 EST 2002 - matthew green Makefile.in: link ircII.1 to irc.1, finally. include/screen.h, include/struct.h, source/irc.c, source/wserv.c, source/screen.c: add a new control socket for WSERV sessions, for coping with screen size changes. include/config.h.dist, include/var.h, include/var.h.proto, include/hook.h, include/hook.h.proto, include/keys.h, include/keys.h.proto, source/crypto.c, source/vars.c: add a new /set decrypt_program. from flier. source/icb.c: clear the ICB $userhost() when it isn't known. Wed Jan 16 00:33:45 EST 2002 - matthew green source/crypt.c: put a newline between crypto key & text for external programs. noticed by flier . Wed Dec 19 00:54:04 EST 2001 - matthew green source/icb.c: don't wipe out the current channel in icb_put_action(). source/server.c: rework logic on what server to choose next to avoid skipping one accidentally. Wed Dec 19 00:11:03 EST 2001 - matthew green source/icb.c, source/edit.c, include/icb.h: new icb_put_action() function. make icb_put_public() obey window_display. include/ircterm.h, include/struct.h, source/alias.c, source/funny.c, source/help.c, source/input.c, source/menu.c, source/output.c, source/screen.c, source/status.c, source/term.c, source/window.c: move lower_mark, upper_mark, input_line, str_start, zone and cursor from screen.c into the per-screen struct. also move the static lines & columns variables from input.c and term.c here as well. this handles the input prompt on other screen's properly. move the CO and LI variables from term.c into the per-screen struct as well. call new_window() at the top of init_screen() to setup the master screen structure earlier. TODO: have some way of wserv telling the master ircii about screen changes. but at least for now the input prompt should work much better. Tue Dec 18 17:34:06 EST 2001 - matthew green include/irc_std.h: add UPP and CPP macros for char ** conversions. Mon Dec 17 22:17:22 EST 2001 - Joel Yliluoma source/edit.c, source/irc.c, include/edit.h: Added support for microsecond resolution in /TIMER. Todo: Add named timers some day. source/dcc.c: Fixed crashing when closing DCC RAW_LISTEN socket. help/exec: Updated the documentation (found a flaw). Mon Dec 17 21:55:24 EST 2001 - matthew green source/alias.c, help/alias/functions: new $filestat($file) that returns size, uid, gid, mode, filename of passed in $file. inspired by a change in the debian bug database. 20011210 Fri Nov 30 10:03:10 EST 2001 - matthew green script/times: add a public_other /on as well source/irc.c: call check_wait_status until it returns < 0. from bisqwit. Tue Sep 18 11:37:03 EST 2001 - matthew green source/alias.c: fix $mid(0, ...). from tristan in private email. Fri Sep 7 02:49:55 EST 2001 - Joel Yliluoma help/exec, source/alias.c, source/exec.c, include/exec.h, include/alias.h: Added -FILTER switch to /EXEC, and documented it, Now external programs can be scripted to select recipients on multiple servers. Fri Sep 7 02:49:52 EST 2001 - Joel Yliluoma source/server.c, include/hook.h, include/hook.h.proto, source/hook.c, help/on/raw_send: RAW_SEND -list support had vanished from my last update, added it back. source/screen.c: mIRC-colour codes work better now. Rewritten the indent code, colour codes now work in CONTINUED_LINE too. help/on/msg: Updated the documentation of /msg. source/screen.c, source/edit.c, source/edit.h: Allow multiple different target redirection. 20010807 Tue Aug 7 21:08:32 EST 2001 - matthew green source/window.c, source/screen.c: set connect_next_as_irc/connect_next_as_icb before calling connect_to_server() always. source/alias.c, source/crypt.c, source/ctcp.c, source/dcc.c, source/edit.c, source/exec.c, source/funny.c, source/help.c, source/hook.c, source/icb.c, source/ignore.c, source/ircaux.c, source/ircflush.c, source/ircio.c, source/mail.c, source/names.c, source/numbers.c, source/parse.c, source/rijndael.c, source/screen.c, source/server.c, source/stack.c, source/status.c, source/translat.c, source/vars.c, source/whois.c, source/window.c: convert sprintf() to snprintf() now that we have that always. Tue Aug 7 15:42:19 EST 2001 - matthew green help/icb: add a link to http://www.icb.net/ source/output.c: avoid core dumps on empty MOTD lines. from Bernd Eckenfels . include/buffer.h, source/output.c, source/hook.c: move PUTBUF macros into new buffer.h, and use them in do_hook. configure.in, configure: look for sendmail in /usr/sbin first. source/output.c: use snprintf() everywhere here. Fri Jul 27 01:19:04 EST 2001 - matthew green source/input.c: in update_input(), add some sanity checking on lower_mark, upper_mark & str_start. source/alias.c: fix an underrun in $mid(). pointed out by jnelson@epicsol.org in PR#536. 20010720 Fri Jul 20 10:49:26 EST 2001 - matthew green source/screen.c: in output_line(), don't fwrite() in the CHARSET & COLOUR tag cases, unless we have a greater than zero length. Fri Jul 20 06:57:28 EST 2001 - matthew green source/screen.c: in output_line(), don't blindly step through the string to decode the colour or charset tags, make sure we don't step past the nul. source/lastlog.c: in bits_to_lastlog_level(), the max length of the levels is closer to 120 than 80.. adjust a buffer size. 20010612 Tue Jun 12 23:12:34 EST 2001 - matthew green source/irc.c, source/window.c, source/server.c: provide no default quit message anywere. source/parse.c: fix is_channel() for ICB. Sun May 20 06:48:11 EST 2001 - Joel Yliluoma include/vars.h.proto, include/vars.h, include/irc.h, include/config.h.dist, source/screen.c, source/vars.c: applied the japanese patch (from galibert@mines.u-nancy.fr), which also fixes the ^V/^B/^_/color handling over broken lines. source/dcc.c, source/irc.c: dcc working with masquerades (new -H switch; IPv4 only) source/notice.c, source/server.c: fixed -q again (prevent also .ircquick) source/alias.c, help/alias/functions: added new functions: SHELLFIX, URLENCODE functions. Makefile.in: remove rijndael-alg-ref.c, rijndael-api-ref.c and config.h on make distclean. Mon Feb 12 23:53:22 EST 2001 - matthew green include/server.h, source/funny.c, source/status.c: add usermode `z' support. doc/ircII.1: document the ircII.servers & ircII.motd files. Mon Feb 12 23:42:30 EST 2001 - matthew green source/snprintf.c, Makefile.in, acconfig.h, configure, configure.in: look for snprintf() and vsnprintf() and provide replacements if they do not exist. nothing uses this (yet). Tue Jan 2 22:26:14 EST 2001 - matthew green source/server.c: don't call get_connected() but just call window_set_server() for the relevant windows, if we fail to connect. fixes PR#227. Tue Jan 2 17:09:21 EST 2001 - matthew green help/alias/functions, include/ignore.h, include/notify.h, source/alias.c, source/ignore.c, source/notify.c: 4 new functions, inspired by PR#66: IGNORED(NICK TYPE) Returns "ignored", "highlighted", "dont" or "0", depending on what ignore action will be applied to this NICK and TYPE of ignorance. TYPE must be one of MSGS, PUBLIC, WALLS, WALLOPS, INVITES, NOTICES, NOTES, CTCP or CRAP. NOTIFY(TYPE) Returns either the TYPE "here", "gone" or "all" lists, default being "here". SCREENS() Returns a list of the current screen. WINDOWS() Returns a list of the current windows. inspired by PR#66. include/vars.h.proto, include/vars.h, include/config.h.dist, source/output.c, source/vars.c, help/set/star_prefix: new /set star_prefix variable that replaces the hard coded "*** " prefix from many messages, and replaces it with the expanded value of this variable, so that /set star_prefix $Z works. inspired by PR#48. source/numbers.c: be saner in reset_nickname(). deal with various bugs here. inspired by PR#287. Tue Jan 2 11:50:23 EST 2001 - matthew green include/vars.h.proto, include/vars.h, include/config.h.dist, include/names.h, source/alias.c, source/names.c, source/status.c, source/vars.c, help/set/status_voice: add new /set status_voice and %v status_format modifier, part of PR#11. 20010101 Mon Jan 1 22:07:31 EST 2001 - matthew green source/notice.c, irc.c: load "global" before .ircrc, when using -b. fixes PR#498. source/window.c: avoid a core dump when re-binding a channel. fixes PR#497. script/listidle, help/load/listidle: new listidle script from tristan in PR#466. source/numbers.c: re-do numeric 437 processing. fixes PR#500. source/edit.c: handle /me for ICB. fixes PR#492. source/whois.c: kill some debug messages. source/term.c: kill some "#ifdef mips" lossage. Mon Jan 1 12:34:26 EST 2001 - matthew green acconfig.h, configure, configure.in, include/defs.h.in, include/ircterm.h, source/term.c: check for fwrite/fputc and only redefine them if they are not already present (and if "mips", like it was). make the fake macros more robust and correct. 20001231 Tue Dec 19 16:25:55 EST 2000 - matthew green source/menu.c: fix a core dump, noted by "David O'Shea" in PR#503. source/term.c: give cygwin a 2K buffer. Mon Dec 4 21:34:19 EST 2000 - matthew green source/edit.c: apply patch from to avoid sending "NAMES " to the server in cases it was not meant. PR#501. 20001120 Mon Nov 20 00:07:40 EST 2000 - matthew green source/edit.c: in send_text(), don't do dcc chat/talk or command expansion if the target is actually the current channel. stops things like groups named `/quit' from being obnoxious. Mon Nov 6 02:00:46 EST 2000 - matthew green configure, configure.in: add a `--with-efence' option to include the Electric Fence malloc debugging library. include/ircterm.h: support ncurses tputs(3) variant. Wed Oct 25 08:35:55 EST 2000 - matthew green source/output.c: s/buf/putbuf/ in !stdarh.h code. PR#496 from Andreas Ley . 20001024 Tue Oct 24 12:52:46 EST 2000 - matthew green source/names.c: in mark_not_connected(), clear the channel status. fixes PR#495. Fri Oct 13 22:18:52 EST 2000 - matthew green include/crypt.h, source/cast.c, source/crypt.c, source/rijndael.c, source/sed.c: toss the generic CBC code for now. make cast.c like it was, and use the built-in rijndael CBC code. generate a 32-byte IV for the start of the connection. disable the rijndael code while it doesn't work. source/irc.c: call srandom() when we start. 20001009 Mon Oct 9 02:13:16 EST 2000 - matthew green Makefile.in: regenerate dependancies Mon Oct 9 02:04:32 EST 2000 - matthew green source/rijndael.c, source/cast.c, source/crypt.c, source/sed.c, include/crypt.h: further crypto handling simplification. complete the rijndael cipher (using the new generic CBC-mode handling code). Sun Oct 8 08:47:31 EST 2000 - matthew green source/rijndael/: add Rijndael reference source 2.1. Makefile.in: update for Rijndael support. clean up some things. configure.in, configure: remove --with-cast. crypto is always there now. include/crypt.h, source/ctcp.c: simplify ctcp crypto handling. 20001007 Sat Oct 7 21:58:27 EST 2000 - matthew green source/edit.c, source/alias.c, source/irc.c, include/irc.h: remove internal_version, and make irc_version be this YYYYMMDD string instead. Sat Oct 7 16:36:19 EST 2000 - matthew green source/edit.c, source/alias.c: PR#482 & #483 from maximum entropy fix off-by-one error calling getcwd. source/irc.c: fix some typos source/screen.c: more robust mIRC code from PR#480 from . source/ircaux.c: pr#488 from ecki@lina.inka.de: fix off-by-one overflow in strmcpy(). configure.in, configure: Reimplemented gethostbyname() check from Arkadiusz Miskiewicz in PR#486. Tue Sep 19 02:45:35 EST 2000 - matthew green doc/ircII.1, include/irc.h, source/irc.c, source/term.c: add new -t command line argument to make ircII not use the termcap "ti" and "te" sequences. fixes PR#484. add -T to turn them on (if present) for completeness. 4.4Z Thu Aug 31 22:19:55 EST 2000 - matthew green source/window.c: fix "/window new move -3". patch from in PR#477. source/flood.c: apply forcer's hack-patch to work around the problem described in PR#471. source/names.c: avoid using CHAN_LIMBO as a bit flag, cuz it isn't. part of PR#472. Thu Aug 10 10:50:23 EST 2000 - matthew green source/edit.c: allocate enough space in the ICB /whois for the string to be written. found by moof/libefence. 4.4Y Sat Aug 5 22:19:20 EST 2000 - matthew green source/window.c, source/server.c, include/window.h: in window_get_connected(), don't kill the current window's version of current_channel. if that is going to happen, window_set_server() will do it. fixes my PR#442. Sat Aug 5 15:12:39 EST 2000 - matthew green source/window.c, help/window/nostatus: implement /window nostatus to entirely disable the status line. can be confusing with mulitle visible windows with nostatus! inspired by PR#455. Sat Aug 5 14:36:58 EST 2000 - matthew green source/ircaux.c: set "err" in all cases, so we know when we have actually succeeded. fixes connections to the local machine. Fri Aug 4 17:42:13 EST 2000 - matthew green include/config.h.dist, include/vars.h, include/vars.h.proto, source/names.c, source/vars.c: add /set hide_channel_keys {on|off}, inspired by PR#467 (whose patch was based on over 5 year old code). 4.4X Fri Aug 4 12:18:10 EST 2000 - matthew green source/irc.c: use a local static "buffer", fixes lossage. 4.4V Wed Aug 2 18:41:22 EST 2000 - matthew green source/icb.c: don't ignore empty fields, fill them in as normal. Wed Jul 19 03:12:37 EST 2000 - matthew green include/irc.h, source/alias.c, source/ctcp.c, source/edit.c, source/exec.c, source/help.c, source/history.c, source/ignore.c, source/irc.c, source/lastlog.c, source/mail.c, source/menu.c, source/names.c, source/notice.c, source/numbers.c, source/screen.c, source/server.c, source/translat.c, source/window.c: remove all uses of the global buffer, and delete it. Sun Jul 16 14:23:48 EST 2000 - matthew green source/names.c: don't use the global "buffer". Thu Jul 13 13:15:08 EST 2000 - matthew green help/on/icb_status, help/on/icb_error: document the recently added icb_status and icb_error hooks. source/edit.c: fix `/join -' dumping core, PR#458. Sun Jun 11 17:39:05 EST 2000 - matthew green source/icb.c: fix my PR#444: moderator sign off message wrongly parsed. Sun Jun 11 17:17:21 EST 2000 - matthew green include/config.h.dist, include/vars.h, include/vars.h.prot, source/irc.c, source/screen.c, source/vars.c help/set/foreground_colour, help/set/background_colour: add two new /set variables: foreground_colour and background_colour, and use these. add new -r switch to reverse the default values. from forcer@mindless.com, and is the best fix for his PR#446. help/set/colour: document this recent variable. Sun Jun 11 17:03:16 EST 2000 - matthew green source/term.c, include/ircterm.h: use termcap 'ti' and 'te' sequences when starting and leaving (or when suspending). should fix colour reset problems as seen in PR#429. include/config.h.lynx: kill. Mon May 29 00:35:44 EST 2000 - matthew green help/set/xterm_geomoptstr, help/set/xterm_options, help/set/xterm_path, include/config.h.lynx, include/config.h.dist, include/vars.h.proto, source/screen.c, source/vars.c, include/vars.h: add new /set xterm_geomoptstr variable to change the "-geom" option to the xterm program, necessary for, eg, rvxt. fixes PR#449 from . include/struct.h, source/names.c: remove the 'cached' mode string. it was getting wrong with channel keys and it seems useless now anyway. 4.4U Thu May 11 13:04:07 EST 2000 - matthew green source/server.c: make /disconnect * work. source/dcc.c, source/newio.c, source/server.c, source/screen.c, source/window.c: rename refresh and timeout functions/variables as these are defined in most files. source/translat.c: fopen() likes "r" not "R". source/notify.c: in do_notify(), don't change from_server and leave it changed if we have an ICB server for primary. source/edit.c: don't send IRC PRIVMSG to ICB servers. help/disconnect: document this command. Sat Apr 15 04:57:21 PDT 2000 - matthew green help/lastlog: document /lastlog support. source/edit.c: fix ICB /topic. apply patch from Roman Gollent to make /topic * work. Tue Apr 11 00:24:12 EST 2000 - matthew green source/names.c: fix a problem found by forcer: in remove_channel(), if we can work out the refnum of the window this channel is on, pass it to is_current_channel(), rather than always passing -1. source/output.c: do not use a static buffer for vasprintf(). put_it() and friends are sometimes re-entrant. picked up by forcer and electric fence. configure.in, configure: explicitly test for struct sockaddr's "sa_len" member. source/alias.c: fix off-by-one malloc error. 4.4T Mon Apr 3 17:43:02 EST 2000 - matthew green Makefile.in, source/irc.c, source/ircaux.c, source/ircio.c, source/file.c: remove dated, unused and definately insecure PRIV_PORT code. include/irc_std.h: introduce my_str{len,cpy,ncpy}() macros that (char *)ifiy the correct arguments, to avoid warnings from u_char *'s. source/alias.c: use my_str{len,cpy,ncpy}(). include/config.h.dist, include/config.h.lynx: enable EIGHT_BIT_CHARACTERS by default. Sat Apr 1 18:10:33 EST 2000 - matthew green include/count.l, include/hook.h, include/hook.h.proto, include/keys.h, include/keys.h.proto, include/vars.h, include/vars.h.proto: make count preserve $Id strings that are in .proto files, and add additional $Id strings for the generated .h files. Sat Apr 1 17:31:35 EST 2000 - matthew green configure, configure.in, include/alias.h, include/crypt.h, include/ctcp.h, include/dcc.h, include/edit.h, include/exec.h, include/flood.h, include/funny.h, include/help.h, include/history.h, include/hold.h, include/hook.h, include/hook.h.proto, include/icb.h, include/if.h, include/ignore.h, include/input.h, include/irc.h, include/ircaux.h, include/ircterm.h, include/keys.h, include/keys.h.proto, include/lastlog.h, include/list.h, include/mail.h, include/menu.h, include/names.h, include/notify.h, include/numbers.h, include/output.h, include/parse.h, include/queue.h, include/screen.h, include/server.h, include/stack.h, include/status.h, include/struct.h, include/translat.h, include/vars.h, include/vars.h.proto, include/whois.h, include/window.h, source/alias.c, source/cast.c, source/crypt.c, source/ctcp.c, source/dcc.c, source/edit.c, source/empty_metakeys.inc, source/exec.c, source/flood.c, source/funny.c, source/help.c, source/history.c, source/hold.c, source/hook.c, source/icb.c, source/if.c, source/ignore.c, source/input.c, source/irc.c, source/ircaux.c, source/keys.c, source/lastlog.c, source/list.c, source/mail.c, source/menu.c, source/names.c, source/notice.c, source/notify.c, source/numbers.c, source/output.c, source/parse.c, source/queue.c, source/reg.c, source/screen.c, source/sed.c, source/server.c, source/stack.c, source/status.c, source/term.c, source/translat.c, source/vars.c, source/whois.c, source/window.c: convert from char to u_char for everything that can be. Fri Mar 31 23:49:42 EST 2000 - matthew green Makefile.in: remove $DESTDIR from exec_prefix; it is already in the prefix. Tui Mar 28 10:31:13 EST 2000 - glen mccready source/server.c: clean up server handling a bit. fix false "Connected" message. should consider removing server_list[].connected in favor of a flag and add more status tracking flags. Sun Mar 26 02:37:03 EST 2000 - matthew green source/screen.c: when scrolling backwards, check how many lines in the lastlog we have and then make sure we don't scroll beyond that. fixes PR#430. rewrite a recent fix to part of the split_up_window() function. source/server.c: in /server -delete, call close_server(). Thu Mar 23 17:13:51 EST 2000 - matthew green help/exec, help/set/exec_protection: add a reference to /set exec_protection in /help exec, noted by matthewa@materna.nl in PR#431. script/columns, script/times: add an evil hack to let these two be loaded together. fixes PR#425 from Hubert Feyrer . Tue Mar 21 11:08:26 EST 2000 - matthew green configure.in, configure: a fix IPv4-only nodes that have getaddrinfo(), from Jun-ichiro itojun Hagino . 4.4S Fri Mar 17 15:07:25 EST 2000 - matthew green source/edit.c: properly fix the terrible bug in send_text(). 4.4R Fri Mar 17 02:19:20 EST 2000 - matthew green source/edit.c: fix a terrible bug in send_text(). 4.4Q Thu Mar 16 23:58:40 EST 2000 - matthew green source/ctcp.c: avoid using %ld as an argument to send_ctcp_reply(). Thu Mar 16 22:55:12 EST 2000 - matthew green configure, configure.in, Makefile.in: use a find & chmod chain to ensure the permissions of the installed help files is correct. Sun Mar 5 08:04:22 EET 2000 - Joel Yliluoma configure, configure.in, acconfig.h: add $crypt() function. source/screen.c: fixed the mirc colour support again. (something had broken it) help/cat: add help file for this. Wed Feb 23 00:06:05 EET 2000 - Joel Yliluoma source/alias.c, help/alias/functions: added crypt() support and help files. Thu Mar 16 12:36:40 EST 2000 - matthew green source/edit.c: deal with /join, /invite, /who, /nick and /topic again. Wed Mar 15 14:18:30 EST 2000 - glen mccready include/ircterm.h, source/term.c, source/irc.c, source/screen.c: streamline term.c fp handling. use term_flush() where appropriate rather than calling fflush() directly. there's a div by zero work around, too. 4.4P Wed Mar 15 17:51:07 EST 2000 - matthew green source/screen.c, source/irc.c, include/irc.h: in add_to_window(), don't add something to the end of a string, but allocate our own buffer to do this, and then add the ALL_OFF char. eliminte the char [] `global_all_off'. fixes off-by-one errors caused by vasprintf() support for output.c. source/irc.c: fix PR#428: /set -irchost dumps core. Sat Mar 11 17:31:43 EST 2000 - matthew green help/encrypt, source/crypt.c: unless the new -showkeys option is specified to the /encrypt command, do not show the keys for each user. Sat Mar 11 15:33:06 EST 2000 - matthew green help/set/lastlog_level, include/lastlog.h, script/screen, source/lastlog.c, source/output.c: add lastlog level HELP, that is where all HELP messages are sent to. Fri Mar 3 20:38:59 EST 2000 - matthew green include/status.h source/alias.c source/irc.c source/status.c: change update_clock() to take a buffer and a length to write a string to, rather than using a static buffer. source/screen.c: in rite(), do not increase new_scrolled_lines if we are redrawing. source/screen.c: in split_up_lines(), if we get a string that seems to be empty, don't pass it to malloc_strcpy() because we don't have a handle on the owner of the string. in this case, we copy " " and then free it later. Fri Mar 3 12:24:59 EST 2000 - matthew green configure, configure.in, include/crypt.h, include/defs.h.in, include/edit.h, include/irc.h, include/ircterm.h, source/alias.c, source/cast.c, source/crypt.c, source/edit.c, source/icb.c, source/irc.c, source/ircsig.c, source/log.c, source/notify.c, source/parse.c, source/screen.c, source/sed.c, source/status.c: remove solaris warnings. part of this changed meant going to more unsigned char uses in alias.c. ideally, we should use unsigned chars everywhere but calling stdlib functions will cause warnings. source/help.c: manage the opening and closing of FILE *help_fp in a much saner way to stop it ever being used in an unstable fashion. Fri Mar 3 02:29:06 EST 2000 - matthew green help/bind/meta5_character, help/bind/meta6_character, help/bind/keys, help/bind/meta7_character, help/bind/meta8_character, include/edit.h, include/keys.h, include/keys.h.proto, include/struct.h, source/edit.c, source/empty_metakeys.inc, source/keys.c, source/screen.c: add meta[5678]_character /bindings. we split the initialiser for meta[35678] out into empty_makekeys.inc because we use it 5 times. Fri Mar 3 00:59:01 EST 2000 - matthew green source/screen.c: in redraw_window(), if we have scrolled lines, lets redraw all of the displayed lines, rather than skipping the last line. in scrollback_end(), reset new_scrolled_lines to 0 as well. in scrollback_start(), call a series of next_line_back() calls to find out how many (output) lines there are in the last log (as opposed to individual lastlog entries, which may span several output lines), so that scrollback_start() can actually work correctly now. 4.4O Thu Mar 2 23:15:18 EST 2000 - matthew green source/debug.c: fflush(stderr); at the end of debug() -- just to make sure debug messages get written out in a timely fashion. include/screen.h, source/screen.c: make redraw_window() static to screen.c; it was the only user anyway. source/screen.c: modify redraw_window() to take an additional "backscroll" parameter and pass true in this parameter when calling the function from back/forward scrolling functions, and false elsewhere. remove the "int skip" parameter from the next_line_back() function. it causes the function to skip lines for what appears to be no good reason, and this is, in addition to the above change to redraw_window() have cause the majority of scroll bugs. Thu Mar 2 00:17:18 EST 2000 - matthew green source/server.c: add support for [server]:port addreses, including [IP:v6] style ones, so that one can use IPv6 addresses as well as ports, nicks, etc. include/irc.h, include/vars.h.proto, include/vars.h, source/irc.c, source/vars.c: implement /set irchost; from help/set/irchost: add documentation for above. include/config.h.dist, include/config.h.lynx, include/vars.h, include/vars.h.proto, source/numbers.c, source/vars.c, help/set/no_ask_nickname: implement /set no_ask_password on; stops reset_nickname() in numbers.c from prompting the user for a password, so that a script can take care of the error instead. include/output.h, include/status.h, source/irc.c, source/output.c, source/screen.c, source/status.c: convert all signal handlers (except for coredump()) to the `set a variable, return, and let someone else perform the task we want' style. ie, don't be unsafe in signal handlers and call things like stdio and malloc! source/icb.c: handle many /ignore requests. Wed Mar 1 21:17:19 EST 2000 - matthew green Makefile.in, configure, configure.in: ignore CVS dirs when installing things more carefully. support `$DESTDIR' in Makefile.in (this from Arkadiusz Miskiewicz ), and use @libdir@ and @mandir@ rather than using ${prefix}/foo for these. source/ircaux.c: use index(foo, ' '); over sindex(foo, " "); from Mark Mielke . source/edit.c, help/exec.c: fix typos; from Mark Mielke . source/status.c: remove the uses of the global "buffer" from status.c. inspired by a PR from Mark Mielke source/edit.c, source/screen.c: make sure we translate everything, even in dumb mode, everywhere. from: Alexander Trump . source/edit.c: fix /set auto_unmark_away variable; it has been broken for at least 5 years. fixes PR#377. source/alias.c, help/alias/functions: implement wincols() and winrows() functions that return the number of columns and rows (respectively) in the current window, or -1. source/wserv.c, configure.in, configure, acconfig.h: fix AIX support. mostly from Graovac . source/server.c, source/window.c: server_itsname() return "" for no server name. source/edit.c: yell() not say() when we don't load an executable file. script/2.8script: remove some damage. source/names.c: avoid adding channel "0" to the channel list. PR#277 source/exec.c: /exec output is level crap by default; make it so. source/dcc.c: if a /dcc get fails because we couldn't create the local file, _don't_ delete the offer from our list! source/queue.c: for `/queue' when no queue commands have ever been run, we used to dump core from calling toupper("Top"). call toupper() on the copied string rather than on the passed in string.h, and then copying. PR#403 source/names.c, include/names.h: add support for +c (colourless) and +R (registered users only) channel modes. from jim efaw in PR#420. source/names.c: add support to properly join !channels. source/crypt.c: fix /encrypt -sed when cast support also enabled. from Jim Efaw . Tue Feb 29 19:52:50 EST 2000 - matthew green acconfig.h, configure, configure.in, include/defs.h.in, source/output.c: add checks for vasprintf(3), vsnprintf(3) and snprintf(3) (the latter not used in the ircII yet?). rework the screen output routines (yell(), say(), put_it() and help_put_it() to use vasprintf() if it exists, then fallback vsnprintf() and finally back to vsprintf() like the old code. this should allow lines with extremely large output (such as many-kilobyte aliases) to be displayed correctly (vasprintf()) or at least truncated (vsnprintf()) and not dumping core. Mon Feb 28 12:09:24 EST 2000 - matthew green include/alias.h, source/alias.c, source/irc.c: malloc_str*() the space for char *command_line, rather than having a buffer in bss. include/ircaux.h, source/ircaux.c: add a malloc_strcat_ue() that unescapes backslashes (like strmcat_ue()). source/alias.c: modify expander_addition() and alias_special_char() to take a malloc() maintained buffer, rather than a BIG_BUFFER_SIZE one, by replacing str*() calls with malloc_str*() calls in many places. remove a hack that would try to stop core dumps when this buffer became overflowed that now should never happen. modify alias_expand() to use the changed functions from above, including malloc_strcat_ue(). also, remove BIG_BUFFER_SIZE from the rest of alias.c: alias_currdir(), function_strip(), function_encode(), function_decode(), function_dcclist(), function_chatpeers(), function_chanusers(), note: function_pid(), function_ppid() and function_idle() all use the global "buffer" still. source/edit.c: remove a dependancy on BIG_BUFFER_SIZE in parse_line(). note all the uses of BIG_BUFFER_SIZE and the global "buffer". yes, it is time to get rid of the global buffer and the BIG_BUFFER_SIZE define. Sun Feb 27 18:46:01 EST 2000 - matthew green source/window.c, include/window.h: add a 'Win_Trav' that we use in window_traverse() now, as our status of where we are in traversal. note that we have to set: Win_Trav stuff; stuff.flag = 1; before calling window_traverse initially. include/vars.h.proto, include/vars.h, source/screen.c, source/vars.c, help/set/xterm_path: add /set xterm_path Sun Feb 27 18:02:08 EST 2000 - matthew green source/window.c: fix window_get_connected() to note the nick to use once a server is found, if the nick isn't already specified. fixes problem with multiple server:port combinations with different nicks. 4.4N Sun Feb 27 12:36:35 EST 2000 - matthew green include/window.h, source/server.c, source/window.c: rename set_window_server() to window_set_server(). source/window.c, source/server,c. source/notice.c, source/irc.c, source/numbers.c, include/server.h: retire WIN_OLDCONN flag. this means we can revert get_connected() to take only one argument. in window_set_server(), always transfer the channels to the new server if WIN_TRANSFER, because WIN_OLDCONN is now gone. Sat Feb 26 13:41:31 EST 2000 - matthew green script/icb, source/edit.c: deal with /join, /invite, /who, /nick and /topic in the script. source/parse.c: give all static functions a `p_' prefix like about 1/2 of them already have. Sun Feb 13 03:00:37 EST 2000 - matthew green include/hook.h, include/hook.h.proto, source/hook.c, source/window.c, help/on/window_swap: add new hook WINDOW_SWAP that is triggered when ever a window is swapped. include/struct.h, source/edit.c, source/names.c, source/screen.c, source/window.c: revert /window bind to original behavior: property of a window, not a channel. Tue Feb 1 16:40:18 EST 2000 - matthew green source/icb.c: deal with the fact that ICB groups can be renamed. Mon Jan 31 15:01:41 EST 2000 - matthew green source/icb.c, source/edit.c: change icb_put_msg2() to honour window_dislay, and using this implement /whois for ICB mode (as "/m server whereis"). 4.4M Fri Jan 7 09:55:29 EST 2000 - matthew green acconfig.h, configure, configure.in, include/defs.h.in, source/irc.c, source/ircaux.c, source/server.c: add IPv6 support from Arkadiusz Miskiewicz as given in PR#402. source/icb.c: make SHOW_CHANNEL_NAMES work on ICB. Tue Dec 21 02:38:00 EET 1999 - Joel Yliluoma source/edit.c, help/cat: added /CAT command to easify avoiding security risks when otherwise /exec cat would be used. /CAT adds a line to specified file (to end). Sat Dec 18 22:32:18 EST 1999 - matthew green help/icb: fix some typoes from in PR#395. Makefile.in: regenerate dependancies after adding ircflush.c to the list of them. this fixes PR#396. configure.in: s/PREFIX/prefix/ so that it it works. ircbug.in: automatically determine how to suppress newlines, fixing PR#398. source/edit.c: re-set from_level correctly in my_echo; fixes PR#387, #399 and #412 (patch supplied in this one from Hans Hasselaar ). Thu Dec 9 21:42:41 EST 1999 - matthew green script/default: new script that is a suggested default `.ircrc' for people to use. script/times: new script that adds times to msgs, dcc and channel traffic. script/otherstatus: new script to let you have a bold or underlined status bar. all the above are derived from parts of mrg's setup. Thu Dec 9 15:08:09 EST 1999 - matthew green soruce/icb.c: one can now send long lines and have them broken up correctly. Sat Oct 23 06:10:21 EEST 1999 - Joel Yliluoma source/screen.c fixed the mirc colour support, did not work correctly. help/set/make_notice_msg described MAKE_NOTICE_MSG Wed Oct 20 21:11:56 EST 1999 - matthew green help/load/screen, help/load/tabkey, scripts/tabkey, scripts/screen: move default ^X^X binding to `screen' script, and make it swap scripts, like screen(1) does. Wed Sep 8 03:07:24 EEST 1999 - Joel Yliluoma source/parse.c, source/vars.c, include/vars.h.proto added boolean set MAKE_NOTICE_MSG Sat Sep 4 19:03:22 EEST 1999 - Joel Yliluoma help/alias/functions described the hasvoice() and dcclist() functions. described the chatpeers() function. source/alias.c added chatpeers() function. Sun Jul 25 05:50:15 EEST 1999 - Joel Yliluoma source/alias.c, source/names.c, source/irc.c added .ircquick file support. added hasvoice() and dcclist() functions. 4.4L Mon Aug 23 21:43:51 EST 1999 - matthew green configure.in, configure, source/ircaux.c, include/config.h.dist, include/config.h.lynx, include/defs.h.in: fix up ZCAT/ZSUFFIX auto-finding support to work and be used. Makefile.in: set help & translation paths properly when building both help.c and translation.c. Mon Aug 23 19:52:26 EST 1999 - matthew green configure.in, configure, acconfig.h, include/defs.h.in: add SOCKS version 5 support (from agc@netbsd.org). Makefile.in: fix some more $(srcdir) lossage with autoconf and autoheader runs. source/server.c: make sure varaiable is not uninitialised (from agc@netbsd.org). Mon Aug 23 12:30:29 EST 1999 - matthew green configure.in, configure, Makefile.in, include/Makefile.in, include/config.h, source/Makefile.in: add support for building outside of the source tree, largely from glen. config.h.dist is copied to the build tree now. neat. 4.4K Sun Aug 22 04:07:03 EST 1999 - matthew green source/irc.c: fix usage string to be a real C string again. source/icb.c: fix an off by one error in long msg handling. Sun Aug 22 01:32:35 EST 1999 - matthew green INSTALL, configure, configure.in, include/irc.h, source/help.c, source/mail.c, source/wserv.c: add patches from Gerben_Wierda@RnA.nl to fix NeXT support. source/window.c: apply PR#378 from forcer: WINDOW KILL_OTHERS crashes with more than 2 windows. source/ircaux.c: do not copy a string onto itself. it fails. fixes several PRs: 379, 380, 381, 385, 386, 388 and 390. include/ircterm.h FreeBSD uses int/int for tputs function too. maybe ncurses does? acconfig.h, configure, configure.in, include/defs.h.in: apply patch from Tod McQuillin in PR#382 to fake a `ssize_t' for older systems. source/window.c: deal with CHANNEL_NAME_WIDTH == 0. fixes PR#384. configure, configure.in: --datadir is now used and sets where $IRCLIB exists (as ${datadir}/irc). fixes PR#383. Wed Jul 21 09:48:45 EST 1999 - matthew green source/edit.c, help/brick: add `/brick channel nick' command. 4.4J Thu Jul 15 12:18:44 EST 1999 - matthew green help/load/icb, script/icb: add `/register' include/config.h*, include/server.h, include/icb.h, source/irc.c, source/server.c, doc/ircII.1: add -P switch to set deafult ICB port. have a define `ICB_PORT' (that is 7326) for the default. source/cast.c, source/dcc.c, include/irc_std.h, include/cast_sbox.h: replace 'cast_t' with 'castkey' and 'u_32int_t' with 'u_32int' as _t is not my name space. source/cast.c: fix several bugs noted by Michael Katzenmayer : castkey had u_char instead of u_int, and some packaging problems introduced since the CBC changes. Thu Jun 17 16:38:34 EST 1999 - matthew green source/alias.c, help/alias/functions: new $SERVERTYPE() function that returns either `IRC2.X' (X between 5 and 11 so far), or `ICB'. idea from tristan@ethereal.net. 4.4I Sat May 22 00:00:11 EST 1999 - matthew green include/crypt.h: rename CAST128ED to CAST128ED-CBC so that newer implementations will fail to operate with prior versions, rather than attempt to work and lose. Fri May 21 18:29:15 EST 1999 - matthew green configure, configure.in, acconfig.h, include/defs.h.in, source/crypt.c: use /dev/urandom if possible. avoid using the implementation namespace a bit... source/wserv.c: fix this for unix domain 4.4BSD machines. source/term.c: ensure we catch all ESC aliases... source/parse.c: let older /on join's work again. source/icb.c: make sure we properly disconnect a server. for public and private messages, be sure not to overflow the 255 byte ICB limit. source/exec.c: for /exec's that have output elsewhere, make sure that they go to the right server. source/cast.c: change CAST-128 implmentation from EBC mode to CBC mode. this is incompatible with previous versions but as EBC is less secure, too bad. Mon Mar 8 14:13:54 EST 1999 - matthew green configure, configure.in, acconfig.h, include/defs.h.in, source/cast.c, source/crypt.c: look for and, if we find it, use /dev/random as a source of randomness for crypto code. source/icb.c, source/edit.c, include/icb.h: add a new icb_put_funny_stuff() that handles doing irc-like /names and /list. script/global: load tabkey & icb by default. Fri Mar 5 15:24:11 EST 1999 - matthew green include/server.h, script/icb, source/edit.c, source/icb.c, source/irc.c, source/parse.c, source/server.c, source/whois.c source/window.c: add an extra argument to the parse_server_info() stuff, that returns anything beyond the nick. this is used by the ICB code to set default group and mode. you can specify that a server is ICB in the IRCSERVER and related lists by prepending it with IRC/. eg set IRCSERVER to: `ICB/icb.network.net:7326::mynick:channel'. 4.4H Thu Mar 4 19:42:31 EST 1999 - matthew green include/server.h, source/numbers.c, source/server.c, source/window.c: connect_to_server() and find_in_server_list() both take a "nick" argument now. server lists are unique now only if the nickname is the same. source/icb.c: parse status messages for signon/signoff/arrive/depart and convert them to join/leave hooks. source/screen.c: deal with no current_screen. helps with output functions run during client startup not dumping core. update fwrite() tests to be consistent. Thu Mar 4 18:54:08 EST 1999 - matthew green include/hook.h, include/hook.h.proto, source/edit.c, source/hook.c, source/icb.c, source/irc.c, source/server.c: add hooks for ICB stuff. implement two new hooks for ICB only stuff: ICB_STATUS and ICB_ERROR, for icb status and error messages. all others go via server_notice, msg, public, send_msg, send_public which exist. more to come. Thu Mar 4 17:56:26 EST 1999 - matthew green source/irc.c, source/icb.c, source/server.c, include/server.h: fix -irc/-icb args to skip the rc/cb bit. add a icb group concept, separate to the irc channels. Thu Mar 4 14:24:25 EST 1999 - matthew green include/irc.h, include/server.h, source/irc.c, source/server.c, source/window.c: if run as "icb", default to icb. add -irc/-icb switch to the command line, and -irc to both /window server and /server. Thu Mar 4 13:10:41 EST 1999 - matthew green source/ctcp.c: dcc actions to the right window. from forcer. configure, configure.in: cast recv() address argument to (struct sockaddr *) to let it compile, and let the nonblock test have a chance at working. from forcer. source/numbers.c: print a channel not available message even if we don't understand it properly, so that the user gets the message anyway. contrib/README, (removed contrib/colour and contrib/colour.orig), include/config.h*, include/irc.h include/vars.h.proto, include/vars.h, source/screen.c, source/vars.c: add a /set colour to mimic mIRC-style colours. it does not use termcap colour stuff, as no one uses those anyway. at least on IRC. this is sarayans original patch as maintained by forcer, and what was originally in the contrib directory. source/dcc.c: print ip:port for dcc send. from forcer. Wed Mar 3 18:06:17 EST 1999 - matthew green source/newio.c, include/newio.h: add a "dgets_separator" that lets you change the "end of line" charater. this is useful for ICB where it is a nul, not a newline. help/icb, include/icb.h, include/server.h, script/icb, source/Makefile.in, source/edit.c, source/icb.c, source/irc.c, source/notify.c, source/server.c, source/window.c: add elementary ICB support. /server -icb host port should do the right thing, and let you join channels, see messages, send then. a new /icb command lets you have access to all the icb commands, and most IRC commands that make sense in this context (/nick, /topic, /version, /msg, /join, etc) have been modified to know the are talking to an ICB server and pass the users request off to the icb code to handle. this uses the new dgets_separator() for ICB server connection processing. this is missing hooks and stuff, but it should be at least usable for now. i expect to add hooks and stuff shortly. the script adds aliases for icb commands (/group, /boot, /pass, etc.), and the help file is fairly useless... 4.4G Sun Feb 28 13:37:48 EST 1999 - matthew green source/screen.c: use ssize_t for the length, and cast it to size_t where needed, to avoid it overflowing. various: use __SVR4 as the canonical SVR4 preprocessor define, as it is. source/hook.c, include/hook.h.proto, include/hook.h, help/on/join: /on join takes 3 args. configure.in, acconfig.h, source/dcc.c: add writev & check and use it if possible. doc/ircII.1: document the -b flag. source/server.c: call the right parse_server() routine in all cases. source/ctcp.c: be saner about PARANOID. source/dcc.c, source/ctcp.c, source/crypt.c, source/cast.c, source/edit.c, include/crypt.h: convert to a "crypt_key" type for crypto keys, rather than passing around char *'s. this lets the key be opaque and let the crypto engine hide in here. source/ctcp.c, source/crypt.c, source/cast.c source/sed.c, include/crypt.h, include/ctcp.h, help/encrypt: split SED code into sed.c. allow more than one type of crypto system to be compiled in. currently there is only support for SED and CAST-128. 4.4F Tue Feb 9 21:30:37 EST 1999 - matthew green source/crypt.c, source/ctcp.c, source/dcc.c: various bug fixes to crypto code. Tue Feb 02 03:45:58 est 1999 - glen mccready source/exec.c, help/exec: add /exec -target. Sun Jan 03 20:19:54 est 1999 - glen mccready source/alias.c: more functions, winsrvr() and winsrvrgrp() to return the windows server and server_group. source/window.c: make "window query" work like "query". Sun Jan 03 17:21:02 est 1999 - glen mccready source/alias.c: add a couple of useful functions. one, winvis(), to tell you if a window is visible. another, querynick(), to tell you what nick, if any, a window is queried to. Sun Jan 03 12:42:44 est 1999 - glen mccready source/window.c: allow "window channel #chan,key" to work. 4.4E Sun Nov 8 16:23:19 EST 1998 - matthew green source/cast.c: be defensive about putting the final nul back in to the string: it can never be >7 as the blocksize is 8... source/ctcp.c: quote ':' with a standard quote character in ctcp_quote_it() as do_ctcp() treats : specially (if it is the first char of a string). the avoids accidentally losing the first character of a string. Fri Nov 6 19:33:31 EST 1998 - matthew green acconfig.h, configure, configure.in, include/alias.h, include/ctcp.h, include/dcc.h, include/defs.h.in, include/edit.h, include/hold.h, include/hook.h, include/if.h, include/input.h, include/irc.h, include/irc_std.h, include/ircaux.h, include/ircterm.h, include/keys.h, include/keys.h.proto, include/menu.h, include/names.h, include/output.h, include/screen.h, include/server.h, include/translat.h, include/vars.h, include/window.h, source/alias.c, source/cast.c, source/crypt.c, source/ctcp.c, source/dcc.c, source/debug.c, source/edit.c, source/exec.c, source/file.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/ircio.c, source/ircsig.c, source/keys.c, source/lastlog.c, source/list.c, source/log.c, source/mail.c, source/menu.c, source/names.c, source/newio.c, source/notice.c, source/notify.c, source/numbers.c, source/output.c, source/parse.c, source/queue.c, source/reg.c, source/scandir.c, source/screen.c, source/server.c, source/stack.c, source/status.c, source/term.c, source/translat.c, source/vars.c, source/whois.c, source/window.c, source/wserv.c: make (almost) compile with quite anal gcc flags under NetBSD 1.3H, quietly. this adds support for finding a locally delcared "errno", and also removes a bunch of the old STDC crap with passing char's to functions. also fixed a few bugs that were found! 4.4D Fri Nov 6 02:38:34 EST 1998 - matthew green source/dcc.c: add untested code for using writev if available. also, fix dcc chat encryption. source/irc.c, source/notice.c, source/parse.c, source/whois.c: clean up "int sed;" processing. Wed Oct 28 12:11:10 EST 1998 - matthew green source/dcc.c, source/flood.c, source/irc.c, source/ircaux.c, source/numbers.c, source/parse.c, source/server.c, source/window.c, include/irc.h: remove NICKNAME_LEN. make nicks dynamically allocated. this is so ircII works on blundernet. source/dcc.c: fix some problems with encrypted dcc chat. still not totally working... 4.4C Sun Sep 27 12:18:08 EST 1998 - matthew green source/screen.c: fix flash-style attacks, by checking for characters 0-32 with the high-bit set (128->160) and performing the same alternation on those. contrib/README, contrib/colour, contrib/colour.orig: add the new colour patch from PR#332, moving the old one to colour.orig. from forcer. source/alias.c: use the current server for $A and $N expansion, not the current window. from flier@globecom.netin pr 300. Sun Sep 27 02:28:08 EST 1998 - matthew green translation/POLISH, translation/POLISH_NOPL: fixed polish translation tables, from Piotr Kucharski in pr#344. source/edit.c, include/edit.h: make /timer server-away. from flier in pr#295. Sat Sep 26 12:36:02 EST 1998 - matthew green source/alias.c: fix $rindex(), using patch in pr335 from Tristan Horn . source/numbers.c: if we get end of motd, and we haven't seen a 002 or version notice, fake one up... Sat Sep 26 03:58:30 EST 1998 - matthew green source/server.c, source/window.c, source/numbers.c, source/help.c, source/dcc.c: change {save,restore}_message_from() into a queue so that now that we use them for every message_from(), info is not by too save_ callers before a restore_. fix some of the callers of these functions to work properly in the presence of a queue. Wed Sep 23 00:51:22 EST 1998 - matthew green source/notice.c: allow server notices to see the 1st parameter as it comes from the server, as it may be a channel. from galibert@iria.mines.u-nancy.fr (Olivier Galibert) in pr#239. script/2.9script: deal with PR#217 sanely now we have the above. configure, configure.in: check for gcc on QNX (from glen). source/numbers.c: deal with number 405. fixes pr#336. source/alias.c: fix overflow in eval echo [3232235777/255]. configure, configure.in: source/exec.c: don't go past the end of the signals array. source/log.c: fix core dump through nulref from flier in pr#334. Tue Sep 22 20:38:16 EST 1998 - matthew green source/alias.c, source/ctcp.c, source/dcc.c, source/edit.c, source/funny.c, source/help.c, source/lastlog.c, source/mail.c, source/names.c, source/notice.c, source/notify.c, source/numbers.c, source/parse.c, source/server.c, source/whois.c, source/window.c: rework message_from() usage: now we use the two handy functions {save,restore}_message_from() a lot throughout the tree (when using message_from()). this ensures that the from level/message level/from who/etc are all set correctly at all times. also fix a few bugs here. /notify, /help, ctcp messages and several other systems were not properly restoring or setting the levels. this, i believe, is the cause of random messages going to the wrong place, extremely rarely. i belive i have fixed all of these problems now, and perhaps not broken anything. also fix temporary setting of from_server that did not restore the previous value. source/alias.c: avoid using from_server or parsing_server_index as an index if it is < 0. Wed Sep 16 11:04:45 EST 1998 - matthew green source/history.c: create the .irchist file mode 600. include/names.h, include/server.h, source/funny.c, source/names.c, source/parse.c, source/status.c: support irc 2.10 modes, from . 4.4B Tue Sep 8 00:43:18 EST 1998 - matthew green INSTALL, Makefile.in, easyinst: remove easyinst, document --with[out]-cast. Mon Sep 7 18:33:01 EST 1998 - matthew green source/irc.v, doc/VERSIONS: bump version to 4.4B, due to the CAST-128 support. configure, configure.in: change --with-cast to support `=no', and also if we find source/cast.c, enable cast support. fix alignment of some strings for --with-cast and --with-paranoid. Mon Sep 7 15:11:57 EST 1998 - matthew green source/cast.c, source/crypt.c, source/ctcp.c, include/crypt.h, include/cast_sbox.h, acconfig, configure configure.in: add a --with-cast switch to configure, to enable built-in CAST-128 encryption support, rather than the old broken crypt. requires cast.c and cast_sbox.h that will *not* be distributed with ircII by default. Sat Sep 5 21:39:36 EST 1998 - matthew green source/crypt.c, help/encrypt, help/set/old_encrypt_program, help/set/encrypt_program: change encrypt_program to write key as first line, rather than insecure cmd line argument. add a new `old_encrypt_program' (default off) variable to use the old API. XXX the exec code here has lots of syscalls with no return values checked XXX. Tue Jun 2 18:48:39 EST 1998 - matthew green source/queue.c: fix core dumps. pr#298. doc/ircII.1: document the "global" script. pr#315. Tue Jun 2 18:13:09 EST 1998 - matthew green help/window/bind, help/window/unbind: new help files. script/nocolour: stop mIRC colour crap. source/server.c: match server name correctly. noted in pr#301. source/dcc.c: print ip/port in dcc requests. per pr#325. source/crypt.c: call setgid() before setuid(). call wait() after exec(). there are still MANY system calls with unchecked return values here but at least it seems to work now. at least with `/usr/games/caeser' as the encryption program, and 13 as the key (rot13 :). configure.in, configure: AMS mail is ~/Mailbox as a directory, not a file. this fixes problems with qmail installations. Tue Jun 2 16:11:05 EST 1998 - matthew green source/names.c: initialise new->status, which fixes the "channel leave" bug, noted in several PR's (fix from 328). source/mail.c: use my_strnicmp(). from mark. configure, configure.in, acconfig.h, include/defs.h.in, source/ctcp.c: add a --with-paranoid switch which disables the "bad" parts of ctcp version/finger replies. source/ctcp.c, source/dcc.c, source/edit.c: allow dcc channels to have (only) ctcp queries. involved some interface changes to send_ctcp() and related functions. for now, no replies are generated -- there is no privmsg/notice in a dcc chat connection. source/ctcp.c: ensure ctcp functions that return data return it in a malloced string, and ensure that the caller cleans this up. should fix several problems noted over the last several years. source/dcc.c, include/irc.h: avoid buffer overflows in dcc chat connections. noted by forcer. Fri Jan 12 02:20:00 EST 1997 - glen mccready source/edit.c, source/exec.c, source/screen.c, source/server.c, source/status.c, source/ircio.c, source/ircflush.c, source/irc.c, source/wserv.c, source/names.c, source/dcc.c, source/scandir.c, source/help.c, include/scandir.h: clean up some warnings. prototype scandir. make sure notify_mark is prototyped where it's used. fudge some qnx defaults further in configure. source/queue.c: fix segv (pr#292). source/vars.c: fix "/set logfile ~/blah". source/ircaux.c, source/alias.c, include/ircaux.h: add srindex() to compliment sindex(). used by $rindex(). source/output.c: fix bug in end-of-string handling. Fri Jan 9 23:44:00 EST 1997 - glen mccready source/ctcp.c: fix missing toupper(). 4.4 Sun Dec 7 13:25:24 EST 1997 - matthew green source/screen.c: fix PR211 from krys: make scrolling work a bit better. Thu Dec 4 11:25:13 EST 1997 - matthew green source/edit.c: fix PR280: don't set SERVERREQ for /msg as it breaks dcc chat and /disconnect-ed. Tue Nov 25 16:52:31 EST 1997 - matthew green source/edit.c: hack: fix pr272: set lastlog/loglevel to CRAP for xecho -window. source/numbers.c: fix pr273: numerics 471, 473, 474, 475 and 476 need to be caught my the client before hooking. do so. source/notice.c: fix pr274 (i think, i can not test this): if the server doesn't give a 'normal' 002 numeric, don't totally lose. pretend it's a 2.9 server and go from there. source/ctcp.c, source/edit.c: from flier in pr275: don't free the return value of crypt_msg(). source/lastlog.c: fix pr276: free the malloced copy, and use strncmp(). 2.9beta2 Mon Nov 10 15:06:55 EST 1997 - matthew green source/names.c, source/names.h: cleanup mode string code. fix bug while i'm here... 2.9beta1 Mon Nov 10 11:36:56 EST 1997 - matthew green source/edit.c: giver user indication of SQUERY (idea from kalt). source/names.c: add modes a and q. should parse server numeric for this info at connect time. (from kalt) also, don't leak a channel (from flier). source/parse.c: if is_channel() is called with NULL, return 0 (from vps@unicorn.niimm.spb.su) source/window.c: make /window remove deal with ^foo as a nick (from flier). source/numbers.c: add a hook for numeric 437. source/irc.c, source/hook.c, source/notice.c, source/server.c: change get_connected() to take an oldconn parameter, that makes it set WIN_OLDCONN when moving channels. update callers of this. script/dccchan, help/load/dccchan: add ian frechette's dccchan implementation. Thu Oct 9 00:09:42 EST 1997 - matthew green source/vars.c, source/alias.c: send output of non-singual versions of /set, /assign and /alias to window level crap, like it used to do. eg, '/set foo' will go to crap, but '/set foo bar' will go to the current window. Thu Sep 4 13:45:03 EST 1997 - matthew green source/edit.c: use send_2comm() for squery. help/squery, help/servlist: document these new commands. README: duh! update my address to eterna, not mame. INSTALL: make a note about the fuckage that happens with BIND 8 being installed into /usr/local. 2.9alpha8 Sun Aug 31 15:21:53 EST 1997 - matthew green script/2.9script, help/load/2.9script: new files: contain code to deal with 2.9 server messages and stats p output. from kalt in pr#217. source/names.c, source/edit.c, source/window.c: don't use a server index if it is -1. fixes some crashes. from flier@ferlin.fri.uni-lj.si in pr#222 and pr#223. source/window.c: fix error in displays, from flier@ferlin.fri.uni-lj.si in pr#228. source/dcc.c, source/names.c: don't forget to free some things, from sarayan in pr's 232 and 234. source/server.c: fix out-of-bounds bcopy() that was causing lots of havoc after /server -delete. from sarayn in pr#238. source/server.c: don't trash parsing_server_index, from sarayan in pr#240. source/edit.c: add SERVLIST and SQUERY as comments (for ircd 2.9), using send_comm(). this may not be correct and these commands may simply fail. script/version: update for 2.9. 2.9alpha7 Tue Jun 3 22:34:10 EST 1997 - matthew green source/keys.c: pass the args in /parse. fixes PR#236. from sarayan. source/server.c: don't send whois foo and whois !foo. fixes PR#85. also from sarayan. source/parse.c: don't use `level' if we haven't set it! also from sarayan. Thu May 22 04:53:00 EST 1997 - glen mccready source/irc.c, source/ircaux.c: add '-h host' for specifying the local address for multi-homed boxes. Wed May 7 17:55:56 EST 1997 - matthew green source/edit.c, help/save: add new SERVERREQ flag to irc_commands[] that requires that we be connected to a server for this command to be run. fixes problems noted in pr#222 and pr#223. implement /save -force, to skip the question asking. Mon May 5 19:13:32 EST 1997 - matthew green source/ignore.c: rework a sentence. sourec/dcc.c: make dcc sent/read byte counts correct under systems with off_t > long (eg, NetBSD/sparc), by casting arguments for "%ld" to (long). 2.9alpha6 Mon Apr 21 16:35:57 EST 1997 - matthew green source/hook.c: minor fix for previous. Mon Apr 21 01:12:22 EST 1997 - matthew green source/hook.c: fix Add_Remove_Check stuff, from Sarayan. source/names.c: fully initialise channel. from sarayan. source/vars.c: handle DEFAULT_LOG being on. contrib/README, contrib/random_nick: Kalt's random nick patch. 2.9alpha5 Sun Apr 20 20:51:01 EST 1997 - matthew green source/alias.c, source/crypt.c, source/dcc.c, source/edit.c, source/exec.c, source/hook.c, source/keys.c, source/lastlog.c, source/vars.c: purify found several memory leaks i introduced some months ago. thanks sar. source/alias.c: alias_xxx() functions don't allocate their return value. Sun Apr 20 19:41:53 EST 1997 - matthew green contrib/README, contrib/japanese_support: put PR#203 from Sarayan into the contrib directory, so that people needing ISO2202 (japanese) support can have it. Sun Apr 20 18:43:33 EST 1997 - matthew green contrib/README, contrib/colour: put PR#202 from Sarayan into the contrib directory, so that people wanting colour can have it. Tue Apr 15 01:58:44 CDT 1997 - scott reynolds acconfig.h, include/defs.h.in: don't use non-blocking connects if SOCKS support is enabled. 2.9alpha4 Tue Apr 15 02:29:48 EST 1997 - matthew green source/output.c: increase the buffer size, as suggested by in pr#201. Tue Apr 15 02:13:11 EST 1997 - matthew green source/window.c: handle /window double correctly. from in pr#198 & pr#200. normalise some formats. when swapping channels and windows, don't do disconnected windows. pr #182, pr#191 & pr#196 help/window/sticky: initial document on this commmand. Tue Apr 15 01:11:48 EST 1997 - matthew green source/mail.c: minor optimisation. source/server.c: default to /WINDOW STICKY. source/screen.c, source/window.c, include/window.h: remove WIN_LOGLEVEL. Wed Apr 2 16:04:04 EST 1997 - matthew green include/ircterm.h add __GNU__ (the hurd) to the int/int putchar_x crowd. this was the only change required! source/edit.c: patch from Sarayan to fix some errors caused by me, and some clean up, for the channel commands. pr#190. Wed Mar 26 18:11:22 EST 1997 - matthew green include/ircterm.h: #ifdef __sgi, then int putchar_x(int) is correct. this works for IRIX5 and IRIX6. if it doesn't work, blame sarayan. 2.9alpha3 Wed Mar 26 15:50:50 EST 1997 - matthew green NEWS: updated for `2.9' Wed Mar 26 14:33:56 EST 1997 - matthew green source/names.c: leave kicked channels in CHAN_LIMBO. source/status.c: don't cut of domains of irc servers called "irc.". source/dcc.c, source/screen.c: deal with /window add =nick properly. source/window.c: change add_nicks_by_refnum() so that you can explicitly add/delete with a new parameter. allows the caller to _NOT_ have to malloc a new string for prepending a ^ on it. help/help, help/load/help, help/set/help_pager, help/set/help_service, help/set/help_prompt, script/help, source/help.c, source/vars.c, include/vars.h.proto, include/vars.h: remove help_service, and re-implement it as a help script. source/server.c, source/window.c: finish /server . that glen started at my urging. include/ircterm.h: Linux and AIX use int/int for tputs. source/edit.c: fix a few commands, and make leave comments work properly. source/dcc.c: handle dcc send with "irc -S" by using MyIpAddr. source/numbers.c: reset the whois_queue() on numeric 001. source/dcc.c: don't use a filename if it's NULL. from Sarayan. source/ircaux.c: don't free anything pointing as "empty_string". should prhaps do zero and one here also. configure, configure.in: look for /stand/vmunix as well as /hp-ux, before testing for HPUX. easyinst: deal with default server more sanely. Sun Mar 23 03:24:48 EST 1997 - matthew green help/alias/functions: fix index ^ desc. from Stefan Le Breton . Sun Mar 23 01:59:45 EST 1997 - matthew green source/parse.c, source/hook.c, include/hook.h.proto, include/irc.h: remove ON_KICK: we always have it. Makefile.in: cp not ln config.h.dist to config.h. include/config.h.dist, include/config.h.lynx, include/vars.h, include/vars.h.proto, include/hook.h, include/hook.h.proto:: add ctcp_reply* and status_group variables include/hook.h.proto, include/hook.h: add /on KICK as normal. Wed Mar 19 06:10:03 METDST 1997 - Olivier Galibert source/ctcp.c, source/server.c, source/vars.c, include/server.h, include/vars.h, include/config.h, include/config.h.dist, include/config.h.lynx: Implement new way of doing CTCP reply flood protection. Read source/ctcp.c for details. Has been tested against multiple -- unasked for-- flood attacks, never failed :-) Fri Mar 21 16:26:45 EST 1997 - matthew green source/edit.c: from sarayan: fix array out of bounds. source/lastlog.c: from StElb : add lastlog -save . source/numbers.c: handle number 437, for ircd 2.9. Fri Mar 21 12:23:03 EST 1997 - matthew green source/edit.c: don't send "NAMES" for hostmasked channels (eg, #foo:*.edu). fixes PR#187 source/dcc.c: fix pr#131: handle dcc send with irc -AS. Thu Mar 20 17:56:47 EST 1997 - matthew green translation/POLISH, translation/POLISH_NOPL, help/set/translation: add POLISH translation tables from Piotr 'Beeth' Kucharski script/global, help/ison: add /ISON command. 2.9alpha2 Wed Mar 19 14:42:24 EST 1997 - matthew green source/dcc.c: fix bug pointed out by sar: don't use filename if it is NULL. source/vars.c: fix bug pointed out by shadow@tsatsos.math.auth.gr: /set -realname dumped core. help/server: clarify /server name:port:pass:nick source/ircaux.c: in new_free(), just reset the pointer to NULL it is really `empty_string'. source/parse.c: use STRING_CHANNEL not a hardcoded '+'. Fri Jan 17 18:10:54 EST 1997 - matthew green source/ctcp.c: change the way ctcp flood protection works. for longer or faster messages, we ignore for longer. 2.9alpha1 Mon Nov 11 01:25:27 CST 1996 - scott reynolds source/parse.c: fix reversed test for comment when leaving channel. Wed Jul 24 11:42:12 EST 1996 - matthew green source/lastlog.c, source/mail.c, source/window.c, source/notice.c, source/names.c, source/server.c, source/screen.c, source/edit.c, source/funny.c, source/irc.c, source/dcc.c, source/ctcp.c, source/parse.c, source/numbers.c, source/whois.c: more message_from() clean ups. source/parse.c, help/on/leave: implement part comments (from per). Mon Jul 22 11:42:47 EST 1996 - matthew green acconfig.h, include/defs.h.in, include/config.h: only define NON_BLOCKING_CONNECTS if we actually have a way of doing it. source/server.c, source/screen.c, source/dcc.c: fix some redirect lossage. 2.9_roof Sun Jul 21 05:20:15 EST 1996 - matthew green source/ctcp.c, source/dcc.c, source/edit.c, source/funny.c, source/lastlog.c, source/mail.c, source/numbers.c, source/server.c, source/whois.c, source/window.c, source/notice.c, source/names.c, source/parse.c: use message_from() consistantly across the board, except for a few places that set it explicitly to LOG_CURRENT (which _should_ be the default). this should fix all the bugs with messages going to the wrong window, but there are also *lastlog*() functions that might affect this (and assignments tto `to_window', etc, etc). source/names.c, source/parse.c: move the notify_mark() calls to add_to_channel() and remove_from_channel(). help/set/translation: update to reality. Fri Jul 19 22:33:14 EST 1996 - matthew green source/newio.c: it's FD_SETSIZE, _not_ FDSETSIZE. source/ctcp.c: in do_ctcp(), only call send_to_server() if there is actually something to send. stops the client sending a blank line to the server for every ctcp recieved. source/server.c: when a connection fails, set connected = 0, and read = write = -1 in the server struct. this stops the "looping failed connection" bug from happening. Tue Jul 9 13:47:42 MET DST 1996 - Christophe Kalt source/numbers.c: display numeric 366 (RPL_ENDOFNAMES) in the right window. 2.9_wall Wed Jun 26 23:14:21 EST 1996 - matthew green source/parse.c: don't notify_mark() when nick changes case only. source/numbers.c: don't set +sw with numeric 381. why was this ever done, i dunno... source/numbers.c, source/funny.c, include/server.h: notice and care about usermode +r and numeric 484 (ERR_RESTRICTED). include/ircterm.h: XXX more irix6 lossage. give a tgetstr() proto. Wed Jun 26 12:49:50 EST 1996 - matthew green source/edit.c, source/input.c: ANSIification of some functions taking char arguments. source/dcc.c: __STDC_ -> __STDC__ configure.in, configure, acconfig.h, include/config.h, include/config.h.lynx, include/defs.h.in: implement --with-default-server (scottr). source/irc.c, source/notice.c, include/irc.h: implement new -b switch: loads .ircrc before connecting to a server. source/edit.c: fix auto_unmark_away (pr#104). check_away was always 0. configure.in, configure: impliment --with-non-blocking=(posix|bsd|sysv|none). make solaris test work on x86. Thu Jun 20 15:32:03 EST 1996 - matthew green source/term.c, include/ircterm.h: XXX HACK ALERT! made this work for irix6, kinda. this needs to be replaced by something real. source/mail.c, source/help.c: NeXT bug fixes from Mark. script/2.8script: fix invite and ban reply. Tue Jun 11 19:52:23 EST 1996 - matthew green source/server.c: don't use sa_len anymore. irix uses it and it makes Lossage! easyinst: deal with no config.h.dist source/keys.c: cast call to malloc_strcpy(). from fn. source/translat.c translation tables don't have spaces in their names. from fn. include/output.h: refresh_screen returns RETSIGTYPE. pr#92. contrib/README, contrib/check_load: added contrib section. include/lastlog.h: make default window level LOG_NONE, as per -DPHONE. 2.9_floor Thu Jun 6 00:50:08 CDT 1996 - scott reynolds source/if.c: fix a buffer overrun. (from Karthik Gargi) 2.9_base Sun Apr 14 14:55:15 CDT 1996 - scott reynolds source/window.c: fix problem with /WINDOW SERVER ignoring the port from the server list under some conditions. Sun Mar 31 08:45:47 CST 1996 - scott reynolds Makefile.in: when installing, make sure to create $(mandir), if necessary. Fri May 31 00:14:23 EST 1996 - matthew green Makefile.in: don't delete config.h anymore. Mon Mar 18 12:40:33 CST 1996 - scott reynolds source/edit.c: don't try to use args to /PART if they weren't specified. fixes pr 81, from krys. Fri Mar 22 15:13:24 EST 1996 - matthew green source/irc.c: fix old bug in updating status clock. 2.8.16beta Sun Mar 17 15:19:09 EST 1996 - matthew green source/irc.c, doc/VERSIONS note beta release. Thu Mar 14 11:08:53 EST 1996 - matthew green source/window.c: backout previous change to window_get_connected(). fix the bug by not calling realloc_channels() in set_window_server(). Wed Mar 13 23:45:53 EST 1996 - matthew green source/edit.c: backout one of the previous next_arg() changes that broke "/ foo". from phil. source/window.c: fix pr#75. don't be so intrusive looking for a channel for this window. call set_window_server() with misc of 1 from window_get_connected(). this fixes an annoying bug that made channels get reconnected to the wrong window. however, this may cause more lossage. source/parse.c: add signon/off detection in nick changes. pr#77 from krys. 2.8.15 Fri Mar 1 21:44:00 EST 1996 - matthew green include/whois.h: add WHOIS_ISON2 as required by scott's change below. source/dcc.c: #ifdef S_IFDIR: some unix doesn't have this? source/edit.c: fix some memory leaks with expand_twiddle() usage. use next_arg(). source/exec.c: bounds check in is_process_running(). from mark matthewson. source/help.c: count displayed help lines correctly. from kalt. source/parse.c: display kick in correct window. from kalt. source/server.c: don't allow send_to_server() to recurse. source/vars.c: add VF_EXPAND_PATH. allows HELP_PATH to be ~/irc/help, eg. Thu Feb 29 23:41:40 CST 1996 - scott reynolds source/whois.c: more whois queue cleanup, from phil. source/window.c: fix definition of is_current_channel() to agree with prototype, and fix for SAME_WINDOW_ONLY, both from phil. 2.8.14 Thu Feb 15 10:16:20 EST 1996 - matthew green source/dcc.c: don't use the ip address 127.0.0.1 for dcc connections. source/help.c, help/*: add copyright notices. Wed Feb 14 17:11:44 EST 1996 - matthew green source/server.c: be smarter about displaying server lists. reworked change from phil. Tue Feb 13 22:33:10 CST 1996 - scott reynolds include/server.h, source/ctcp.c, source/names.c, source/server.c, source/whois.c: Changes from : - initialize ctcp_last_reply_time when creating a server in the list - significantly clean up the whois queue stuff - be more careful with servers we're waiting to be reconnected 2.8.13beta Wed Feb 7 21:55:36 EST 1996 - matthew green source/ctcp.c: fix bugs introduced in new flood code. Tue Jan 30 22:55:11 CST 199 - scott reynolds 6 source/lastlog.c: extend LOG_BEEP beyond pr #56 to include normal lastlog operations. help/set/lastlog_level, help/window/notify_level: documentation for LOG_BEEP. Tue Jan 30 00:13:17 CST 1996 - scott reynolds include/lastlog.h, source/lastlog.c, source/screen.c: add LOG_BEEP, and clean up a bit. closes pr #56, mostly from krys. Mon Jan 29 16:32:00 EST 1996 - matthew green source/ctcp.c: be smarted about ctcp floods (still allow non-replying commands). Sun Jan 21 18:10:24 CST 1996 - scott reynolds source/edit.c: compare the correct variable; fixes pr #45. source/term.c: check for and disable VDISCARD if present, from help/window/double: added. closes related pr #28. Fri Jan 05 11:22:29 EST 1996 - glen mccready source/dcc.c, source/server.c: put forth some effort in cleaning up the non-blocking connects - ideas for the cleanup stemmed from a chat with deraadt@theos.com Thu Dec 21 15:56:55 CST 1995 - scott reynolds source/irc.c: Add '&' expansion to the code that gets the user's name from the passwd file. Wed Dec 13 17:04:52 CST 1995 - scott reynolds include/struct.h, include/config.h.dist, include/config.h.lynx, include/config.h.phone, include/vars.h, include/vars.h.proto, source/screen.c, source/status.c, source/vars.c, source/window.c: pr #42, /SET DOUBLE -> /WINDOW DOUBLE, from krys. Wed Dec 06 13:28:46 EST 1995 - glen mccready Makefile.in: fix `installman' configure.in: slightly modify the qnx compile/link options used source/alias.c: function_idle() now always exists, instead of only when strftime() was found by configure source/exec.c: POSIX doesn't define NSIG or anything like it; _SIGMAX is an extension from somewhere.. with POSIX.4 coming into being SIGRTMAX may be useful at some point.. until then.. source/term.c, source/window.c: avoid name conflicts source/wserv.c, source/ircsig.c: cast signal handlers Mon Nov 13 23:50:33 CST 1995 - scott reynolds source/edit.c, source/hook.c: fix memory leaks, from krys. fixes PRs 38, 39. Sun Nov 12 23:37:39 EST 1995 - matthew green include/config.h.phone, include/config.h.lynx, include/config.h.dist: remove some old cruft. source/mail.c: count From_ lines correctly. source/count.l, include/count.l, include/Makefile.in: move count.l to include. configure.in, configure, aclocal.m4: update sendmail check to use macros. source/vars.c: comment last of help_service code. Fri Nov 10 02:55:21 EST 1995 - matthew green include/ircaux.h, source/alias.c, source/ctcp.c, source/dcc.c, source/edit.c, source/exec.c, source/hook.c, source/ignore.c, source/input.c, source/ircaux.c, source/keys.c, source/lastlog.c, source/names.c, source/stack.c, source/translat.c, source/vars.c, source/window.c: remove all occurances of my_stricmp/my_strnicmp in a loop where one string being compared was always upper or lower already. convert some older changes like this to use upper() and lower(). Mon Nov 6 01:03:06 CST 1995 - scott reynolds script/imap: updated mapper script from ian. Sat Nov 4 21:06:29 EST 1995 - matthew green Makefile.in, doc/ircbug.1 doc/query-pr.1: install manuals, and the ircbug program. 2.8.12beta Wed Nov 1 23:27:33 EST 1995 - matthew green include/config.h.dist, include/config.h.lynx, include/config.h.phone, source/help.c: #ifdef support for help services. not enabled by default. Wed Nov 1 23:17:10 EST 1995 - matthew green help/window/same_window_only, include/vars.h, include/vars.h.proto, source/window.c, source/vars.c: add philippe's same_window_only set. Wed Nov 1 22:21:46 EST 1995 - matthew green source/edit.c: call do_channel() with join -i; fixes pr#23 configure.in, aclocal.m4, ircbug.in: look for sendmail now; don't assume it is in /usr/sbin. easyinst: don't call configure with ". ./configure". export necessary variables (IRCLIB and bindir). remove all help service stuff -- they don't exist anymore. Tue Oct 31 00:58:59 CST 1995 - scott reynolds Makefile.in, acconfig, include/defs.h.in, configure.in, configure, source/irc.c, source/ircflush.c, source/ircio.c, source/wserv.c: add support for SOCKS firewall traversal library. INSTALL: SOCKS support, and a caveat. Mon Oct 30 23:05:30 EST 1995 - matthew green source/names.c: fix switch_channels; from philippe. Fri Oct 27 20:23:29 CDT 1995 - scott reynolds include/config.h.dist, include/struct.h, include/vars.h.proto, source/input.c, source/screen.c, source/status.c, source/vars.c, source/window.c: double status line, from Christophe Kalt. source/dcc.c: double status line, plus fix a bogon when compiling without NON_BLOCKING_CONNECTS. include/vars.h: from vars.h.proto above. include/irc.h: struct.h must be included only after INPUT_BUFFER_SIZE is defined. fixes PR #21. 2.8.11beta Wed Oct 25 15:14:49 EST 1995 - matthew green source/alias.c, source/dcc.c, source/help.c, source/names.c: fix bug in alias_server(), missing #ifdef nonblocking, set use_help_service properly, call is_current_channel() correctly, and clear the server's channel list in a better way. all from philippe. Tue Oct 24 23:56:44 EST 1995 - matthew green source/numbers.c: fix bug that made failed oper commands close the server. from philippe. Fri Oct 13 01:15:25 EST 1995 - matthew green include/dcc.h, include/ircterm.h, source/alias.c, source/ctcp.c, source/dcc.c, source/help.c, source/hold.c, source/if.c, source/menu.c, source/names.c, source/output.c, source/reg.c, source/scandir.c, source/server.c, source/status.c: more fixes for solaris warnings. Fri Oct 13 01:14:59 EST 1995 - matthew green source/parse.c, source/server.c, include/parse.h, include/server.h: begin framework for other parsers. Fri Sep 22 11:01:28 CDT 1995 - scott reynolds source/reg.c: enable new _wild_match(), remove old version. Thu Sep 21 14:14:32 EST 1995 - matthew green source/keys.c, source/edit.c, source/edit.h: rename clear_screen() to irc_clear_screen(). Tue Sep 12 23:25:00 CDT 1995 - scott reynolds include/edit.h, source/edit.c, source/whois.c: ison_ison() -> ison_now(); add dummy arg and prototype it the way add_ison_to_whois() expects. source/reg.c: Integrate new version of _wild_match() from with minor changes, but don't enable/use it yet. Fri Sep 8 12:57:14 CDT 1995 - scott reynolds include/ircterm.h, source/edit.c, source/input.c, source/irc.c, source/menu.c, source/output.c, source/parse.c, source/screen.c, source/status.c, source/term.c: Move the #include <{curses.h|term.h}> into ircterm.h, and account for some nasty #define's in some lame implementations. Thu Sep 7 10:28:20 CDT 1995 - scott reynolds source/hook.c, source/ircaux.c, source/ircio.c: More portability fixes pointed out by HP's cc. Wed Sep 6 21:02:01 CDT 1995 - scott reynolds include/irc_std.h: Remove unused TRUE/FALSE #defines. include/hook.h.proto: Finish up previous change. configure.in: Fix a comment. Wed Sep 6 16:52:51 CDT 199 - scott reynolds 5 include/irc.h: If we HAVE_STDARG_H but we're not __STDC__, just forget about . include/ctcp.h, include/debug.h, include/defs.h, include/hook.h, include/output.h, include/server.h, include/whois.h: Undo previous HAVE_STDARG_H changes. Tue Sep 5 15:31:06 CDT 1995 - scott reynolds source/alias.c: Fix "illegal pointer combination" warnings. Tue Sep 5 14:57:59 CDT 1995 - scott reynolds include/ircterm.h, include/term.c: HP-UX declares arg3 to tputs() differently. Barf. Wed Sep 6 01:34:53 EST 1995 - matthew green configure, configure.in, include/defs.h, include/ircterm.h, include/term.h, source/edit.c, source/funny.c, source/help.c, source/input.c, source/irc.c, source/ircaux.c, source/keys.c, source/menu.c, source/output.c, source/parse.c, source/screen.c, source/status.c, source/term.c, source/vars.c, source/window.c, source/wserv.c: renamed term.h to ircterm.h so that it wouldn't conflict with . fixed test for term.h (sigh). Tue Sep 5 07:30:14 CDT 1995 - scott reynolds Makefile.in, configure, configure.in, source/Makefile.in: Move burden of generating vars.h, hook.h, and keys.h to developers. include/Makefile.in: Added. include/vars.h, include/hook.h, include/keys.h: Generated and added. Tue Sep 5 21:29:02 EST 1995 - matthew green acconfig.h, configure, configure.in, include/defs.h.in, include/irc.h, source/edit.c, source/input.c, source/irc.c, source/ircio.c, source/menu.c, source/output.c, source/parse.c, source/scandir.c, source/screen.c, source/status.c, source/term.c: quell some gcc warnings under solaris 2. Sun Sep 3 13:22:38 CDT 1995 - scott reynolds include/ctcp.h, include/debug.h, include/hook.h.proto, include/output.h, include/server.h, include/whois.h: Don't try using '...' in prototypes unless __STDC__ is defined. Takes care of some brain-damaged stock compilers on otherwise ANSI-aware systems. In particular, this takes care of HP-UX 9 and, presumably, SunOS 4 systems. 2.8.10 Sun Sep 3 23:41:33 EST 1995 - matthew green include/alias.h, include/exec.h, include/irc.h, include/list.h, include/menu.h, include/names.h, include/screen.h, include/status.h, include/struct.h, include/whois.h, include/window.h, source/alias.c, source/crypt.c, source/ctcp.c, source/dcc.c, source/edit.c, source/exec.c, source/help.c, source/history.c, source/hook.c, source/ignore.c, source/irc.c, source/ircaux.c, source/ircio.c, source/keys.c, source/lastlog.c, source/list.c, source/mail.c, source/menu.c, source/names.c, source/numbers.c, source/parse.c, source/screen.c, source/server.c, source/stack.c, source/status.c, source/term.c, source/whois.c, source/window.c, doc/VERSIONS: fix most of -Wstrict-prototypes, a few more ansi c parameter promotion fixes (not sure if any are left), up version, fix a few more warnings, and remove some unused code. Sun Sep 3 00:16:23 CDT 1995 - scott reynolds source/edit.c, source/input.c, source/menu.c, source/output.c, source/parse.c, source/screen.c, source/status.c, source/term.c: Include if needed. include/term.h: Prototype putchar_x() properly. Sat Sep 2 23:07:56 CDT 1995 - scott reynolds acconfig.h, configure.in, configure, include/defs.h.in, source/irc.c, source/term.c: Test for tputs() declaration in . Rename USING_CURSES to INCLUDE_CURSES_H, since the new use of this is a superset of the old. Sun Sep 3 12:04:35 EST 1995 - matthew green source/crypt.c, source/dcc.c, source/debug.c, source/exec.c, source/hook.c, source/irc.c, source/ircaux.c, source/ircflush.c, source/ircio.c, source/mail.c, source/menu.c, source/names.c, source/newio.c, source/screen.c, source/server.c, source/wserv.c, include/irc.h, include/newio.h, include/debug.h: move newio.c functions from irc.h to newio.h, and include this. more prototypes and some style fixes. removed some unused functions. Fri Sep 1 10:31:02 CDT 1995 - scott reynolds source/alias.c, source/dcc.c, source/exec.c, source/keys.c, source/reg.c, source/vars.c: Fix some inconsistencies for certain static functions. Fri Sep 1 09:41:04 CDT 1995 - scott reynolds include/ctcp.h, include/debug.h, include/hook.h.proto, include/server.h: Put some HAVE_STDARG_H lines back that I had deleted earlier. include/ircaux.h, source/ircaux.c: Another ANSI prototype. Thu Aug 31 08:20:54 CDT 1995 - scott reynolds include/ircaux.h, include/screen.h, include/whois.h, include/window.h, source/edit.c, source/ircaux.c, source/notice.c, source/notify.c, source/screen.c, source/stack.c, source/status.c: More ANSI prototyping. Wed Aug 30 23:00:41 CDT 1995 - scott reynolds include/alias.h, include/crypt.h, include/ctcp.h, include/dcc.h, include/debug.h, include/edit.h, include/exec.h, include/flood.h, include/funny.h, include/help.h, include/history.h, include/hold.h, include/hook.h.proto, include/if.h, include/input.h, include/ignore.h, include/irc.h, include/ircaux.h, include/keys.h, include/lastlog.h, include/list.h, include/log.h, include/mail.h, include/menu.h, include/names.h, include/notify.h, include/numbers.h, include/output.h, include/parse.h, include/queue.h, include/screen.h, include/server.h, include/stack.h, include/status.h, include/term.h, include/translat.h, include/vars.h.proto, include/whois.h: Consistency. Wed Aug 30 12:45:32 CDT 1995 - scott reynolds include/alias.h, include/dcc.h, include/list.h, include/names.h, include/notify.h, include/server.h, include/struct.h: ANSIfy some more prototypes. source/alias.c, source/ctcp.c, source/dcc.c, source/edit.c, source/exec.c, source/funny.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/keys.c, source/list.c, source/menu.c, source/names.c, source/newio.c, source/notice.c, source/numbers.c, source/output.c, source/parse.c, source/screen.c, source/server.c, source/status.c, source/term.c, source/vars.c, source/window.c: Various ANSI prototype-related cleaning, and some cosmetics to keep gcc -Wall from complaining. source/reg.c: Fix operator precedence problem in _wild_match() and the way it deals with backslash quoting. Mon Aug 28 23:08:30 EST 1995 - matthew green include/window.h, source/server.c, source/irc.c, source/window.c, include/irc.h, include/irc_std.h: finish server group stuff, remove couple more warnings with proper prototypes. configure, configure.in: redo signal processing and make AMS mail smarter. include/config.h.phone, include/config.h.lynx, include/config.h.old, include/config.h.lynx: remove DYNAMIC_SLIP, and, totally remove config.h.old. Mon Aug 28 17:33:32 EST 1995 - matthew green source/server.c, source/window.c, source/keys.h.proto, source/list.h, source/numbers.h, source/server.h, source/struct.h, source/vars.h.proto, source/window.h: add some of the server group stuff. isn't use, but, the user interface is mostly done. new window commands addgroup and delgroup exist. Thu Aug 24 13:13:21 EST 1995 - matthew green source/funny.c, source/keys.c, source/server.c, source/status.c: more casts. Thu Aug 24 01:41:12 EST 1995 - matthew green source/alias.c, source/dcc.c, source/edit.c, source/input.c, source/lastlog.c, source/newio.c, source/screen.c, source/server.c, source/status.c, source/keys.c, source/vars.c, source/window.c, source/if.c: more ansi function definitions, fix picky compiler warnings, and fix a few bogons in previous change. Wed Aug 23 22:50:37 EST 1995 - matthew green source/alias.c, source/edit.c, source/hold.c, source/if.c, source/input.c, source/keys.c, source/menu.c, source/names.c, source/output.c, source/screen.c, source/term.c, source/window.c, include/alias.h, include/window.h: add a lot of ansi function definitions. Wed Aug 23 21:43:46 EST 1995 - matthew green source/window.c: call window_check_servers() at the end of window_get_connected() to maybe ensure that all servers are actually connected. source/translat.c: add a couple of ansi function declarations. 2.8.9 Wed Aug 23 13:04:54 EST 1995 - matthew green source/server.c: a quick hack to stop the spinning server loop bug. needs to be revised. source/irc.c, doc/VERSIONS: update. Mon Aug 14 09:54:10 CDT 1995 - scott reynolds Makefile.in: Spelling correction. include/hook.h.proto, include/keys.h.proto, include/vars.h.proto: Add ANSI prototypes. include/edit.h, include/irc.h, include/ircaux.h, include/server.h, include/term.h, include/window.h: Clean up and add a few more ANSI prototypes. source/alias.c, source/edit.c, source/hook.c, source/irc.c, source/keys.c, source/numbers.c, source/screen.c, source/server.c, source/term.c, source/vars.c, source/window.c: First run through gcc -Wall -Wmissing-prototypes. Lots more needs to be done. Fri Aug 11 03:53:13 EST 1995 - matthew green source/alias.h, source/crypt.h, source/ctcp.h, source/dcc.h, source/debug.h, source/edit.h, source/exec.h, source/flood.h, source/funny.h, source/history.h, source/hold.h, source/ignore.h, source/input.h, source/ircaux.h, source/list.h, log.h, source/mail.h, source/menu.h, source/names.h, source/notify.h, source/numbers.h, source/output.h, screen.h, source/server.h, source/status.h, source/struct.h, source/talkd.h, source/term.h, source/window.h: consistancy. Thu Aug 10 01:43:01 EST 1995 - matthew green source/debug.c, source/exec.c, source/flood.c, source/hook.c, source/ignore.c, source/menu.c, source/names.c, source/notify.c, source/numbres.c, source/screen.c, source/server.c, source/stack.c, source/window.c, source/alias.c, source/dcc.c, source/crypt.c, include/debug.h: fix prototype warnings and bogons in debug.c with -DDEBUG. Wed Aug 9 08:50:51 EST 1995 - matthew green source/irc.c, source/dcc.c, include/dcc.h: prototype dcc_check(), and attempt to make non blocking connects work more sanely. Tue Aug 8 16:24:27 CDT 1995 - scott reynolds include/alias.h, include/crypt.h, include/ctcp.h, include/dcc.h, include/debug.h, include/defs.h, include/edit.h, include/exec.h, include/flood.h, include/funny.h, include/help.h, include/history.h, include/hold.h, include/if.h, include/ignore.h, include/input.h, include/irc.h, include/irc_std.h, include/ircaux.h, include/lastlog.h, include/list.h, include/log.h, include/mail.h, include/menu.h, include/names.h, include/notify.h, include/numbers.h, include/output.h, include/parse.h, include/queue.h, include/screen.h, include/server.h, include/stack.h, include/status.h, include/struct.h, include/talkd.h, include/term.h, include/translat.h, include/whois.h, include/window.h, source/gzip.h: Add ANSI prototypes to a great many functions. source/irc.c: call to set_window_server was missing "all" arg source/screen.c: call to dgets() was missing "specials" arg Tue Aug 8 12:16:25 EST 1995 - matthew green source/server.c: fix a bogon glen left lying around in failed server connections. 2.8.8 Wed Aug 02 00:57:54 MDT 1995 - glen mccready source/irc.c, source/ircaux.c, source/dcc.c, source/screen.c, source/server.c, include/dcc.h, include/ircaux.h: mostly working non-blocking connect code define NON_BLOCKING_CONNECTS a start at "/server ." define SERVER_DOT source/alias.c, source/edit.c, source/exec.c, source/names.c, source/parse.c, source/stack.c, source/window.c, include/irc.h: use `zero' and `one' rather than "0" and "1" use my_stricmp() less to save tolower()ing the string source/newio.c: the new_free() mentioned below was necessary source/notify.c: the extra test broke /notify source/if.c, source/reg.c: cleaned up some warnings Tue Jul 25 23:29:04 EST 1995 - matthew green source/ircaux.c, source/newio.c: fix typo in ircaux.c. remove dated ESIX code (read/recv) make new_close() smarter: doesn't matter if you call it with -1, and doesn't new_free() the io_rec, as it's likely we'll want it later anway. source/dcc.c, source/edit.c, source/file.c, source/flood.c, source/history.c, source/ignore.c, source/ircflush.c, ircsig.c, source/lastlog.c, source/list.c, source/log.c, source/mail.c, source/notify.c, source/reg.c, source/screen.c, stack.c, source/translat.c, source/vars.c, source/whois.c, source/wserv.c: for (;foo;) -> while (foo) source/ircserv.c, source/ircio.c, source/Makefile.in, doc/ircII.1, doc/SecureIRC, source/file.c, source/irc.c, source/server.c, Makefile.in: renamed ircserv to ircio. Thu Jul 20 02:45:39 CDT 1995 - christopher williams source/edit.c: fix bug in execute_timer() to set to_window to curr_scr_win Wed Jul 19 22:57:57 MDT 1995 - glen mccready source/ctcp.c, include/server.h: fix for premature ctcp flood response Tue Jul 18 23:19:35 CDT 1995 - scott reynolds configure.in, configure, acconfig.h, include/defs.h.in, include/irc.h: check for varargs.h include/ctcp.h, include/debug.h, include/irc.h, include/output.h, include/server.h, include/whois.h, include/hook.h.proto, source/alias.c, source/ctcp.c, source/debug.c, source/help.c, source/hook.c, source/ircaux.c, source/output.c, source/server.c, source/term.c source/whois.c: use stdarg.h if available. Tue Jul 18 00:38:02 MDT 1995 - glen mccready source/dcc.c: added dcc rename -chat Tue Jul 4 23:21:17 CDT 1995 - scott reynolds configure.in, configure: general organizational cleanup. Tue Jul 4 13:47:22 CDT 1995 - scott reynolds source/term.c, source/output.c: check for sys/ioctl.h; remove dead code. Mon Jul 3 23:57:41 CDT 1995 - scott reynolds source/term.c: set up termcap before twiddling tty settings. 2.8.7 Sat Jul 1 21:44:20 EST 1995 - matthew green source/names.c: various fixes to previous changes. configure.in, configure: portability and style fixes. Sat Jul 1 21:46:57 EST 1995 - scott reynolds configure.in, configure, Makefile.in, source/term.c, acconfig.h: install help pages with pax/tar/cpio. do termios stuff as termios/sgtty/termio. Mon Jun 26 00:17:46 EST 1995 - matthew green source/dcc.c: add errno to dcc send close message. configure, configure.in: fix bug in test for unsigned 32 bit int's. Sat Jun 24 06:23:08 EST 1995 - matthew green include/lastlog.h, include/names.h, source/edit.c, source/irc.c, source/names.c, source/numbers.c, source/screen.c, source/server.c, source/window.c: added connected member to ChannelList. reworked some PHONE/NOPHONE things to be simpler, fix a couple of memory leaks in names.c Sat Jun 24 04:31:05 EST 1995 - matthew green source/edit.c: do st_mode in a more sane way. Thu Jun 22 23:54:57 EST 1995 - matthew green source/dcc.c, source/screen,c, source/server.c, source/window.c: remove dgets timed out messages. reverse log on PHONE and call it NOPHONE for most. source/alias.c, help/alias/functions: idle() command, and doc for idle and strftime, from scottr@plexus.com. help/ added. Wed Jun 7 23:52:56 EST 1995 - matthew green source/crypt.c, source/dcc.c, source/exec.c, source/irc.c, source/ircaux.c, source/ircserv.c, source/screen.c, source/server.c: use new_close() not close(). 2.8.6 Wed Jun 7 00:24:34 EST 1995 - matthew green source/server.c: couple of fixes from philippe i missed, and removal of old junk (local_ip_address). include/edit.h, include/hold.h, include/input.h, include/irc.h, include/keys.h.proto, include/menu.h, include/names.h, include/output.h, include/screen.h, include/term.h, include/window.h, source/edit.c, source/hold.c, source/input.c, source/irc.c, source/keys.c, source/menu.c, source/names.c, source/output.c, source/screen.c, source/term.c, source/window.c: don't ask. source/irc.c, doc/VERSIONS: release. 2.8.5 a big thanks to philippe for this version. Sat May 27 00:02:13 EST 1995 - matthew green configure configure.in: handle space or tab in version grovelling. source/edit.c: added phil to info. source/irc.c, doc/VERSIONS: release. Fri May 26 23:55:35 EST 1995 - matthew green include/funny.h, include/names.h, include/server.h, include/window.h, source/alias.c, source/ctcp.c, source/edit.c, source/funny.c, source/irc.c, source/names.c, source/notice.c, source/numbers.c, source/parse.c, source/screen.c, source/server.c, source/status,c, source/window.c: a bunch of changes from philippe relating to windows and servers and channels and other little things. /window server, channel and bind all work MUCH better. 2.8.4 Fri May 26 23:54:19 EST 1995 - matthew green (actually 19950412) source/names.c: fix a buglet in previous. 2.8.3 Tue Apr 11 22:04:49 EST 1995 - matthew green source/names.c: optimise a Hell of a lot of things. source/server.c: remove dyanmic slip stuff. we do this a better way already.. source/names.c, source/server.c, source/parse.c, source/notice.c, include/names.h: rework the channel_list to be a server-local thing (and thus attached to the server_list). this lets multi-servers work better. Sun Apr 9 23:20:17 EST 1995 - matthew green script/tabkey: fix to allow nicks with \'s in them work. 2.8.2 Thu Apr 6 00:37:12 EST 1995 - matthew green source/names.c: removed bogus patch. Tue Apr 4 01:18:47 EST 1995 - matthew green source/irc.c: patch for qnx's select lossage from glen@qnx.com. 2.8.1 Tue Apr 4 01:04:44 EST 1995 - matthew green configure.in/configure: quick patch to fix message on sunos, and autoconf 2.2. include/names.h, source/names.c: fix from levan@enstb.enst-bretagne.fr for cached mode strings and channel limits. include/window.h, source/edit.c, source/names.c, source/status.c, source/window.c: fixes from levan@enstb.enst-bretagne.fr for various window/server problems. source/help.c, source/numbers.c: fixes from levan@enstb.enst-bretagne.fr for dumb mode and wait prompts. maybe this should be fixed in add_wait_prompt() instead... source/edit.c: update poxaV's address. source/irc.c: don't do the notify_list if we aren't connected! source/notify.c: fix core dump. source/screen.c: fixed select() return value. duh. source/server.c: fixes from levan for port stuff. fixes from me for a stupid core dump that shouldn't happen. we reset the entire server connection list if we get this `impossible' case. should warn the user too, i guess. 2.8 Thu Jan 26 18:13:57 EST 1995 - matthew green released to the public. 2.7.3 Tue Jan 24 00:13:28 EST 1995 - matthew green configure, configure.in, include/exec.h, include/irc_std.h source/exec.c: some fixes for next: major lossage head damaged i don't know how to organise an operating system such that it works -or- i'm just a stupid git who has no idea about standards. you choose. 2.7.2 Sat Jan 21 12:34:02 EST 1995 - matthew green source/dcc.c: always make sure from_server is set in dcc_open. source/edit.c: some zcat fixes. configure, configure.in: -lc -lposix for NeXT. 2.7.1 Mon Jan 16 20:14:59 EST 1995 - matthew green source/server.c, source/edit.c, include/server.h: added /disconnect. Mon Jan 16 17:23:38 EST 1995 - matthew green source/parse.c: can't use '\a' on broken compilers. what a pile of shit they are. found by comstud. Sun Jan 15 12:14:39 EST 1995 - matthew green source/newio.c: fixed bug caused with /flush sending a null rd value to new_select(). duh. found by arnaud.girsch@insa-lyon.fr. 2.7 Thu Jan 12 21:20:04 EST 1995 - matthew green 2.7 released to the world. Wed Jan 11 14:16:34 EST 1995 - matthew green source/server.c: fixed for new dgets_errno being -1 for read == 0. broken strerror() on losing systems. Tue Jan 10 23:40:24 EST 1995 - matthew green source/whois.c: i hate c. stdarg fixes me and glen bashed into working. source/window.c: doh! thanks glen. 2.6.10 Sat Jan 7 01:30:11 EST 1995 - matthew green configure.in: fixed typo. NEWS: updated for 2.7 source/server.c: fixed bug in dcc send/chat and non-first server connected to. include/vars.h.proto, include/keys.h.proto, include/hook.h.proto: changed __P macro. source/ctcp.c source/debug.c source/file.c source/flood.c source/funny.c source/hold.c source/ircflush.c source/ircserv.c source/lastlog.c source/list.c source/menu.c source/notice.c source/output.c source/reg.c: reformat. nothing else needed now. 2.6.9 Thu Jan 5 17:52:00 EST 1995 - matthew green source/vars.c: fixed losing ansi stuff. Makefile.in: added cleandir and realclean targets. Wed Jan 4 22:44:18 EST 1995 - matthew green configure.in, source/help.c, source/mail.c: updated fully for autoconf 2.x. this could lead to some breakage. we'll see. source/edit.c: make `/topic * foo' work as expected. source/keys.c, source/term.c: fixed eight_bit_mode and /bind'ing char's with an eigth bit set. 2.6.8 Tue Jan 3 01:14:53 EST 1995 - matthew green source/ removed all occurances of "index" as a variable. move the ansi prototype macro from __P() to _() code "freeze" for 2.7 Mon Jan 2 16:44:10 EST 1995 - matthew green source/names.c, source/funny.c, source/parse.c, include/names.h: added new method of user joining for irc 2.9 ( JOIN #foo^G[ov]) handling. Sun Jan 1 21:39:58 EST 1995 - matthew green source/dcc.c, source/server.c, include/server.h added struct in_addr to server structure that is filled in with getsockname() and is used in dcc requests. source/dcc.c: added idea from mark to show unknown dcc requests. source/newio.c: fixed new_select() to call select with the correct first argument. 2.6.7 Thu Dec 29 22:22:34 EST 1994 - matthew green source/Makefile.in: fixed lossage with wterm dependancies. source/irc.c: fixed "irc --" and "irc -q nick" core dumps. source/input.c: make transpose chars work at the end of line. doc/ircII.1: updated my email address. 2.6.6 Wed Dec 21 20:43:04 EST 1994 - matthew green source/Makefile.in: updated dependancies. (problems pointed out by daniel carosone). source/dcc.c: read in to the *end* of the buffer, dork. 2.6.5 Mon Dec 19 02:57:38 EST 1994 - matthew green Makefile.in, configure.in: some changes as needed for autoconf 2.x. source/dcc.c, source/window.c, include/dcc.h: might have fixed the bug with bsd/dcc chat. 2.6.4 Mon Dec 19 01:47:21 EST 1994 - matthew green source/irc.c, source/notice.c, include/irc.h: added -q option for quick startup. Mon Dec 19 01:32:15 EST 1994 - matthew green source/edit.c, source/names.c, source/screen.c, source/window.c, include/window.h added 'bind' and 'unbind' window commands. source/edit.c: moved NOVICE /part stuff to only be when we are actually sending a JOIN to the server. Sun Dec 18 23:00:54 EST 1994 - matthew green easyinst: fixed bug in question asking. source/server.c: fixed lossage with /server -delete, reported by scottr. source/parse.c: removed bogus fix from cjs@netcom.com. source/alias.c: still fixing chanusers(). source/exec.c: close all unneeded fd's in /exec now. source/numbers.c: try to set the message_from level to the channel the numeric is about, if we can. source/screen.c: move closing in to close_all_screen() so we can call it for /exec also. 2.6.3 Sun Nov 27 03:16:16 EST 1994 - matthew green source/alias.c: fix for chanusers() from Greg Jarman source/ctcp.c fix for do_echo() from taner source/window.c made default JOIN rather than CHANNEL for /win join source/parse.c fix for /server lossage from cjs@netcom.com source/translat.c: fix for /set -translation Sun Nov 27 02:36:23 EST 1994 - matthew green source/screen.c, source/vars.c, include/vars.h.proto: added dave leonard's screen_options stuff, as well as some bug fixes he found. Fri Nov 25 16:58:00 EST 1994 - matthew green source/dcc.c: got fix for dcc problems from Scott Johnson Tue Nov 15 01:27:40 EST 1994 - matthew green source/dcc.c: added diagnostic to attempt to observe losing dcc chat and newer-bsd's. it appears that somewhere between 2.5 and 2.6.2 it was fixed -- perhaps the edit.c lossage fixed in 2.6.1. source/edit.c: /join now defaults to sending a JOIN command rather than sending a CHANNEL command... duh! 2.6.2 Mon Nov 14 01:23:44 EST 1994 - matthew green source/names.c, source/server.c: fixed bug avalon found where death of other servers would cause channel lists to be broken. source/screen.c: fully initialised struct timeval for window create. 2.6.1 Tue Nov 08 02:35:r9 EST 1994 - matthew green Makefile.in, mkinstalldirs: removed old garbage, and we now use noah's mkinstalldirs.. include/help.h, include/if.h, include/queue.h: added to help fix edit.c lossage. include/alias.h, include/crypt.h, include/edit.h, include/exec.h, include/history.h, include/hook.h.proto, include/ignore.h, include/irc.h, include/keys.h.proto, include/notify.h, include/parse.h, include/server.h, include/stack.h, include/parse.h, include/vars.h.proto, include/window.h, source/alias.c, source/crypt.c, source/edit.c, source/exec.c, source/help.c, source/history.c, source/hook.c, source/if.c, source/ignore.c, source/keys.c, source/match.c, source/names.c, source/notice.c, source/notify.c, source/queue.c, source/server.c, source/stack.c, source/translat.c, source/vars.c, source/window.c, source/irc.c: many of the functions in the edit.c command array were called with three args, but these functions only took 2 args. all fixed up and prototyped now. who knows what lossage this caused. found by diane bruce (db@diana.ocunix.on.ca). 2.6 Tue Oct 18 19:17:49 EST 1994 - matthew green script/newformat does $R processing for stats l output. works only on the local server, though. from ian. Mon Oct 17 21:59:21 EST 1994 - matthew green source/reg.c: % was broken in pattern matching. got a fix from ian and no_nick for this. grumble. source/server.c, include/config.h.dist got a patch from ian to make ircii do dynamic ip number stuff. 2.5 Sun Oct 16 15:45:47 EST 1994 - matthew green more general clean up. 2.4 Sun Oct 16 09:48:53 EST 1994 - matthew green source/edit.c: turned on hop's for, fe and fec commands. Sat Oct 15 13:25:47 EST 1994 - matthew green general clean up of everything. 2.3.24 Wed Oct 12 09:24:36 EST 1994 - matthew green source/debug.c: added fixes. source/irc.c, source/screen.c: added debugging info in forward_scroll. (not part of release tree). source/stack.c: begun finishing. Sun Oct 9 16:42:44 EST 1994 - matthew green configure.in source/crypt.c source/dcc.c source/debug.c source/edit.c source/exec.c source/help.c source/history.c source/hook.c source/ircaux.c source/server.c source/log.c source/term.c source/whois.c source/window.c source/output.c source/ctcp.c: stdarg.h patches from brianc@qnx.com and glen@qnx.com, plus some other minor fixes. qnx support, also. Thu Oct 6 22:16:42 EST 1994 - matthew green source/server.c: fixed `bug' in -DPHONE where /window server + was setting the window level to ALL. eeew. Mon Sep 26 14:38:17 EST 1994 - matthew green source/alias.c: fix for onchannel() from Scott Reynolds 2.3.23beta Sun Sep 4 00:24:13 EST 1994 - matthew green source/names.c: fixed /part bug,and a fix (finally!) for ischanop() from . source/dcc.c: fixed bug where you could not dcc send to one person more than once. source/screen.c: fixed resize bug when going to s smaller window and a line would be cut off. how did this last so long? Tue Aug 2 00:30:33 EST 1994 - matthew green configure.in, include/irc.h, include/term.h, source/scandir.c, source/term.c: fixed hpux autoconf problems. configure now checks that -lresolv actually works, and doesn't break compiles. configure doesn't use BSDWAIT if POSIX is defined, so that newer bsd systems (like netbsd) will use the POSIX waitpid() stuff, not causes warnings.. Sun Jul 31 21:53:03 EST 1994 - matthew green source/dcc.c: removed debug message, and a fix for DCC_RAW from jim_bob (jrg@doc.ic.ac.uk). 2.3.22beta Sun Jul 31 03:07:00 EST 1994 - matthew green source/names.c, source/parse.c, include/names.h fixed ircii not forgetting about remembered channel modes after the channel has been joined. source/queue.c, source/notify.c, source/mail.c: fixed compatibilty problems found with sunos cc. source/irc.c: versions. script/autoop, script/list, script/functions, script/imap, script/history-match: fixed autoop & list, cleaned up functions and imap, added history-match (Daemon). Tue Jul 26 22:12:42 EST 1994 - matthew green source/edit.c, source/alias.c: getcwd() fixes from cgw. source/dcc.h, include/dcc.h: added new member to the client struct, othername. it's currently only used by dcc_filesend() to save the name given as well as the full path - so that /dcc send file nick file works, without giving the full pathname for 'file'. 2.3.21b Mon Jul 25 23:27:09 EST 1994 - matthew green source/window.c: window() - added new commands REMOVE, which is the opposite of ADD, and NUMBER, which changes the refnum of a window, forcing a swap if needed. source/ircserv.c: removed printf()'s. no more lame messages at startup now. acconfig.h, configure.in, include/irc.h, source/alias.c, source/dcc.c, source/edit.c: configure now checks for getcwd() not getwd(), and everything now uses getcwd() not getwd(). source/term.c: cleaned up a bit. script/uhnotify: got a fix from taner . 2.3.21a Sat Jul 23 23:30:53 EST 1994 - matthew green source/alias.c: fixed the broken $, bug introduced from hop's alias.c changes. blah. Sat Jul 23 18:37:25 EST 1994 - matthew green source/alias.c, include/irc_std.h, source/term.c: removed sys/param.h, and moved it into irc_std.h. this was to get the newer bsd's define of BSD4_4 (net/2 defines this as 0.5), which was then used in term.c to use termios. source/ctcp.c: also prints unix version (uname) in ctcp finger reply. source/scandir.c: removed sunos4 readdir_r() stuff. it used to fail because we were getting the ucblib's readdir() but not using the right header files. include/irc_std.h, configure.in, acconfig.h: added a check for memmove(), which we now use if we are missing bcopy(). 2.3.21 Sun Jul 3 17:03:52 EST 1994 - matthew green source/alias.c: fixed bug that broke /if and chewed cpu time. 2.3.20 Sat Jul 2 17:36:41 EST 1994 - matthew green this version was mostly updates from jeremy nelson (jnelson@iastate.edu), with a few other bits from me. configure, acconfig.h: bug fix for signal() test, and check for uname(2). include/dcc.h, source/notice.c, source/whois.c: added new hooks ENCRYPTED_NOTICE and ENCRYPTED_PRIVMSG from hop (jnelson@iastate.edu) include/names.h, source/names.c: fixed memory leak in recreate_mode() that hop found, but patched badly ;). it now caches the string version of the mode for each channel, in each channel's channel struct. source/Makefile.in: updated dependancies. source/alias.c: reworked parser stuff from hop, plus a few new goodies. source/ctcp.c: added special parsing of ctcp SED. added posix uname() handling for ctcp FINGER. source/help.c: temporary fix for compressed help pages. source/hook.c: added hop's new do_hook() and assiciated routines that fix the bugs we had in serial numbers. source/if.c: added some of hop's if.c hacks source/ircaux.c: added hop's stristr() and rstristr() functions. source/parse.c: many bug fixes from hop. source/queue.c: added hop's queue.c after cleaning it up a bit. source/whois.c: various bug fixes from hop and myself. version 2.3.19 never really existed. 2.3.18 Sun Mar 27 22:41:02 EST 1994 - matthew green source/reg.c: fixed bug in matching where the string ended in \. found by avalon (avalon@coombs.anu.edu.au) source/input.c: fixed bug in transpose characters (avalon). source/alias.c: fixed pathetic code for showing aliases. source/dcc.c: fixed window level stuff.. bry (b@ctpm.org). source/hook.c removing all hooks with a specific serial number works now (/on #hook 1 -). source/parse.c, source/numbers.c: fixed bugs with missing args 2.3.17beta Mon Mar 21 00:08:15 EST 1994 - matthew green source/crypt.c, source/help.c, source/vars.c, source/screen.c, source/Makefile.in: fixed security bugs in /help and some /set's and in /window create. configure.in: moved AC_PROG_CPP. translation/RUSSIAN*: added this. thanks to dima@demos.su (Dima Ruban) for these. Sat Mar 19 00:04:42 EST 1994 - matthew green source/window.c: fixed bug in /on window_kill source/help.c: fixed lame bug in freeing nonallocated memory source/exec.c: fixed bugs in getpgrp() stuff source/dcc.c: dcc requests with the port < 1024 are now rejceted. source/scandir.c hopefully got the solaris 2 stuff right here. i hate solaris 2. 2.3.16beta Thu Feb 3 20:11:11 EST 1994 - matthew green source/ctcp.c: fixed stupid bug source/parse.c: fixed window level problems. 2.3.15beta Tue Feb 1 19:18:23 EST 1994 - matthew green source/config.h: updated for the beta release. source/scandir.c: memory leak fixes, and solaris fixes. source/status.c: 'mode k' bug fixed. any non printables chars are now hanlded properly in the status line.. Mon Jan 17 18:48:54 EST 1994 - matthew green source/parse.c: fixed the level of topic changes source/server.c, source/notice.c: fixed resending away's on reconnect/changing servers. source/notify.c: made `notify -' delete all the nicks in the list. Sun Jan 9 22:47:09 EST 1994 - matthew green source/ctcp.c: fixed ctcp flooding so that we don't see multiple `ctcp flood from nick'. source/whois.c: added notify_mark() all for 401. source/screen.c, source/wserv.c, include/screen.h: added the ttyname stuff, but aren't using it yet. source/alias.c: fixed stupid bug in alias parsing that gave core dumps. how this lasted this long i have no idea. source/dcc.c: remove the broken-dcc-times stuff, and now we just use the anal-ultrix stuff. source/parse.c: added message_from() things for p_channel(). source/stack.c, source/stack.h: played some more. things actually compile again here, but nothing new works. 2.3.14 Wed Jan 5 22:43:08 EST 1994 - matthew green source/notify.c, source/notice.c, source/parse.c, source/whois.c, source/vars.c, include/config.h*, include/vars.h.proto, include/notify.h added notify_handler variable. source/irc.c: fixed bug in /wait. god, what a stupid bug. Sun Jan 2 02:36:11 EST 1994 - matthew green source/scandir.c: fixed for readdir_r() with solaris 2. thanks to Travis L Priest for this one. source/names.c: fixed sending of modes to server on rejoin. source/alias.c: fixed bug in $N where from_server != current_screen-> current_window->server. source/ctcp.c: made `ctcp time' more `date' like. source/window.c: made continued line be up to 1/2 the screen. Thu Dec 30 23:47:01 EST 1993 - matthew green source/unotify: updated to not show UNKNOWN crap. source/help.c: fixed set help_window. i hate help.c source/numbers.c: changed reset_nickname() etc to not have more than one `Nickname:' prompt waiting at a time. Wed Dec 29 01:08:13 EST 1993 - matthew green script/uhnotify: added new script to do cached userhost lookups for notify. 2.3.13 Tue Dec 28 03:26:13 EST 1993 - matthew green source/edit.c: userhost() - now lets any number of nick's for -cmd. configure.in: fixed lame bugs in 2.3.12 that prevented it from even compiling. 2.3.12 Fri Dec 24 00:50:11 EST 1993 - matthew green source/vars.c, source/whois.c, source/notify.c, source/parse.c include/vars.h.proto, include/notify.h: added notify stuff from checking join's, etc. source/help.c fixed typo-bug. source/edit.c, source/server.c: added /clear -unhold Wed Dec 22 23:30:15 EST 1993 - matthew green source/exec.c, configure.in, acconfig.h: finished svr3/twg patches, fixed the UNIX_MAIL stuff, finished the auto-grok signals for exec.c. 2.3.11c 2.3.11b source/server.c: fixed all known bugs in server.c ;-) 2.3.11a Thu Dec 2 21:05:56 EST 1993 - matthew green source/server.c: added extra debugging to dgets stuff. 2.3.11 Thu Dec 2 01:50:31 EST 1993 - matthew green source/dcc.c, source/exec,c, source/irc.c, source/server.c source/newioc, source/screen.c: fixed lame bug's introduced in 2.3.9 that caused bogus server connections closing. 2.3.10 Sun Nov 28 13:15:14 EST 1993 - matthew green source/exec.c: fixed POSIX kill(-pid). Mon Nov 15 23:32:22 EST 1993 - matthew green source/crypt.c source/exec.c source/file.c source/help.c source/irc.c source/ircaux.c source/ircflush.c source/log.c source/mail.c source/notice.c source/parse.c source/scandir.c source/term.c include/irc.h: svr3/wollongong tcp/ip patches applied from entropy (entropy@parakeet.con.wesleyan.edu) 2.3.9 Mon Nov 15 00:58:56 EST 1993 - matthew green source/..: various fixes to remove the `stricmp' stuff so that ircii always uses it's own `my_stricmp' source/server.c, source/parse.c, source/window.c: fixed bug where ircii wouldn't let you /server after a oper kill. removed the kludge `CLOSING_SERVER' code (oops, for got to remove the #define from server.h oh well). source/irc.c: fixed notify/clock scheluding. Tue Nov 2 21:17:59 EST 1993 - matthew green source/exec.c, include/irc.h: exec.c defines IN_EXEC_C so that in include/irc.h we don't include unistd.h source/dcc.c, source/ircserv.c, source/ircaux.c, source/newio.c added set_socket_options() which either calls the ESIX mark_socket() thing, or sets off linger and sets keepaline and reuseaddr on. 2.3.8 Mon Nov 1 00:45:13 EST 1993 - matthew green source/edit.c: added /beep command which just beeps the terminal. source/edit.c, source/keys.c: added rbind command that is a reverse bind lookup. `/rbind parse_command' shows all keys bound to parse_command. source/status.c: fixed problem with alarm clock (shulick@indiana.edu) source/irc.c: handlers for SIGHUP/SIGTERM that call irc_exit(). Sun Oct 31 18:01:12 EST 1993 - Matthew Green source/server.c: fixed bug where primary_server was -1 and used as an index. source/vars.c, source/hook.c, source/edit.c, source/alias.c, source/keys.c, source/notice.c: changed the way /save works. you can use -bind -on -alias -digraph -set -notify to save just those types (default is all of them), and the -all switch also saves things that were generated by the global script. these are not saved by default. Sun Oct 31 05:10:14 EST 1993 - Matthew Green configure.in: updated for autoconf 1.7, couple of other small bugs fixed source/vars.c, include/vars.h.proto: added REALNAME varaible. 2.3.7 Sun Oct 24 21:47:10 EST 1993 - Matthew Green too many to remember. many bugs fixed. hide_private_channels, mode #foo +l 0, away when changing servers. on connect now has the port. added posix signals when avaliable. more real svr4 support. various little bits of other peoples patches added where still needed. 2.3.6 Mon Oct 4 02:37:27 EST 1993 - Matthew Green source/status.c: yay!!!!!! fixed the `cursor gets lost with /window create' bug finally. added a cursor_to_display() in update_status(). source/alias.c: new funcitons pid() and ppid() (and thus function_pid() and function_ppid()). Sat Sep 25 20:13:38 EST 1993 - Matthew Green source/server.c: fixed the long know bug in bad link on /server. also fixed setting of closed fd to -1. Sun Sep 5 23:52:39 EST 1993 - Matthew Green easyinst: shell script from end to configure that also sets up the default server and default help service. source/, include/ removed `SCO' and replaced it with either `M_UNIX' or with `HAVE_SYS_UN_H'. source/dcc.c: now shows the port as well as the ip address. Thu Aug 26 00:09:11 EST 1993 - Matthew Green source/dcc.c, source/window.c, include/lastlog.h: fixed bugs in 2.3.3 relating to window level LOG_DCC. LOG_DCC is back in level LOG_ALL 'cause now only one window can have it at once. oh god i am so lame. fixed /dcc get bug. configure.in: added tests for testing getpgrp() to grok non-posix getpgrp() regardless what says. 2.3.3 Sun Aug 22 18:29:21 EST 1993 - Matthew Green source/, include/irc.h removed all occurances of the lame null() macro. 2.3.2 Sun Aug 1 02:25:21 EST 1993 - Matthew Green configure.in, source/Makefile.in, Makefile.in no longer creates source/Makefile from source/Makefile.proto, but rather configure does. we call the make in source/ with the righ aruments. source/, include/dcc.h, include/irc.h general clean up with some header files, fixed time.h and sys/time.h, netinet/in.h (thanks 386bsd for broken header files).. Wed Jul 28 23:39:51 EST 1993 - Matthew Green source/stack.c: fixed stack pop on so that the list from the stack is actually added to the numeric list, if it was empty, currently. Tue Jul 27 23:59:45 EST 1993 - Matthew Green source/ctcp.c: fixed bugs in send_action() where it was sending the message as the format string, and in do_sed() where it was calling crypt_msg() with a null key. 2.3.1 Sat Jul 24 03:47:26 EST 1993 - Matthew Green script/dmsg added this finally.. 2.3.0 Sun Jul 18 04:36:04 EST 1993 - Matthew Green source/dcc.c: fixed lame bug with the dcc deadlists. source/ircaux.c: null() -=> NULL 2.3beta1.9 Mon Jul 12 20:43:55 EST 1993 - Matthew Green source/stack.c source/hook.c, include/stack.h: got /stack working with on's. yay configure.in, Makefile.in, acconfig.h: updated for use with autoheader, acconfig.h added for this purpose (thanks noah). defs.h is much nicer than -DBLAH all the way across the screen. source/scandir.c, configure.in: whole thing put in a #ifdef HAVE_SCANDIR, that is grokked in configure .. 2.3beta1.8 Sat Jul 10 13:11:48 EST 1993 - Matthew Green configure.in, Makefile.in: fiddled with, added questions for DEFAULT_SERVER and DEFAULT_HELP_SERVICE, unused so far.. source/dcc.c, source/edit.c, source/numbers.c: fixed some level things. source/edit.c: made NUMBER_OF_COMMANDS groked automatically.. 2.3beta1.7 Sun Jul 4 19:49:36 EST 1993 - Matthew Green NeXT port for 2.3 .. cleaned up all the .. `suggest parentheses' warnings from gcc -Wparentheses .. 2.3beta1.6 Thu Jul 1 23:06:14 EST 1993 - Matthew Green hpux/osf1/sgi/osx/ptx stuff for 2.3 .. 2.3beta1.2 Tue Jun 29 14:14:29 EST 1993 - Matthew Green .. added gnu's autoconf to ircII, it works for sunos, and mostly for sgi so far .. 2.2.9 Tue Jun 29 00:05:04 EST 1993 - Matthew Green source/newio.c; new_select() - once again, linux proves to be painful. previous `fixes' to this routine were lame, and leaked memory. 2.2.8 Sat Jun 26 14:45:10 EST 1993 - Matthew Green source/hook.c: fixed stupid bug in do_hook() which ignored the last /on in each list. 2.2.7 Sat Jun 26 05:15:35 EST 1993 - Matthew Green .. clean up for release .. Fri Jun 18 12:25:18 EST 1993 - Matthew Green .. various bugs for dynix/ptx, linux, hpux .. fixed.. general clean up for the release. (2.3beta1.1) Sun Jun 13 01:10:07 EST 1993 - Matthew Green Wow. ircII is now under RCS. 2.2.7pre2 Fri Jun 11 03:44:25 EST 1993 - Matthew Green ctcp.c: do_finger() - fixed type for replies for daemon clients.. server.c: server() - fixed setting of away's, was causing core dumps, and general lossage. Wed Jun 9 23:30:33 EST 1993 - Matthew Green source/server.c: fixed sending AWAY's when reconnecting.. by adding the : prefix.. (2.3beta1.0) Wed Jun 9 00:20:19 EST 1993 - Matthew Green the lot, gah, huge clean up. changed the lame alpha `port' Long stuff back to long, and started using the types for lots of things.. like time_t, etc.. created include/ and moved every header in here.. major changes to source/Makefile.proto for this.. added debug.c and debug.h.. and debug define to config.h Wed Jun 2 23:07:25 EST 1993 - Matthew Green source/term.c, source/irc.c: added support to reset signal handlers under ESIX. source/edit.c, source/server.h, source/server.c: made /redirect smarter about if it needs to wait on server output, by setting something in send_to_server(), that is checked after the end of the parse_line() in redirect(). source/dcc.c: fixed varoius DYNIX/ptx problems that got introduced.. source/window.c: create_additional_screen() - close() and unlink() when the create fails... Tue Jun 1 23:41:08 EST 1993 - Matthew Green source/term.c: term_cont() - added signal for linux.. 2.2.7pre1 Tue Jun 1 20:00:02 EST 1993 - Matthew Green source/vars.c, source/edit.c: Changed the way EIGHT_BIT_CHARACTERS works so that if you set it, its honoured. source/ctcp.c: fixed UTC bug. source/, Makefile. Added patch from Fuzzy to give SCO UNIX support. Sun May 30 01:36:18 EST 1993 - Matthew Green source/help.c: fixed the linux/help bug finally. not exactly sure what was wrong with it, but Veep found the problem, and i fixed it. Fri May 28 23:10:47 EST 1993 - Matthew Green source/parse.c: p_privmsg() - fixed beep_when_away with /on msg.. Thu May 20 03:25:57 EST 1993 - Matthew Green source/irc.c: irc_io() - when reading from stdin (for any screen) we read up to BIG_BUFFER_SIZE chars at a time now. source/ctcp.c, source/dcc.c: added sizes to dcc send/get. source/names.c: decipher_mode() - bug with loosing track of mode string for mode's v and b (Aiken). source/alias.c: added randm(), a better random function (Sarayan) and fixed bug in function_srand() if input was an empty string. source/edit.c: load() - now allows \ at the end of a line to continue the line (Stargazer ) Tue May 18 01:20:50 EST 1993 - Matthew Green source/numbers.c: stupid stupid stupid bug in 433 handling fix. source/screen.c: over zealousness with unsigned char's removed. 2.2.6+ Wed May 12 20:39:01 EST 1993 - Matthew Green source/numbers.c: fixed various bugs in the handling of some of the more important numerics. every numeric should be able to be caught in a /on now. source/notice.c: parse_server_notice() - if from is null, use the server's name as far as its concerned, if it exists (.itsname). source/screen.c: change the handling of lines that are null being written to the screen, that was causing core dumps in places. (Rogue_F) source/keys.c: write_bindings() - changed char to unsigned char. Fri May 7 22:54:58 EST 1993 - Matthew Green source/names.c: blah, fixed show_channel() to not assume buffer isn't changed ever. Thu May 6 04:41:24 EST 1993 - Matthew Green source/numbers.c, source/parse.c, source/funny.c: fixed some numerics that were in accessable from /on (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 source/new_io.c: new_select() - if timeout == NULL, then we bzero() the newtimeval .. stops ircserv from hanging... thanks to Kenny Zalewski for this. 2.2.5 Tue May 4 17:12:03 EST 1993 - Matthew Green 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 source/exec.c: various patches from avalon added to help speed up exec handling. Mon May 3 21:32:49 EST 1993 - Matthew Green 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 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 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 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 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 source/ctcp.c: fixed bug in ctcp ping reply. source/parse.c, source/edit.c: prefixed duplicate funcion names with p_ and e_. 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 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 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 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 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 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 source/ fixed all of the implicit functions declartions, and several other compiler warnings. wheeeeeeeeeee. Thu Apr 22 14:42:07 EST 1993 - Matthew Green 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 source/ fixeds 1000's olf lines of warnings from gcc -Wall. Tue Apr 20 22:29:05 EST 1993 - Matthew Green 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 source/term.c: blah. i hate sun tty drivers. we're back to sgtty. Sat Apr 17 21:28:42 EST 1993 - Matthew Green 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 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 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 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] , function xtypecmd(). Mon Apr 12 03:26:44 EST 1993 - Matthew Green Makefile, source/Makefile.proto Added LEX and LEXLIB. Sat Apr 10 02:42:55 EST 1993 - Matthew Green 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 . 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 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 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 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 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 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 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 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 source/reg.c: Fixed bug in \escaping. (Troy) Sun Feb 21 16:36:22 EST 1993 - Matthew Green script/troy, script/killpath, script/kpstat, script/traces: Updatd scripts for 2.2.1. Sat Feb 20 00:36:12 EST 1993 - Matthew Green 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 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 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 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 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. 2.2 Tue Feb 9 16:46:39 EST 1993 - Matthew Green 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 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 ) source/ Support for 386BSD added (Mycroft) Sun Feb 7 05:04:23 EST 1993 - Matthew Green 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 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 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 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 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 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 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 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 source/status.c Added poxaV's patch to put time in standard format. Mon Jan 25 09:14:10 EST 1993 - Brian Koehmstedt 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 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 source/window.c: scroll_window() - fixed bug that deleted text from the input prompt Thu Jan 21 18:16:16 EST 1993 - Matthew Green 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 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. 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 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 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 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 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 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 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 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 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 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 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 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 source/lastlog.c, source/file.c, source/crypt.c, source/list.c: reformatted. Mon Jan 11 00:29:41 EST 1993 - Matthew Green 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 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 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 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 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 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 for help with this). Wed Jan 6 00:03:00 EST 1993 - Matthew Green 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 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 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 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 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 source/edit.c: Changed new_send_line() to set the display on. Mon Jan 4 23:46:58 EST 1993 - Matthew Green 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 hook.c: reformatted. Fri Jan 1 23:46:03 EST 1993 - Matthew Green *.h: Fixed all the header files, so that if included more than once, they are only parsed once. scrollz-2.2.3.orig/ScrollZ.addon0000644000175000017500000004017412251073234016313 0ustar madhackmadhackSKICK $M hates flooders ! ; $M takes $0 by the balls and throws him out of $C ! ; $K SKICK $M smells something bad ... ; $M looks at $0 ... ; $K ; $S the smell is gone ! SKICK $M notices that $0 is idling... ; $M decides to get rid of him ; $M picks up $0 and throws him out of $C ; $K ; $S Problem solved! SKICK $M gags $0 and stuffs him in a Cow suit, then tosses him into a corral with a horny bull. <> ; $K SKICK $M says it's April, the season of growing, and the fucking weeds are popping up everywhere ; $M spots a weed in $C ; $M calls the Orkin man spray $0 ; $K ; $S psssttzz.., the weed is gone ; $M mails $0 the bill. SKICK $M intercepte la balle, drible et shoot! ; $K ; $M s'ecrit: Buuuuuuuuuuuuut !!!!!!!!!!!!!!!!! SKICK $M kicks $0 in the chest...**Kaiaaaaa ; $K SKICK $M smashes $0's head with a baseball bat *BOK*#!! ; $K ; $M wipes the blood off the bat on $0's hair. SKICK $M pulls down the switch to the electric chair ; $K ; $M makes an omelette with $0's brains. SKICK $M dons his priestly garb. ; $M dispatches $0's soul on its way to the pearly gates. ; $K ; $S Dominus omis. SKICK $M grabs $0 by the hair and jams him face first into the toilet... ; $M does the royal flush. ; $K ; $S ba-WHOOOOOOOSH! SKICK $M throws $0 carelessly to the floor. ; $M does the moonwalk up and down $0's ass. ; $K SKICK $S $0, yerrr OUTTA here, pal! ; $M grabs $0 by the balls and heaves him into the void. ; $K SKICK $S ENEMAI OFT MI CHAR N DYE! ; $M casts a Fireball that goes streaking across the channel at $0 ; $M watches as $0's corporeal form is devoured in flame! ; $K SKICK $M pulls out his portable chalkboard. ; $M shows $0 the function of relativity for chaos mathematics. ; $M watches as $0's brain shorts out with a puff of putrid smoke! ; $K SKICK $S $0 - what is your real name? ; $S $0 - what is your quest? ; $S $0 - what's the average air speed of a coconut laden swallow? ; $K ; $S I guess he didn't know! SKICK $M waves his hands and turns into Michael Jordan for a instant. ; $S $0 give me those Nike's! ; $M leaves a court shoe print across $0's face. ; $K SKICK $M casts Otto's Irresistible Dance on $0. ; $M then casts Tasha's Uncontrollable Hideous Laughter on $0. ; $M watches as $0 laughs and dances off the channel. ; $K SKICK $M grabs $0's tongue and pulls it wayyyyy out. ; $M takes out locking ring and loops it through $0's tongue. ; $M then fastens the ring to a Lotus Esprit and drives off. ; $K SKICK $M becomes bored with $0, cranks some tunes. ; $M takes a dancing flower and shoves it up $0's ass! ; $M watches as $0 goes through several interesting convulsions. ; $K SKICK $M looks to his left...then to his right. ; $M takes out a little black bag and points it at $0 ; $M watches as $0 is attacked by a mob of piranha clams!!! ; $K SKICK $M notes $0 has been poisoned!!!!! ; $S hmmmm odorless.... tasteless..... hmmmmmm ; $S aha! Iocane powder !!! ; $K SKICK $S ENEMAI OFT MI SPIRU CRIE!!! ; $M invokes $0's worst nightmare from $0's mind. ; $M watches as $0 is devoured by $0's Rosanne Barr. ; $K SKICK $M decides to use calculus on $0. ; $M takes the second derivative of $0. ; $M is astonished... he has just disproved $0's existence!!! ; $K SKICK $M reaches into one of his many pockets. ; $M draws forth a wand with an emerald tip. ; $M points the wand at $0 and utters arcane words of power... ; $K SKICK $M waves at $0 with complex motions and changes his appearance. ; $M turns $0 into a really cool purple lamp shade with pink polka dots. ; $S NOT ; $K SKICK $S Ha $0, so you think yourself my equal...hmmm... ; $S But I have something I must tell you... ; $S You see $0, I am not left handed either. ; $K SKICK $S Pawn jumps $0. ; $S Bishop jumps $0. ; $S It's good to be the king. ; $K SKICK $M dumps a can of gasoline on $0 ; $M lights a match and tosses it. ; $M laughs as $0 turns squirms and smokes to a blackened crisp. ; $K SKICK $M opens a cannister of liquid nitrogen. ; $M dumps it all over $0 ; $M laughs $0 become stiff, then shatter into thousands of gleaming shards. ; $K SKICK $M pulls out a bottle of hydrocloric acid. ; $M splashes it in $0's face. ; $M watches $0 as skin runs in rivulets from bone until only a pool remains. ; $K SKICK $M prays to the Gods of IRC for assistance. ; $M watches for a sign... ; $M laughs as $0 is seared by lightning and torn asunder. ; $K SKICK $M pulls out a finely engraved iron wrought long sword. ; $M runs $0 through and waits until $0 stops gurgling. ; $M then yanks the sword up through $0's spine, rib cage, and lungs. ; $K SKICK $M prays silently to the IRC Gods for assistance. ; $M watches the skies for a sign... ; $M laughs as the ground beneath $0 shakes and splits open engulfing $0. ; $K SKICK $M calls upon the Daemon Primarch Mortarion to answer his summons. ; $S now $0 feel the wrath of the Prince of Plagues. ; $M watches as $0 dissolves into a mass of blisters and bleeding scars. ; $K SKICK $M grabs $0 by the neck and props $0's mouth open. ; $M stuffs large quantities of frozen ice cream bars down $0's throat. ; $M sets $0 off to the side to admire his new full size PEZ distributor... ; $K SKICK $M grabs $0 by the neck and hooks $0's upper jaw over his thumb. ; $M takes careful aim while stretching $0 wayyy out... ; $M releases $0... *twang* ; $K SKICK $M grabs $0 by the right nostril and pulls it wayyy out... ; $M looks around for a suitable implement of devise for $0... ; $M grabs a running chainsaw and stuffs it up $0's right nostril... ; $K SKICK $M becomes a magical conduit between the Prime and Negative Material Planes... ; $M then touches $0, draining $0's life essence away... ; $S What life? He's on IRC all the damn time! ; $K SKICK $M pulls a small, deadly vial from his pocket. ; $M breaks the vial over $0's head... ; $M laughs as $0 suddenly turns into MiSTiK! ; $K SKICK $M pulls out a sharp battle axe and slices off $0's head.. ; $M watches the head roll to the floor, covering $C with blood.. ; $M slings the axe over his shoulder and laughs with murderous glee! ; $K SKICK $M 'accidentally' bumps into $0 on the observation deck at the Empire State Building.... ; $M laughs as he watches $0 go for the plunge.... ; $K SKICK $M searches for a small explosive... ; $M finds a half stick of dynamite... ; $M blows $0's ass out of the known world... ; $M wishes $0 pleasant dreams and a happy tomorrow... ; $K SKICK $M puts $0 into an electric chair and throws the switch..... ; $K SKICK $M tosses $0 into a microwave oven and sets the dial on 'HIGH'... ; $K SKICK $M picks up a cordless-drill with a paint-stripper... ; $M decides that $0 could REALLY use an enema... ; $K SKICK $M ties a rope around the neck of $0 and places him over the trap-door... ; $K SKICK $S *** LAMER PROTECTION ENGAGED *** ; $S Weeeeeeep! Weeeeeeep! Weeeeeeeeep! ; $S Lamer spotted!! Lowering targets on the lamer! ; $K Poof SKICK $M loads a laser guided AARM-32b smartbomb into the F-16E. ; $M watches as the sights level on $0. ; $S $C look out below! ; $M watches as the bomb hits $0 and pounds him 20ft into the ground. ; $K SKICK $M pulls the scalp off of $0. ; $M eats the scalp ; $S Yicks! ; $K SKICK $M raises his arms to the sky and feels energy flow into his veins. ; $M points his finger at $0... ; $M opens his hands and releases the energy at $0 ; $S Zot!!! ; $K ; $M loves the smell of burnt flesh. HaHaHa SKICK $M approaches $0's swaying body. ; $M takes hold of $0's neck. ; $M removes $0's head and spine from it's body. ; $S Rrrrrriiiiiiipppp!!! ; $M turns $0's head to show $0 the lifeless body. ; $K ; $M proclaims $0's body has been relieved of a useless member. HaHaHa SKICK $M removes his mask revealing his skull. ; $M lets forth a stream of fire upon $0's swaying body. ; $S $0 is engulfed by hellish flames. ; $S *Fwosh* ; $K ; $M proclaims "I love the smell of a fresh barbeque." HaHaHa SKICK $M approaches $0's fear paralyzed body. ; $M thrusts his hand into $0's chest. ; $S $0's rib cage is separated. ; $S C-rrrrrraaaaaaaa-KK ; $M withdraws the still beating heart and shows it to $0. ; $K ; $S Here $0, have a heart. HaHaHa SKICK $M after executing a devastating flying kick, $0's body sways. ; $M approaches $0 and glances at his target. ; $M hurls himself through the air, cartwheeling towards $0. ; $M swings his harm and makes shattering contact with $0's jaw. ; $S THOCK ; $M punches $0 head from $0's neck with inhuman strength. ; $K ; $S $0 has lost their head. HaHaHa SKICK $M puts on his black hood. ; $M escorts $0 to the guillotine. ; $S Any final requests before the blade drops? ; $S No ? Good! ; $K ; $S -CHOP!- SKICK $M spits out a wad of chewing tobacco ; $S *pbpbth* ; $S Listen $0, we don't like yer kind around here... ; $S so git on out er we'll throw yuh out! ; $K ; $S GIT OUT !! SKICK $M decides to get REALLY liquored up! ; $M grabs a shotgun and takes pot shots at passing clouds. ; $M is waaayyyy too drunk, though, and starts taking out other objects in his vicinity. ; $K Blam! Blam! Blam! Whoops! Oh well...Blam! SKICK $M grabs $0 by his little dick. ; $M pulls hard and swings $0 around the channel. ; $M swings faster until $0 's dick snaps off. ; $M watches as $0 flies off the channel. ; $K Forgot your mushroom cap! SKICK $M and $0 are waiting at the bus stop. ; $M watches as the bus approaches... ; $M nudges $0 out into traffic before the bus can stop. ; $K You gonna eat this lunch? SKICK $M hates violence. ; $M hates violent people, too. ; $M thinks that $0 is too violent. ; $M grabs $0 by the neck and lifts $0 off the ground. ; $M shoves his fist through $0 's midsection. ; $M head-butts his surprised face before dropping $0 to the floor. ; $K I'm a nice guy, really. SKICK $M decides to build a fire. ; $M takes the first dead wood he sees and throws $0 in the pit. ; $M covers $0 with gasoline and strikes a match. ; $M doesn't seem to hear $0 squealing like a pig for mercy as he drops the match. ; $K Poof! Hmm... Charbroil! My favorite! SKICK $M looks bored. ; $M decides to interest himself by mangling $0. ; $M shoves his fist into $0 's chest and pulls out a handful of capillaries. ; $M begins knitting a sweater. ; $K Knit One, Pearl Two.... SKICK $M takes out a bloodstained axe and acquires an evil grin ; $S >:)=) ; $M lifts the axe high above $0's head... ; $K ; $S C*H*O*P*! - Heh heh heh! SKICK $M suggests that $0 does Kurt Cobain impression. ; $M watches as $0 props a shotgun to his mouth and blows his brains out. ; $M waits for three days before an electrician finds $0 and throws him out. ; $K That's not teen spirit you smell..... SKICK $M wonders how well $0 would work as a conductor. ; $M ties $0 to the base of a lightning rod. ; $M is pleased as a storm starts brewing and lightning strikes the rod. ; $M takes notes as $0 's nervous system becomes a superconductor. ; $K For the good of science, not you. SKICK $M wonders where $0 really came from. ; $M does a smathering of research, only to discover that the best part of $0 ran own some whore's leg. ; $K We can always try again later, honey. SKICK $M thinks $0 whines too much. ; $M thinks $0 does more whining than Gallo. ; $M suggests $0 go visit California to be with the other cheap whines. ; $K I hate whine... SKICK $M smells something terrible. ; $M figures out that it's $0 who smells like a dead elephant on a hot summer's day. ; $M decides to send $0 to the cleaners. ; $K Put it on my tab. SKICK $M watches too much Mr. Wizard. ; $M decides to try an experiment. ; $S Now $0 you hold this putty, while I hook up these wires.... ; $M feigns shock as $0's ass is blown into next week. ; $K For my next experiment.... SKICK $M has always been fascinated by Don Herbert. ; $M wants to try an experiment with $0. ; $M wants to monitor the brain levels of a moron. ; $K What was I thinking? Need a brain first. SKICK $M tries to find where $0 begins and where $0 ends. ; $M notices the circle that $0 's body makes from neck, to ass, to neck again. ; $M has never seen a life-form on this low of the food chain. ; $K T'was a mercy killing. SKICK $M looks over and sees $0 desperately trying to bend far enough to suck himself off. ; $M wonders why no one else has kicked him for such pathetic behavior. ; $M notices that no one else is paying attention to him. ; $K Try #jack-off! SKICK $M waves an ancient druid sceptre over $0 ; $M chants "KLATU! VERATTA! NIKTU!" ; $M waits as nothing happens ; $M says "Fuck this" and busts the sceptre up $0's ass ; $K That's GOTTA hurt! SKICK $M kicks $0 through a time warp.... ; $S $0 lands at the Jim Jones incident.... ; $S Jim Jones says "Hey $0! How about some PurpleSaurus Rex Kool Aid?" ; $S $0 chugs a pitcher and says "damn, why is this stuff so good?" ; $S Jim Jones says, "Well $0, it's either the nutrasweet or the cynanide!" ; $K DOH! SKICK $M shows $0 a broomstick and some KY..... ; $S Suddenly some cheap 70's porno film music comes on [BOOMP-CHICKA-BOOMP-BOWWWWW!] ; $S $0 decides he'd prefer not to take chances and runs like fuck.... ; $K And don't let the door hit ya on the way out! SKICK $M takes an armbrust ; $M prepares to launch a missile ; $S Missile is ready sir ; $K It landed right on your head, it must have hurt SKICK $M decides he had enough of feeling $0's presence ; $M decides $0 doesn't belong here ; $K Go away, you're not wanted here SKICK $S Sniff, sniff ? ; $S Sniff, sniff ? ; $S Something really stinks here ; $K It's you ! SKICK $M notices someone that doesn't belong here ; $M pulls out his Magnum .57 ; $K BOOOOOOM SKICK $M is in the zoo along with $0 ; $M sees a lion ; $M thinks that lion is hungry ; $M throws $0 to the lion ; $K Mlask, mlask SKICK $S $0 do you know how long is from here to eternity ? ; $S No ? ; $K Stay the fuck out then SKICK $M is driving a BIG truck at 120 kph ; $M sees $0 in the middle of the road ; $M drives over $0 ; $K Splash ; $M turns his windscreen wipers on at full speed SKICK $M thinks $0 is a floppy disk ; $M puts $0 into drive A: ; $M launches format A: ; $K Lots of bad sectors dude SKICK $M turns into Bruce Lee ; $M jumps into the air ; $M launches mae-geri at $0 ; $K AIIIIII SKICK $M feels he is Mike Tyson ; $M punches $0 into his head ; $K Knock-out SKICK $M turns into Superman ; $M picks $0 and flyes 324716 times around the Earth ; $M suddenly drops $0 ; $K Shaken SKICK $M turns into elephant ; $M jumps on $0's butt like 1326 and a half times ; $K Flat SKICK $M turns into guerilla fighter ; $M surprises $0 as he walks in the wood ; $K Boom SKICK $M picks up a pump ; $M sticks it up $0's butt ; $M starts pumping like mad ; $K Blown away SKICK $M drives a tank ; $M points his tank into $0's direction ; $M drives over $0 ; $K Flat SKICK $M watches monster trucks show ; $M sees $0 ; $M pushes $0 under a monster truck's wheels ; $K Ouch ! SKICK $M thinks $0 is a Micro$oft's employee ; $M hates Micro$oft ; $K Take your sorry ass out of here SKICK $M notes that $0 is a Winbloze user ; $M hates Winbloze ; $M drops a virus into $0's computer ; $K Virus just formatted your disk SKICK $M downloads $0's passwd file ; $M uses crack and gets $0's password ; $M uses his new account to send e-mail to FBI ; $K You got busted dude SIOFF I have enough of it SIOFF Shit! Cops at my door! SIOFF Gotta check the real world too SIOFF Even good things pass away SIOFF Beer calls SIOFF Your mom works for me SIOFF Are you threatening me ? SIOFF Gimme TP for my bunghole SIOFF No pain no gain SIOFF What I wouldn't do to her SIOFF Hey, why did I leave ? SIOFF I have the power supreme SIOFF Connection reset by beer SIOFF I'm madman, hell on wheels, born a wicked child, left alone in the fields SIOFF Just an urchin livin' under the street I am a hard case that's tough to beat SIOFF More important things on my mind SIOFF One day sheep will rule the world SIOFF M$ winbloze - 0.0341 users ARE wrong SIOFF Powered by ScrollZ SIOFF mIRC - pathetic excuse for IRC client SIOFF No reason given for this slot SIOFF I'm outta here... SIOFF The fatter they are, the fatter they fall SIOFF I'm your little nightmare SIOFF Error 467: Illegal brain function. Process terminated SIOFF USER ERROR: replace user and press any key to continue SIOFF Volume in Drive C: TOO_LOUD SIOFF Press [ESC] to detonate or any other key to explode SIOFF Backup not found! A)bort, R)etry or P)anic? SIOFF A)bort, R)etry, I)gnore, V)alium? SIOFF A)bort, R)etry, P)retend this never happened... SIOFF Couldn't think of anything better for this slot scrollz-2.2.3.orig/acconfig.h0000644000175000017500000001515312251073234015635 0ustar madhackmadhack/* * $Id: acconfig.h,v 1.14 2008-03-08 15:22:13 f Exp $ */ /* define if allow sys/time.h with time.h */ #undef TIME_WITH_SYS_TIME /* define this if you are using BSD wait union thigs */ #undef BSDWAIT /* define this if you are using -ltermcap */ #undef USING_TERMCAP /* define this if you are using -lxtermcap */ #undef USING_XTERMCAP /* define this if you are using -ltermlib */ #undef USING_TERMLIB /* define this if signal's return void */ #undef SIGVOID /* define this if you are using sigaction() instead of signal() */ #undef USE_SIGACTION /* define this if you are using sigset() instead of signal() */ #undef USE_SIGSET /* define this if you are using system V (unreliable) signals */ #undef SYSVSIGNALS /* define this if termcap(3) requires it */ #undef INCLUDE_TERM_H /* define this if you are using -lcurses, or if termcap(3) requires it */ #undef INCLUDE_CURSES_H /* define this if wait3() is declared */ #undef WAIT3_DECLARED /* define this if waitpid() is declared */ #undef WAITPID_DECLARED /* define this if waitpid() is unavailable */ #undef NEED_WAITPID /* define this if -lnls exists */ #undef HAVE_LIB_NLS /* define this if -lnsl exists */ #undef HAVE_LIB_NSL /* define his if -lPW exists */ #undef HAVE_LIB_PW /* define this to the mail spool */ #undef MAIL_DIR /* define this to the name of the AMS mail file */ #undef AMS_MAIL /* define this if you have scandir() */ #undef HAVE_SCANDIR /* define this if you have memmove() */ #undef HAVE_MEMMOVE /* define this if you have setsid() */ #undef HAVE_SETSID /* define this if you have getsid() */ #undef HAVE_GETSID /* define this if you have getpgid() */ #undef HAVE_GETPGID /* define this if your getpgrp() doesn't take a pid argument */ #undef BROKEN_GETPGRP /* define this if you have sys/select.h */ #undef HAVE_SYS_SELECT_H /* define this if you have sys/fcntl.h */ #undef HAVE_SYS_FCNTL_H /* define this if you have fcntl.h */ #undef HAVE_FCNTL_H /* define this if you have sys/ioctl.h */ #undef HAVE_SYS_IOCTL_H /* define this if you have sys/file.h */ #undef HAVE_SYS_FILE_H /* define this if you have sys/time.h */ #undef HAVE_SYS_TIME_H /* define this if you have sys/wait.h */ #undef HAVE_SYS_WAIT_H /* define this if you have string.h */ #undef HAVE_STRING_H /* define this if you have memory.h */ #undef HAVE_MEMORY_H /* define this if you have netdb.h */ #undef HAVE_NETDB_H /* define this if you have sys/ptem.h */ #undef HAVE_SYS_PTEM_H /* define this if you need getcwd() */ #undef NEED_GETCWD /* define this if you have hpux version 7 */ #undef HPUX7 /* define this if you have hpux version 8 */ #undef HPUX8 /* define this if you have an unknown hpux version (pre ver 7) */ #undef HPUXUNKNOWN /* define this if an unsigned long is 32 bits */ #undef UNSIGNED_LONG32 /* define this if an unsigned int is 32 bits */ #undef UNSIGNED_INT32 /* define this if you are unsure what is is 32 bits */ #undef UNKNOWN_32INT /* define this if you don't have struct linger */ #undef NO_STRUCT_LINGER /* define this if you are on svr3/twg */ #undef WINS /* define this if you need fchmod */ #undef NEED_FCHMOD /* define this to the location of normal unix mail */ #undef UNIX_MAIL /* define this to be the name[:port] of the default server */ #undef DEFAULT_SERVER /* define this if you want to be paranoid */ #undef PARANOID /* define this if your header files declare sys_errlist */ #undef SYS_ERRLIST_DECLARED /* define this if your header files declare errno */ #undef ERRNO_DECLARED /* define this if you have uname(2) */ #undef HAVE_UNAME /* define this if you need strerror(3) */ #undef NEED_STRERROR /* define this if you have ANSI stdarg.h */ #undef HAVE_STDARG_H /* define this if you have varargs.h */ #undef HAVE_VARARGS_H /* define this if you have posix strftime(3) */ #undef HAVE_STRFTIME /* define this if you have posix */ #undef HAVE_TERMIOS_H /* define this if you have the */ #undef HAVE_TERMIO_H /* define this if you have the */ #undef HAVE_SGTTY_H /* define this if you have (working) POSIX (O_NONBLOCK) non-blocking */ #undef NBLOCK_POSIX /* define this if you have BSD (O_NDELAY) non-blocking */ #undef NBLOCK_BSD /* define this if you have SYSV (FIONBIO) non-blocking */ #undef NBLOCK_SYSV /* define this if you have writev(2) and */ #undef HAVE_WRITEV #undef HAVE_SYS_UIO_H /* Define this if compiling with SOCKS (the firewall traversal library). Also, you must define connect, getsockname, bind, accept, listen, and select to their R-versions. */ #undef SOCKS #undef SOCKS4 #undef SOCKS5 #undef connect #undef getsockname #undef bind #undef accept #undef listen #undef select #undef dup #undef dup2 #undef fclose #undef gethostbyname #undef getpeername #undef read #undef recv #undef recvfrom #undef rresvport #undef send #undef sendto #undef shutdown /* * Are we doing non-blocking connects? Note: SOCKS support precludes * us from using this feature. */ #if (defined(NBLOCK_POSIX) || defined(NBLOCK_BSD) || defined(NBLOCK_SYSV)) && \ !defined(SOCKS) # define NON_BLOCKING_CONNECTS #endif /* AIX is Special. This turns on Berkeley sockets which makes wserv work. */ #ifdef _AIX # define COMPAT_43 #endif /* define these to the ZCAT program/args of your choice */ #undef ZCAT #undef ZSUFFIX #undef ZARGS /* * define HAVE_DEV_RANDOM if you have /dev/random (*BSD/LINUX). * the CAST code uses this if present instead of random(3). */ #undef HAVE_DEV_RANDOM #undef DEV_RANDOM_PATH /* define to `int' if doesn't define */ #undef ssize_t /* define this if you have IPv6 API support */ #undef INET6 /* define this if you have vasprintf(3) */ #undef HAVE_VASPRINTF /* define this if you have vsnprintf(3) */ #undef HAVE_VSNPRINTF /* define this if you have snprintf(3) */ #undef HAVE_SNPRINTF /* define this if you have crypt(3) */ #undef HAVE_CRYPT /* define this if you have fputc(3) */ #undef HAVE_FPUTC /* define this if you have fwrite(3) */ #undef HAVE_FWRITE /* define this if you have sprintf(3) */ #undef HAVE_SPRINTF /* define this if you have vsprintf(3) */ #undef HAVE_VSPRINTF /* define this if your struct sockaddr has a sa_len member */ #undef HAVE_SOCKADDR_SA_LEN /* define this if you have tzset(3) */ #undef HAVE_TZSET /* define this if you have iconv_open(3) */ #undef HAVE_ICONV_OPEN /**************************** PATCHED by Flier ******************************/ /* define this if you have getloadavg() */ #undef HAVEGETLOADAVG /* define this if you have OpenSSL */ #undef HAVE_SSL /* define this if you have regexec() */ #undef HAVE_REGCOMP /* define this if you have MIRACL library */ #undef HAVE_MIRACL /****************************************************************************/ scrollz-2.2.3.orig/bsdinstall0000755000175000017500000000241712251073234015777 0ustar madhackmadhack#! /bin/sh # # @(#)install.sh 4.5 (Berkeley) 10/12/83 # # $Id: bsdinstall,v 1.1 1998-09-10 17:31:12 f Exp $ # cmd=/bin/mv strip="" chmod="/bin/chmod 755" chown="" chgrp="" while true ; do case $1 in -s ) strip="/bin/strip" shift ;; -c ) cmd="/bin/cp" shift ;; -m ) chmod="/bin/chmod $2" shift shift ;; -o ) chown="/etc/chown -f $2" shift shift ;; -g ) chgrp="/bin/chgrp -f $2" shift shift ;; -d ) cmd="/bin/mkdir" shift ;; * ) break ;; esac done if test $1 = CVS -a -d $1 ; then echo "install: skipping CVS directory" exit 0 fi if test ! ${2-""}; then echo "install: no destination specified" exit 1 fi if test ${3-""}; then echo "install: too many files specified -> $*" exit 1 fi if test $1 = $2 -o $2 = .; then echo "install: can't move $1 onto itself" exit 1 fi case $cmd in /bin/mkdir ) file=$2/$1 ;; * ) if test '!' -f $1; then echo "install: can't open $1" exit 1 fi if test -d $2; then file=$2/$1 else file=$2 fi /bin/rm -f $file ;; esac case $cmd in /bin/mkdir ) if test ! -d "$file"; then $cmd $file fi ;; * ) $cmd $1 $file if test -n "$strip"; then $strip $file fi ;; esac if test -n "$chown"; then $chown $file fi if test -n "$chgrp"; then $chgrp $file fi $chmod $file exit 0 scrollz-2.2.3.orig/include/0000755000175000017500000000000012260222760015331 5ustar madhackmadhackscrollz-2.2.3.orig/include/rijndael-api-ref.h0000644000175000017500000001031212251073235020611 0ustar madhackmadhack/* rijndael-api-ref.h v2.0 August '99 * Reference ANSI C code * * $Id: rijndael-api-ref.h,v 1.1 2002-01-21 21:37:35 f Exp $ * */ /* AES Cipher header file for ANSI C Submissions Lawrence E. Bassham III Computer Security Division National Institute of Standards and Technology April 15, 1998 This sample is to assist implementers developing to the Cryptographic API Profile for AES Candidate Algorithm Submissions. Please consult this document as a cross-reference. ANY CHANGES, WHERE APPROPRIATE, TO INFORMATION PROVIDED IN THIS FILE MUST BE DOCUMENTED. CHANGES ARE ONLY APPROPRIATE WHERE SPECIFIED WITH THE STRING "CHANGE POSSIBLE". FUNCTION CALLS AND THEIR PARAMETERS CANNOT BE CHANGED. STRUCTURES CAN BE ALTERED TO ALLOW IMPLEMENTERS TO INCLUDE IMPLEMENTATION SPECIFIC INFORMATION. */ /* Includes: Standard include files */ #include #include "rijndael-alg-ref.h" /* Defines: Add any additional defines you need */ #define DIR_ENCRYPT 0 /* Are we encrpyting? */ #define DIR_DECRYPT 1 /* Are we decrpyting? */ #define MODE_ECB 1 /* Are we ciphering in ECB mode? */ #define MODE_CBC 2 /* Are we ciphering in CBC mode? */ #define MODE_CFB1 3 /* Are we ciphering in 1-bit CFB mode? */ #define TRUE 1 #define FALSE 0 #define BITSPERBLOCK 128 /* Default number of bits in a cipher block */ /* Error Codes - CHANGE POSSIBLE: inclusion of additional error codes */ #define BAD_KEY_DIR -1 /* Key direction is invalid, e.g., unknown value */ #define BAD_KEY_MAT -2 /* Key material not of correct length */ #define BAD_KEY_INSTANCE -3 /* Key passed is not valid */ #define BAD_CIPHER_MODE -4 /* Params struct passed to cipherInit invalid */ #define BAD_CIPHER_STATE -5 /* Cipher in wrong state (e.g., not initialized) */ #define BAD_CIPHER_INSTANCE -7 /* CHANGE POSSIBLE: inclusion of algorithm specific defines */ #define MAX_KEY_SIZE 64 /* # of ASCII char's needed to represent a key */ #define MAX_IV_SIZE BITSPERBLOCK/8 /* # bytes needed to represent an IV */ /* Typedefs: Typedef'ed data storage elements. Add any algorithm specific parameters at the bottom of the structs as appropriate. */ typedef unsigned char BYTE; /* The structure for key information */ typedef struct { BYTE direction; /* Key used for encrypting or decrypting? */ int keyLen; /* Length of the key */ char keyMaterial[MAX_KEY_SIZE+1]; /* Raw key data in ASCII, e.g., user input or KAT values */ /* The following parameters are algorithm dependent, replace or add as necessary */ int blockLen; /* block length */ word8 keySched[MAXROUNDS+1][4][MAXBC]; /* key schedule */ } rijndael_keyInstance; /* The structure for cipher information */ typedef struct { BYTE mode; /* MODE_ECB, MODE_CBC, or MODE_CFB1 */ BYTE IV[MAX_IV_SIZE]; /* A possible Initialization Vector for ciphering */ /* Add any algorithm specific parameters needed here */ int blockLen; /* Sample: Handles non-128 bit block sizes (if available) */ } rijndael_cipherInstance; /* Function protoypes */ /* CHANGED: makeKey(): parameter blockLen added this parameter is absolutely necessary if you want to setup the round keys in a variable block length setting cipherInit(): parameter blockLen added (for obvious reasons) */ int rijndael_makeKey(rijndael_keyInstance *key, BYTE direction, int keyLen, char *keyMaterial); int rijndael_cipherInit(rijndael_cipherInstance *cipher, BYTE mode, char *IV); int rijndael_blockEncrypt(rijndael_cipherInstance *cipher, rijndael_keyInstance *key, BYTE *input, int inputLen, BYTE *outBuffer); int rijndael_blockDecrypt(rijndael_cipherInstance *cipher, rijndael_keyInstance *key, BYTE *input, int inputLen, BYTE *outBuffer); int rijndael_cipherUpdateRounds(rijndael_cipherInstance *cipher, rijndael_keyInstance *key, BYTE *input, int inputLen, BYTE *outBuffer, int Rounds); scrollz-2.2.3.orig/include/irc.h0000644000175000017500000002525512256554235016302 0ustar madhackmadhack/* * irc.h: header file for all of ircII! * * Written By Michael Sandrof * * Copyright (c) 1990 Michael Sandrof. * Copyright (c) 1991, 1992 Troy Rollo. * Copyright (c) 1992-2003 Matthew R. Green. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. The name of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * $Id: irc.h,v 1.23 2009-12-21 15:08:26 f Exp $ */ #ifndef __irc_h #define __irc_h /**************************** PATCHED by Flier ******************************/ /*#define IRCRC_NAME "/.ircrc"*/ #define IRCRC_NAME "/.scrollzrc" /*#define IRCQUICK_NAME "/.ircquick"*/ #define IRCQUICK_NAME "/.scrollzquick" /****************************************************************************/ /* * Here you can set the in-line quote character, normally backslash, to * whatever you want. Note that we use two backslashes since a backslash is * also C's quote character. You do not need two of any other character. */ #define QUOTE_CHAR '\\' #if defined(ISC30) /* for some reason it doesn't get defined */ # define _POSIX_SOURCE #endif /* ISC30 */ #include "defs.h" #include "config.h" #ifdef NeXT # include #endif #include #include #ifdef _Windows #include #include #else #include #include #ifndef WINS #include #else #include #include #undef server #endif /* WINS */ #include #include #include #endif #ifdef TIME_WITH_SYS_TIME # include # include #else # ifdef HAVE_SYS_TIME_H # include # else # include # endif /* HAVE_SYS_TIME_H */ #endif /* TIME_WITH_SYS_TIME */ #ifdef HAVE_SYS_FCNTL_H # include #endif /* HAVE_SYS_FCNTL_H */ #ifdef HAVE_FCNTL_H # include #endif /* HAVE_FCNTL_H */ /* machines we don't want to use on 'cause its broken */ #if defined(pyr) || defined(_SEQUENT_) # undef HAVE_UNISTD_H #endif #ifdef HAVE_UNISTD_H # include #endif #ifdef HAVE_SYS_FILE_H # include #endif #ifdef HAVE_NETDB_H # include #endif #ifdef HAVE_PROCESS_H # include #endif #ifdef HAVE_TERMCAP_H # include #endif #ifdef HAVE_STDARG_H # ifdef __STDC__ # include # else # undef HAVE_STDARG_H # endif #endif #ifdef HAVE_SYS_SELECT_H # include #endif #include "irc_std.h" #include "debug.h" /**************************** PATCHED by Flier ******************************/ #ifdef CELE #include "celerity.h" #endif /*#define IRCII_COMMENT "this is a bug free client. honest"*/ #ifdef CELE #define IRCII_COMMENT "Need for Speed!" #else #define IRCII_COMMENT "All your metadata are belong to us!" #endif /****************************************************************************/ /* these define what characters do, inverse, underline, bold and all off */ #define REV_TOG '\026' /* ^V */ #define UND_TOG '\037' /* ^_ */ #define BOLD_TOG '\002' /* ^B */ #define ALL_OFF '\017' /* ^O */ #define FULL_OFF '\004' /* internal, should be different than all others */ #define IRCD_BUFFER_SIZE 1024 #define BIG_BUFFER_SIZE (IRCD_BUFFER_SIZE * 4) #ifndef INPUT_BUFFER_SIZE #define INPUT_BUFFER_SIZE 1536 /* INPUT_BUFFER_SIZE: irc servers generally accept 512 bytes of input per line. Assuming the shortest considerable command begins with "PRIVMSG x :" and ends with a linefeed, this leaves 500 bytes of space for text. In dcc-chats, the line length is unlimited. In ircII, the input buffer is utf-8 encoded. This means that certain european characters take two bytes of space and most asian characters take three bytes of space. ( Reference: http://www.utf-8.com/ ) However, in some encodings that are used in IRC (such as ISO-8859-1 and SHIFT-JIS), some to most of those characters only take 1 byte of space. ( References: http://en.wikipedia.com/wiki/ISO_8859-1 http://en.wikipeda.com/wiki/SJIS ) Therefore, to be able to send a full 500-character line regardless of what characters it contains, we need 1500 bytes of free buffer space. We also need room for the command used to send the message - for example, "/msg bisqwit,#nipponfever,#gurb ". For that space, we use an arbitrarily chosen number that is bigger than 20. As a result, INPUT_BUFFER_SIZE is now set to 1536 (0x600). - Bisqwit */ #endif /* INPUT_BUFFER_SIZE */ #include "struct.h" #ifdef notdef # define DAEMON_UID 1 #endif #if 0 /* blundernet */ #define NICKNAME_LEN 9 #endif #define NAME_LEN 255 #define REALNAME_LEN 50 #define PATH_LEN 1024 #if defined(__hpux) || defined(hpux) || defined(_HPUX_SOURCE) # undef HPUX # define HPUX # ifndef HPUX7 # define killpg(pgrp,sig) kill(-pgrp,sig) # endif #endif #if defined(__sgi) # define USE_TERMIO #endif /* __sgi */ #ifdef DGUX # define USE_TERMIO # define inet_addr(x) inet_network(x) /* dgux lossage */ #endif /* DGUX */ /* * Lame Linux doesn't define X_OK in a non-broken header file, so * we define it here.. */ #if !defined(X_OK) # define X_OK 1 #endif #ifdef __BORLANDC__ # define F_OK 0 # define W_OK 2 # define R_OK 4 #endif #ifdef __osf__ # if __osf__ # define _BSD # endif #endif #if defined(UNICOS) && !defined(USE_TERMIO) # define USE_TERMIO #endif /* UNICOS */ /* systems without getwd() can lose, if this dies */ #if defined(NEED_GETCWD) # define getcwd(b, c) getwd(b); #endif #if defined(ISC22) || defined(ISC30) # define USE_TERMIO # define ISC #endif /* ISC22 || ISC30 */ #if defined(_AUX_SOURCE) && !defined(USE_TERMIO) # define USE_TERMIO #endif #ifdef MAIL_DIR # undef UNIX_MAIL # define UNIX_MAIL MAIL_DIR #endif #ifndef MIN # define MIN(a,b) ((a < b) ? (a) : (b)) #endif #ifndef MAX # define MAX(a,b) ((a < b) ? (b) : (a)) #endif /* MAX */ /* flags used by who() and whoreply() for who_mask */ #define WHO_OPS 0x0001 #define WHO_NAME 0x0002 #define WHO_ZERO 0x0004 #define WHO_CHOPS 0x0008 #define WHO_FILE 0x0010 #define WHO_HOST 0x0020 #define WHO_SERVER 0x0040 #define WHO_HERE 0x0080 #define WHO_AWAY 0x0100 #define WHO_NICK 0x0200 #define WHO_LUSERS 0x0400 #define WHO_REAL 0x0800 /**************************** PATCHED by Flier ******************************/ #define WHO_HOPS 0x1000 #define WHO_SHOW_SERVER 0x8000 /****************************************************************************/ #define WHO_NONCHOPS 0x10000 #ifdef ICONV_CONST_ARG2 #define iconv_const const #else #define iconv_const #endif /* * declared in irc.c */ extern char *cut_buffer; extern char oper_command; extern int irc_port; extern int send_text_flag; extern int irc_io_loop; extern int break_io_processing; extern int use_flow_control; extern u_char *joined_nick; extern u_char *public_nick; extern char empty_string[]; extern char *irczero; extern char *one; extern char irc_version[]; extern char *nickname; extern char *ircrc_file; extern char *ircquick_file; extern char hostname[]; extern char realname[]; extern char username[]; extern char *send_umode; extern u_char *last_notify_nick; extern int away_set; extern int background; extern char *my_path; extern char *irc_path; extern char *irc_lib; extern char *args_str; extern char *invite_channel; extern int who_mask; extern char *who_name; extern char *who_host; extern char *who_server; extern char *who_file; extern char *who_nick; extern char *who_real; extern char *cannot_open; extern int dumb; extern int use_input; extern time_t idle_time; extern int waiting; extern char wait_nick[]; extern char whois_nick[]; extern char lame_wait_nick[]; extern char **environ; extern int current_numeric; extern int qflag; extern int bflag; extern int tflag; extern struct in_addr local_ip_address; /* * XXX some of these should move to a new notice.h */ int irc_io _((char *, void (*)(u_int, char*), int, int)); void set_irchost _((void)); int wild_match _((char *, char *)); /**************************** PATCHED by Flier ******************************/ /*RETSIGTYPE irc_exit _((void));*/ RETSIGTYPE irc_exit _((int)); /****************************************************************************/ void beep_em _((int)); void got_initial_version _((char *)); void maybe_load_ircrc _((void)); void load_ircrc _((void)); void load_ircquick _((void)); void parse_notice _((char *, char **)); void irc_quit _((u_int, char *)); typedef struct WhoisStuffStru { char *nick; char *user; char *host; char *channel; char *channels; char *name; char *server; char *server_stuff; char *away; int oper; int chop; int not_on; } WhoisStuff; /* Moved into here, because some weird CC's can't do (void *) */ typedef struct WhoisQueueStru { char *nick; /* nickname of whois'ed person(s) */ char *text; /* additional text */ int type; /* Type of WHOIS queue entry */ /* * called with func((WhoisStuff *)stuff,(char *) nick, (char *) text) */ void (*func) _((WhoisStuff *, char *, char *)); struct WhoisQueueStru *next;/* next element in queue */ } WhoisQueue; char *getenv _((const char *)); #ifdef _Windows typedef long off_t; extern char *get_path(int iVal); #endif #ifdef _Windows #define define_big_buffer(x) char *x = (char *) new_malloc(BIG_BUFFER_SIZE + 1) #define free_big_buffer(x) new_free(&x) #else #define define_big_buffer(x) char x[BIG_BUFFER_SIZE + 1] #define free_big_buffer(x) (0) #endif #if defined(_Windows) #define IS_FULL_PATH(x) (x[0] == '/' || x[0] == '\\' || (x[0] && x[1] == ':')) #else #define IS_FULL_PATH(x) (x[0] == '/') #endif #endif /* __irc_h */ scrollz-2.2.3.orig/include/translat.h0000644000175000017500000000372112251073235017336 0ustar madhackmadhack/* * Global stuff for translation tables. * * Tomten, tomten@solace.hsh.se / tomten@lysator.liu.se * * $Id: translat.h,v 1.4 2006-04-30 14:15:43 f Exp $ */ #ifndef __translat_h_ # define __translat_h_ #include "defs.h" #ifdef HAVE_ICONV_H #include #endif void enter_digraph _((u_int, char *)); char get_digraph _((u_int)); void digraph _((char *, char *, char *)); void save_digraphs _((FILE *)); #ifndef HAVE_ICONV_OPEN typedef void *iconv_t; #endif typedef struct mb_data { unsigned input_bytes; /* How many bytes we ate */ unsigned output_bytes; /* How many bytes we produced */ unsigned num_columns; /* How many columns does this result take */ #ifdef HAVE_ICONV_OPEN iconv_t conv_in; iconv_t conv_out; const char* enc; #endif } mb_data; /* Returns true(1)/false(0) whether the given unival is printable */ char displayable_unival(unsigned unival, iconv_t conv_out); /* Sequence the given unicode value to the given utf-8 buffer */ void utf8_sequence(unsigned unival, u_char* utfbuf); /* Return the unicode value of the first character in the given utf-8 string */ unsigned calc_unival(const u_char *); /* Guess the width of the given unicode value in columns */ unsigned calc_unival_width(unsigned unival); /* Calculate the length of the unicode sequence beginning at given pos */ unsigned calc_unival_length(const u_char* ); void set_irc_encoding(char *); void set_input_encoding(char *); void set_display_encoding(char *); void mbdata_init(struct mb_data* d, const char* enc); void mbdata_done(struct mb_data* d); void decode_mb(u_char *ptr, u_char *dest, mb_data *data); # define DIG_TABLE_SIZE 256 extern char dig_table_lo[DIG_TABLE_SIZE]; extern char dig_table_hi[DIG_TABLE_SIZE]; extern char dig_table_di[DIG_TABLE_SIZE]; extern char digraph_hit; extern u_char digraph_first; #ifdef HAVE_ICONV_OPEN extern char *irc_encoding; extern char *display_encoding; extern char *input_encoding; #endif #endif /* __translat_h_ */ scrollz-2.2.3.orig/include/ircaux.h0000644000175000017500000000637112251073235017005 0ustar madhackmadhack/* * ircaux.h: header file for ircaux.c * * Written By Michael Sandrof * * Copyright (c) 1990 Michael Sandrof. * Copyright (c) 1991, 1992 Troy Rollo. * Copyright (c) 1992-2003 Matthew R. Green. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. The name of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * $Id: ircaux.h,v 1.7 2003-01-08 20:00:54 f Exp $ */ #ifndef __ircaux_h_ #define __ircaux_h_ #include char *next_arg _((char *, char **)); char *new_next_arg _((char *, char **)); char *expand_twiddle _((char *)); char *upper _((char *)); char *lower _((char *)); char *sindex _((char *, char *)); char *srindex _((char *, char *)); char *rfgets _((char *, int, FILE *)); char *path_search _((char *, char *)); char *double_quote _((char *, char *)); char *new_malloc _((size_t)); #ifdef ALLOC_DEBUG void alloc_cmd _((char *, char *, char *)); #endif char *new_realloc _((char *, size_t)); void malloc_strcpy _((char **, char *)); void malloc_strcat _((char **, char *)); void malloc_strcat_ue _((char **, char *)); void new_free _((void *)); void wait_new_free _((char **)); FILE *zcat _((char *)); int is_number _((char *)); /**************************** PATCHED by Flier ******************************/ /*int connect_by_number _((int, char *, int));*/ int connect_by_number _((int, char *, int, int)); /****************************************************************************/ int my_stricmp _((char *, char *)); int my_strnicmp _((char *, char *, size_t)); int set_non_blocking _((int)); int set_blocking _((int)); int scanstr _((char *, char *)); void really_free _((int)); void strmcpy _((char *, char *, size_t)); void strmcat _((char *, char *, size_t)); void strmcat_ue _((char *, char *, size_t)); /**************************** PATCHED by Flier ******************************/ char *check_nickname _((char *)); /****************************************************************************/ #endif /* __ircaux_h_ */ scrollz-2.2.3.orig/include/newio.h0000644000175000017500000000474412251073235016635 0ustar madhackmadhack/* * newio.h - header for newio.c * * written by matthew green * * Copyright (c) 1995-2003 Matthew R. Green. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. The name of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * $Id: newio.h,v 1.6 2007-03-30 15:27:36 f Exp $ */ #ifndef __newio_h_ # define __newio_h_ /**************************** Patched by Flier ******************************/ #if defined(HAVE_SSL) || defined(HAVE_OPENSSL) #include "myssl.h" #endif /****************************************************************************/ #ifdef ESIX void mark_socket _((int)); void unmark_socket _((int)); #endif time_t dgets_timeout _((int)); int dgets _((char *, int, int, char *)); /**************************** PATCHED by Flier ******************************/ #if defined(HAVE_SSL) int SSL_dgets _((char *, int, int, char *, gnutls_session *)); #elif defined(HAVE_OPENSSL) int SSL_dgets _((char *, int, int, char *, SSL *)); #endif /****************************************************************************/ int new_select _((fd_set *, fd_set *, struct timeval *)); void new_close _((int)); void set_socket_options _((int)); #endif /* __newio_h_ */ scrollz-2.2.3.orig/include/rijndael-alg-ref.h0000644000175000017500000000175612251073235020617 0ustar madhackmadhack/* rijndael-alg-ref.h v2.0 August '99 * Reference ANSI C code * authors: Paulo Barreto * Vincent Rijmen * * $Id: rijndael-alg-ref.h,v 1.1 2002-01-21 21:37:35 f Exp $ * */ #ifndef __RIJNDAEL_ALG_H #define __RIJNDAEL_ALG_H #define MAXBC (256/32) #define MAXKC (256/32) #define MAXROUNDS 14 typedef unsigned char word8; typedef unsigned short word16; typedef unsigned long word32; int rijndaelKeySched (word8 k[4][MAXKC], int keyBits, int blockBits, word8 rk[MAXROUNDS+1][4][MAXBC]); int rijndaelEncrypt (word8 a[4][MAXBC], int keyBits, int blockBits, word8 rk[MAXROUNDS+1][4][MAXBC]); int rijndaelEncryptRound (word8 a[4][MAXBC], int keyBits, int blockBits, word8 rk[MAXROUNDS+1][4][MAXBC], int rounds); int rijndaelDecrypt (word8 a[4][MAXBC], int keyBits, int blockBits, word8 rk[MAXROUNDS+1][4][MAXBC]); int rijndaelDecryptRound (word8 a[4][MAXBC], int keyBits, int blockBits, word8 rk[MAXROUNDS+1][4][MAXBC], int rounds); #endif /* __RIJNDAEL_ALG_H */ scrollz-2.2.3.orig/include/parse.h0000644000175000017500000000345512251073235016624 0ustar madhackmadhack/* * parse.h * * written by matthew green * * Copyright (c) 1993-1998 Matthew R. Green. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. The name of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * $Id: parse.h,v 1.2 2000-08-14 20:38:13 f Exp $ */ #ifndef __parse_h_ # define __parse_h_ char *PasteArgs _((char **, int)); void parse_server _((char *)); void irc2_parse_server _((char *)); int is_channel _((char *)); extern char *FromUserHost; extern int doing_privmsg; #endif /* __parse_h_ */ scrollz-2.2.3.orig/include/struct.h0000644000175000017500000003546212251073235017041 0ustar madhackmadhack/* * struct.h: header file for structures needed for prototypes * * Written by Scott Reynolds, based on code by Michael Sandrof * * Copyright(c) 1995 Scott Reynolds. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. The name of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * $Id: struct.h,v 1.19 2006-10-31 12:31:27 f Exp $ */ /**************************** PATCHED by Flier ******************************/ #include "mystructs.h" /****************************************************************************/ #ifndef __struct_h_ #define __struct_h_ /* * ctcp_entry: the format for each ctcp function. note that the function * described takes 4 parameters, a pointer to the ctcp entry, who the message * was from, who the message was to (nickname, channel, etc), and the rest of * the ctcp message. it can return null, or it can return a malloced string * that will be inserted into the oringal message at the point of the ctcp. * if null is returned, nothing is added to the original message */ typedef struct _ctcp_entry { char *name; /* name of ctcp datatag */ char *desc; /* description returned by ctcp clientinfo */ int flag; char *(*func) _((struct _ctcp_entry *, char *, char *, char *)); /* function that does the dirty deed */ } CtcpEntry; typedef struct DCC_struct { unsigned flags; int read; int write; int file; off_t filesize; char *description; char *user; char *othername; struct DCC_struct *next; struct in_addr remote; u_short remport; off_t bytes_read; off_t bytes_sent; time_t lasttime; time_t starttime; char *buffer; /**************************** PATCHED by Flier ******************************/ /*char talkchars[3];*/ time_t CdccTime; int server; off_t resendoffset; float minspeed; #if defined(NON_BLOCKING_CONNECTS) int eof; int hyperdcc; #endif #ifdef TDF char *addr; char *port; #endif /****************************************************************************/ } DCC_list; /* Hold: your general doubly-linked list type structure */ typedef struct HoldStru { char *str; struct HoldStru *next; struct HoldStru *prev; int logged; } Hold; typedef struct lastlog_stru { int level; char *msg; struct lastlog_stru *next; struct lastlog_stru *prev; } Lastlog; struct MenuOptionTag { char *Name; char *Arguments; void (*Func) _((char *)); }; typedef struct MenuOptionTag MenuOption; struct MenuTag { struct MenuTag *next; char *Name; int TotalOptions; MenuOption **Options; }; typedef struct MenuTag Menu; struct ScreenStru; /* ooh! */ struct WindowMenuTag { Menu *menu; int lines; int items_per_line; int cursor; }; typedef struct WindowMenuTag WindowMenu; /* NickList: structure for the list of nicknames of people on a channel */ typedef struct nick_stru { struct nick_stru *next; /* pointer to next nickname entry */ char *nick; /* nickname of person on channel */ int chanop; /* True if the given nick has chanop */ int hasvoice; /* Has voice? (Notice this is a bit unreliable if chanop) */ /**************************** PATCHED by Flier ******************************/ int halfop; /* True if the given nick has halfop */ char *userhost; struct friends *frlist; struct autobankicks *shitlist; int plush,minush,pluso,minuso,plusb,minusb,kick,nickc,publics; char curo,curk,curn; char deopp,kickp,nickp; time_t deopt,kickt,nickt,lastmsg; /****************************************************************************/ } NickList; typedef struct DisplayStru { char *line; int linetype; struct DisplayStru *next; } Display; typedef struct WindowStru { unsigned int refnum; /* the unique reference number, * assigned by IRCII */ char *name; /* window's logical name */ int server; /* server index */ int prev_server; /* previous server index */ int top; /* The top line of the window, screen * coordinates */ int bottom; /* The botton line of the window, screen * coordinates */ int cursor; /* The cursor position in the window, window * relative coordinates */ int line_cnt; /* counter of number of lines displayed in * window */ int scroll; /* true, window scrolls... false window wraps */ int display_size; /* number of lines of window - menu lines */ int old_size; /* if new_size != display_size, * resize_display is called */ int visible; /* true, window is drawn... false window is * hidden */ int update; /* window needs updating flag */ unsigned miscflags; /* Miscellaneous flags. */ char *prompt; /* A prompt string, usually set by EXEC'd process */ /**************************** PATCHED by Flier ******************************/ /*char *status_line[2];*/ /* The status lines strings */ char *status_line[3]; /* The status lines strings */ /****************************************************************************/ int double_status; /* Display the 2nd status line ?*/ Display *top_of_display, /* Pointer to first line of display structure */ *display_ip; /* Pointer to insertiong point of display * structure */ char *current_channel; /* Window's current channel */ /**************************** PATCHED by Flier ******************************/ /*char *bound_channel;*/ /* Channel that belongs in this window */ struct channels *bound_chans; /* Bound channels in this window */ /****************************************************************************/ char *query_nick; /* User being QUERY'ied in this window */ NickList *nicks; /* List of nicks that will go to window */ int window_level; /* The LEVEL of the window, determines what * messages go to it */ /* hold stuff */ int hold_mode; /* true, hold mode is on for window... * false it isn't */ int hold_on_next_rite; /* true, the next call to rite() will * activate a hold */ int held; /* true, the window is currently being * held */ int last_held; /* Previous value of hold flag. Used * for various updating needs */ Hold *hold_head, /* Pointer to first entry in hold * list */ *hold_tail; /* Pointer to last entry in hold list */ int held_lines; /* number of lines being held */ int scrolled_lines; /* number of lines scrolled back */ int new_scrolled_lines; /* number of lines since scroll back * keys where pressed */ WindowMenu menu; /* The menu (if any) */ /* lastlog stuff */ Lastlog *lastlog_head; /* pointer to top of lastlog list */ Lastlog *lastlog_tail; /* pointer to bottom of lastlog list */ int lastlog_level; /* The LASTLOG_LEVEL, determines what * messages go to lastlog */ int lastlog_size; /* Max number of messages for the window * lastlog */ int notify_level; /* the notify level.. */ char *logfile; /* window's logfile name */ /* window log stuff */ int log; /* true, file logging for window is on */ FILE *log_fp; /* file pointer for the log file */ struct ScreenStru *screen; int server_group; /* server group number */ struct WindowStru *next; /* pointer to next entry in window list (null * is end) */ struct WindowStru *prev; /* pointer to previous entry in window list * (null is end) */ int sticky; /* make channels stick to window when changing servers ? */ } Window; /* * WindowStack: The structure for the POP, PUSH, and STACK functions. A * simple linked list with window refnums as the data */ typedef struct window_stack_stru { unsigned int refnum; struct window_stack_stru *next; } WindowStack; typedef struct { int top; int bottom; int position; } ShrinkInfo; typedef struct PromptStru { char *prompt; char *data; int type; void (*func) _((char *, char *)); struct PromptStru *next; } WaitPrompt; typedef struct ScreenInputBufferData { char buf[INPUT_BUFFER_SIZE+1]; unsigned pos; unsigned minpos; /* If you put pointers here, remember to change * change_input_prompt() which uses memcpy to * make copies of this struct */ } ScreenInputBufferData; typedef struct ScreenInputData { ScreenInputBufferData buffer; ScreenInputBufferData saved_buffer; /* Used by update_input() to check if the screen geometry has changed */ int old_co, old_li; /* screen->co = number of columns on screen * * buffer.buf = input line and prompt (utf-8 encoded) * buffer.pos = byte position of the cursor within string * buffer.minpos = length of prompt in bytes * * When update_input() is ran, * It checks if the prompt in buffer differs from input_prompt. * If it does, it replaces the buffer-prompt with the new prompt. * And sets update to UPDATE_ALL * * If geometry has changed, * update is set to UPDATE_ALL * * left_ptr = byte-position of the left edge of screen in buffer * recalculated when: * update==UPDATE_JUST_CURSOR * update==UPDATE_ALL * * pos_column = column position of the cursor in the buffer * recalculated when left_ptr is too * * cursor_x = cursor horizontal position on screen (columns, not chars, not bytes) * recalculated when: * update==UPDATE_JUST_CURSOR * update==UPDATE_ALL * * cursor_y = cursor vertical position on screen (lines) * recalculated when screen geometry has changed * * zone = screen width */ unsigned zone; unsigned cursor_x; unsigned cursor_y; unsigned left_ptr; unsigned pos_column; } ScreenInputData; typedef struct ScreenStru { int screennum; Window *current_window; unsigned int last_window_refnum; /* reference number of the * window that was last * the current_window */ Window *window_list; /* List of all visible * windows */ Window *window_list_end; /* end of visible window * list */ Window *cursor_window; /* Last window to have * something written to it */ int visible_windows; /* total number of windows */ WindowStack *window_stack; /* the windows here */ int meta1_hit; /* if meta1 is hit in this * screen or not */ int meta2_hit; /* above, for meta2 */ int meta3_hit; /* above, for meta3 */ int meta4_hit; /* above, for meta4 */ int meta5_hit; /* above, for meta5 */ int meta6_hit; /* above, for meta6 */ int meta7_hit; /* above, for meta7 */ int meta8_hit; /* above, for meta8 */ int quote_hit; /* true if a key bound to * QUOTE_CHARACTER has been * hit. */ int digraph_hit; /* A digraph key has been hit */ int inside_menu; /* what it says. */ unsigned char digraph_first; struct ScreenStru *prev; /* These are the Screen list */ struct ScreenStru *next; /* pointers */ FILE *fpin; /* These are the file pointers */ int fdin; /* and descriptions for the */ FILE *fpout; /* screen's input/output */ int fdout; int wservin; /* control socket for wserv */ WaitPrompt *promptlist; char *redirect_name; char *redirect_token; int redirect_server; char *tty_name; int co, li; /* term.c:term_resize() */ int old_term_co, old_term_li; ScreenInputData inputdata; int alive; } Screen; /**************************** PATCHED by Flier ******************************/ /* structure needed for storing pointers to nicks in hash table */ struct hashstr { struct hashstr *next; NickList *nick; }; /****************************************************************************/ /* ChannelList: structure for the list of channels you are current on */ typedef struct channel_stru { struct channel_stru *next; /* pointer to next channel entry */ char *channel; /* channel name */ int server; /* server index for this channel */ u_long mode; /* Current mode settings for channel */ char *s_mode; /* cached string version of modes */ int limit; /* max users for the channel */ char *key; /* key for this channel */ int connected; /* connection status */ #define CHAN_LIMBO -1 #define CHAN_JOINING 0 #define CHAN_JOINED 1 Window *window; /* the window that the channel is "on" */ NickList *nicks; /* pointer to list of nicks on channel */ int status; /* different flags */ #define CHAN_CHOP 0x01 #define CHAN_NAMES 0x04 #define CHAN_MODE 0x08 /**************************** PATCHED by Flier ******************************/ #define CHAN_VOICE 0x10 #define CHAN_HALFOP 0x20 int plush, minush, pluso, minuso, plusb, minusb, topic, kick, pub; int servplush, servminush, servpluso, servminuso, servplusb, servminusb; int AutoRejoin, MDopWatch, ShowFakes, KickOnFlood, KickWatch, IdleKick; int NHProt, NickWatch, ShowAway, KickOps, KickOnBan, Bitch, FriendList; int CompressModes, TryRejoin, BKList, ChanLog; int gotbans, gotwho, repeatexceptions; char *topicstr; char *topicwho; time_t topicwhen; struct timeval time; time_t creationtime; struct bans *banlist; struct hashstr *nickshash[HASHTABLESIZE]; char *modelock; char *topiclock; char *chanlogfpath; /****************************************************************************/ } ChannelList; typedef struct list_stru { struct list_stru *next; char *name; } List; /**************************** Patched by Flier ******************************/ /* moved here so we can do tab completion on commands */ /* IrcCommand: structure for each command in the command table */ typedef struct { char *name; /* what the user types */ char *server_func; /* what gets sent to the server * (if anything) */ void (*func) _((char *, char *, char *)); /* function that is the command */ unsigned flags; } IrcCommand; #endif /* __struct_h_ */ /****************************************************************************/ scrollz-2.2.3.orig/include/funny.h0000644000175000017500000000422312251073235016643 0ustar madhackmadhack/* * funny.h: header for funny.c * * written by michael sandrof * * Copyright (c) 1990 Michael Sandrof. * Copyright (c) 1991, 1992 Troy Rollo. * Copyright (c) 1992-2003 Matthew R. Green. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. The name of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * $Id: funny.h,v 1.2 2003-01-08 20:00:54 f Exp $ */ #ifndef __funny_h_ #define __funny_h_ #define FUNNY_PUBLIC 1 #define FUNNY_PRIVATE 2 #define FUNNY_TOPIC 4 #define FUNNY_WIDE 8 #define FUNNY_USERS 16 #define FUNNY_NAME 32 void set_funny_flags _((int, int, int)); void funny_match _((char *)); void reinstate_user_modes _((void)); void funny_print_widelist _((void)); void funny_list _((char *, char **)); void funny_mode _((char *, char **)); void funny_namreply _((char *, char **)); void update_user_mode _((char *)); #endif /* __funny_h_ */ scrollz-2.2.3.orig/include/ignore.h0000644000175000017500000000573412252352377017007 0ustar madhackmadhack/* * ignore.h: header for ignore.c * * Written By Michael Sandrof * * Copyright (c) 1990 Michael Sandrof. * Copyright (c) 1991, 1992 Troy Rollo. * Copyright (c) 1992-2003 Matthew R. Green. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. The name of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * $Id: ignore.h,v 1.5 2003-04-16 17:13:44 f Exp $ */ #ifndef __ignore_h_ #define __ignore_h_ /* declared in ignore.c */ int is_ignored _((char *, int)); int ignore_combo _((int, int)); int double_ignore _((char *, char *, int)); void ignore _((char *, char *, char *)); int get_ignore_type _((char *)); extern int ignore_usernames; extern char highlight_char; /* Type of ignored nicks */ #define IGNORE_MSGS 0x0001 #define IGNORE_PUBLIC 0x0002 #define IGNORE_WALLS 0x0004 #define IGNORE_WALLOPS 0x0008 #define IGNORE_INVITES 0x0010 #define IGNORE_NOTICES 0x0020 #define IGNORE_NOTES 0x0040 #define IGNORE_CTCPS 0x0080 #define IGNORE_CRAP 0x0100 /**************************** Patched by Flier ******************************/ /*#define IGNORE_ALL (IGNORE_MSGS | IGNORE_PUBLIC | IGNORE_WALLS | \ IGNORE_WALLOPS | IGNORE_INVITES | IGNORE_NOTICES | IGNORE_NOTES | \ IGNORE_CTCPS | IGNORE_CRAP)*/ #define IGNORE_PART 0x0200 #define IGNORE_JOIN 0x0400 #define IGNORE_NICK 0x0800 #define IGNORE_QUIT 0x1000 #define IGNORE_ALL (IGNORE_MSGS | IGNORE_PUBLIC | IGNORE_WALLS | \ IGNORE_WALLOPS | IGNORE_INVITES | IGNORE_NOTICES | IGNORE_NOTES | \ IGNORE_CTCPS | IGNORE_CRAP | IGNORE_PART | IGNORE_JOIN | \ IGNORE_NICK | IGNORE_QUIT) /****************************************************************************/ #define IGNORED 1 #define DONT_IGNORE 2 #define HIGHLIGHTED -1 #endif /* __ignore_h_ */ scrollz-2.2.3.orig/include/blowfish.h0000644000175000017500000000103312251073235017315 0ustar madhackmadhack#ifndef _blowfish_h_ #define _blowfish_h_ /* * Routines for Blowfish encryption * * $Id: blowfish.h,v 1.7 2009-12-21 14:14:17 f Exp $ */ static unsigned int F _((unsigned int)); static void BlowfishEncipher _((unsigned int *, unsigned int *)); static void BlowfishDecipher _((unsigned int *, unsigned int *)); static void BlowfishInit _((char *, int, int)); int EncryptString _((char *, char *, char *, int, int, int)); int Base64Decode _((char)); int DecryptString _((char *, char *, char *, int, int)); #endif /* _blowfish_h_ */ scrollz-2.2.3.orig/include/edit.h0000644000175000017500000000706512251073235016440 0ustar madhackmadhack/* * edit.h: header for edit.c * * Written By Michael Sandrof * * Copyright (c) 1990 Michael Sandrof. * Copyright (c) 1991, 1992 Troy Rollo. * Copyright (c) 1992-2003 Matthew R. Green. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. The name of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * $Id: edit.h,v 1.6 2003-01-08 20:00:54 f Exp $ */ #ifndef __edit_h_ #define __edit_h_ extern u_char *sent_nick; extern u_char *sent_body; extern u_char *recv_nick; void load _((char *, char *, char *)); void send_text _((char *, char *, char *)); void eval_inputlist _((char *, char *)); void parse_command _((char *, int, char *)); void parse_line _((char *, char *, char *, int, int, int)); void edit_char _((u_int)); void execute_timer _((void)); void ison_now _((WhoisStuff *, char *, char *)); void redirect_msg _((char *, char *)); void query _((char *, char *, char *)); void forward_character _((u_int, char *)); void backward_character _((u_int, char *)); void forward_history _((u_int, char *)); void backward_history _((u_int, char *)); void toggle_insert_mode _((u_int, char *)); void send_line _((u_int, char *)); void meta1_char _((u_int, char *)); void meta2_char _((u_int, char *)); void meta3_char _((u_int, char *)); void meta4_char _((u_int, char *)); void meta5_char _((u_int, char *)); void meta6_char _((u_int, char *)); void meta7_char _((u_int, char *)); void meta8_char _((u_int, char *)); void quote_char _((u_int, char *)); void type_text _((u_int, char *)); void parse_text _((u_int, char *)); void irc_clear_screen _((u_int, char *)); void command_completion _((u_int, char *)); void e_quit _((char *, char *, char *)); int check_wait_command _((char *)); #define AWAY_ONE 0 #define AWAY_ALL 1 #define STACK_POP 0 #define STACK_PUSH 1 #define STACK_SWAP 2 /* a structure for the timer list */ typedef struct timerlist_stru { int ref; int in_on_who; time_t time; unsigned microseconds; /**************************** PATCHED by Flier ******************************/ int visible; void (*func)(); /****************************************************************************/ int server; char *command; struct timerlist_stru *next; } TimerList; extern TimerList *PendingTimers; #endif /* __edit_h_ */ scrollz-2.2.3.orig/include/ctcp.h0000644000175000017500000000457712251073235016451 0ustar madhackmadhack/* * ctcp.h: header file for ctcp.c * * Written By Michael Sandrof * * Copyright (c) 1990 Michael Sandrof. * Copyright (c) 1991, 1992 Troy Rollo. * Copyright (c) 1992-2003 Matthew R. Green. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. The name of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * $Id: ctcp.h,v 1.4 2003-01-08 20:00:54 f Exp $ */ #ifndef __ctcp_h_ #define __ctcp_h_ #define CTCP_DELIM_CHAR '\001' #define CTCP_DELIM_STR "\001" #define CTCP_QUOTE_CHAR '\\' #define CTCP_QUOTE_STR "\\" #define CTCP_QUOTE_EM "\n\r\001\\" #define CTCP_PRIVMSG 0 #define CTCP_NOTICE 1 extern char *ctcp_type[]; extern int sed; char *do_ctcp _((char *, char *, char *)); char *ctcp_quote_it _((char *, size_t)); char *ctcp_unquote_it _((char *, size_t *)); char *do_notice_ctcp _((char *, char *, char *)); int in_ctcp _((void)); #ifdef HAVE_STDARG_H void send_ctcp_reply _((char *, char *, char *, ...)); void send_ctcp _((char *, char *, char *, char *, ...)); #else void send_ctcp_reply _(()); void send_ctcp _(()); #endif /* HAVE_STDARG_H */ #endif /* __ctcp_h_ */ scrollz-2.2.3.orig/include/screen.h0000644000175000017500000000722112251073235016764 0ustar madhackmadhack/* * screen.h: header for screen.c * * written by matthew green. * * Copyright (c) 1993-2003 Matthew R. Green. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. The name of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * see the copyright file, or type help ircii copyright * * $Id: screen.h,v 1.7 2008-12-01 15:41:36 f Exp $ */ #ifndef __screen_h_ #define __screen_h_ #include "window.h" #define WAIT_PROMPT_LINE 0x01 #define WAIT_PROMPT_KEY 0x02 /* Stuff for the screen/xterm junk */ #define ST_NOTHING -1 #define ST_SCREEN 0 #define ST_XTERM 1 /* This is here because it happens in so many places */ #define curr_scr_win current_screen->current_window void clear_window _((Window *)); void recalculate_window_positions _((void)); int output_line _((char *, int)); void recalculate_windows _((void)); Window *create_additional_screen _((void)); void scroll_window _((Window *)); Window *new_window _((void)); void update_all_windows _((void)); void add_wait_prompt _((char *, void (*)(char *, char *), char *, int)); void clear_all_windows _((int)); void cursor_in_display _((void)); int is_cursor_in_display _((void)); void cursor_not_in_display _((void)); void set_current_screen _((Screen *)); void window_redirect _((char *, int)); void redraw_resized _((Window *, ShrinkInfo, int)); void close_all_screen _((void)); void scrollback_forwards _((u_int, char *)); void scrollback_backwards _((u_int, char *)); void scrollback_end _((u_int, char *)); void scrollback_start _((u_int, char *)); int check_screen_redirect _((char *)); void kill_screen _((Screen *)); int is_main_screen _((Screen *)); int rite _((Window *, char *, int, int, int, int)); ShrinkInfo resize_display _((Window *)); void redraw_all_windows _((void)); Window *add_to_screen _((char *)); void screen_wserv_message _((Screen *screen)); /**************************** PATCHED by Flier ******************************/ void redraw_window _((Window *, int, int)); /****************************************************************************/ int my_strlen_i _((char *)); int my_strlen_c _((char *)); int my_strlen_ci _((char *)); void my_strcpy_ci _((char *, char *)); extern Window *to_window; extern Screen *current_screen; extern Screen *main_screen; extern Screen *last_input_screen; extern Screen *screen_list; #endif /* __screen_h_ */ scrollz-2.2.3.orig/include/myssl.h0000644000175000017500000000124412251073235016653 0ustar madhackmadhack#ifndef _myssl_h_ #define _myssl_h_ #if defined(HAVE_SSL) || defined(HAVE_OPENSSL) #if defined(HAVE_SSL) #include #elif defined(HAVE_OPENSSL) #include #include #include #include #include #endif #ifndef TRUE #define TRUE 0 #endif #ifndef FALSE #define FALSE 1 #endif #define CHK_NULL(x) if ((x)==NULL) { say("SSL error - NULL data form server"); return; } #define CHK_ERR(err, s) if ((err)==-1) { say("SSL prime error - %s", s); return; } #define CHK_SSL(err) if ((err)==-1) { say("SSL error - %d", err); return; } #endif /* SSL || HAVE_SSL */ #endif /* _myssl_h_ */ scrollz-2.2.3.orig/include/list.h0000644000175000017500000000467712251073235016474 0ustar madhackmadhack/* * list.h: header for list.c * * Written By Michael Sandrof * * Copyright (c) 1990 Michael Sandrof. * Copyright (c) 1991, 1992 Troy Rollo. * Copyright (c) 1992-2003 Matthew R. Green. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. The name of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * $Id: list.h,v 1.2 2003-01-08 20:00:54 f Exp $ */ #ifndef __list_h_ #define __list_h_ void add_to_list _((List **, List *)); List *find_in_list _((List **, char *, int)); List *remove_from_list _((List **, char *)); List *list_lookup_ext _((List **, char *, int, int, int (*)(List *, char *))); List *list_lookup _((List **, char *, int, int)); List *remove_from_list_ext _((List **, char *, int (*)(List *, char *))); void add_to_list_ext _((List **, List *, int (*)(List *, List *))); List *find_in_list_ext _((List **, char *, int, int (*)(List *, char *))); /**************************** PATCHED by Flier ******************************/ NickList *find_in_hash _((ChannelList *, char *)); /****************************************************************************/ #define REMOVE_FROM_LIST 1 #define USE_WILDCARDS 1 #endif /* __list_h_ */ scrollz-2.2.3.orig/include/dcc.h0000644000175000017500000001045712251073235016243 0ustar madhackmadhack/* * dcc.h: Things dealing client to client connections. * * Written By Troy Rollo * * Copyright (c) 1990 Michael Sandrof. * Copyright (c) 1991, 1992 Troy Rollo. * Copyright (c) 1992-2003 Matthew R. Green. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. The name of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * $Id: dcc.h,v 1.4 2003-01-08 20:00:54 f Exp $ */ /* * this file must be included after irc.h as i needed * and and, possibly, */ #ifndef __dcc_h_ #define __dcc_h_ #define DCC_CHAT ((unsigned) 0x0001) #define DCC_FILEOFFER ((unsigned) 0x0002) #define DCC_FILEREAD ((unsigned) 0x0003) /**************************** PATCHED by Flier ******************************/ /*#define DCC_TALK ((unsigned) 0x0004) #define DCC_SUMMON ((unsigned) 0x0005) #define DCC_RAW_LISTEN ((unsigned) 0x0006) #define DCC_RAW ((unsigned) 0x0007)*/ #define DCC_RAW_LISTEN ((unsigned) 0x0004) #define DCC_RAW ((unsigned) 0x0005) #define DCC_RESENDOFFER ((unsigned) 0x0006) #define DCC_FILEREGET ((unsigned) 0x0007) /****************************************************************************/ #define DCC_TYPES ((unsigned) 0x000f) #define DCC_WAIT ((unsigned) 0x0010) #define DCC_ACTIVE ((unsigned) 0x0020) #define DCC_OFFER ((unsigned) 0x0040) #define DCC_DELETE ((unsigned) 0x0080) #define DCC_TWOCLIENTS ((unsigned) 0x0100) #ifdef NON_BLOCKING_CONNECTS #define DCC_CNCT_PEND ((unsigned) 0x0200) #endif /* NON_BLOCKING_CONNECTS */ #define DCC_STATES ((unsigned) 0xfff0) /**************************** PATCHED by Flier ******************************/ /*#define DCC_TALK_CHECK 0 #define DCC_TALK_INVITE 1 #define DCC_TALK_ANNOUNCE 2 #define DCC_TALK_DELETE_LOCAL 3 #define DCC_TALK_DELETE_REMOTE 4 #define DCC_TALK_SUMMON 5 #define DCC_TALK_DELETE_SUMMON 6*/ #define DCC_PACKETID 0xfeab struct transfer_struct { unsigned short packet_id; unsigned char byteorder; unsigned long byteoffset; }; /****************************************************************************/ DCC_list * dcc_searchlist _((char *, char *, int, int, char *)); void dcc_erase _((DCC_list *)); void register_dcc_offer _((char *, char *, char *, char *, char *, char *)); void process_dcc _((char *)); char *dcc_raw_connect _((char *, u_int)); char *dcc_raw_listen _((u_int)); void dcc_list _((char *)); void dcc_chat_transmit _((char *, char *)); void dcc_message_transmit _((char *, char *, int, int)); /**************************** PATCHED by Flier ******************************/ /*int send_talk_control _((DCC_list *, int));*/ /****************************************************************************/ void close_all_dcc _((void)); void set_dcc_bits _((fd_set *, fd_set *)); void dcc_check _((fd_set *, fd_set *)); /**************************** PATCHED by Flier ******************************/ unsigned char byteordertest _((void)); /****************************************************************************/ extern DCC_list *ClientList; #endif /* __dcc_h_ */ scrollz-2.2.3.orig/include/whois.h0000644000175000017500000001030612251073235016634 0ustar madhackmadhack/* * whois.h: header for whois.c * * Written By Michael Sandrof * * Copyright (c) 1990 Michael Sandrof. * Copyright (c) 1991, 1992 Troy Rollo. * Copyright (c) 1992-2003 Matthew R. Green. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. The name of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * $Id: whois.h,v 1.7 2008-05-13 14:55:48 f Exp $ */ #ifndef __whois_h_ # define __whois_h_ #ifdef HAVE_STDARG_H void add_to_whois_queue _((char *, void (*) (WhoisStuff *, char *, char *), char *, ...)); # else void add_to_whois_queue _(()); #endif /* HAVE_STDARG_H */ void add_ison_to_whois _((char *, void (*) (WhoisStuff *, char *, char *))); /**************************** PATCHED by Flier ******************************/ void add_userhost_to_whois _((char *, void (*) (WhoisStuff *, char *, char *))); /****************************************************************************/ void whois_name _((char *, char **)); void whowas_name _((char *, char **)); void whois_channels _((char *, char **)); void whois_server _((char *, char **)); void whois_oper _((char *, char **)); /**************************** Patched by Flier ******************************/ void whois_admin _((char *, char **)); void whois_identified _((char *, char **)); void whois_actually _((char *, char **)); void whois_secure _((char *, char **)); void whois_connecting _((char *, char **)); /****************************************************************************/ void whois_lastcom _((char *, char **)); void whois_nickname _((WhoisStuff *, char *, char *)); void whois_ignore_msgs _((WhoisStuff *, char *, char *)); void whois_ignore_notices _((WhoisStuff *, char *, char *)); void whois_ignore_walls _((WhoisStuff *, char *, char *)); void whois_ignore_invites _((WhoisStuff *, char *, char *)); void whois_notify _((WhoisStuff *, char *, char *)); void whois_new_wallops _((WhoisStuff *, char *, char *)); void clean_whois_queue _((void)); void set_beep_on_msg _((char *)); void userhost_cmd_returned _((WhoisStuff *, char *, char *)); void user_is_away _((char *, char **)); void userhost_returned _((char *, char **)); void ison_returned _((char *, char **)); void whois_chop _((char *, char **)); void end_of_whois _((char *, char **)); void whoreply _((char *, char **)); void convert_to_whois _((void)); void ison_notify _((WhoisStuff *, char *, char *)); /**************************** PATCHED by Flier ******************************/ /*void no_such_nickname _((char *, char **));*/ void no_such_nickname _((char *, char **, int)); /****************************************************************************/ extern int beep_on_level; extern char *redirect_format; #define WHOIS_WHOIS 0x01 #define WHOIS_USERHOST 0x02 #define WHOIS_ISON 0x04 #define WHOIS_ISON2 0x08 #define USERHOST_USERHOST ((void (*)_((WhoisStuff *, char *, char *))) 1) #endif /* __whois_h_ */ scrollz-2.2.3.orig/include/queue.h0000644000175000017500000000321512251073235016630 0ustar madhackmadhack/* * queue.h: header for queue.c * * Copyright (c) 1994-1998 Matthew R. Green. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. The name of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * $Id: queue.h,v 1.1 1998-09-10 17:31:12 f Exp $ */ #ifndef __queue_h # define __queue_h void queuecmd _((char *, char *, char *)); #endif /* __queue_h */ scrollz-2.2.3.orig/include/fish.h0000644000175000017500000004003412251073235016435 0ustar madhackmadhack#ifndef _fish_h_ #define _fish_h_ /* * FiSH encryption * * $Id: fish.h,v 1.2 2008-03-11 15:51:03 f Exp $ */ #include "dh1080.h" #include "irc.h" #include #include #define MAXKEYBYTES 56 /* 448 bits */ #define bf_N 16 #define noErr 0 #define DATAERROR -1 #define KEYBYTES 8 #define SZBLOWSTR1 "+OK " #define SZBLOWSTR2 "mcps " typedef unsigned int u_32bit_t; typedef unsigned short int u_16bit_t; typedef unsigned char u_8bit_t; union aword { u_32bit_t word; u_8bit_t byte[4]; struct { #ifdef WORDS_BIGENDIAN unsigned int byte0:8; unsigned int byte1:8; unsigned int byte2:8; unsigned int byte3:8; #else /* !WORDS_BIGENDIAN */ unsigned int byte3:8; unsigned int byte2:8; unsigned int byte1:8; unsigned int byte0:8; #endif /* !WORDS_BIGENDIAN */ } w; }; unsigned char B64[]="./0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"; /* Blowfish P-box and S-box tables */ static u_32bit_t initbf_P[bf_N + 2] = { 0x243f6a88, 0x85a308d3, 0x13198a2e, 0x03707344, 0xa4093822, 0x299f31d0, 0x082efa98, 0xec4e6c89, 0x452821e6, 0x38d01377, 0xbe5466cf, 0x34e90c6c, 0xc0ac29b7, 0xc97c50dd, 0x3f84d5b5, 0xb5470917, 0x9216d5d9, 0x8979fb1b, }; static u_32bit_t initbf_S[4][256] = { { 0xd1310ba6, 0x98dfb5ac, 0x2ffd72db, 0xd01adfb7, 0xb8e1afed, 0x6a267e96, 0xba7c9045, 0xf12c7f99, 0x24a19947, 0xb3916cf7, 0x0801f2e2, 0x858efc16, 0x636920d8, 0x71574e69, 0xa458fea3, 0xf4933d7e, 0x0d95748f, 0x728eb658, 0x718bcd58, 0x82154aee, 0x7b54a41d, 0xc25a59b5, 0x9c30d539, 0x2af26013, 0xc5d1b023, 0x286085f0, 0xca417918, 0xb8db38ef, 0x8e79dcb0, 0x603a180e, 0x6c9e0e8b, 0xb01e8a3e, 0xd71577c1, 0xbd314b27, 0x78af2fda, 0x55605c60, 0xe65525f3, 0xaa55ab94, 0x57489862, 0x63e81440, 0x55ca396a, 0x2aab10b6, 0xb4cc5c34, 0x1141e8ce, 0xa15486af, 0x7c72e993, 0xb3ee1411, 0x636fbc2a, 0x2ba9c55d, 0x741831f6, 0xce5c3e16, 0x9b87931e, 0xafd6ba33, 0x6c24cf5c, 0x7a325381, 0x28958677, 0x3b8f4898, 0x6b4bb9af, 0xc4bfe81b, 0x66282193, 0x61d809cc, 0xfb21a991, 0x487cac60, 0x5dec8032, 0xef845d5d, 0xe98575b1, 0xdc262302, 0xeb651b88, 0x23893e81, 0xd396acc5, 0x0f6d6ff3, 0x83f44239, 0x2e0b4482, 0xa4842004, 0x69c8f04a, 0x9e1f9b5e, 0x21c66842, 0xf6e96c9a, 0x670c9c61, 0xabd388f0, 0x6a51a0d2, 0xd8542f68, 0x960fa728, 0xab5133a3, 0x6eef0b6c, 0x137a3be4, 0xba3bf050, 0x7efb2a98, 0xa1f1651d, 0x39af0176, 0x66ca593e, 0x82430e88, 0x8cee8619, 0x456f9fb4, 0x7d84a5c3, 0x3b8b5ebe, 0xe06f75d8, 0x85c12073, 0x401a449f, 0x56c16aa6, 0x4ed3aa62, 0x363f7706, 0x1bfedf72, 0x429b023d, 0x37d0d724, 0xd00a1248, 0xdb0fead3, 0x49f1c09b, 0x075372c9, 0x80991b7b, 0x25d479d8, 0xf6e8def7, 0xe3fe501a, 0xb6794c3b, 0x976ce0bd, 0x04c006ba, 0xc1a94fb6, 0x409f60c4, 0x5e5c9ec2, 0x196a2463, 0x68fb6faf, 0x3e6c53b5, 0x1339b2eb, 0x3b52ec6f, 0x6dfc511f, 0x9b30952c, 0xcc814544, 0xaf5ebd09, 0xbee3d004, 0xde334afd, 0x660f2807, 0x192e4bb3, 0xc0cba857, 0x45c8740f, 0xd20b5f39, 0xb9d3fbdb, 0x5579c0bd, 0x1a60320a, 0xd6a100c6, 0x402c7279, 0x679f25fe, 0xfb1fa3cc, 0x8ea5e9f8, 0xdb3222f8, 0x3c7516df, 0xfd616b15, 0x2f501ec8, 0xad0552ab, 0x323db5fa, 0xfd238760, 0x53317b48, 0x3e00df82, 0x9e5c57bb, 0xca6f8ca0, 0x1a87562e, 0xdf1769db, 0xd542a8f6, 0x287effc3, 0xac6732c6, 0x8c4f5573, 0x695b27b0, 0xbbca58c8, 0xe1ffa35d, 0xb8f011a0, 0x10fa3d98, 0xfd2183b8, 0x4afcb56c, 0x2dd1d35b, 0x9a53e479, 0xb6f84565, 0xd28e49bc, 0x4bfb9790, 0xe1ddf2da, 0xa4cb7e33, 0x62fb1341, 0xcee4c6e8, 0xef20cada, 0x36774c01, 0xd07e9efe, 0x2bf11fb4, 0x95dbda4d, 0xae909198, 0xeaad8e71, 0x6b93d5a0, 0xd08ed1d0, 0xafc725e0, 0x8e3c5b2f, 0x8e7594b7, 0x8ff6e2fb, 0xf2122b64, 0x8888b812, 0x900df01c, 0x4fad5ea0, 0x688fc31c, 0xd1cff191, 0xb3a8c1ad, 0x2f2f2218, 0xbe0e1777, 0xea752dfe, 0x8b021fa1, 0xe5a0cc0f, 0xb56f74e8, 0x18acf3d6, 0xce89e299, 0xb4a84fe0, 0xfd13e0b7, 0x7cc43b81, 0xd2ada8d9, 0x165fa266, 0x80957705, 0x93cc7314, 0x211a1477, 0xe6ad2065, 0x77b5fa86, 0xc75442f5, 0xfb9d35cf, 0xebcdaf0c, 0x7b3e89a0, 0xd6411bd3, 0xae1e7e49, 0x00250e2d, 0x2071b35e, 0x226800bb, 0x57b8e0af, 0x2464369b, 0xf009b91e, 0x5563911d, 0x59dfa6aa, 0x78c14389, 0xd95a537f, 0x207d5ba2, 0x02e5b9c5, 0x83260376, 0x6295cfa9, 0x11c81968, 0x4e734a41, 0xb3472dca, 0x7b14a94a, 0x1b510052, 0x9a532915, 0xd60f573f, 0xbc9bc6e4, 0x2b60a476, 0x81e67400, 0x08ba6fb5, 0x571be91f, 0xf296ec6b, 0x2a0dd915, 0xb6636521, 0xe7b9f9b6, 0xff34052e, 0xc5855664, 0x53b02d5d, 0xa99f8fa1, 0x08ba4799, 0x6e85076a}, { 0x4b7a70e9, 0xb5b32944, 0xdb75092e, 0xc4192623, 0xad6ea6b0, 0x49a7df7d, 0x9cee60b8, 0x8fedb266, 0xecaa8c71, 0x699a17ff, 0x5664526c, 0xc2b19ee1, 0x193602a5, 0x75094c29, 0xa0591340, 0xe4183a3e, 0x3f54989a, 0x5b429d65, 0x6b8fe4d6, 0x99f73fd6, 0xa1d29c07, 0xefe830f5, 0x4d2d38e6, 0xf0255dc1, 0x4cdd2086, 0x8470eb26, 0x6382e9c6, 0x021ecc5e, 0x09686b3f, 0x3ebaefc9, 0x3c971814, 0x6b6a70a1, 0x687f3584, 0x52a0e286, 0xb79c5305, 0xaa500737, 0x3e07841c, 0x7fdeae5c, 0x8e7d44ec, 0x5716f2b8, 0xb03ada37, 0xf0500c0d, 0xf01c1f04, 0x0200b3ff, 0xae0cf51a, 0x3cb574b2, 0x25837a58, 0xdc0921bd, 0xd19113f9, 0x7ca92ff6, 0x94324773, 0x22f54701, 0x3ae5e581, 0x37c2dadc, 0xc8b57634, 0x9af3dda7, 0xa9446146, 0x0fd0030e, 0xecc8c73e, 0xa4751e41, 0xe238cd99, 0x3bea0e2f, 0x3280bba1, 0x183eb331, 0x4e548b38, 0x4f6db908, 0x6f420d03, 0xf60a04bf, 0x2cb81290, 0x24977c79, 0x5679b072, 0xbcaf89af, 0xde9a771f, 0xd9930810, 0xb38bae12, 0xdccf3f2e, 0x5512721f, 0x2e6b7124, 0x501adde6, 0x9f84cd87, 0x7a584718, 0x7408da17, 0xbc9f9abc, 0xe94b7d8c, 0xec7aec3a, 0xdb851dfa, 0x63094366, 0xc464c3d2, 0xef1c1847, 0x3215d908, 0xdd433b37, 0x24c2ba16, 0x12a14d43, 0x2a65c451, 0x50940002, 0x133ae4dd, 0x71dff89e, 0x10314e55, 0x81ac77d6, 0x5f11199b, 0x043556f1, 0xd7a3c76b, 0x3c11183b, 0x5924a509, 0xf28fe6ed, 0x97f1fbfa, 0x9ebabf2c, 0x1e153c6e, 0x86e34570, 0xeae96fb1, 0x860e5e0a, 0x5a3e2ab3, 0x771fe71c, 0x4e3d06fa, 0x2965dcb9, 0x99e71d0f, 0x803e89d6, 0x5266c825, 0x2e4cc978, 0x9c10b36a, 0xc6150eba, 0x94e2ea78, 0xa5fc3c53, 0x1e0a2df4, 0xf2f74ea7, 0x361d2b3d, 0x1939260f, 0x19c27960, 0x5223a708, 0xf71312b6, 0xebadfe6e, 0xeac31f66, 0xe3bc4595, 0xa67bc883, 0xb17f37d1, 0x018cff28, 0xc332ddef, 0xbe6c5aa5, 0x65582185, 0x68ab9802, 0xeecea50f, 0xdb2f953b, 0x2aef7dad, 0x5b6e2f84, 0x1521b628, 0x29076170, 0xecdd4775, 0x619f1510, 0x13cca830, 0xeb61bd96, 0x0334fe1e, 0xaa0363cf, 0xb5735c90, 0x4c70a239, 0xd59e9e0b, 0xcbaade14, 0xeecc86bc, 0x60622ca7, 0x9cab5cab, 0xb2f3846e, 0x648b1eaf, 0x19bdf0ca, 0xa02369b9, 0x655abb50, 0x40685a32, 0x3c2ab4b3, 0x319ee9d5, 0xc021b8f7, 0x9b540b19, 0x875fa099, 0x95f7997e, 0x623d7da8, 0xf837889a, 0x97e32d77, 0x11ed935f, 0x16681281, 0x0e358829, 0xc7e61fd6, 0x96dedfa1, 0x7858ba99, 0x57f584a5, 0x1b227263, 0x9b83c3ff, 0x1ac24696, 0xcdb30aeb, 0x532e3054, 0x8fd948e4, 0x6dbc3128, 0x58ebf2ef, 0x34c6ffea, 0xfe28ed61, 0xee7c3c73, 0x5d4a14d9, 0xe864b7e3, 0x42105d14, 0x203e13e0, 0x45eee2b6, 0xa3aaabea, 0xdb6c4f15, 0xfacb4fd0, 0xc742f442, 0xef6abbb5, 0x654f3b1d, 0x41cd2105, 0xd81e799e, 0x86854dc7, 0xe44b476a, 0x3d816250, 0xcf62a1f2, 0x5b8d2646, 0xfc8883a0, 0xc1c7b6a3, 0x7f1524c3, 0x69cb7492, 0x47848a0b, 0x5692b285, 0x095bbf00, 0xad19489d, 0x1462b174, 0x23820e00, 0x58428d2a, 0x0c55f5ea, 0x1dadf43e, 0x233f7061, 0x3372f092, 0x8d937e41, 0xd65fecf1, 0x6c223bdb, 0x7cde3759, 0xcbee7460, 0x4085f2a7, 0xce77326e, 0xa6078084, 0x19f8509e, 0xe8efd855, 0x61d99735, 0xa969a7aa, 0xc50c06c2, 0x5a04abfc, 0x800bcadc, 0x9e447a2e, 0xc3453484, 0xfdd56705, 0x0e1e9ec9, 0xdb73dbd3, 0x105588cd, 0x675fda79, 0xe3674340, 0xc5c43465, 0x713e38d8, 0x3d28f89e, 0xf16dff20, 0x153e21e7, 0x8fb03d4a, 0xe6e39f2b, 0xdb83adf7}, { 0xe93d5a68, 0x948140f7, 0xf64c261c, 0x94692934, 0x411520f7, 0x7602d4f7, 0xbcf46b2e, 0xd4a20068, 0xd4082471, 0x3320f46a, 0x43b7d4b7, 0x500061af, 0x1e39f62e, 0x97244546, 0x14214f74, 0xbf8b8840, 0x4d95fc1d, 0x96b591af, 0x70f4ddd3, 0x66a02f45, 0xbfbc09ec, 0x03bd9785, 0x7fac6dd0, 0x31cb8504, 0x96eb27b3, 0x55fd3941, 0xda2547e6, 0xabca0a9a, 0x28507825, 0x530429f4, 0x0a2c86da, 0xe9b66dfb, 0x68dc1462, 0xd7486900, 0x680ec0a4, 0x27a18dee, 0x4f3ffea2, 0xe887ad8c, 0xb58ce006, 0x7af4d6b6, 0xaace1e7c, 0xd3375fec, 0xce78a399, 0x406b2a42, 0x20fe9e35, 0xd9f385b9, 0xee39d7ab, 0x3b124e8b, 0x1dc9faf7, 0x4b6d1856, 0x26a36631, 0xeae397b2, 0x3a6efa74, 0xdd5b4332, 0x6841e7f7, 0xca7820fb, 0xfb0af54e, 0xd8feb397, 0x454056ac, 0xba489527, 0x55533a3a, 0x20838d87, 0xfe6ba9b7, 0xd096954b, 0x55a867bc, 0xa1159a58, 0xcca92963, 0x99e1db33, 0xa62a4a56, 0x3f3125f9, 0x5ef47e1c, 0x9029317c, 0xfdf8e802, 0x04272f70, 0x80bb155c, 0x05282ce3, 0x95c11548, 0xe4c66d22, 0x48c1133f, 0xc70f86dc, 0x07f9c9ee, 0x41041f0f, 0x404779a4, 0x5d886e17, 0x325f51eb, 0xd59bc0d1, 0xf2bcc18f, 0x41113564, 0x257b7834, 0x602a9c60, 0xdff8e8a3, 0x1f636c1b, 0x0e12b4c2, 0x02e1329e, 0xaf664fd1, 0xcad18115, 0x6b2395e0, 0x333e92e1, 0x3b240b62, 0xeebeb922, 0x85b2a20e, 0xe6ba0d99, 0xde720c8c, 0x2da2f728, 0xd0127845, 0x95b794fd, 0x647d0862, 0xe7ccf5f0, 0x5449a36f, 0x877d48fa, 0xc39dfd27, 0xf33e8d1e, 0x0a476341, 0x992eff74, 0x3a6f6eab, 0xf4f8fd37, 0xa812dc60, 0xa1ebddf8, 0x991be14c, 0xdb6e6b0d, 0xc67b5510, 0x6d672c37, 0x2765d43b, 0xdcd0e804, 0xf1290dc7, 0xcc00ffa3, 0xb5390f92, 0x690fed0b, 0x667b9ffb, 0xcedb7d9c, 0xa091cf0b, 0xd9155ea3, 0xbb132f88, 0x515bad24, 0x7b9479bf, 0x763bd6eb, 0x37392eb3, 0xcc115979, 0x8026e297, 0xf42e312d, 0x6842ada7, 0xc66a2b3b, 0x12754ccc, 0x782ef11c, 0x6a124237, 0xb79251e7, 0x06a1bbe6, 0x4bfb6350, 0x1a6b1018, 0x11caedfa, 0x3d25bdd8, 0xe2e1c3c9, 0x44421659, 0x0a121386, 0xd90cec6e, 0xd5abea2a, 0x64af674e, 0xda86a85f, 0xbebfe988, 0x64e4c3fe, 0x9dbc8057, 0xf0f7c086, 0x60787bf8, 0x6003604d, 0xd1fd8346, 0xf6381fb0, 0x7745ae04, 0xd736fccc, 0x83426b33, 0xf01eab71, 0xb0804187, 0x3c005e5f, 0x77a057be, 0xbde8ae24, 0x55464299, 0xbf582e61, 0x4e58f48f, 0xf2ddfda2, 0xf474ef38, 0x8789bdc2, 0x5366f9c3, 0xc8b38e74, 0xb475f255, 0x46fcd9b9, 0x7aeb2661, 0x8b1ddf84, 0x846a0e79, 0x915f95e2, 0x466e598e, 0x20b45770, 0x8cd55591, 0xc902de4c, 0xb90bace1, 0xbb8205d0, 0x11a86248, 0x7574a99e, 0xb77f19b6, 0xe0a9dc09, 0x662d09a1, 0xc4324633, 0xe85a1f02, 0x09f0be8c, 0x4a99a025, 0x1d6efe10, 0x1ab93d1d, 0x0ba5a4df, 0xa186f20f, 0x2868f169, 0xdcb7da83, 0x573906fe, 0xa1e2ce9b, 0x4fcd7f52, 0x50115e01, 0xa70683fa, 0xa002b5c4, 0x0de6d027, 0x9af88c27, 0x773f8641, 0xc3604c06, 0x61a806b5, 0xf0177a28, 0xc0f586e0, 0x006058aa, 0x30dc7d62, 0x11e69ed7, 0x2338ea63, 0x53c2dd94, 0xc2c21634, 0xbbcbee56, 0x90bcb6de, 0xebfc7da1, 0xce591d76, 0x6f05e409, 0x4b7c0188, 0x39720a3d, 0x7c927c24, 0x86e3725f, 0x724d9db9, 0x1ac15bb4, 0xd39eb8fc, 0xed545578, 0x08fca5b5, 0xd83d7cd3, 0x4dad0fc4, 0x1e50ef5e, 0xb161e6f8, 0xa28514d9, 0x6c51133c, 0x6fd5c7e7, 0x56e14ec4, 0x362abfce, 0xddc6c837, 0xd79a3234, 0x92638212, 0x670efa8e, 0x406000e0}, { 0x3a39ce37, 0xd3faf5cf, 0xabc27737, 0x5ac52d1b, 0x5cb0679e, 0x4fa33742, 0xd3822740, 0x99bc9bbe, 0xd5118e9d, 0xbf0f7315, 0xd62d1c7e, 0xc700c47b, 0xb78c1b6b, 0x21a19045, 0xb26eb1be, 0x6a366eb4, 0x5748ab2f, 0xbc946e79, 0xc6a376d2, 0x6549c2c8, 0x530ff8ee, 0x468dde7d, 0xd5730a1d, 0x4cd04dc6, 0x2939bbdb, 0xa9ba4650, 0xac9526e8, 0xbe5ee304, 0xa1fad5f0, 0x6a2d519a, 0x63ef8ce2, 0x9a86ee22, 0xc089c2b8, 0x43242ef6, 0xa51e03aa, 0x9cf2d0a4, 0x83c061ba, 0x9be96a4d, 0x8fe51550, 0xba645bd6, 0x2826a2f9, 0xa73a3ae1, 0x4ba99586, 0xef5562e9, 0xc72fefd3, 0xf752f7da, 0x3f046f69, 0x77fa0a59, 0x80e4a915, 0x87b08601, 0x9b09e6ad, 0x3b3ee593, 0xe990fd5a, 0x9e34d797, 0x2cf0b7d9, 0x022b8b51, 0x96d5ac3a, 0x017da67d, 0xd1cf3ed6, 0x7c7d2d28, 0x1f9f25cf, 0xadf2b89b, 0x5ad6b472, 0x5a88f54c, 0xe029ac71, 0xe019a5e6, 0x47b0acfd, 0xed93fa9b, 0xe8d3c48d, 0x283b57cc, 0xf8d56629, 0x79132e28, 0x785f0191, 0xed756055, 0xf7960e44, 0xe3d35e8c, 0x15056dd4, 0x88f46dba, 0x03a16125, 0x0564f0bd, 0xc3eb9e15, 0x3c9057a2, 0x97271aec, 0xa93a072a, 0x1b3f6d9b, 0x1e6321f5, 0xf59c66fb, 0x26dcf319, 0x7533d928, 0xb155fdf5, 0x03563482, 0x8aba3cbb, 0x28517711, 0xc20ad9f8, 0xabcc5167, 0xccad925f, 0x4de81751, 0x3830dc8e, 0x379d5862, 0x9320f991, 0xea7a90c2, 0xfb3e7bce, 0x5121ce64, 0x774fbe32, 0xa8b6e37e, 0xc3293d46, 0x48de5369, 0x6413e680, 0xa2ae0810, 0xdd6db224, 0x69852dfd, 0x09072166, 0xb39a460a, 0x6445c0dd, 0x586cdecf, 0x1c20c8ae, 0x5bbef7dd, 0x1b588d40, 0xccd2017f, 0x6bb4e3bb, 0xdda26a7e, 0x3a59ff45, 0x3e350a44, 0xbcb4cdd5, 0x72eacea8, 0xfa6484bb, 0x8d6612ae, 0xbf3c6f47, 0xd29be463, 0x542f5d9e, 0xaec2771b, 0xf64e6370, 0x740e0d8d, 0xe75b1357, 0xf8721671, 0xaf537d5d, 0x4040cb08, 0x4eb4e2cc, 0x34d2466a, 0x0115af84, 0xe1b00428, 0x95983a1d, 0x06b89fb4, 0xce6ea048, 0x6f3f3b82, 0x3520ab82, 0x011a1d4b, 0x277227f8, 0x611560b1, 0xe7933fdc, 0xbb3a792b, 0x344525bd, 0xa08839e1, 0x51ce794b, 0x2f32c9b7, 0xa01fbac9, 0xe01cc87e, 0xbcc7d1f6, 0xcf0111c3, 0xa1e8aac7, 0x1a908749, 0xd44fbd9a, 0xd0dadecb, 0xd50ada38, 0x0339c32a, 0xc6913667, 0x8df9317c, 0xe0b12b4f, 0xf79e59b7, 0x43f5bb3a, 0xf2d519ff, 0x27d9459c, 0xbf97222c, 0x15e6fc2a, 0x0f91fc71, 0x9b941525, 0xfae59361, 0xceb69ceb, 0xc2a86459, 0x12baa8d1, 0xb6c1075e, 0xe3056a0c, 0x10d25065, 0xcb03a442, 0xe0ec6e0e, 0x1698db3b, 0x4c98a0be, 0x3278e964, 0x9f1f9532, 0xe0d392df, 0xd3a0342b, 0x8971f21e, 0x1b0a7441, 0x4ba3348c, 0xc5be7120, 0xc37632d8, 0xdf359f8d, 0x9b992f2e, 0xe60b6f47, 0x0fe3f11d, 0xe54cda54, 0x1edad891, 0xce6279cf, 0xcd3e7e6f, 0x1618b166, 0xfd2c1d05, 0x848fd2c5, 0xf6fb2299, 0xf523f357, 0xa6327623, 0x93a83531, 0x56cccd02, 0xacf08162, 0x5a75ebb5, 0x6e163697, 0x88d273cc, 0xde966292, 0x81b949d0, 0x4c50901b, 0x71c65614, 0xe6c6c7bd, 0x327a140a, 0x45e1d006, 0xc3f27b9a, 0xc9aa53fd, 0x62a80f00, 0xbb25bfe2, 0x35bdd2f6, 0x71126905, 0xb2040222, 0xb6cbcf7c, 0xcd769c2b, 0x53113ec0, 0x1640e3d3, 0x38abbd60, 0x2547adf0, 0xba38209c, 0xf746ce76, 0x77afa1c5, 0x20756060, 0x85cbfe4e, 0x8ae88dd8, 0x7aaaf9b0, 0x4cf9aa7e, 0x1948c25c, 0x02fb8a8c, 0x01c36ae4, 0xd6ebe1f9, 0x90d4f869, 0xa65cdea0, 0x3f09252d, 0xc208e69f, 0xb74e6132, 0xce77e25b, 0x578fdfe3, 0x3ac372e6} }; #define ZeroMemory(dest, count) memset((void *) dest, 0, count) int decrypt_string(char *key, char *str, char *dest, int len); int encrypt_string(char *key, char *str, char *dest, int len); int encrypt_key(char *key, char *encryptedKey); int ExtractRnick (char *Rnick, char *incoming_msg); void FixContactName(char *contactName); /* replace '[' and ']' in nick/channel with '~' */ static void DH1080_received(char *msg, char *nick, char *address, char *target); char g_myPrivKey[300], g_myPubKey[300]; char *strfcpy(unsigned char *dest, char *buffer); /* removes leading and trailing blanks from string */ static int FiSH_decrypt(char *msg_ptr, char *msg_bak, const char *target); #endif /* _fish_h_ */ scrollz-2.2.3.orig/include/window.h0000644000175000017500000001305112251073235017012 0ustar madhackmadhack/* * window.h: header file for window.c * * Written By Michael Sandrof * * Copyright (c) 1990 Michael Sandrof. * Copyright (c) 1991, 1992 Troy Rollo. * Copyright (c) 1992-2003 Matthew R. Green. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. The name of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * $Id: window.h,v 1.10 2008-12-01 15:41:36 f Exp $ */ #ifndef __window_h_ #define __window_h_ /* * Define this if you want to play with the new window feature, * CREATE, that allows you to start new iscreen or xterm windows * connected to the ircII client. */ #undef WINDOW_CREATE #if defined(M_UNIX) || !defined(HAVE_SYS_UN_H) #undef WINDOW_CREATE #endif /* M_UNIX */ /* * Define this if you want ircII to scroll after printing a line, * like it used to (2.1.5 and back era), not before printing the * line. Its a waste of a line to me, but what ever people want. * Thanks to Veggen for telling me what to do for this. */ #undef SCROLL_AFTER_DISPLAY #include "hold.h" #include "lastlog.h" #include "edit.h" #include "menu.h" /* used by the update flag to determine what needs updating */ #define REDRAW_DISPLAY_FULL 1 #define REDRAW_DISPLAY_FAST 2 #define UPDATE_STATUS 4 #define REDRAW_STATUS 8 #define LT_UNLOGGED 0 #define LT_LOGHEAD 1 #define LT_LOGTAIL 2 /* var_settings indexes */ #define OFF 0 #define ON 1 #define TOGGLE 2 /* used in window_traverse() */ typedef struct window_traverse_stru { int flag; Window *which; Screen *screen; int visible; } Win_Trav; void set_scroll_lines _((int)); void set_scroll _((int)); void reset_line_cnt _((int)); void set_continued_line _((char *)); void set_underline_video _((int)); void window_get_connected _((Window *, char *, int, char *)); void erase_display _((Window *)); int unhold_windows _((void)); Window *window_traverse _((Win_Trav *)); Window *traverse_all_windows _((int *)); void add_to_invisible_list _((Window *)); void delete_window _((Window *)); Window *add_to_window_list _((Window *)); void erase_display _((Window *)); void set_scroll _((int)); void set_scroll_lines _((int)); void update_all_status _((void)); void set_query_nick _((char *)); char *query_nick _((void)); void update_window_status _((Window *, int)); void windowcmd _((char *, char *, char *)); void next_window _((u_int, char *)); void swap_last_window _((u_int, char *)); void swap_next_window _((u_int, char *)); void previous_window _((u_int, char *)); void swap_previous_window _((u_int, char *)); void back_window _((u_int, char *)); void window_kill_swap _((void)); int is_current_channel _((char *, int, int)); void redraw_all_status _((void)); void message_to _((u_int)); void message_from _((char *, int)); void unstop_all_windows _((u_int, char *)); void set_prompt_by_refnum _((u_int, char *)); int number_of_windows _((void)); void clear_window_by_refnum _((u_int)); u_int current_refnum _((void)); Window *get_window_by_refnum _((u_int)); char *get_target_by_refnum _((u_int)); char *get_prompt_by_refnum _((u_int)); char *set_channel_by_refnum _((unsigned int, char *)); char *get_channel_by_refnum _((u_int)); void window_set_server _((int, int, int)); Window *get_window_by_name _((char *)); int get_window_server _((unsigned int)); int message_from_level _((int)); void restore_message_from _((void)); void save_message_from _((void)); void window_check_servers _((void)); void set_current_window _((Window *)); void set_level_by_refnum _((u_int, int)); Window *is_bound _((char *, int)); void add_window_to_server_group _((Window *, char *)); void delete_window_from_server_group _((Window *, char *)); void window_restore_server _((int)); /**************************** PATCHED by Flier ******************************/ Window *get_window_by_level _((u_int)); /****************************************************************************/ extern Window *invisible_list; extern int underline; extern int who_level; extern char *who_from; extern int in_window_command; extern u_int window_display; #define WINDOW_NOTIFY ((unsigned) 0x0001) #define WINDOW_NOTIFIED ((unsigned) 0x0002) #define WINDOW_REPWORD ((unsigned) 0x0004) /* for window_set_server() -Sol */ #define WIN_ALL 0x01 #define WIN_TRANSFER 0x02 #define WIN_FORCE 0x04 #define WIN_OLDCONN 0x08 #endif /* __window_h_ */ scrollz-2.2.3.orig/include/status.h0000644000175000017500000000435012251073235017030 0ustar madhackmadhack/* * status.h: header for status.c * * Written By Michael Sandrof * * Copyright (c) 1990 Michael Sandrof. * Copyright (c) 1991, 1992 Troy Rollo. * Copyright (c) 1992-2003 Matthew R. Green. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. The name of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * $Id: status.h,v 1.3 2003-01-08 20:00:54 f Exp $ */ #ifndef __status_h_ #define __status_h_ extern int do_status_alarmed; void make_status _((Window *)); void set_alarm _((char *)); char *update_clock _((char *, size_t, int)); void reset_clock _((char *)); void build_status _((char *)); void status_update _((int)); void real_status_alarmed _((void)); /**************************** PATCHED by Flier ******************************/ #ifdef CELE void Cquick_status _((char *, int)); #endif /****************************************************************************/ #define GET_TIME 1 #define RESET_TIME 2 #endif /* __status_h_ */ scrollz-2.2.3.orig/include/mail.h0000644000175000017500000000341412251073235016427 0ustar madhackmadhack/* * mail.h: header for mail.c * * Written By Michael Sandrof * * Copyright (c) 1990 Michael Sandrof. * Copyright (c) 1991, 1992 Troy Rollo. * Copyright (c) 1992-2003 Matthew R. Green. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. The name of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * $Id: mail.h,v 1.2 2003-01-08 20:00:54 f Exp $ */ #ifndef __mail_h_ #define __mail_h_ char *check_mail _((void)); int check_mail_status _((void)); #endif /* __mail_h_ */ scrollz-2.2.3.orig/include/stack.h0000644000175000017500000000421512251073235016612 0ustar madhackmadhack/* * stack.h - header for stack.c * * written by matthew green * * Copyright (c) 1993-1998 Matthew R. Green. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. The name of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * $Id: stack.h,v 1.1 1998-09-10 17:31:12 f Exp $ */ #ifndef __stack_h_ # define __stack_h_ #include "hook.h" #include "alias.h" void stackcmd _((char *, char *, char *)); #define STACK_POP 0 #define STACK_PUSH 1 #define STACK_SWAP 2 #define STACK_LIST 3 #define STACK_DO_ALIAS 0x0001 #define STACK_DO_ASSIGN 0x0002 typedef struct setstacklist { int which; Hook *list; struct setstacklist *next; } SetStack; typedef struct aliasstacklist { int which; Alias *list; struct aliasstacklist *next; } AliasStack; typedef struct onstacklist { int which; Hook *list; struct onstacklist *next; } OnStack; #endif /* __stack_h_ */ scrollz-2.2.3.orig/include/cast_sbox.h0000644000175000017500000006206212251073235017476 0ustar madhackmadhack/* * cast_sbox.h: CAST5 sbox arrays. * * from RFC 2144 * * public domain. * * $Id: cast_sbox.h,v 1.1 2002-01-21 21:37:35 f Exp $ * */ /* * the bulk of the text for these comes from appendix A. of # RFC 2144 "The CAST-128 Encryption Algorithm" */ static const u_32int cast_S1[] = { 0x30fb40d4, 0x9fa0ff0b, 0x6beccd2f, 0x3f258c7a, 0x1e213f2f, 0x9c004dd3, 0x6003e540, 0xcf9fc949, 0xbfd4af27, 0x88bbbdb5, 0xe2034090, 0x98d09675, 0x6e63a0e0, 0x15c361d2, 0xc2e7661d, 0x22d4ff8e, 0x28683b6f, 0xc07fd059, 0xff2379c8, 0x775f50e2, 0x43c340d3, 0xdf2f8656, 0x887ca41a, 0xa2d2bd2d, 0xa1c9e0d6, 0x346c4819, 0x61b76d87, 0x22540f2f, 0x2abe32e1, 0xaa54166b, 0x22568e3a, 0xa2d341d0, 0x66db40c8, 0xa784392f, 0x004dff2f, 0x2db9d2de, 0x97943fac, 0x4a97c1d8, 0x527644b7, 0xb5f437a7, 0xb82cbaef, 0xd751d159, 0x6ff7f0ed, 0x5a097a1f, 0x827b68d0, 0x90ecf52e, 0x22b0c054, 0xbc8e5935, 0x4b6d2f7f, 0x50bb64a2, 0xd2664910, 0xbee5812d, 0xb7332290, 0xe93b159f, 0xb48ee411, 0x4bff345d, 0xfd45c240, 0xad31973f, 0xc4f6d02e, 0x55fc8165, 0xd5b1caad, 0xa1ac2dae, 0xa2d4b76d, 0xc19b0c50, 0x882240f2, 0x0c6e4f38, 0xa4e4bfd7, 0x4f5ba272, 0x564c1d2f, 0xc59c5319, 0xb949e354, 0xb04669fe, 0xb1b6ab8a, 0xc71358dd, 0x6385c545, 0x110f935d, 0x57538ad5, 0x6a390493, 0xe63d37e0, 0x2a54f6b3, 0x3a787d5f, 0x6276a0b5, 0x19a6fcdf, 0x7a42206a, 0x29f9d4d5, 0xf61b1891, 0xbb72275e, 0xaa508167, 0x38901091, 0xc6b505eb, 0x84c7cb8c, 0x2ad75a0f, 0x874a1427, 0xa2d1936b, 0x2ad286af, 0xaa56d291, 0xd7894360, 0x425c750d, 0x93b39e26, 0x187184c9, 0x6c00b32d, 0x73e2bb14, 0xa0bebc3c, 0x54623779, 0x64459eab, 0x3f328b82, 0x7718cf82, 0x59a2cea6, 0x04ee002e, 0x89fe78e6, 0x3fab0950, 0x325ff6c2, 0x81383f05, 0x6963c5c8, 0x76cb5ad6, 0xd49974c9, 0xca180dcf, 0x380782d5, 0xc7fa5cf6, 0x8ac31511, 0x35e79e13, 0x47da91d0, 0xf40f9086, 0xa7e2419e, 0x31366241, 0x051ef495, 0xaa573b04, 0x4a805d8d, 0x548300d0, 0x00322a3c, 0xbf64cddf, 0xba57a68e, 0x75c6372b, 0x50afd341, 0xa7c13275, 0x915a0bf5, 0x6b54bfab, 0x2b0b1426, 0xab4cc9d7, 0x449ccd82, 0xf7fbf265, 0xab85c5f3, 0x1b55db94, 0xaad4e324, 0xcfa4bd3f, 0x2deaa3e2, 0x9e204d02, 0xc8bd25ac, 0xeadf55b3, 0xd5bd9e98, 0xe31231b2, 0x2ad5ad6c, 0x954329de, 0xadbe4528, 0xd8710f69, 0xaa51c90f, 0xaa786bf6, 0x22513f1e, 0xaa51a79b, 0x2ad344cc, 0x7b5a41f0, 0xd37cfbad, 0x1b069505, 0x41ece491, 0xb4c332e6, 0x032268d4, 0xc9600acc, 0xce387e6d, 0xbf6bb16c, 0x6a70fb78, 0x0d03d9c9, 0xd4df39de, 0xe01063da, 0x4736f464, 0x5ad328d8, 0xb347cc96, 0x75bb0fc3, 0x98511bfb, 0x4ffbcc35, 0xb58bcf6a, 0xe11f0abc, 0xbfc5fe4a, 0xa70aec10, 0xac39570a, 0x3f04442f, 0x6188b153, 0xe0397a2e, 0x5727cb79, 0x9ceb418f, 0x1cacd68d, 0x2ad37c96, 0x0175cb9d, 0xc69dff09, 0xc75b65f0, 0xd9db40d8, 0xec0e7779, 0x4744ead4, 0xb11c3274, 0xdd24cb9e, 0x7e1c54bd, 0xf01144f9, 0xd2240eb1, 0x9675b3fd, 0xa3ac3755, 0xd47c27af, 0x51c85f4d, 0x56907596, 0xa5bb15e6, 0x580304f0, 0xca042cf1, 0x011a37ea, 0x8dbfaadb, 0x35ba3e4a, 0x3526ffa0, 0xc37b4d09, 0xbc306ed9, 0x98a52666, 0x5648f725, 0xff5e569d, 0x0ced63d0, 0x7c63b2cf, 0x700b45e1, 0xd5ea50f1, 0x85a92872, 0xaf1fbda7, 0xd4234870, 0xa7870bf3, 0x2d3b4d79, 0x42e04198, 0x0cd0ede7, 0x26470db8, 0xf881814c, 0x474d6ad7, 0x7c0c5e5c, 0xd1231959, 0x381b7298, 0xf5d2f4db, 0xab838653, 0x6e2f1e23, 0x83719c9e, 0xbd91e046, 0x9a56456e, 0xdc39200c, 0x20c8c571, 0x962bda1c, 0xe1e696ff, 0xb141ab08, 0x7cca89b9, 0x1a69e783, 0x02cc4843, 0xa2f7c579, 0x429ef47d, 0x427b169c, 0x5ac9f049, 0xdd8f0f00, 0x5c8165bf }; static const u_32int cast_S2[] = { 0x1f201094, 0xef0ba75b, 0x69e3cf7e, 0x393f4380, 0xfe61cf7a, 0xeec5207a, 0x55889c94, 0x72fc0651, 0xada7ef79, 0x4e1d7235, 0xd55a63ce, 0xde0436ba, 0x99c430ef, 0x5f0c0794, 0x18dcdb7d, 0xa1d6eff3, 0xa0b52f7b, 0x59e83605, 0xee15b094, 0xe9ffd909, 0xdc440086, 0xef944459, 0xba83ccb3, 0xe0c3cdfb, 0xd1da4181, 0x3b092ab1, 0xf997f1c1, 0xa5e6cf7b, 0x01420ddb, 0xe4e7ef5b, 0x25a1ff41, 0xe180f806, 0x1fc41080, 0x179bee7a, 0xd37ac6a9, 0xfe5830a4, 0x98de8b7f, 0x77e83f4e, 0x79929269, 0x24fa9f7b, 0xe113c85b, 0xacc40083, 0xd7503525, 0xf7ea615f, 0x62143154, 0x0d554b63, 0x5d681121, 0xc866c359, 0x3d63cf73, 0xcee234c0, 0xd4d87e87, 0x5c672b21, 0x071f6181, 0x39f7627f, 0x361e3084, 0xe4eb573b, 0x602f64a4, 0xd63acd9c, 0x1bbc4635, 0x9e81032d, 0x2701f50c, 0x99847ab4, 0xa0e3df79, 0xba6cf38c, 0x10843094, 0x2537a95e, 0xf46f6ffe, 0xa1ff3b1f, 0x208cfb6a, 0x8f458c74, 0xd9e0a227, 0x4ec73a34, 0xfc884f69, 0x3e4de8df, 0xef0e0088, 0x3559648d, 0x8a45388c, 0x1d804366, 0x721d9bfd, 0xa58684bb, 0xe8256333, 0x844e8212, 0x128d8098, 0xfed33fb4, 0xce280ae1, 0x27e19ba5, 0xd5a6c252, 0xe49754bd, 0xc5d655dd, 0xeb667064, 0x77840b4d, 0xa1b6a801, 0x84db26a9, 0xe0b56714, 0x21f043b7, 0xe5d05860, 0x54f03084, 0x066ff472, 0xa31aa153, 0xdadc4755, 0xb5625dbf, 0x68561be6, 0x83ca6b94, 0x2d6ed23b, 0xeccf01db, 0xa6d3d0ba, 0xb6803d5c, 0xaf77a709, 0x33b4a34c, 0x397bc8d6, 0x5ee22b95, 0x5f0e5304, 0x81ed6f61, 0x20e74364, 0xb45e1378, 0xde18639b, 0x881ca122, 0xb96726d1, 0x8049a7e8, 0x22b7da7b, 0x5e552d25, 0x5272d237, 0x79d2951c, 0xc60d894c, 0x488cb402, 0x1ba4fe5b, 0xa4b09f6b, 0x1ca815cf, 0xa20c3005, 0x8871df63, 0xb9de2fcb, 0x0cc6c9e9, 0x0beeff53, 0xe3214517, 0xb4542835, 0x9f63293c, 0xee41e729, 0x6e1d2d7c, 0x50045286, 0x1e6685f3, 0xf33401c6, 0x30a22c95, 0x31a70850, 0x60930f13, 0x73f98417, 0xa1269859, 0xec645c44, 0x52c877a9, 0xcdff33a6, 0xa02b1741, 0x7cbad9a2, 0x2180036f, 0x50d99c08, 0xcb3f4861, 0xc26bd765, 0x64a3f6ab, 0x80342676, 0x25a75e7b, 0xe4e6d1fc, 0x20c710e6, 0xcdf0b680, 0x17844d3b, 0x31eef84d, 0x7e0824e4, 0x2ccb49eb, 0x846a3bae, 0x8ff77888, 0xee5d60f6, 0x7af75673, 0x2fdd5cdb, 0xa11631c1, 0x30f66f43, 0xb3faec54, 0x157fd7fa, 0xef8579cc, 0xd152de58, 0xdb2ffd5e, 0x8f32ce19, 0x306af97a, 0x02f03ef8, 0x99319ad5, 0xc242fa0f, 0xa7e3ebb0, 0xc68e4906, 0xb8da230c, 0x80823028, 0xdcdef3c8, 0xd35fb171, 0x088a1bc8, 0xbec0c560, 0x61a3c9e8, 0xbca8f54d, 0xc72feffa, 0x22822e99, 0x82c570b4, 0xd8d94e89, 0x8b1c34bc, 0x301e16e6, 0x273be979, 0xb0ffeaa6, 0x61d9b8c6, 0x00b24869, 0xb7ffce3f, 0x08dc283b, 0x43daf65a, 0xf7e19798, 0x7619b72f, 0x8f1c9ba4, 0xdc8637a0, 0x16a7d3b1, 0x9fc393b7, 0xa7136eeb, 0xc6bcc63e, 0x1a513742, 0xef6828bc, 0x520365d6, 0x2d6a77ab, 0x3527ed4b, 0x821fd216, 0x095c6e2e, 0xdb92f2fb, 0x5eea29cb, 0x145892f5, 0x91584f7f, 0x5483697b, 0x2667a8cc, 0x85196048, 0x8c4bacea, 0x833860d4, 0x0d23e0f9, 0x6c387e8a, 0x0ae6d249, 0xb284600c, 0xd835731d, 0xdcb1c647, 0xac4c56ea, 0x3ebd81b3, 0x230eabb0, 0x6438bc87, 0xf0b5b1fa, 0x8f5ea2b3, 0xfc184642, 0x0a036b7a, 0x4fb089bd, 0x649da589, 0xa345415e, 0x5c038323, 0x3e5d3bb9, 0x43d79572, 0x7e6dd07c, 0x06dfdf1e, 0x6c6cc4ef, 0x7160a539, 0x73bfbe70, 0x83877605, 0x4523ecf1 }; static const u_32int cast_S3[] = { 0x8defc240, 0x25fa5d9f, 0xeb903dbf, 0xe810c907, 0x47607fff, 0x369fe44b, 0x8c1fc644, 0xaececa90, 0xbeb1f9bf, 0xeefbcaea, 0xe8cf1950, 0x51df07ae, 0x920e8806, 0xf0ad0548, 0xe13c8d83, 0x927010d5, 0x11107d9f, 0x07647db9, 0xb2e3e4d4, 0x3d4f285e, 0xb9afa820, 0xfade82e0, 0xa067268b, 0x8272792e, 0x553fb2c0, 0x489ae22b, 0xd4ef9794, 0x125e3fbc, 0x21fffcee, 0x825b1bfd, 0x9255c5ed, 0x1257a240, 0x4e1a8302, 0xbae07fff, 0x528246e7, 0x8e57140e, 0x3373f7bf, 0x8c9f8188, 0xa6fc4ee8, 0xc982b5a5, 0xa8c01db7, 0x579fc264, 0x67094f31, 0xf2bd3f5f, 0x40fff7c1, 0x1fb78dfc, 0x8e6bd2c1, 0x437be59b, 0x99b03dbf, 0xb5dbc64b, 0x638dc0e6, 0x55819d99, 0xa197c81c, 0x4a012d6e, 0xc5884a28, 0xccc36f71, 0xb843c213, 0x6c0743f1, 0x8309893c, 0x0feddd5f, 0x2f7fe850, 0xd7c07f7e, 0x02507fbf, 0x5afb9a04, 0xa747d2d0, 0x1651192e, 0xaf70bf3e, 0x58c31380, 0x5f98302e, 0x727cc3c4, 0x0a0fb402, 0x0f7fef82, 0x8c96fdad, 0x5d2c2aae, 0x8ee99a49, 0x50da88b8, 0x8427f4a0, 0x1eac5790, 0x796fb449, 0x8252dc15, 0xefbd7d9b, 0xa672597d, 0xada840d8, 0x45f54504, 0xfa5d7403, 0xe83ec305, 0x4f91751a, 0x925669c2, 0x23efe941, 0xa903f12e, 0x60270df2, 0x0276e4b6, 0x94fd6574, 0x927985b2, 0x8276dbcb, 0x02778176, 0xf8af918d, 0x4e48f79e, 0x8f616ddf, 0xe29d840e, 0x842f7d83, 0x340ce5c8, 0x96bbb682, 0x93b4b148, 0xef303cab, 0x984faf28, 0x779faf9b, 0x92dc560d, 0x224d1e20, 0x8437aa88, 0x7d29dc96, 0x2756d3dc, 0x8b907cee, 0xb51fd240, 0xe7c07ce3, 0xe566b4a1, 0xc3e9615e, 0x3cf8209d, 0x6094d1e3, 0xcd9ca341, 0x5c76460e, 0x00ea983b, 0xd4d67881, 0xfd47572c, 0xf76cedd9, 0xbda8229c, 0x127dadaa, 0x438a074e, 0x1f97c090, 0x081bdb8a, 0x93a07ebe, 0xb938ca15, 0x97b03cff, 0x3dc2c0f8, 0x8d1ab2ec, 0x64380e51, 0x68cc7bfb, 0xd90f2788, 0x12490181, 0x5de5ffd4, 0xdd7ef86a, 0x76a2e214, 0xb9a40368, 0x925d958f, 0x4b39fffa, 0xba39aee9, 0xa4ffd30b, 0xfaf7933b, 0x6d498623, 0x193cbcfa, 0x27627545, 0x825cf47a, 0x61bd8ba0, 0xd11e42d1, 0xcead04f4, 0x127ea392, 0x10428db7, 0x8272a972, 0x9270c4a8, 0x127de50b, 0x285ba1c8, 0x3c62f44f, 0x35c0eaa5, 0xe805d231, 0x428929fb, 0xb4fcdf82, 0x4fb66a53, 0x0e7dc15b, 0x1f081fab, 0x108618ae, 0xfcfd086d, 0xf9ff2889, 0x694bcc11, 0x236a5cae, 0x12deca4d, 0x2c3f8cc5, 0xd2d02dfe, 0xf8ef5896, 0xe4cf52da, 0x95155b67, 0x494a488c, 0xb9b6a80c, 0x5c8f82bc, 0x89d36b45, 0x3a609437, 0xec00c9a9, 0x44715253, 0x0a874b49, 0xd773bc40, 0x7c34671c, 0x02717ef6, 0x4feb5536, 0xa2d02fff, 0xd2bf60c4, 0xd43f03c0, 0x50b4ef6d, 0x07478cd1, 0x006e1888, 0xa2e53f55, 0xb9e6d4bc, 0xa2048016, 0x97573833, 0xd7207d67, 0xde0f8f3d, 0x72f87b33, 0xabcc4f33, 0x7688c55d, 0x7b00a6b0, 0x947b0001, 0x570075d2, 0xf9bb88f8, 0x8942019e, 0x4264a5ff, 0x856302e0, 0x72dbd92b, 0xee971b69, 0x6ea22fde, 0x5f08ae2b, 0xaf7a616d, 0xe5c98767, 0xcf1febd2, 0x61efc8c2, 0xf1ac2571, 0xcc8239c2, 0x67214cb8, 0xb1e583d1, 0xb7dc3e62, 0x7f10bdce, 0xf90a5c38, 0x0ff0443d, 0x606e6dc6, 0x60543a49, 0x5727c148, 0x2be98a1d, 0x8ab41738, 0x20e1be24, 0xaf96da0f, 0x68458425, 0x99833be5, 0x600d457d, 0x282f9350, 0x8334b362, 0xd91d1120, 0x2b6d8da0, 0x642b1e31, 0x9c305a00, 0x52bce688, 0x1b03588a, 0xf7baefd5, 0x4142ed9c, 0xa4315c11, 0x83323ec5, 0xdfef4636, 0xa133c501, 0xe9d3531c, 0xee353783 }; static const u_32int cast_S4[] = { 0x9db30420, 0x1fb6e9de, 0xa7be7bef, 0xd273a298, 0x4a4f7bdb, 0x64ad8c57, 0x85510443, 0xfa020ed1, 0x7e287aff, 0xe60fb663, 0x095f35a1, 0x79ebf120, 0xfd059d43, 0x6497b7b1, 0xf3641f63, 0x241e4adf, 0x28147f5f, 0x4fa2b8cd, 0xc9430040, 0x0cc32220, 0xfdd30b30, 0xc0a5374f, 0x1d2d00d9, 0x24147b15, 0xee4d111a, 0x0fca5167, 0x71ff904c, 0x2d195ffe, 0x1a05645f, 0x0c13fefe, 0x081b08ca, 0x05170121, 0x80530100, 0xe83e5efe, 0xac9af4f8, 0x7fe72701, 0xd2b8ee5f, 0x06df4261, 0xbb9e9b8a, 0x7293ea25, 0xce84ffdf, 0xf5718801, 0x3dd64b04, 0xa26f263b, 0x7ed48400, 0x547eebe6, 0x446d4ca0, 0x6cf3d6f5, 0x2649abdf, 0xaea0c7f5, 0x36338cc1, 0x503f7e93, 0xd3772061, 0x11b638e1, 0x72500e03, 0xf80eb2bb, 0xabe0502e, 0xec8d77de, 0x57971e81, 0xe14f6746, 0xc9335400, 0x6920318f, 0x081dbb99, 0xffc304a5, 0x4d351805, 0x7f3d5ce3, 0xa6c866c6, 0x5d5bcca9, 0xdaec6fea, 0x9f926f91, 0x9f46222f, 0x3991467d, 0xa5bf6d8e, 0x1143c44f, 0x43958302, 0xd0214eeb, 0x022083b8, 0x3fb6180c, 0x18f8931e, 0x281658e6, 0x26486e3e, 0x8bd78a70, 0x7477e4c1, 0xb506e07c, 0xf32d0a25, 0x79098b02, 0xe4eabb81, 0x28123b23, 0x69dead38, 0x1574ca16, 0xdf871b62, 0x211c40b7, 0xa51a9ef9, 0x0014377b, 0x041e8ac8, 0x09114003, 0xbd59e4d2, 0xe3d156d5, 0x4fe876d5, 0x2f91a340, 0x557be8de, 0x00eae4a7, 0x0ce5c2ec, 0x4db4bba6, 0xe756bdff, 0xdd3369ac, 0xec17b035, 0x06572327, 0x99afc8b0, 0x56c8c391, 0x6b65811c, 0x5e146119, 0x6e85cb75, 0xbe07c002, 0xc2325577, 0x893ff4ec, 0x5bbfc92d, 0xd0ec3b25, 0xb7801ab7, 0x8d6d3b24, 0x20c763ef, 0xc366a5fc, 0x9c382880, 0x0ace3205, 0xaac9548a, 0xeca1d7c7, 0x041afa32, 0x1d16625a, 0x6701902c, 0x9b757a54, 0x31d477f7, 0x9126b031, 0x36cc6fdb, 0xc70b8b46, 0xd9e66a48, 0x56e55a79, 0x026a4ceb, 0x52437eff, 0x2f8f76b4, 0x0df980a5, 0x8674cde3, 0xedda04eb, 0x17a9be04, 0x2c18f4df, 0xb7747f9d, 0xab2af7b4, 0xefc34d20, 0x2e096b7c, 0x1741a254, 0xe5b6a035, 0x213d42f6, 0x2c1c7c26, 0x61c2f50f, 0x6552daf9, 0xd2c231f8, 0x25130f69, 0xd8167fa2, 0x0418f2c8, 0x001a96a6, 0x0d1526ab, 0x63315c21, 0x5e0a72ec, 0x49bafefd, 0x187908d9, 0x8d0dbd86, 0x311170a7, 0x3e9b640c, 0xcc3e10d7, 0xd5cad3b6, 0x0caec388, 0xf73001e1, 0x6c728aff, 0x71eae2a1, 0x1f9af36e, 0xcfcbd12f, 0xc1de8417, 0xac07be6b, 0xcb44a1d8, 0x8b9b0f56, 0x013988c3, 0xb1c52fca, 0xb4be31cd, 0xd8782806, 0x12a3a4e2, 0x6f7de532, 0x58fd7eb6, 0xd01ee900, 0x24adffc2, 0xf4990fc5, 0x9711aac5, 0x001d7b95, 0x82e5e7d2, 0x109873f6, 0x00613096, 0xc32d9521, 0xada121ff, 0x29908415, 0x7fbb977f, 0xaf9eb3db, 0x29c9ed2a, 0x5ce2a465, 0xa730f32c, 0xd0aa3fe8, 0x8a5cc091, 0xd49e2ce7, 0x0ce454a9, 0xd60acd86, 0x015f1919, 0x77079103, 0xdea03af6, 0x78a8565e, 0xdee356df, 0x21f05cbe, 0x8b75e387, 0xb3c50651, 0xb8a5c3ef, 0xd8eeb6d2, 0xe523be77, 0xc2154529, 0x2f69efdf, 0xafe67afb, 0xf470c4b2, 0xf3e0eb5b, 0xd6cc9876, 0x39e4460c, 0x1fda8538, 0x1987832f, 0xca007367, 0xa99144f8, 0x296b299e, 0x492fc295, 0x9266beab, 0xb5676e69, 0x9bd3ddda, 0xdf7e052f, 0xdb25701c, 0x1b5e51ee, 0xf65324e6, 0x6afce36c, 0x0316cc04, 0x8644213e, 0xb7dc59d0, 0x7965291f, 0xccd6fd43, 0x41823979, 0x932bcdf6, 0xb657c34d, 0x4edfd282, 0x7ae5290c, 0x3cb9536b, 0x851e20fe, 0x9833557e, 0x13ecf0b0, 0xd3ffb372, 0x3f85c5c1, 0x0aef7ed2 }; static const u_32int cast_S5[] = { 0x7ec90c04, 0x2c6e74b9, 0x9b0e66df, 0xa6337911, 0xb86a7fff, 0x1dd358f5, 0x44dd9d44, 0x1731167f, 0x08fbf1fa, 0xe7f511cc, 0xd2051b00, 0x735aba00, 0x2ab722d8, 0x386381cb, 0xacf6243a, 0x69befd7a, 0xe6a2e77f, 0xf0c720cd, 0xc4494816, 0xccf5c180, 0x38851640, 0x15b0a848, 0xe68b18cb, 0x4caadeff, 0x5f480a01, 0x0412b2aa, 0x259814fc, 0x41d0efe2, 0x4e40b48d, 0x248eb6fb, 0x8dba1cfe, 0x41a99b02, 0x1a550a04, 0xba8f65cb, 0x7251f4e7, 0x95a51725, 0xc106ecd7, 0x97a5980a, 0xc539b9aa, 0x4d79fe6a, 0xf2f3f763, 0x68af8040, 0xed0c9e56, 0x11b4958b, 0xe1eb5a88, 0x8709e6b0, 0xd7e07156, 0x4e29fea7, 0x6366e52d, 0x02d1c000, 0xc4ac8e05, 0x9377f571, 0x0c05372a, 0x578535f2, 0x2261be02, 0xd642a0c9, 0xdf13a280, 0x74b55bd2, 0x682199c0, 0xd421e5ec, 0x53fb3ce8, 0xc8adedb3, 0x28a87fc9, 0x3d959981, 0x5c1ff900, 0xfe38d399, 0x0c4eff0b, 0x062407ea, 0xaa2f4fb1, 0x4fb96976, 0x90c79505, 0xb0a8a774, 0xef55a1ff, 0xe59ca2c2, 0xa6b62d27, 0xe66a4263, 0xdf65001f, 0x0ec50966, 0xdfdd55bc, 0x29de0655, 0x911e739a, 0x17af8975, 0x32c7911c, 0x89f89468, 0x0d01e980, 0x524755f4, 0x03b63cc9, 0x0cc844b2, 0xbcf3f0aa, 0x87ac36e9, 0xe53a7426, 0x01b3d82b, 0x1a9e7449, 0x64ee2d7e, 0xcddbb1da, 0x01c94910, 0xb868bf80, 0x0d26f3fd, 0x9342ede7, 0x04a5c284, 0x636737b6, 0x50f5b616, 0xf24766e3, 0x8eca36c1, 0x136e05db, 0xfef18391, 0xfb887a37, 0xd6e7f7d4, 0xc7fb7dc9, 0x3063fcdf, 0xb6f589de, 0xec2941da, 0x26e46695, 0xb7566419, 0xf654efc5, 0xd08d58b7, 0x48925401, 0xc1bacb7f, 0xe5ff550f, 0xb6083049, 0x5bb5d0e8, 0x87d72e5a, 0xab6a6ee1, 0x223a66ce, 0xc62bf3cd, 0x9e0885f9, 0x68cb3e47, 0x086c010f, 0xa21de820, 0xd18b69de, 0xf3f65777, 0xfa02c3f6, 0x407edac3, 0xcbb3d550, 0x1793084d, 0xb0d70eba, 0x0ab378d5, 0xd951fb0c, 0xded7da56, 0x4124bbe4, 0x94ca0b56, 0x0f5755d1, 0xe0e1e56e, 0x6184b5be, 0x580a249f, 0x94f74bc0, 0xe327888e, 0x9f7b5561, 0xc3dc0280, 0x05687715, 0x646c6bd7, 0x44904db3, 0x66b4f0a3, 0xc0f1648a, 0x697ed5af, 0x49e92ff6, 0x309e374f, 0x2cb6356a, 0x85808573, 0x4991f840, 0x76f0ae02, 0x083be84d, 0x28421c9a, 0x44489406, 0x736e4cb8, 0xc1092910, 0x8bc95fc6, 0x7d869cf4, 0x134f616f, 0x2e77118d, 0xb31b2be1, 0xaa90b472, 0x3ca5d717, 0x7d161bba, 0x9cad9010, 0xaf462ba2, 0x9fe459d2, 0x45d34559, 0xd9f2da13, 0xdbc65487, 0xf3e4f94e, 0x176d486f, 0x097c13ea, 0x631da5c7, 0x445f7382, 0x175683f4, 0xcdc66a97, 0x70be0288, 0xb3cdcf72, 0x6e5dd2f3, 0x20936079, 0x459b80a5, 0xbe60e2db, 0xa9c23101, 0xeba5315c, 0x224e42f2, 0x1c5c1572, 0xf6721b2c, 0x1ad2fff3, 0x8c25404e, 0x324ed72f, 0x4067b7fd, 0x0523138e, 0x5ca3bc78, 0xdc0fd66e, 0x75922283, 0x784d6b17, 0x58ebb16e, 0x44094f85, 0x3f481d87, 0xfcfeae7b, 0x77b5ff76, 0x8c2302bf, 0xaaf47556, 0x5f46b02a, 0x2b092801, 0x3d38f5f7, 0x0ca81f36, 0x52af4a8a, 0x66d5e7c0, 0xdf3b0874, 0x95055110, 0x1b5ad7a8, 0xf61ed5ad, 0x6cf6e479, 0x20758184, 0xd0cefa65, 0x88f7be58, 0x4a046826, 0x0ff6f8f3, 0xa09c7f70, 0x5346aba0, 0x5ce96c28, 0xe176eda3, 0x6bac307f, 0x376829d2, 0x85360fa9, 0x17e3fe2a, 0x24b79767, 0xf5a96b20, 0xd6cd2595, 0x68ff1ebf, 0x7555442c, 0xf19f06be, 0xf9e0659a, 0xeeb9491d, 0x34010718, 0xbb30cab8, 0xe822fe15, 0x88570983, 0x750e6249, 0xda627e55, 0x5e76ffa8, 0xb1534546, 0x6d47de08, 0xefe9e7d4 }; static const u_32int cast_S6[] = { 0xf6fa8f9d, 0x2cac6ce1, 0x4ca34867, 0xe2337f7c, 0x95db08e7, 0x016843b4, 0xeced5cbc, 0x325553ac, 0xbf9f0960, 0xdfa1e2ed, 0x83f0579d, 0x63ed86b9, 0x1ab6a6b8, 0xde5ebe39, 0xf38ff732, 0x8989b138, 0x33f14961, 0xc01937bd, 0xf506c6da, 0xe4625e7e, 0xa308ea99, 0x4e23e33c, 0x79cbd7cc, 0x48a14367, 0xa3149619, 0xfec94bd5, 0xa114174a, 0xeaa01866, 0xa084db2d, 0x09a8486f, 0xa888614a, 0x2900af98, 0x01665991, 0xe1992863, 0xc8f30c60, 0x2e78ef3c, 0xd0d51932, 0xcf0fec14, 0xf7ca07d2, 0xd0a82072, 0xfd41197e, 0x9305a6b0, 0xe86be3da, 0x74bed3cd, 0x372da53c, 0x4c7f4448, 0xdab5d440, 0x6dba0ec3, 0x083919a7, 0x9fbaeed9, 0x49dbcfb0, 0x4e670c53, 0x5c3d9c01, 0x64bdb941, 0x2c0e636a, 0xba7dd9cd, 0xea6f7388, 0xe70bc762, 0x35f29adb, 0x5c4cdd8d, 0xf0d48d8c, 0xb88153e2, 0x08a19866, 0x1ae2eac8, 0x284caf89, 0xaa928223, 0x9334be53, 0x3b3a21bf, 0x16434be3, 0x9aea3906, 0xefe8c36e, 0xf890cdd9, 0x80226dae, 0xc340a4a3, 0xdf7e9c09, 0xa694a807, 0x5b7c5ecc, 0x221db3a6, 0x9a69a02f, 0x68818a54, 0xceb2296f, 0x53c0843a, 0xfe893655, 0x25bfe68a, 0xb4628abc, 0xcf222ebf, 0x25ac6f48, 0xa9a99387, 0x53bddb65, 0xe76ffbe7, 0xe967fd78, 0x0ba93563, 0x8e342bc1, 0xe8a11be9, 0x4980740d, 0xc8087dfc, 0x8de4bf99, 0xa11101a0, 0x7fd37975, 0xda5a26c0, 0xe81f994f, 0x9528cd89, 0xfd339fed, 0xb87834bf, 0x5f04456d, 0x22258698, 0xc9c4c83b, 0x2dc156be, 0x4f628daa, 0x57f55ec5, 0xe2220abe, 0xd2916ebf, 0x4ec75b95, 0x24f2c3c0, 0x42d15d99, 0xcd0d7fa0, 0x7b6e27ff, 0xa8dc8af0, 0x7345c106, 0xf41e232f, 0x35162386, 0xe6ea8926, 0x3333b094, 0x157ec6f2, 0x372b74af, 0x692573e4, 0xe9a9d848, 0xf3160289, 0x3a62ef1d, 0xa787e238, 0xf3a5f676, 0x74364853, 0x20951063, 0x4576698d, 0xb6fad407, 0x592af950, 0x36f73523, 0x4cfb6e87, 0x7da4cec0, 0x6c152daa, 0xcb0396a8, 0xc50dfe5d, 0xfcd707ab, 0x0921c42f, 0x89dff0bb, 0x5fe2be78, 0x448f4f33, 0x754613c9, 0x2b05d08d, 0x48b9d585, 0xdc049441, 0xc8098f9b, 0x7dede786, 0xc39a3373, 0x42410005, 0x6a091751, 0x0ef3c8a6, 0x890072d6, 0x28207682, 0xa9a9f7be, 0xbf32679d, 0xd45b5b75, 0xb353fd00, 0xcbb0e358, 0x830f220a, 0x1f8fb214, 0xd372cf08, 0xcc3c4a13, 0x8cf63166, 0x061c87be, 0x88c98f88, 0x6062e397, 0x47cf8e7a, 0xb6c85283, 0x3cc2acfb, 0x3fc06976, 0x4e8f0252, 0x64d8314d, 0xda3870e3, 0x1e665459, 0xc10908f0, 0x513021a5, 0x6c5b68b7, 0x822f8aa0, 0x3007cd3e, 0x74719eef, 0xdc872681, 0x073340d4, 0x7e432fd9, 0x0c5ec241, 0x8809286c, 0xf592d891, 0x08a930f6, 0x957ef305, 0xb7fbffbd, 0xc266e96f, 0x6fe4ac98, 0xb173ecc0, 0xbc60b42a, 0x953498da, 0xfba1ae12, 0x2d4bd736, 0x0f25faab, 0xa4f3fceb, 0xe2969123, 0x257f0c3d, 0x9348af49, 0x361400bc, 0xe8816f4a, 0x3814f200, 0xa3f94043, 0x9c7a54c2, 0xbc704f57, 0xda41e7f9, 0xc25ad33a, 0x54f4a084, 0xb17f5505, 0x59357cbe, 0xedbd15c8, 0x7f97c5ab, 0xba5ac7b5, 0xb6f6deaf, 0x3a479c3a, 0x5302da25, 0x653d7e6a, 0x54268d49, 0x51a477ea, 0x5017d55b, 0xd7d25d88, 0x44136c76, 0x0404a8c8, 0xb8e5a121, 0xb81a928a, 0x60ed5869, 0x97c55b96, 0xeaec991b, 0x29935913, 0x01fdb7f1, 0x088e8dfa, 0x9ab6f6f5, 0x3b4cbf9f, 0x4a5de3ab, 0xe6051d35, 0xa0e1d855, 0xd36b4cf1, 0xf544edeb, 0xb0e93524, 0xbebb8fbd, 0xa2d762cf, 0x49c92f54, 0x38b5f331, 0x7128a454, 0x48392905, 0xa65b1db8, 0x851c97bd, 0xd675cf2f }; static const u_32int cast_S7[] = { 0x85e04019, 0x332bf567, 0x662dbfff, 0xcfc65693, 0x2a8d7f6f, 0xab9bc912, 0xde6008a1, 0x2028da1f, 0x0227bce7, 0x4d642916, 0x18fac300, 0x50f18b82, 0x2cb2cb11, 0xb232e75c, 0x4b3695f2, 0xb28707de, 0xa05fbcf6, 0xcd4181e9, 0xe150210c, 0xe24ef1bd, 0xb168c381, 0xfde4e789, 0x5c79b0d8, 0x1e8bfd43, 0x4d495001, 0x38be4341, 0x913cee1d, 0x92a79c3f, 0x089766be, 0xbaeeadf4, 0x1286becf, 0xb6eacb19, 0x2660c200, 0x7565bde4, 0x64241f7a, 0x8248dca9, 0xc3b3ad66, 0x28136086, 0x0bd8dfa8, 0x356d1cf2, 0x107789be, 0xb3b2e9ce, 0x0502aa8f, 0x0bc0351e, 0x166bf52a, 0xeb12ff82, 0xe3486911, 0xd34d7516, 0x4e7b3aff, 0x5f43671b, 0x9cf6e037, 0x4981ac83, 0x334266ce, 0x8c9341b7, 0xd0d854c0, 0xcb3a6c88, 0x47bc2829, 0x4725ba37, 0xa66ad22b, 0x7ad61f1e, 0x0c5cbafa, 0x4437f107, 0xb6e79962, 0x42d2d816, 0x0a961288, 0xe1a5c06e, 0x13749e67, 0x72fc081a, 0xb1d139f7, 0xf9583745, 0xcf19df58, 0xbec3f756, 0xc06eba30, 0x07211b24, 0x45c28829, 0xc95e317f, 0xbc8ec511, 0x38bc46e9, 0xc6e6fa14, 0xbae8584a, 0xad4ebc46, 0x468f508b, 0x7829435f, 0xf124183b, 0x821dba9f, 0xaff60ff4, 0xea2c4e6d, 0x16e39264, 0x92544a8b, 0x009b4fc3, 0xaba68ced, 0x9ac96f78, 0x06a5b79a, 0xb2856e6e, 0x1aec3ca9, 0xbe838688, 0x0e0804e9, 0x55f1be56, 0xe7e5363b, 0xb3a1f25d, 0xf7debb85, 0x61fe033c, 0x16746233, 0x3c034c28, 0xda6d0c74, 0x79aac56c, 0x3ce4e1ad, 0x51f0c802, 0x98f8f35a, 0x1626a49f, 0xeed82b29, 0x1d382fe3, 0x0c4fb99a, 0xbb325778, 0x3ec6d97b, 0x6e77a6a9, 0xcb658b5c, 0xd45230c7, 0x2bd1408b, 0x60c03eb7, 0xb9068d78, 0xa33754f4, 0xf430c87d, 0xc8a71302, 0xb96d8c32, 0xebd4e7be, 0xbe8b9d2d, 0x7979fb06, 0xe7225308, 0x8b75cf77, 0x11ef8da4, 0xe083c858, 0x8d6b786f, 0x5a6317a6, 0xfa5cf7a0, 0x5dda0033, 0xf28ebfb0, 0xf5b9c310, 0xa0eac280, 0x08b9767a, 0xa3d9d2b0, 0x79d34217, 0x021a718d, 0x9ac6336a, 0x2711fd60, 0x438050e3, 0x069908a8, 0x3d7fedc4, 0x826d2bef, 0x4eeb8476, 0x488dcf25, 0x36c9d566, 0x28e74e41, 0xc2610aca, 0x3d49a9cf, 0xbae3b9df, 0xb65f8de6, 0x92aeaf64, 0x3ac7d5e6, 0x9ea80509, 0xf22b017d, 0xa4173f70, 0xdd1e16c3, 0x15e0d7f9, 0x50b1b887, 0x2b9f4fd5, 0x625aba82, 0x6a017962, 0x2ec01b9c, 0x15488aa9, 0xd716e740, 0x40055a2c, 0x93d29a22, 0xe32dbf9a, 0x058745b9, 0x3453dc1e, 0xd699296e, 0x496cff6f, 0x1c9f4986, 0xdfe2ed07, 0xb87242d1, 0x19de7eae, 0x053e561a, 0x15ad6f8c, 0x66626c1c, 0x7154c24c, 0xea082b2a, 0x93eb2939, 0x17dcb0f0, 0x58d4f2ae, 0x9ea294fb, 0x52cf564c, 0x9883fe66, 0x2ec40581, 0x763953c3, 0x01d6692e, 0xd3a0c108, 0xa1e7160e, 0xe4f2dfa6, 0x693ed285, 0x74904698, 0x4c2b0edd, 0x4f757656, 0x5d393378, 0xa132234f, 0x3d321c5d, 0xc3f5e194, 0x4b269301, 0xc79f022f, 0x3c997e7e, 0x5e4f9504, 0x3ffafbbd, 0x76f7ad0e, 0x296693f4, 0x3d1fce6f, 0xc61e45be, 0xd3b5ab34, 0xf72bf9b7, 0x1b0434c0, 0x4e72b567, 0x5592a33d, 0xb5229301, 0xcfd2a87f, 0x60aeb767, 0x1814386b, 0x30bcc33d, 0x38a0c07d, 0xfd1606f2, 0xc363519b, 0x589dd390, 0x5479f8e6, 0x1cb8d647, 0x97fd61a9, 0xea7759f4, 0x2d57539d, 0x569a58cf, 0xe84e63ad, 0x462e1b78, 0x6580f87e, 0xf3817914, 0x91da55f4, 0x40a230f3, 0xd1988f35, 0xb6e318d2, 0x3ffa50bc, 0x3d40f021, 0xc3c0bdae, 0x4958c24c, 0x518f36b2, 0x84b1d370, 0x0fedce83, 0x878ddada, 0xf2a279c7, 0x94e01be8, 0x90716f4b, 0x954b8aa3 }; static const u_32int cast_S8[] = { 0xe216300d, 0xbbddfffc, 0xa7ebdabd, 0x35648095, 0x7789f8b7, 0xe6c1121b, 0x0e241600, 0x052ce8b5, 0x11a9cfb0, 0xe5952f11, 0xece7990a, 0x9386d174, 0x2a42931c, 0x76e38111, 0xb12def3a, 0x37ddddfc, 0xde9adeb1, 0x0a0cc32c, 0xbe197029, 0x84a00940, 0xbb243a0f, 0xb4d137cf, 0xb44e79f0, 0x049eedfd, 0x0b15a15d, 0x480d3168, 0x8bbbde5a, 0x669ded42, 0xc7ece831, 0x3f8f95e7, 0x72df191b, 0x7580330d, 0x94074251, 0x5c7dcdfa, 0xabbe6d63, 0xaa402164, 0xb301d40a, 0x02e7d1ca, 0x53571dae, 0x7a3182a2, 0x12a8ddec, 0xfdaa335d, 0x176f43e8, 0x71fb46d4, 0x38129022, 0xce949ad4, 0xb84769ad, 0x965bd862, 0x82f3d055, 0x66fb9767, 0x15b80b4e, 0x1d5b47a0, 0x4cfde06f, 0xc28ec4b8, 0x57e8726e, 0x647a78fc, 0x99865d44, 0x608bd593, 0x6c200e03, 0x39dc5ff6, 0x5d0b00a3, 0xae63aff2, 0x7e8bd632, 0x70108c0c, 0xbbd35049, 0x2998df04, 0x980cf42a, 0x9b6df491, 0x9e7edd53, 0x06918548, 0x58cb7e07, 0x3b74ef2e, 0x522fffb1, 0xd24708cc, 0x1c7e27cd, 0xa4eb215b, 0x3cf1d2e2, 0x19b47a38, 0x424f7618, 0x35856039, 0x9d17dee7, 0x27eb35e6, 0xc9aff67b, 0x36baf5b8, 0x09c467cd, 0xc18910b1, 0xe11dbf7b, 0x06cd1af8, 0x7170c608, 0x2d5e3354, 0xd4de495a, 0x64c6d006, 0xbcc0c62c, 0x3dd00db3, 0x708f8f34, 0x77d51b42, 0x264f620f, 0x24b8d2bf, 0x15c1b79e, 0x46a52564, 0xf8d7e54e, 0x3e378160, 0x7895cda5, 0x859c15a5, 0xe6459788, 0xc37bc75f, 0xdb07ba0c, 0x0676a3ab, 0x7f229b1e, 0x31842e7b, 0x24259fd7, 0xf8bef472, 0x835ffcb8, 0x6df4c1f2, 0x96f5b195, 0xfd0af0fc, 0xb0fe134c, 0xe2506d3d, 0x4f9b12ea, 0xf215f225, 0xa223736f, 0x9fb4c428, 0x25d04979, 0x34c713f8, 0xc4618187, 0xea7a6e98, 0x7cd16efc, 0x1436876c, 0xf1544107, 0xbedeee14, 0x56e9af27, 0xa04aa441, 0x3cf7c899, 0x92ecbae6, 0xdd67016d, 0x151682eb, 0xa842eedf, 0xfdba60b4, 0xf1907b75, 0x20e3030f, 0x24d8c29e, 0xe139673b, 0xefa63fb8, 0x71873054, 0xb6f2cf3b, 0x9f326442, 0xcb15a4cc, 0xb01a4504, 0xf1e47d8d, 0x844a1be5, 0xbae7dfdc, 0x42cbda70, 0xcd7dae0a, 0x57e85b7a, 0xd53f5af6, 0x20cf4d8c, 0xcea4d428, 0x79d130a4, 0x3486ebfb, 0x33d3cddc, 0x77853b53, 0x37effcb5, 0xc5068778, 0xe580b3e6, 0x4e68b8f4, 0xc5c8b37e, 0x0d809ea2, 0x398feb7c, 0x132a4f94, 0x43b7950e, 0x2fee7d1c, 0x223613bd, 0xdd06caa2, 0x37df932b, 0xc4248289, 0xacf3ebc3, 0x5715f6b7, 0xef3478dd, 0xf267616f, 0xc148cbe4, 0x9052815e, 0x5e410fab, 0xb48a2465, 0x2eda7fa4, 0xe87b40e4, 0xe98ea084, 0x5889e9e1, 0xefd390fc, 0xdd07d35b, 0xdb485694, 0x38d7e5b2, 0x57720101, 0x730edebc, 0x5b643113, 0x94917e4f, 0x503c2fba, 0x646f1282, 0x7523d24a, 0xe0779695, 0xf9c17a8f, 0x7a5b2121, 0xd187b896, 0x29263a4d, 0xba510cdf, 0x81f47c9f, 0xad1163ed, 0xea7b5965, 0x1a00726e, 0x11403092, 0x00da6d77, 0x4a0cdd61, 0xad1f4603, 0x605bdfb0, 0x9eedc364, 0x22ebe6a8, 0xcee7d28a, 0xa0e736a0, 0x5564a6b9, 0x10853209, 0xc7eb8f37, 0x2de705ca, 0x8951570f, 0xdf09822b, 0xbd691a6c, 0xaa12e4f2, 0x87451c0f, 0xe0f6a27a, 0x3ada4819, 0x4cf1764f, 0x0d771c2b, 0x67cdb156, 0x350d8384, 0x5938fa0f, 0x42399ef3, 0x36997b07, 0x0e84093d, 0x4aa93e61, 0x8360d87b, 0x1fa98b0c, 0x1149382c, 0xe97625a5, 0x0614d1b7, 0x0e25244b, 0x0c768347, 0x589e8d82, 0x0d2059d1, 0xa466bb1e, 0xf8da0a82, 0x04f19130, 0xba6e4ec0, 0x99265164, 0x1ee7230d, 0x50b2ad80, 0xeaee6801, 0x8db2a283, 0xea8bf59e }; scrollz-2.2.3.orig/include/whowas.h0000644000175000017500000000357712251073235017027 0ustar madhackmadhack/* * whowas.h: header file for whowas.c * * Written by Scott H Kilau * * CopyRight(c) 1995 * * See the COPYRIGHT file, or do a HELP IRCII COPYRIGHT * * $Id: whowas.h,v 1.4 2000-08-26 10:51:54 f Exp $ * * Modified by Flier */ #ifndef _whowas_h_ #define _whowas_h_ #include "irc.h" #include "window.h" #include "names.h" /* WhowasList: structure for the whowas buffer linked list */ typedef struct whowaslist_stru { struct whowaslist_stru *next; /* pointer to next whowas entry */ time_t time; /* time added on list */ char *channel; /* channel they left from */ NickList *nicklist; /* NickList entry */ } WhowasList; /* WhowasChanList: structure for the whowas channel buffer linked list */ typedef struct whowaschanlist_stru { struct whowaschanlist_stru *next; /* pointer to next whowas chan entry */ time_t time; /* time added on list */ ChannelList *channellist; /* ChannelList entry */ } WhowasChanList; extern WhowasList *whowas_userlist_list; extern WhowasList *whowas_reg_list; extern WhowasChanList *whowas_chan_list; extern WhowasList *check_whowas_buffer _((char *, char *, char *, int)); extern void add_to_whowas_buffer _((NickList *, char */*, char *, char **/)); extern int remove_oldest_whowas _((WhowasList **, time_t, int)); extern void clean_whowas_list _((void)); extern void synch_whowas_adduser _((struct friends *)); extern void synch_whowas_unuser _((struct friends *)); extern void synch_whowas_addshit _((struct autobankicks *)); extern void synch_whowas_unshit _((struct autobankicks *)); extern WhowasChanList *check_whowas_chan_buffer _((char *, int)); extern int add_to_whowas_chan_buffer _((ChannelList *)); extern int remove_oldest_chan_whowas _((WhowasChanList **, time_t, int)); extern void clean_whowas_chan_list _((void)); #endif /* _whowas_h_ */ scrollz-2.2.3.orig/include/if.h0000644000175000017500000000370412251073235016105 0ustar madhackmadhack/* * if.h: header for if.c * * copyright(c) 1994 matthew green * * Copyright (c) 1994-1998 Matthew R. Green. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. The name of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * $Id: if.h,v 1.2 1999-02-15 21:18:29 f Exp $ */ #ifndef __if_h # define __if_h char *next_expr _((char **, int)); void ifcmd _((char *, char *, char *)); void whilecmd _((char *, char *, char *)); void foreach_handler _((char *, char *, char *)); void foreach _((char *, char *, char *)); void fe _((char *, char *, char *)); void forcmd _((char *, char *, char *)); void fec _((char *, char *, char *)); #endif /* __if_h */ scrollz-2.2.3.orig/include/ircterm.h0000644000175000017500000002075312251073235017157 0ustar madhackmadhack/* * term.h: header file for term.c * * Written By Michael Sandrof * * Copyright (c) 1990 Michael Sandrof. * Copyright (c) 1991, 1992 Troy Rollo. * Copyright (c) 1992-2003 Matthew R. Green. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. The name of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * $Id: ircterm.h,v 1.9 2006-10-31 12:31:27 f Exp $ */ #ifndef __ircterm_h_ # define __ircterm_h_ #ifdef INCLUDE_CURSES_H # include #endif /* INCLUDE_CURSES_H */ /**************************** PATCHED by Flier ******************************/ #ifdef SZNCURSES #include #endif /* SZNCURSES */ /****************************************************************************/ /* this is really busted on solaris -mrg */ #if 0 #ifdef INCLUDE_TERM_H # include # ifdef lines # undef lines # endif /* lines */ # ifdef columns # undef columns # endif /* columns */ #endif /* INCLUDE_TERM_H */ #endif /* 0 */ #ifdef MUNIX # include #endif /* MUNIX */ extern int term_reset_flag; /**************************** PATCHED by Flier ******************************/ #ifndef SZNCURSES /****************************************************************************/ extern char *CM, *DO, *CE, *CL, *CR, *NL, *SO, *SE, *US, *UE, *MD, *ME, *BL, *TI, *TE; /**************************** PATCHED by Flier ******************************/ #endif /* SZNCURSES */ /****************************************************************************/ extern int SG; #ifdef NCURSES_VERSION # define TPUTSRETVAL int # define TPUTSARGVAL int #else # ifdef HPUX # define TPUTSRETVAL int # define TPUTSARGVAL char # else /* HPUX */ # ifdef __sgi # include # define TPUTSRETVAL int # define TPUTSARGVAL char # endif # if (defined(__sgi) && defined(SEEKLIMIT32)) || defined(__osf__) || defined(__SVR4) /* * XXX * * if this causes your compile to fail, then just delete it. and * please tell me (use the `ircbug' command). thanks. */ char *tgetstr(char *, char **); # endif # ifndef __sgi # if defined(__linux__) || defined(_AIX) || defined(__GNU__) || defined(__FreeBSD__) || (defined(__NetBSD_Version__) && __NetBSD_Version__ >= 104100000) # define TPUTSRETVAL int # define TPUTSARGVAL int # else # define TPUTSVOIDRET 1 # define TPUTSRETVAL void # define TPUTSARGVAL int # endif /* __linux || _AIX */ # endif /* __sgi */ # endif /* HPUX */ #endif /* NCURSES_VERSION */ TPUTSRETVAL putchar_x _((TPUTSARGVAL)); #define tputs_x(s) (tputs(s, 0, putchar_x)) /**************************** PATCHED by Flier ******************************/ #ifdef SZNCURSES #define term_underline_on() (attron(A_UNDERLINE)) #define term_underline_off() (attroff(A_UNDERLINE)) #define term_standout_on() (attron(A_REVERSE)) #define term_standout_off() (attroff(A_REVERSE)) #define term_clear_screen() (clear()) #define term_move_cursor(c, r) (move(r,c)) #define term_cr() {} #define term_newline() (addch('\n')) #define term_beep() (beep()) #define term_bold_on() (attron(A_BOLD)) #define term_bold_off() (attroff(A_BOLD)) #else /* SZNCURSES */ /****************************************************************************/ #define term_underline_on() (tputs_x(US)) #define term_underline_off() (tputs_x(UE)) #define term_standout_on() (tputs_x(SO)) #define term_standout_off() (tputs_x(SE)) #define term_clear_screen() (tputs_x(CL)) #define term_move_cursor(c, r) (tputs_x(tgoto(CM, (c), (r)))) #define term_cr() (tputs_x(CR)) #define term_newline() (tputs_x(NL)) #define term_beep() (tputs_x(BL),fflush(current_screen ? \ current_screen->fpout : stdout)) #define term_bold_on() (tputs_x(MD)) #define term_bold_off() (tputs_x(ME)) /**************************** PATCHED by Flier ******************************/ #endif /* SZNCURSES */ /****************************************************************************/ RETSIGTYPE term_cont _((void)); void term_set_fp _((FILE *)); void term_init _((void)); /**************************** PATCHED by Flier ******************************/ void term_close _((void)); /****************************************************************************/ int term_resize _((void)); void term_pause _((u_int, char *)); int tputs_s _((char *, size_t)); void term_flush _((void)); void term_space_erase _((int)); void term_reset _((void)); void copy_window_size _((int *, int *)); int term_eight_bit _((void)); void set_term_eight_bit _((int)); /**************************** PATCHED by Flier ******************************/ #ifdef SZNCURSES int term_read _((char *buf, size_t count)); #endif /* SZNCURSES */ /****************************************************************************/ extern int (*term_scroll) _((int, int, int)); extern int (*term_insert) _((u_int)); #if 0 extern int (*term_insert_kanji) _((u_int, u_int)); #endif extern int (*term_delete) _((void)); extern int (*term_cursor_right) _((void)); extern int (*term_cursor_left) _((void)); extern int (*term_clear_to_eol) _((void)); #if defined(ISC22) || defined(MUNIX) /* Structure for terminal special characters */ struct tchars { char t_intrc; /* Interrupt */ char t_quitc; /* Quit */ char t_startc; /* Start output */ char t_stopc; /* Stop output */ char t_eofc; /* End-of-file (EOF) */ char t_brkc; /* Input delimiter (like nl) */ } struct ltchars { char t_suspc; /* stop process signal */ char t_dsuspc; /* delayed stop process signal */ char t_rprntc; /* reprint line */ char t_flushc; /* flush output (toggles) */ char t_werasc; /* word erase */ char t_lnextc; /* literal next character */ }; #endif /* ISC22 || MUNIX */ #if defined(_HPUX_SOURCE) #ifndef _TTY_CHARS_ST_ #define _TTY_CHARS_ST_ /* Structure for terminal special characters */ struct tchars { char t_intrc; /* Interrupt */ char t_quitc; /* Quit */ char t_startc; /* Start output */ char t_stopc; /* Stop output */ char t_eofc; /* End-of-file (EOF) */ char t_brkc; /* Input delimiter (like nl) */ }; #endif /* _TTY_CHARS_ST_ */ #ifndef TIOCSETC # define TIOCSETC _IOW('t', 17, struct tchars) /* set special chars */ #endif /* TIOCSETC */ #ifndef TIOCGETC # define TIOCGETC _IOR('t', 18, struct tchars) /* get special chars */ #endif /* TIOCGETC */ #ifndef CBREAK # define CBREAK 0x02 /* Half-cooked mode */ #endif /* CBREAK */ #ifndef SIGWINCH # define SIGWINCH SIGWINDOW #endif /* SIGWINCH */ #endif /* _HPUX_SOURCE */ /* well, it works */ #ifdef mips # ifndef HAVE_FPUTC # define fputc(c,f) do { char x = (c); write(fileno(f),&x,1); } while (0) # endif /* HAVE_FPUTC */ # ifndef HAVE_FWRITE # define fwrite(buffer,len,cnt,f) write(fileno(f),(buffer),(len)*(cnt)) # endif /* HAVE_FWRITE */ #endif /* mips */ /**************************** PATCHED by Flier ******************************/ /****** Patched by Zakath ******/ /* Linux/Alpha has a problem with incompat betw termio/termios */ #if defined(linux) && defined(__alpha__) # undef TCGETA # define TCGETA TCGETS # undef TCSETA # define TCSETA TCSETS # undef TCSETAW # define TCSETAW TCSETSW # undef termio # define termio termios #endif /* linux && __alpha__ */ /****** ***************** ******/ /****************************************************************************/ #endif /* __ircterm_h_ */ scrollz-2.2.3.orig/include/lastlog.h0000644000175000017500000000563312251073235017157 0ustar madhackmadhack/* * lastlog.h: header for lastlog.c * * Written By Michael Sandrof * * Copyright (c) 1990 Michael Sandrof. * Copyright (c) 1991, 1992 Troy Rollo. * Copyright (c) 1992-2003 Matthew R. Green. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. The name of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * $Id: lastlog.h,v 1.3 2003-01-08 20:00:54 f Exp $ */ #ifndef __lastlog_h_ #define __lastlog_h_ /* * this list must agree with the list in lastlog.c */ #define LOG_NONE 0x000000 #define LOG_CURRENT 0x000000 #define LOG_CRAP 0x000001 #define LOG_PUBLIC 0x000002 #define LOG_MSG 0x000004 #define LOG_NOTICE 0x000008 #define LOG_WALL 0x000010 #define LOG_WALLOP 0x000020 #define LOG_NOTES 0x000040 #define LOG_OPNOTE 0x000080 #define LOG_SNOTE 0x000100 #define LOG_ACTION 0x000200 #define LOG_DCC 0x000400 #define LOG_CTCP 0x000800 #define LOG_USER1 0x001000 #define LOG_USER2 0x002000 #define LOG_USER3 0x004000 #define LOG_USER4 0x008000 #define LOG_BEEP 0x010000 #define LOG_HELP 0x020000 #define LOG_ALL (LOG_CRAP | LOG_PUBLIC | LOG_MSG | LOG_NOTICE | LOG_WALL | \ LOG_WALLOP | LOG_NOTES | LOG_OPNOTE | LOG_SNOTE | LOG_ACTION | \ LOG_CTCP | LOG_DCC | LOG_BEEP) #define LOG_DEFAULT LOG_NONE void set_lastlog_level _((char *)); int set_lastlog_msg_level _((int)); void set_lastlog_size _((int)); void set_notify_level _((char *)); void lastlog _((char *, char *, char *)); void add_to_lastlog _((Window *, char *)); char *bits_to_lastlog_level _((int)); int real_lastlog_level _((void)); int real_notify_level _((void)); int parse_lastlog_level _((char *)); int islogged _((Window *)); #endif /* __lastlog_h_ */ scrollz-2.2.3.orig/include/help.h0000644000175000017500000000320312251073235016431 0ustar madhackmadhack/* * help.h: header for help.c * * Copyright (c) 1994-1998 Matthew R. Green. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. The name of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * $Id: help.h,v 1.1 1998-09-10 17:31:12 f Exp $ */ #ifndef __help_h # define __help_h void help _((char *, char *, char *)); #endif /* __help_h */ scrollz-2.2.3.orig/include/dh1080.h0000644000175000017500000000171112251073235016407 0ustar madhackmadhack#ifndef _dh1080_h_ #define _dh1080_h_ /* * DH key exchange * * $Id: dh1080.h,v 1.3 2009-12-21 14:14:17 f Exp $ */ #include #include /* Input: priv_key = buffer of 200 bytes pub_key = buffer of 200 bytes Output: priv_key = Your private key pub_key = Your public key */ void DH1080_gen(char *priv_key, char *pub_key); /* Input: MyPrivKey = Your private key HisPubKey = Someones pubic key Output: MyPrivKey has been destroyed for security reasons HisPubKey = the secret key */ int DH1080_comp(char *MyPrivKey, char *HisPubKey); int b64toh(char *b, char *d); int htob64(char *h, char *d, unsigned int l); void SHA256_memory(unsigned char *buf, int len, unsigned char *hash); int sha_file(unsigned char *filename, unsigned char *hash); void memXOR(unsigned char *s1, const unsigned char *s2, int n); extern unsigned char B64ABC[]; extern unsigned char iniPath[]; #endif /* _dh1080_h_ */ scrollz-2.2.3.orig/include/cdcc.h0000644000175000017500000000300612251073235016376 0ustar madhackmadhack#ifndef _cdcc_h_ #define _cdcc_h_ /* * Routines for Cdcc * * $Id: cdcc.h,v 1.2 2001-07-01 09:11:31 f Exp $ */ #define CDCC_VERSION "1.8" /* This Mess, is the struct lists for cdcc.c */ /* My Holding List for sending Files */ typedef struct FilesStru { struct FilesStru *next; /* Pointer to next File */ char *path; /* Store the Path */ char *file; /* Store Filename */ float size; /* Store size of file */ } Files; /* Your Linked List of Offer Packs */ typedef struct PacksStru { struct PacksStru *next; /* Pointer to next Pack */ char *description; /* Description of Pack */ int totalfiles; /* Total Files in Pack */ float totalbytes; /* Total Bytes in Pack */ int gets; /* How many people have requested Pack */ float minspeed; /* Minimum DCC speed in kB/s */ Files *files; /* Pointer to List of Files in Pack */ } Packs; /* Send Queue */ typedef struct QueueStru { struct QueueStru *next; char *file; char *nick; int flag; /* 1=send, 2=resend */ int server; } FileQueue; typedef struct CdccCommandStr { char *command; /* Cdcc command name */ void (*function)(); /* Corresponding function */ } CdccCom; #endif /* _cdcc_h_ */ scrollz-2.2.3.orig/include/log.h0000644000175000017500000000402712251073235016267 0ustar madhackmadhack/* * log.h: header for log.c * * Written By Michael Sandrof * * Copyright (c) 1990 Michael Sandrof. * Copyright (c) 1991, 1992 Troy Rollo. * Copyright (c) 1992-2003 Matthew R. Green. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. The name of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * $Id: log.h,v 1.3 2003-01-08 20:00:54 f Exp $ */ #ifndef __log_h_ #define __log_h_ /**************************** PATCHED by Flier ******************************/ /*FILE *do_log _((int, char *, FILE *));*/ void do_log _((int, char *, FILE **)); /****************************************************************************/ void logger _((int)); void set_log_file _((char *)); void add_to_log _((FILE *, char *)); #endif /* __log_h_ */ scrollz-2.2.3.orig/include/flood.h0000644000175000017500000000141212251073235016604 0ustar madhackmadhack/* * flood.h: header file for flood.c * * $Id: flood.h,v 1.1 1998-09-10 17:31:12 f Exp $ */ #ifndef __flood_h_ #define __flood_h_ /**************************** PATCHED by Flier ******************************/ /*int check_flooding _((char *, int, char *));*/ int check_flooding _((char *, char *, int, char *)); /****************************************************************************/ #define MSG_FLOOD 0 #define PUBLIC_FLOOD 1 #define NOTICE_FLOOD 2 #define WALL_FLOOD 3 #define WALLOP_FLOOD 4 /**************************** PATCHED by Flier ******************************/ /*#define NUMBER_OF_FLOODS 5*/ #define CTCP_FLOOD 5 #define NUMBER_OF_FLOODS 6 /****************************************************************************/ #endif /* __flood_h_ */ scrollz-2.2.3.orig/include/crypt.h0000644000175000017500000000475512251073235016657 0ustar madhackmadhack/* * crypt.h: header for crypt.c * * Written By Michael Sandrof * * Copyright (c) 1990 Michael Sandrof. * Copyright (c) 1991, 1992 Troy Rollo. * Copyright (c) 1992-2003 Matthew R. Green. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. The name of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * @(#)$Id: crypt.h,v 1.7 2003-01-08 20:00:54 f Exp $ */ #ifndef __crypt_h_ #define __crypt_h_ #define CTCP_SHUTUP 0 #define CTCP_VERBOSE 1 #define CTCP_NOREPLY 2 /* * crypt interface */ typedef struct crypt_key crypt_key; typedef int (*CryptFunc) _((crypt_key *, u_char **, int *)); struct crypt_key { u_char *key; char *type; CryptFunc crypt; CryptFunc decrypt; void *cookie; /* cipher dependant cookie, will be freed */ }; /* * function interfaces we have */ u_char *crypt_msg _((u_char *, crypt_key *, int)); void encrypt_cmd _((u_char *, u_char *, u_char *)); crypt_key *is_crypted _((u_char *)); /* * the ciphers we support */ #define CAST_STRING UP("CAST128ED-CBC") #define SED_STRING UP("SED") #define RIJNDAEL_STRING UP("RIJNDAEL") #define DEFAULT_CRYPTER cast_encrypt_str #define DEFAULT_DECRYPTER cast_decrypt_str #define DEFAULT_CRYPTYPE CAST_STRING #endif /* _crypt_h_ */ scrollz-2.2.3.orig/include/myvars.h0000644000175000017500000002007012251073235017023 0ustar madhackmadhack#ifndef _myvars_h_ #define _myvars_h_ /* * My variables * * $Id: myvars.h,v 1.41 2007-08-21 12:52:48 f Exp $ */ #include "mystructs.h" #ifdef WANTANSI /* Index of colors in Colors table */ #define COLOFF 0 #define COLBOLD 1 #define COLUNDERLINE 2 #define COLFLASH 3 #define COLREV 4 #define COLBLACK 5 #define COLRED 6 #define COLGREEN 7 #define COLYELLOW 8 #define COLBLUE 9 #define COLPURPLE 10 #define COLCYAN 11 #define COLWHITE 12 #define COLBLACKBG 13 #define COLREDBG 14 #define COLGREENBG 15 #define COLYELLOWBG 16 #define COLBLUEBG 17 #define COLPURPLEBG 18 #define COLCYANBG 19 #define COLWHITEBG 20 #define COLNOBOLD 21 /* Index of commands in CmdsColors table */ #define COLWARNING 0 #define COLJOIN 1 #define COLMSG 2 #define COLNOTICE 3 #define COLNETSPLIT 4 #define COLINVITE 5 #define COLMODE 6 #define COLSETTING 7 #define COLLEAVE 8 #define COLNOTIFY 9 #define COLCTCP 10 #define COLKICK 11 #define COLDCC 12 #define COLWHO 13 #define COLWHOIS 14 #define COLPUBLIC 15 #define COLCDCC 16 #define COLLINKS 17 #define COLDCCCHAT 18 #define COLCSCAN 19 #define COLNICK 20 #define COLME 21 #define COLMISC 22 #define COLSBAR1 23 #define COLSBAR2 24 #if defined(CELECOSM) && defined(OPERVISION) #define COLCELE 25 #define COLOV 26 #elif defined(CELECOSM) && !defined(OPERVISION) #define COLCELE 25 #elif defined(OPERVISION) #define COLOV 25 #endif /* CELECOSM && OPERVISION */ #endif /* WANTANSI */ #define SAVEMSG 1 #define SAVENOTICE 2 #define SAVEMASS 4 #define SAVECOLL 8 #define SAVECDCC 16 #define SAVEDCC 32 #define SAVEPROT 64 #define SAVEHACK 128 #define SAVESRVM 256 #define SAVECTCP 512 #define SAVEFLOOD 1024 #define SAVEINVITE 2048 #define SAVEKILL 4096 #define SAVEKICK 8192 #define SAVESERVER 16384 #define SAVEFAKE 32768 #define SAVEAREPLY 65536 #define SAVECHAT 131072 #define SAVENOTIFY 262144 #define SAVESENTMSG 524288 #define SAVEAWAY 1048576 #define SAVEALL 2097151 extern struct friends *frlist; extern struct autobankicks *abklist; extern struct words *wordlist; extern struct wholeftstr *wholist; extern struct splitstr *splitlist,*splitlist1; #ifdef ACID extern struct list *nickwatchlist,*tmpnickwatch; #endif extern struct spingstr *spinglist; extern struct encrstr *encrlist; #ifdef WANTANSI extern struct colorstr CmdsColors[NUMCMDCOLORS]; extern char *Colors[SZNUMCOLORS]; #endif extern char defban; extern char bold; /****** Coded by Zakath ******/ #ifdef CELE extern char *CelerityVersion; extern char *CelerityL; #endif extern struct urlstr *urllist; /*****************************/ extern char *mydefaultserver; extern char *ScrollZstr; extern char *ScrollZver; #ifdef EXTRA_STUFF extern char *EString; #endif extern char *DefaultServer; extern char *DefaultSignOff; extern char *DefaultSetAway; extern char *DefaultSetBack; extern char *DefaultUserinfo; extern char *DefaultFinger; extern char *AutoJoinChannels; extern char *ModeLockString; extern char *CdccUlDir; extern char *CdccDlDir; extern char *WhoKilled; extern char *InviteChannels; extern char *CdccChannels; extern char *AutoRejoinChannels; extern char *MDopWatchChannels; extern char *ShowFakesChannels; extern char *KickOnFloodChannels; extern char *KickWatchChannels; extern char *NHProtChannels; extern char *NickWatchChannels; extern char *ShowAwayChannels; extern char *KickOpsChannels; extern char *KickOnBanChannels; extern char *BitchChannels; extern char *FriendListChannels; extern char *IdleKickChannels; extern char *CompressModesChannels; extern char *SignoffChannels; extern char *BKChannels; #if defined(EXTRAS) || defined(FLIER) extern char *AutoInvChannels; #endif extern char *EncryptPassword; #ifdef OPER extern char *StatskFilter; extern char *StatsiFilter; extern char *StatscFilter; extern char *StatslFilter; extern char *StatsdFilter; #endif extern char *AutoReplyBuffer; extern char *OrigNick; extern char *LastChat; extern char *CurrentDCC; extern char *DefaultK; extern char *DefaultBK; extern char *DefaultBKI; extern char *DefaultBKT; extern char *DefaultFK; extern char *DefaultLK; extern char *DefaultABK; extern char *DefaultSK; #ifdef OPER extern char *DefaultKill; #endif #ifdef ACID extern char *ForceJoinChannels; #endif extern char *PermUserMode; extern char *AutoReplyString; extern char *ChanLogChannels; extern char *ChanLogDir; extern char *ChanLogPrefix; extern char *ChanLogPostfix; extern char *ExtTopicDelimiter; #ifdef BLAXTHOS extern char *OperNick; extern char *OperPassword; #endif extern char *ShowChanChannels; extern int usersloaded; extern int inSZNotify; extern int inSZLinks; extern int inSZFKill; extern int inSZTrace; extern int ExtMes; extern int NHProt; extern int NHDisp; extern int AutoGet; extern int DeopSensor; extern int KickSensor; extern int NickSensor; extern int AutoAwayTime; extern int NickWatch; extern int MDopWatch; extern int KickWatch; extern int NickTimer; extern int MDopTimer; extern int KickTimer; extern int IgnoreTime; extern int ShitIgnoreTime; extern int AutoRejoin; extern int AutoJoinOnInv; extern int FloodProt; extern int FloodMessages; extern int FloodSeconds; extern int CdccIdle; extern int CdccLimit; extern int CdccQueueLimit; extern int CdccOverWrite; #ifdef EXTRA_STUFF extern int RenameFiles; #endif extern int Security; extern int ServerNotice; extern int CTCPCloaking; extern int ShowFakes; extern int ShowAway; extern int AutoOpDelay; #if defined(CELE) extern struct timeval LagTimer; #else extern int LagTimer; #endif extern int KickOps; extern int KickOnFlood; extern int KickOnBan; extern int NickChange; #ifdef SCKICKS extern int NumberOfScatterKicks; #endif extern int NumberOfSignOffMsgs; extern int ShowNick; extern int PlistTime; extern int NlistTime; extern int LinksNumber; extern int AwaySaveSet; extern int ShowWallop; extern int LongStatus; extern double BytesReceived; extern double BytesSent; extern int FriendList; extern int OrigNickChange; extern int IRCQuit; extern int NotifyMode; extern int URLCatch; extern int Ego; extern int LogOn; extern int ShowDCCStatus; extern int DCCDone; extern int AutoNickCompl; extern int Bitch; extern int IdleKick; extern int IdleTime; extern int CdccStats; extern int CompressModes; extern int OrigNickDelay; #ifdef WANTANSI extern int DisplaymIRC; #endif extern int DCCWarning; extern int ShowSignoffChan; extern int Stamp; extern int CdccVerbose; extern int ARinWindow; extern int BKList; extern int OrigNickQuiet; extern int OrigNickSent; extern int OrigNickNumber; #ifdef EXTRAS extern int ShowSignAllChan; extern int ShowNickAllChan; #endif extern int ExtPub; extern int ChanLog; extern int AwayEncrypt; extern int BanTime; extern int StatusLines; extern int ShowChan; /****** Coded by Zakath ******/ extern char *SPingServers; extern int CdccPackNum; extern int CdccSendNum; extern int CdccRecvNum; extern int AwayMsgNum; extern char *URLBuffer; #if defined(EXTRAS) || defined(FLIER) extern int AutoInv; #endif #if defined(OPERVISION) && defined(WANTANSI) extern int OperV; #endif #ifdef CELE extern int SentAway; #endif #ifdef ACID extern int ForceJoin; #endif /*****************************/ extern time_t LastCheck; extern time_t LastPlist; extern time_t LastNlist; extern time_t LastServer; extern time_t LastNick; extern time_t LastLinks; #ifdef CELE extern struct friends *whoisfriend; #endif extern int from_server; extern char *FromUserHost; extern int set_away; extern struct in_addr local_ip_address; extern char *channel_join; extern void *ComplLast; extern void *ComplNext; #endif /* _myvars_h_ */ scrollz-2.2.3.orig/include/names.h0000644000175000017500000001237712251073235016620 0ustar madhackmadhack/* * names.h: Header for names.c * * Written By Michael Sandrof * * Copyright (c) 1990 Michael Sandrof. * Copyright (c) 1991, 1992 Troy Rollo. * Copyright (c) 1992-2003 Matthew R. Green. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. The name of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * $Id: names.h,v 1.12 2006-04-30 14:15:43 f Exp $ */ #ifndef __names_h_ #define __names_h_ #include "window.h" #include "irc.h" /**************************** PATCHED by Flier ******************************/ #include "mystructs.h" /****************************************************************************/ /* * MODE_STRING and other MODE_FOO defines need to be kept in sync. * MODE_STRING refers to the bits in the mode bitmask. the letters * and numbers need to match up. */ #define MODE_STRING "aciklmnpqrstRSgQz" #define MODE_ANONYMOUS ((u_long) 0x0001) #define MODE_COLOURLESS ((u_long) 0x0002) #define MODE_INVITE ((u_long) 0x0004) #define MODE_KEY ((u_long) 0x0008) #define MODE_LIMIT ((u_long) 0x0010) #define MODE_MODERATED ((u_long) 0x0020) #define MODE_MSGS ((u_long) 0x0040) #define MODE_PRIVATE ((u_long) 0x0080) #define MODE_QUIET ((u_long) 0x0100) #define MODE_REOP ((u_long) 0x0200) #define MODE_SECRET ((u_long) 0x0400) #define MODE_TOPIC ((u_long) 0x0800) #define MODE_REGONLY ((u_long) 0x1000) /**************************** Patched by Flier ******************************/ #define MODE_SSLONLY ((u_long) 0x2000) #define MODE_ALLINVITE ((u_long) 0x4000) #define MODE_NOFORWARD ((u_long) 0x8000) #define MODE_REDUCEMODERATED ((u_long) 0x10000) /****************************************************************************/ /**************************** Patched by Flier ******************************/ #define HAS_OPS(channel) ((channel & CHAN_CHOP) || (channel & CHAN_HALFOP)) /****************************************************************************/ /* for lookup_channel() */ #define CHAN_NOUNLINK 1 #define CHAN_UNLINK 2 int is_channel_mode _((char *, int, int)); int is_chanop _((char *, char *)); int has_voice _((char *, char *, int)); ChannelList *lookup_channel _((char *, int, int)); /**************************** PATCHED by Flier ******************************/ void rename_channel _((char *, char *)); /****************************************************************************/ char *get_channel_mode _((char *, int)); #ifdef INCLUDE_UNUSED_FUNCTIONS void set_channel_mode _((char *, int, char *)); #endif /* INCLUDE_UNUSED_FUNCTIONS */ /**************************** PATCHED by Flier ******************************/ /*void add_channel _((char *, int, int, ChannelList *)); void add_to_channel _((char *, char *, int, int, int));*/ void add_channel _((char *, int, int, ChannelList *, char *, int)); ChannelList *add_to_channel _((char *, char *, int, int, int, int, char *, ChannelList *)); /****************************************************************************/ void remove_channel _((char *, int)); void remove_from_channel _((char *, char *, int)); int is_on_channel _((char *, int, char *)); void list_channels _((void)); void reconnect_all_channels _((int)); void switch_channels _((u_int, char *)); char *what_channel _((char *, int)); char *walk_channels _((char *, int, int)); void rename_nick _((char *, char *, int)); /**************************** PATCHED by Flier ******************************/ /*void update_channel_mode _((char *, int, char *));*/ void update_channel_mode _((char *, int, char *, int, char *, char *, char *, char *, ChannelList *)); /****************************************************************************/ void set_channel_window _((Window *, char *, int)); char *create_channel_list _((Window *)); int get_channel_oper _((char *, int)); void channel_server_delete _((int)); void change_server_channels _((int, int)); void clear_channel_list _((int)); void set_waiting_channel _((int)); int chan_is_connected _((char *, int)); void mark_not_connected _((int)); #endif /* __names_h_ */ scrollz-2.2.3.orig/include/input.h0000644000175000017500000000603712251073235016650 0ustar madhackmadhack/* * input.h: header for input.c * * Written By Michael Sandrof * * Copyright (c) 1990 Michael Sandrof. * Copyright (c) 1991, 1992 Troy Rollo. * Copyright (c) 1992-2003 Matthew R. Green. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. The name of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * $Id: input.h,v 1.4 2006-04-30 14:15:43 f Exp $ */ #ifndef __input_h_ #define __input_h_ char input_pause _((char *)); void set_input _((char *)); void set_input_raw _((char *)); void set_input_prompt _((char *)); char *get_input_prompt _((void)); char *get_input _((void)); char *get_input_raw _((void)); void update_input _((int)); void init_input _((void)); void input_reset_screen _((Screen *)); void input_move_cursor _((int)); void change_input_prompt _((int)); void cursor_to_input _((void)); void input_add_character _((u_int, char *)); void input_backward_word _((u_int, char *)); void input_forward_word _((u_int, char *)); void input_delete_previous_word _((u_int, char *)); void input_delete_next_word _((u_int, char *)); void input_clear_to_bol _((u_int, char *)); void input_clear_line _((u_int, char *)); void input_end_of_line _((u_int, char *)); void input_clear_to_eol _((u_int, char *)); void input_beginning_of_line _((u_int, char *)); void refresh_inputline _((u_int, char *)); void input_delete_character _((u_int, char *)); void input_backspace _((u_int, char *)); void input_transpose_characters _((u_int, char *)); void input_yank_cut_buffer _((u_int, char *)); u_char *function_curpos _((u_char *)); extern int str_start; extern int input_line; /* used by update_input */ #define NO_UPDATE 0 #define UPDATE_ALL 1 #define UPDATE_FROM_CURSOR 2 #define UPDATE_JUST_CURSOR 3 #endif /* __input_h_ */ scrollz-2.2.3.orig/include/celerity.h0000644000175000017500000000074612251073235017332 0ustar madhackmadhack/* Small header file for use by Celerity. * * Could be put elsewhere but for now... * * - j. roethel [03.06.98] * * $Id: celerity.h,v 1.2 1998-10-31 18:26:42 f Exp $ */ #ifndef _CELERITY_H_ #define _CELERITY_H_ #ifdef CELE #define CELECOSM 1 #define CELEPROT 1 #define CELEAPPR 1 #define CELESCRP 1 #undef CELEHOOK #define FORCE_HASCII 1 #else #undef CELECOSM #undef CELEPROT #undef CELEAPPR #undef CELESCRP #undef CELEHOOK #endif #endif /* _CELERITY_H_ */ scrollz-2.2.3.orig/include/menu.h0000644000175000017500000000442712251073235016456 0ustar madhackmadhack/* * Here we define how our menus are held * * Copyright (c) 1992 Troy Rollo. * Copyright (c) 1992-2003 Matthew R. Green. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. The name of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * $Id: menu.h,v 1.3 2003-01-08 20:00:54 f Exp $ */ #ifndef __menu_h_ #define __menu_h_ #define IRCII_MENU_H #define SMF_ERASE 0x0001 #define SMF_NOCURSOR 0x0002 #define SMF_CURSONLY 0x0004 #define SMF_CALCONLY 0x0008 /* Below are our known menu functions */ void menu_previous _((char *)); /* Go to previous menu */ void menu_submenu _((char *)); /* Invoke a submenu */ void menu_exit _((char *)); /* Exit the menu */ void menu_channels _((char *)); /* List of channels menu */ void menu_command _((char *)); /* Invoke an IRCII command */ void menu_key _((u_int)); void load_menu _((char *)); int ShowMenu _((char *)); int ShowMenuByWindow _((Window *, int)); void enter_menu _((u_int, char *)); void set_menu _((char *)); #endif /* __menu_h_ */ scrollz-2.2.3.orig/include/buffer.h0000644000175000017500000000510512251073235016755 0ustar madhackmadhack/* * buffer.h: header buffer routines * * Written by Matthew Green * * Copyright (c) 2001 Matthew R. Green. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. The name of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * $Id: buffer.h,v 1.2 2006-10-31 12:31:27 f Exp $ * */ #ifndef __buffer_h_ #define __buffer_h_ /* This file should only be included once by files that need buffer ops */ /* * i'm *not* going to litter the code with #ifdef's in the code that * has no for the chance of finding vasprintf(). */ #if defined(HAVE_VASPRINTF) && defined(HAVE_STDARG_H) /* put_it() and friends need to be reentrant */ #define PUTBUF_INIT u_char *putbuf; # define PUTBUF_SPRINTF(f, v) \ if (vasprintf((char **) &putbuf, f, v) == -1) \ { /* EEK */ \ write(1, "out of memory?\n\r\n\r", 19); \ _exit(1); \ } # define PUTBUF_END free(putbuf); putbuf = 0; #else /* * need the caller to define the `putbuf'. something like this, though * it might need to be automatic for recursive purposes. * static u_char putbuf[4*BIG_BUFFER_SIZE + 1] = ""; */ # define NEED_PUTBUF_DECLARED # define PUTBUF_INIT # define PUTBUF_SPRINTF(f, v) vsnprintf(CP(putbuf), sizeof putbuf, f, v); # define PUTBUF_END #endif /* HAVE_VASPRINTF && HAVE_STDARG_H */ #endif /* __buffer_h_ */ scrollz-2.2.3.orig/include/defs.h.in0000644000175000017500000002534712256537505017056 0ustar madhackmadhack/* include/defs.h.in. Generated automatically from configure.in by autoheader. */ /* Define if on AIX 3. System headers sometimes define this. We just want to avoid a redefinition error message. */ #ifndef _ALL_SOURCE #undef _ALL_SOURCE #endif /* Define if the closedir function returns void instead of int. */ #undef CLOSEDIR_VOID /* Define to `int' if doesn't define. */ #undef gid_t /* Define if you have the strftime function. */ #undef HAVE_STRFTIME /* Define to `int' if doesn't define. */ #undef mode_t /* Define if your C compiler doesn't accept -c and -o together. */ #undef NO_MINUS_C_MINUS_O /* Define if your Fortran 77 compiler doesn't accept -c and -o together. */ #undef F77_NO_MINUS_C_MINUS_O /* Define to `int' if doesn't define. */ #undef pid_t /* Define if you need to in order for stat and other things to work. */ #undef _POSIX_SOURCE /* Define as the return type of signal handlers (int or void). */ #undef RETSIGTYPE /* Define to the type of arg1 for select(). */ #undef SELECT_TYPE_ARG1 /* Define to the type of args 2, 3 and 4 for select(). */ #undef SELECT_TYPE_ARG234 /* Define to the type of arg5 for select(). */ #undef SELECT_TYPE_ARG5 /* Define to `unsigned' if doesn't define. */ #undef size_t /* Define if you have the ANSI C header files. */ #undef STDC_HEADERS /* Define if you can safely include both and . */ #undef TIME_WITH_SYS_TIME /* Define to `int' if doesn't define. */ #undef uid_t /* Define if the closedir function returns void instead of int. */ #undef VOID_CLOSEDIR /* define if allow sys/time.h with time.h */ #undef TIME_WITH_SYS_TIME /* define this if you are using BSD wait union thigs */ #undef BSDWAIT /* define this if you are using sigaction() instead of signal() */ #undef USE_SIGACTION /* define this if you are using sigset() instead of signal() */ #undef USE_SIGSET /* define this if you are using system V (unreliable) signals */ #undef SYSVSIGNALS /* define this if you are using -lcurses, or if termcap(3) requires it */ #undef INCLUDE_CURSES_H /* define this if wait3() is declared */ #undef WAIT3_DECLARED /* define this if waitpid() is declared */ #undef WAITPID_DECLARED /* define this if waitpid() is unavailable */ #undef NEED_WAITPID /* define this to the name of the AMS mail file */ #undef AMS_MAIL /* define this if you have scandir() */ #undef HAVE_SCANDIR /* define this if you have memmove() */ #undef HAVE_MEMMOVE /* define this if you have setsid() */ #undef HAVE_SETSID /* define this if you have getsid() */ #undef HAVE_GETSID /* define this if you have getpgid() */ #undef HAVE_GETPGID /* define this if your getpgrp() doesn't take a pid argument */ #undef BROKEN_GETPGRP /* define this if you need getcwd() */ #undef NEED_GETCWD /* define this if you have hpux version 7 */ #undef HPUX7 /* define this if you have hpux version 8 */ #undef HPUX8 /* define this if you have an unknown hpux version (pre ver 7) */ #undef HPUXUNKNOWN /* define this if an unsigned long is 32 bits */ #undef UNSIGNED_LONG32 /* define this if an unsigned int is 32 bits */ #undef UNSIGNED_INT32 /* define this if you are unsure what is is 32 bits */ #undef UNKNOWN_32INT /* define this if you don't have struct linger */ #undef NO_STRUCT_LINGER /* define this if you are on svr3/twg */ #undef WINS /* define this if you need fchmod */ #undef NEED_FCHMOD /* define this to the location of normal unix mail */ #undef UNIX_MAIL /* define this to be the name[:port] of the default server */ #undef DEFAULT_SERVER /* define this if you want to be paranoid */ #undef PARANOID /* define this if your header files declare sys_errlist */ #undef SYS_ERRLIST_DECLARED /* define this if your header files declare errno */ #undef ERRNO_DECLARED /* define this if you have uname(2) */ #undef HAVE_UNAME /* define this if you need strerror(3) */ #undef NEED_STRERROR /* define this if you have posix strftime(3) */ #undef HAVE_STRFTIME /* define this if you have (working) POSIX (O_NONBLOCK) non-blocking */ #undef NBLOCK_POSIX /* define this if you have BSD (O_NDELAY) non-blocking */ #undef NBLOCK_BSD /* define this if you have SYSV (FIONBIO) non-blocking */ #undef NBLOCK_SYSV /* define this if you have writev(2) and */ #undef HAVE_WRITEV #undef HAVE_SYS_UIO_H /* Define this if compiling with SOCKS (the firewall traversal library). Also, you must define connect, getsockname, bind, accept, listen, and select to their R-versions. */ #undef SOCKS #undef SOCKS4 #undef SOCKS5 #undef connect #undef getsockname #undef bind #undef accept #undef listen #undef select #undef dup #undef dup2 #undef fclose #undef gethostbyname #undef getpeername #undef read #undef recv #undef recvfrom #undef rresvport #undef send #undef sendto #undef shutdown /* * Are we doing non-blocking connects? Note: SOCKS support precludes * us from using this feature. */ #if (defined(NBLOCK_POSIX) || defined(NBLOCK_BSD) || defined(NBLOCK_SYSV)) && \ !defined(SOCKS) # define NON_BLOCKING_CONNECTS #endif /* define these to the ZCAT program/args of your choice */ #undef ZCAT #undef ZSUFFIX #undef ZARGS /* * define HAVE_DEV_RANDOM if you have /dev/random (*BSD/LINUX). * the CAST code uses this if present instead of random(3). */ #undef HAVE_DEV_RANDOM #undef DEV_RANDOM_PATH /* define to `int' if doesn't define */ #undef ssize_t /* define this if you have IPv6 API support */ #undef INET6 /* define this if you have vasprintf(3) */ #undef HAVE_VASPRINTF /* define this if you have vsnprintf(3) */ #undef HAVE_VSNPRINTF /* define this if you have snprintf(3) */ #undef HAVE_SNPRINTF /* define this if you have crypt(3) */ #undef HAVE_CRYPT /* define this if you have fputc(3) */ #undef HAVE_FPUTC /* define this if you have fwrite(3) */ #undef HAVE_FWRITE /* define this if your struct sockaddr has a sa_len member */ #undef HAVE_SOCKADDR_SA_LEN /* Define if you have the header file. */ #undef HAVE_DIRENT_H /* Define if you have the header file. */ #undef HAVE_FCNTL_H /* Define if you have the header file. */ #undef HAVE_ICONV_H /* Define if you have the header file. */ #undef HAVE_LIMITS_H /* Define if you have the header file. */ #undef HAVE_MEMORY_H /* Define if you have the header file. */ #undef HAVE_NDIR_H /* Define if you have the header file. */ #undef HAVE_NETDB_H /* Define if you have the header file. */ #undef HAVE_PROCESS_H /* Define if you have the header file. */ #undef HAVE_SGTTY_H /* Define if you have the header file. */ #undef HAVE_STDARG_H /* Define if you have the header file. */ #undef HAVE_STRING_H /* Define if you have the header file. */ #undef HAVE_SYS_DIR_H /* Define if you have the header file. */ #undef HAVE_SYS_FCNTL_H /* Define if you have the header file. */ #undef HAVE_SYS_FILE_H /* Define if you have the header file. */ #undef HAVE_SYS_IOCTL_H /* Define if you have the header file. */ #undef HAVE_SYS_NDIR_H /* Define if you have the header file. */ #undef HAVE_SYS_PTEM_H /* Define if you have the header file. */ #undef HAVE_SYS_SELECT_H /* Define if you have the header file. */ #undef HAVE_SYS_TIME_H /* Define if you have the header file. */ #undef HAVE_SYS_TWG_CONFIG_H /* Define if you have the header file. */ #undef HAVE_SYS_UIO_H /* Define if you have the header file. */ #undef HAVE_SYS_UN_H /* Define if you have the header file. */ #undef HAVE_SYS_WAIT_H /* Define if you have the header file. */ #undef HAVE_TERMCAP_H /* Define if you have the header file. */ #undef HAVE_TERMIO_H /* Define if you have the header file. */ #undef HAVE_TERMIOS_H /* Define if you have the header file. */ #undef HAVE_UNISTD_H /* Define if you have the header file. */ #undef HAVE_VARARGS_H /* Define if you have the sun library (-lsun). */ #undef HAVE_LIBSUN /* define this if you have iconv_open(3) */ #undef HAVE_ICONV_OPEN /* define this if your iconv(3)'s 2nd argument is const */ #undef ICONV_CONST_ARG2 /**************************** PATCHED by Flier ******************************/ /* Define this if you have GNU TLS */ #undef HAVE_SSL /* Define this if you have OpenSSL */ #undef HAVE_OPENSSL /* Define this if you have getloadavg(), BSD systems do */ #undef HAVEGETLOADAVG /* Define this if you have regexec(), POSIX.2 systems do */ #undef HAVE_REGCOMP /* Define this if you have GMP library */ #undef HAVE_GMP /* Define this if you want one OperVision window for several servers */ #undef MULTI_SERVER_OV /* Define this if you want client with ANSI (color) support */ #define WANTANSI /* Define this if you want OperVision support in the client */ #define OPERVISION /* Define this if you want following optional stuff: - /AUTOINV - Invites on Notify - /LOGO - /FIND - /SVER - /BKT - /DIRLMK - /DIRLNK - /BKI - /MODELOCK - /MODEUNLOCK - Mode Lock Checking - /LLOOKUP - /LLOOK - /RANLK - /MN - /ML - /TERMINATE - /MSAY - /DOBANS */ #define EXTRAS /* Define this if you want formatted /CSCAN */ #define NEWCSCAN /* Define this if you want () around nick in public messages */ #undef ALTERNATIVE_PUBLICS /* Define this if you feel users should be invited to non +i channels on notify signon */ #undef ACID /* Define this if you want sorted nicks in /CSCAN */ #define SORTED_NICKS /* Define this if you want scatter kicks */ #undef SCKICKS /* Define this if you want to compile with Celerity C-Script */ #undef CELE #include "celerity.h" /* Define this if you don't want ScrollZ trademarks in KICKs and AWAY msgs */ #undef VILAS /* Define this if you want better /NEWHOST */ #define JIMMIE /* Define this if you want CTCP PAGE by BiGhEaD */ #define CTCPPAGE /* Define this if you want different messages, chat messages and CDCC */ #undef TDF /* Define this if you want $country() in the client */ #define COUNTRY /* Define this if you want client with Win32 support */ #undef SZ32 /* Define this if you want irc oper stuff (not OperVision!) */ #define OPER /* Define this if you want ogre's cosmetics in OperVision */ #define OGRE /* Define this if you want client w/o certain functionality */ #undef LITE /* Define this if you want mIRC compatible DCC resume */ /* #undef BROKEN_MIRC_RESUME */ /* Define this if you want client to remember /OPER password and send it on reconnect */ #undef BLAXTHOS /* Define this if you want to enable TRACE facility */ #undef SZTRACE /****************************************************************************/ scrollz-2.2.3.orig/include/exec.h0000644000175000017500000000655512251073235016442 0ustar madhackmadhack/* * exec.h: header for exec.c * * Written By Michael Sandrof * * Copyright (c) 1990 Michael Sandrof. * Copyright (c) 1991, 1992 Troy Rollo. * Copyright (c) 1992-2003 Matthew R. Green. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. The name of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * $Id: exec.h,v 1.2 2003-01-08 20:00:54 f Exp $ */ #ifndef __exec_h_ #define __exec_h_ #include #if defined(NeXT) /* lameness for configure/NeXT -phone */ # if !defined(_POSIX_SOURCE) && !defined(BSDWAIT) # define BSDWAIT # endif /* !_POSIX_SOURCE && !BSDWAIT */ #else /* !NeXT */ # ifndef WAITSTUFF_DECLARED # ifdef BSDWAIT # ifndef WAIT3_DECLARED struct rusage; union wait; int wait3 _((union wait *, int, struct rusage *)); # endif /* WAIT3_DECLARED */ # else /* BSDWAIT */ # ifndef WAITPID_DECLARED short waitpid _((int, int *, int)); # endif /* WAITPID_DECLARED */ # endif /* BSDWAIT */ # endif /* WAITSTUFF_DECLARED */ #endif /* NeXT */ #ifndef WTERMSIG # ifndef BSDWAIT /* if wait is NOT a union */ # define WTERMSIG(status) ((status) & 0177) # else # define WTERMSIG(status) status.w_T.w_Termsig # endif #endif #ifndef WSTOPSIG # ifndef BSDWAIT # define WSTOPSIG(status) ((status) >> 8) # else # define WSTOPSIG(status) status.w_S.w_Stopsig # endif #endif #ifndef WEXITSTATUS # ifndef BSDWAIT # define WEXITSTATUS(status) ((status) & 0xff00) >> 8 /* dgux 5.4.1 */ # else # define WEXITSTATUS(status) status.w_T.w_Retcode # endif #endif int get_child_exit _((int)); int check_wait_status _((int)); void check_process_limits _((void)); void do_processes _((fd_set *)); void set_process_bits _((fd_set *)); int text_to_process _((int, char *, int)); void clean_up_processes _((void)); int is_process _((char *)); int get_process_index _((char **)); void exec_server_delete _((int)); int is_process_running _((int)); void add_process_wait _((int, char *)); void set_wait_process _((int)); void close_all_exec _((void)); int logical_to_index _((char *)); void execcmd _((char *, char *, char *)); extern char *signals[]; #endif /* __exec_h_ */ scrollz-2.2.3.orig/include/hook.h0000644000175000017500000001377612251073235016461 0ustar madhackmadhack/* * Copyright (c) 1990 Michael Sandrof. * Copyright (c) 1991, 1992 Troy Rollo. * Copyright (c) 1992-2003 Matthew R. Green. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. The name of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * $Id: hook.h,v 1.1 2006-10-31 12:31:27 f Exp $ */ #ifndef __hook_h_ # define __hook_h_ /**************************** PATCHED by Flier ******************************/ #include "defs.h" /****************************************************************************/ /* Hook: The structure of the entries of the hook functions lists */ typedef struct hook_stru { struct hook_stru *next; /* pointer to next element in list */ char *nick; /* The Nickname */ int not; /* If true, this entry should be * ignored when matched, otherwise it * is a normal entry */ int noisy; /* flag indicating how much output * should be given */ int server; /* the server in which this hook * applies. (-1 if none). If bit 0x1000 * is set, then no other hooks are * tried in the given server if all the * server specific ones fail */ int sernum; /* The serial number for this hook. This * is used for hooks which will be * concurrent with others of the same * pattern. The default is 0, which * means, of course, no special * behaviour. If any 1 hook suppresses * the * default output, output will be * suppressed. */ char *stuff; /* The this that gets done */ int global; /* set if loaded from `global' */ } Hook; /* HookFunc: A little structure to keep track of the various hook functions */ typedef struct { char *name; /* name of the function */ Hook *list; /* pointer to head of the list for this * function */ int params; /* number of parameters expected */ int mark; unsigned flags; } HookFunc; /* * NumericList: a special list type to dynamically handle numeric hook * requests */ typedef struct numericlist_stru { struct numericlist_stru *next; char *name; Hook *list; } NumericList; #ifdef HAVE_STDARG_H int do_hook _((int, char *, ...)); #else int do_hook _(()); #endif /* HAVE_STDARG_H */ void on _((char *, char *, char *)); void save_hooks _((FILE *, int)); void remove_hook _((int, char *, int, int, int)); void show_hook _((Hook *, char *)); extern char *hook_info; extern NumericList *numeric_list; extern HookFunc hook_functions[]; extern int in_on_who; enum { ACTION_LIST = 0, /**************************** PATCHED by Flier ******************************/ CDCC_PLIST, CDCC_PLIST_FOOTER, CDCC_PLIST_HEADER, /****************************************************************************/ CHANNEL_NICK_LIST, CHANNEL_SIGNOFF_LIST, /**************************** PATCHED by Flier ******************************/ CHANNEL_SYNCH_LIST, CHANNEL_WALLOP_LIST, /****************************************************************************/ CONNECT_LIST, CTCP_LIST, CTCP_REPLY_LIST, DCC_CHAT_LIST, DCC_CONNECT_LIST, DCC_ERROR_LIST, /**************************** PATCHED by Flier ******************************/ DCC_LIST, DCC_LIST_FOOTER, DCC_LIST_HEADER, /****************************************************************************/ DCC_LOST_LIST, DCC_RAW_LIST, DCC_REQUEST_LIST, DISCONNECT_LIST, ENCRYPTED_NOTICE_LIST, ENCRYPTED_PRIVMSG_LIST, EXEC_LIST, EXEC_ERRORS_LIST, EXEC_EXIT_LIST, EXEC_PROMPT_LIST, EXIT_LIST, FLOOD_LIST, HELP_LIST, HOOK_LIST, IDLE_LIST, INPUT_LIST, INVITE_LIST, JOIN_LIST, /**************************** PATCHED by Flier ******************************/ JOIN_ME_LIST, /****************************************************************************/ KICK_LIST, LEAVE_LIST, LIST_LIST, MAIL_LIST, MODE_LIST, MSG_LIST, MSG_GROUP_LIST, NAMES_LIST, NICKNAME_LIST, NOTE_LIST, NOTICE_LIST, NOTIFY_SIGNOFF_LIST, /**************************** PATCHED by Flier ******************************/ NOTIFY_SIGNOFF_UH_LIST, /****************************************************************************/ NOTIFY_SIGNON_LIST, /**************************** PATCHED by Flier ******************************/ NOTIFY_SIGNON_UH_LIST, /****************************************************************************/ PUBLIC_LIST, PUBLIC_MSG_LIST, PUBLIC_NOTICE_LIST, PUBLIC_OTHER_LIST, RAW_IRC_LIST, RAW_SEND_LIST, SEND_ACTION_LIST, /**************************** PATCHED by Flier ******************************/ SEND_CTCP_LIST, /****************************************************************************/ SEND_DCC_CHAT_LIST, SEND_MSG_LIST, SEND_NOTICE_LIST, SEND_PUBLIC_LIST, SERVER_NOTICE_LIST, SIGNOFF_LIST, TIMER_LIST, TOPIC_LIST, WALL_LIST, WALLOP_LIST, WHO_LIST, WIDELIST_LIST, WINDOW_LIST, WINDOW_KILL_LIST, WINDOW_SWAP_LIST, NUMBER_OF_LISTS }; #endif /* __hook_h_ */ scrollz-2.2.3.orig/include/mystructs.h0000644000175000017500000000602612251073235017564 0ustar madhackmadhack#ifndef _mystructs_h_ #define _mystructs_h_ /* * Structures for my use * * $Id: mystructs.h,v 1.15 2009-12-21 14:38:30 f Exp $ */ /* don't change!! */ #define mybufsize 1024 /* don't change!! */ #define HASHTABLESIZE 31 /* change to number of autoreply nicks */ #define AUTOREPLYSIZE 5 /* don't change!! */ #ifdef WANTANSI #define NUMCMDCOLORS_ 26 #if defined(CELECOSM) && defined(OPERVISION) #define NUMCMDCOLORS (NUMCMDCOLORS_ + 2) #elif defined(CELECOSM) || defined(OPERVISION) #define NUMCMDCOLORS (NUMCMDCOLORS_ + 1) #else /* CELECOSM || OPERVISION */ #define NUMCMDCOLORS (NUMCMDCOLORS_) #endif /* CELECOSM && OPERVISION */ #define SZNUMCOLORS 22 #endif /* WANTANSI */ /* for FiSH encryption */ #define SZ_ENCR_PRIVMSG 0 #define SZ_ENCR_PUBLIC 1 #define SZ_ENCR_OTHER -1 /* some defines for friends list */ #define FLINVITE 1 #define FLCHOPS 2 #define FLOP 4 #define FLAUTOOP 8 #define FLUNBAN 16 #define FLPROT 32 #define FLCDCC 64 #define FLGOD 128 #define FLVOICE 256 #define FLJOIN 512 #define FLNOFLOOD 1024 #define FLINSTANT 2048 #define FLWHOWAS 4096 #define FLHOP 8192 #define FLALL (FLINVITE | FLCHOPS | FLOP | FLAUTOOP | FLUNBAN | FLPROT | FLCDCC | FLGOD | FLVOICE | FLJOIN | FLNOFLOOD | FLINSTANT | FLHOP) /* some defines for shit list */ #define SLKICK 1 #define SLBAN 2 #define SLIGNORE 4 #define SLPERMBAN 8 #define SLDEOP 16 #define SLTIMEDBAN 32 /* helper macro */ #define EMPTY_STR(x) (x ? x : empty_string) struct friends { struct friends *next; char *userhost; char *channels; char *passwd; int privs; int number; }; struct autobankicks { struct autobankicks *next; char *userhost; char *reason; char *channels; int shit; }; struct list { struct list *next; char *nick; char *userhost; }; struct words { struct words *next; char *channels; char *word; char *reason; int bantime; int ban; }; struct nicks { struct nicks *next; char *nick; }; struct wholeftch { struct wholeftch *next; char *channel; struct list *nicklist; }; struct wholeftstr { struct wholeftstr *next; char *splitserver; int print; int count; int total; time_t time; struct wholeftch *channels; }; struct splitstr { struct splitstr *next; char *servers; }; struct urlstr { struct urlstr *next; char *urls; char *source; }; struct mapstr { struct mapstr *next; char *server; char *uplink; int distance; }; struct bans { struct bans *next; int exception; char *ban; char *who; time_t when; }; struct spingstr { struct spingstr *next; char *servername; long sec; long usec; }; struct encrstr { struct encrstr *next; char *user; char *key; int type; /* 0 = SZ crypto, 2 = FiSH */ }; struct channels { struct channels *next; char *channel; }; #ifdef WANTANSI struct colorstr { char *color1; char *color2; char *color3; char *color4; char *color5; char *color6; }; #endif #endif /* _mystructs_h_ */ scrollz-2.2.3.orig/include/debug.h0000644000175000017500000000366012251073235016576 0ustar madhackmadhack/* * debug.h - header file for phone's debug routine.. * * Copyright (C) 1993, Matthew Green. * * Copyright (c) 1993-1998 Matthew R. Green. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. The name of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * $Id: debug.h,v 1.1 1998-09-10 17:31:12 f Exp $ */ #ifndef __debug_h_ # define __debug_h_ # ifdef DEBUG # define Debug(x) debug x #ifdef HAVE_STDARG_H void debug _((int, char *, ...)); # else void debug _(()); #endif /* HAVE_STDARG_H */ int setdlevel _((int)); int getdlevel _((void)); extern int debuglevel; # else # define Debug(x) # endif #endif /* __debug_h_ */ scrollz-2.2.3.orig/include/scandir.h0000644000175000017500000001011312251073235017122 0ustar madhackmadhack/* * scandir.h: header for scandir routine. * * Copyright (c) 1998 glen mccready. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. The name of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * $Id: scandir.h,v 1.4 2002-12-22 17:36:26 f Exp $ */ #ifndef __scandir_h__ #define __scandir_h__ /* stuff from gnu autoconf docs */ #if defined(HAVE_DIRENT_H) || defined(_POSIX_SOURCE) # include # define NLENGTH(d) (strlen((d)->d_name) #else /* DIRENT || _POSIX_SOURCE */ # define dirent direct # define NLENGTH(d) ((d)->d_namlen) # ifdef HAVE_SYS_NDIR_H # include # endif /* HAVE_SYS_NDIR_H */ # ifdef HAVE_SYS_DIR_H # include # endif /* HAVE_SYS_DIR_H */ # ifdef HAVE_NDIR_H # include # endif /* HAVE_NDIR_H */ #endif /* HAVE_DIRENT_H || _POSIX_VERSION */ #include #ifndef HAVE_SCANDIR #include #include #include #if (!defined(ultrix) && !defined(__386BSD__) && !defined(_HPUX_SOURCE)) || defined(HPUX7) # if defined(XD88) || defined(__SVR4) || defined(POSIX) || defined(__linux__) \ || defined(SVR3) || defined(__osf__) || defined(M_UNIX) || defined(_SEQUENT_) \ || defined(__QNX__) # include # include # ifdef XD88 # include # else # include # endif /* XD88 */ /* Initial guess at directory size. */ # define INITIAL_SIZE 30 # ifndef DIRSIZ # define DIRSIZ(d) (sizeof(struct dirent) + strlen(d->d_name) + 1) # endif #if defined(__linux__) || defined(__sgi) int scandir _((const char *, struct dirent ***, int (*)(), int (*)())); #else int scandir _((char *, struct dirent ***, int (*)(), int (*)())); #ifndef alphasort int alphasort _((struct dirent **, struct dirent **)); #endif #endif /* __linux__ || __sgi */ #else /* XD88 || __SVR4 || POSIX || __linux__ || SVR3 || __osf__ || ... */ # include # include "irc.h" # if defined(ISC22) || defined(ESIX) || defined(HPUX7) # ifdef ESIX # include # else # include # endif /* ESIX */ # undef DIRSIZ # if defined(ISC22) || defined(ESIX) # define DIRSIZ(dp) \ (( sizeof( struct dirent) + (strlen(dp->d_name)+1) )) # else # define DIRSIZ(dp) \ ((sizeof (struct dirent) - (MAXNAMLEN+1)) + (((dp)->d_namlen+1+3)&~ 3)) # endif /* defined(ISC22) || defined(ESIX) */ # define direct dirent # else # include # endif /* defined(ISC22) || defined(ESIX) */ #ifdef NeXT int scandir _((const char *, struct direct ***, int (*)(), int (*)())); #else int scandir _((char *, struct direct ***, int (*)(), int (*)())); #ifndef alphasort int alphasort _((struct direct **, struct direct **)); #endif #endif /* NeXT */ #endif /* (!ultrix && !__386BSD__ && !_HPUX_SOURCE) || HPUX7 */ #endif /* ultrix || __386BSD__ || BSD */ #endif /* !HAVE_SCANDIR */ #endif /* __scandir_h__ */ scrollz-2.2.3.orig/include/irc_std.h0000644000175000017500000001421012251073235017130 0ustar madhackmadhack/* * irc_std.h: header to define things used in all the programs ircii * comes with * * hacked together from various other files by matthew green * * Copyright (c) 1992-2003 Matthew R. Green. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. The name of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * $Id: irc_std.h,v 1.8 2006-10-31 12:31:27 f Exp $ */ #ifndef __irc_std_h #define __irc_std_h #undef _ #if defined(__STDC__) || defined(__BORLANDC__) # define _(a) a #else # define _(a) () # ifdef const # undef const # endif /* cost */ # define const #endif /* __STDC__ */ #define UP(s) ((u_char *)(s)) #define UPP(s) ((u_char **)(s)) #define CP(s) ((char *)(s)) #define CPP(s) ((char **)(s)) #if !defined(__GNUC__) || __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5) #define __attribute__(x) /* delete __attribute__ if non-gcc or gcc1 */ #endif #ifndef lint #define IRCII_RCSID(x) static const char rcsid[] __attribute__((__unused__)) = x; #else #define IRCII_RCSID(x) #endif #ifdef _IBMR2 # include # include #else # include #ifndef ERRNO_DECLARED extern int errno; #endif #endif /* _IBMR2 */ #ifndef NBBY # define NBBY 8 /* number of bits in a byte */ #endif /* NBBY */ #ifndef NFDBITS # define NFDBITS (sizeof(long) * NBBY) /* bits per mask */ #endif /* NFDBITS */ /**************************** PATCHED by Flier ******************************/ /*#ifndef FD_SET # define FD_SET(n, p) ((p)->fds_bits[(n)/NFDBITS] |= (1 << ((n) % NFDBITS))) #endif FD_SET #ifndef FD_CLR # define FD_CLR(n, p) ((p)->fds_bits[(n)/NFDBITS] &= ~(1 << ((n) % NFDBITS))) #endif FD_CLR #ifndef FD_ISSET # define FD_ISSET(n, p) ((p)->fds_bits[(n)/NFDBITS] & (1 << ((n) % NFDBITS))) #endif FD_ISSET #ifndef FD_ZERO # define FD_ZERO(p) bzero((char *)(p), sizeof(*(p))) #endif FD_ZERO #ifndef FD_SETSIZE # define FD_SETSIZE 32 #endif*/ #ifndef OPEN_MAX # define OPEN_MAX 64 # undef FD_SETSIZE # define FD_SETSIZE 64 #endif #ifndef FD_SET # ifdef __FD_SET # define FD_SET __FD_SET # else # define FD_SET(n, p) ((p)->fds_bits[(n)/NFDBITS] |= (1 << ((n) % NFDBITS))) # endif #endif #ifndef FD_CLR # ifdef __FD_CLR # define FD_CLR __FD_CLR # else # define FD_CLR(n, p) ((p)->fds_bits[(n)/NFDBITS] &= ~(1 << ((n) % NFDBITS))) # endif #endif #ifndef FD_ISSET # ifdef __FD_ISSET # define FD_ISSET __FD_ISSET # else # define FD_ISSET(n, p) ((p)->fds_bits[(n)/NFDBITS] & (1 << ((n) % NFDBITS))) # endif #endif #ifndef FD_ZERO # ifdef __FD_ZERO # define FD_ZERO __FD_ZERO # else # define FD_ZERO(p) bzero((char *)(p), sizeof(*(p))) # endif #endif /****************************************************************************/ typedef RETSIGTYPE sigfunc _((void)); #ifdef USE_SIGACTION sigfunc *my_signal _((int, sigfunc *, int)); # define MY_SIGNAL(s_n, s_h, m_f) my_signal(s_n, s_h, m_f) #else # if USE_SIGSET # define MY_SIGNAL(s_n, s_h, m_f) sigset(s_n, s_h) # else # define MY_SIGNAL(s_n, s_h, m_f) signal(s_n, s_h) # endif /* USE_SIGSET */ #endif /* USE_SIGACTION */ #if defined(USE_SIGACTION) || defined(USE_SIGSET) # undef SYSVSIGNALS #endif #if defined(__svr4__) || defined(SVR4) || defined(__SVR4) # if !defined(__svr4__) # define __svr4__ # endif /* __svr4__ */ # if !defined(SVR4) # define SVR4 # endif /* SVR4 */ # if !defined(__SVR4) # define __SVR4 # endif /* __SVR4 */ #endif /* __svr4__ || SVR4 || __SVR4 */ #ifdef _SEQUENT_ # define u_short ushort # define u_char unchar # define u_long ulong # define u_int uint # define USE_TERMIO # ifndef POSIX # define POSIX # endif #endif /* _SEQUENT_ */ #ifndef NeXT # if defined(STDC_HEADERS) || defined(HAVE_STRING_H) # include # if defined(STDC_HEADERS) # include # endif /* HAVE_STDLIB_H */ # if defined(HAVE_MEMORY_H) # include # endif /* HAVE_MEMORY_H */ # undef index # undef rindex # undef bcopy # undef bzero # undef bcmp # define index strchr # define rindex strrchr # ifdef HAVE_MEMMOVE # define bcopy(s, d, n) memmove((d), (s), (n)) # else # define bcopy(s, d, n) memcpy ((d), (s), (n)) # endif # define bcmp(s, t, n) memcmp ((s), (t), (n)) # define bzero(s, n) memset ((s), 0, (n)) # else /* STDC_HEADERS || HAVE_STRING_H */ # include # endif /* STDC_HEADERS || HAVE_STRING_H */ #endif /* !NeXT */ #define IS_ABSOLUTE_PATH(file) ((file)[0] == '/') #if !defined(SYS_ERRLIST_DECLARED) extern char *sys_errlist[]; extern int sys_nerr; #endif #ifdef NEED_STRERROR # undef strerror # define strerror(e) ((e) < 0 || (e) >= sys_nerr ? "(unknown)" : sys_errlist[e]) #endif /* * we need an unsigned 32 bit integer for dcc, how lame. * XXX look for and use uint32_t? */ #ifdef UNSIGNED_LONG32 typedef unsigned long u_32int; #else # ifdef UNSIGNED_INT32 typedef unsigned int u_32int; # else typedef unsigned long u_32int; # endif /* UNSIGNED_INT32 */ #endif /* UNSIGNED_LONG32 */ #endif /* __irc_std_h */ scrollz-2.2.3.orig/include/alias.h0000644000175000017500000000602112251073235016573 0ustar madhackmadhack/* * alias.h: header for alias.c * * Written By Michael Sandrof * * Copyright (c) 1990 Michael Sandrof. * Copyright (c) 1991, 1992 Troy Rollo. * Copyright (c) 1992-2003 Matthew R. Green. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. The name of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * $Id: alias.h,v 1.6 2003-01-08 20:00:54 f Exp $ */ #ifndef __alias_h_ #define __alias_h_ #define COMMAND_ALIAS 0 #define VAR_ALIAS 1 #define LEFT_BRACE '{' #define RIGHT_BRACE '}' #define LEFT_BRACKET '[' #define RIGHT_BRACKET ']' #define LEFT_PAREN '(' #define RIGHT_PAREN ')' #define DOUBLE_QUOTE '"' void add_alias _((int, char *, char *)); char *get_alias _((int, char *, int *, char **)); char *expand_alias _((char *, char *, char *, int *, char **)); void execute_alias _((char *, char *, char *)); void list_aliases _((int, char *)); int mark_alias _((char *, int)); void delete_alias _((int, char *)); char **match_alias _((char *, int *, int)); void alias _((char *, char *, char *)); char *parse_inline _((char *, char *, int *)); char *MatchingBracket _((char *, int, int)); void save_aliases _((FILE *, int)); int word_count _((char *)); char *call_function _((char *, char *, char *, int *)); extern char alias_illegals[]; extern char *command_line; struct ArgPosTag { char *ArgStart; int ArgLen; char *FirstComp; }; typedef struct ArgPosTag ArgPos; /* Alias: structure of each alias entry */ typedef struct AliasStru { char *name; /* name of alias */ char *stuff; /* what the alias is */ int mark; /* used to prevent recursive aliasing */ int global; /* set if loaded from `global' */ struct AliasStru *next; /* pointer to next alias in list */ } Alias; #define MAX_CMD_ARGS 5 #endif /* __alias_h_ */ scrollz-2.2.3.orig/include/output.h0000644000175000017500000000431712251073235017050 0ustar madhackmadhack/* * output.h: header for output.c * * Written By Michael Sandrof * * Copyright (c) 1990 Michael Sandrof. * Copyright (c) 1991, 1992 Troy Rollo. * Copyright (c) 1992-2003 Matthew R. Green. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. The name of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * $Id: output.h,v 1.6 2008-12-01 15:41:36 f Exp $ */ #ifndef __output_h_ #define __output_h_ #ifdef HAVE_STDARG_H Window *put_it _((char *, ...)); void send_to_server _((char *, ...)); Window *say _((char *, ...)); void yell _((char *, ...)); void help_put_it _((char *, char *, ...)); # else Window *put_it _(()); void send_to_server _(()); Window *say _(()); void yell _(()); void help_put_it _(()); #endif /* HAVE_STDARG_H */ void refresh_screen _((u_int, char *)); extern int do_refresh_screen; void init_screen _((void)); void put_file _((char *)); extern FILE *irclog_fp; #endif /* __output_h_ */ scrollz-2.2.3.orig/include/notify.h0000644000175000017500000000617012251073235017017 0ustar madhackmadhack/* * notify.h: header for notify.c * * Written By Michael Sandrof * * Copyright (c) 1990 Michael Sandrof. * Copyright (c) 1991, 1992 Troy Rollo. * Copyright (c) 1992-2003 Matthew R. Green. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. The name of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * $Id: notify.h,v 1.5 2003-01-08 20:00:54 f Exp $ */ #ifndef __notify_h_ #define __notify_h_ char *get_notify_list _((int)); #define NOTIFY_LIST_HERE 0x1 #define NOTIFY_LIST_GONE 0x2 #define NOTIFY_LIST_ALL 0x3 void show_notify_list _((int)); void notify _((char *, char *, char *)); void do_notify _((void)); void notify_mark _((char *, int, int)); void save_notify _((FILE *)); void set_notify_handler _((char *)); /**************************** PATCHED by Flier ******************************/ /* moved here rather than having it in notify.c - Flier */ /* NotifyList: the structure for the notify stuff */ typedef struct notify_stru { struct notify_stru *next; /* pointer to next notify person */ char *nick; /* nickname of person to notify about */ /**************************** PATCHED by Flier ******************************/ int server; /* server number so we can update u@h */ int isfriend; /* 1 if friend, 0 otherwise */ int printed; /* used when showing users on notify list */ char *userhost; /* their userhost */ char *mask; /* nick!user@host for user@host based notify */ char *group; /* for grouping users */ /****************************************************************************/ int flag; /* 1=person on irc, 0=person not on irc */ } NotifyList; /****************************************************************************/ #endif /* __notify_h_ */ scrollz-2.2.3.orig/include/vars.h0000644000175000017500000002445312251073235016466 0ustar madhackmadhack/* * vars.h: header for vars.c * * Copyright (c) 1990 Michael Sandrof. * Copyright (c) 1991, 1992 Troy Rollo. * Copyright (c) 1992-2003 Matthew R. Green. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. The name of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * $Id: vars.h,v 1.11 2009-12-21 14:14:17 f Exp $ */ #ifndef __vars_h_ #define __vars_h_ /**************************** PATCHED by Flier ******************************/ #include "defs.h" /****************************************************************************/ int do_boolean _((char *, int *)); void set_variable _((char *, char *, char *)); int get_int_var _((int)); char *get_string_var _((int)); void set_int_var _((int, unsigned int)); void set_string_var _((int, char *)); void init_variables _((void)); char *make_string_var _((char *)); void set_highlight_char _((char *)); int charset_size _((void)); void save_variables _((FILE *, int)); void set_var_value _((int, char *)); extern char *var_settings[]; extern int loading_global; /* var_settings indexes ... also used in display.c for highlights */ #define OFF 0 #define ON 1 #define TOGGLE 2 #define DEBUG_COMMANDS 0x0001 #define DEBUG_EXPANSIONS 0x0002 #define DEBUG_FUNCTIONS 0x0004 /* IrcVariable: structure for each variable in the variable table */ typedef struct { char *name; /* what the user types */ int type; /* variable types, see below */ int integer; /* int value of variable */ char *string; /* string value of variable */ void (*func) (); /* function to do every time variable is set */ char int_flags; /* internal flags to the variable */ unsigned short flags; /* flags for this variable */ } IrcVariable; /* indexes for the irc_variable array */ enum { ALWAYS_SPLIT_BIGGEST_VAR = 0, /**************************** PATCHED by Flier ******************************/ AUTO_RECONNECT_VAR, /****************************************************************************/ AUTO_RECONNECT_CHANNELS_VAR, AUTO_UNMARK_AWAY_VAR, AUTO_WHOWAS_VAR , /**************************** PATCHED by Flier ******************************/ AWAY_FILE_VAR, /****************************************************************************/ BEEP_VAR, BEEP_MAX_VAR, /**************************** PATCHED by Flier ******************************/ BEEP_ON_MAIL_VAR, /****************************************************************************/ BEEP_ON_MSG_VAR, BEEP_WHEN_AWAY_VAR, BOLD_VIDEO_VAR, CHANLOG_STRIP_ANSI_VAR, CHANNEL_NAME_WIDTH_VAR, CLIENTINFO_VAR, CLOCK_VAR, CLOCK_24HOUR_VAR, CLOCK_ALARM_VAR, CMDCHARS_VAR, COMMAND_MODE_VAR, CONTINUED_LINE_VAR, CTCP_REPLY_BACKLOG_SECONDS_VAR, CTCP_REPLY_FLOOD_SIZE_VAR, CTCP_REPLY_IGNORE_SECONDS_VAR, DCC_BLOCK_SIZE_VAR, /**************************** PATCHED by Flier ******************************/ DCC_HOST_VAR, DCC_PORTS_VAR, /****************************************************************************/ DEBUG_VAR, DECRYPT_PROGRAM_VAR, /**************************** PATCHED by Flier ******************************/ DEFAULT_PROTOCOL_VAR, /****************************************************************************/ DISPLAY_VAR, /**************************** PATCHED by Flier ******************************/ DISPLAY_ANSI_VAR, /****************************************************************************/ DISPLAY_ENCODING_VAR, EIGHT_BIT_CHARACTERS_VAR, /**************************** PATCHED by Flier ******************************/ ENCRYPT_PAD_MSGS_VAR, ENCRYPT_PAD_PUBLIC_VAR, /****************************************************************************/ ENCRYPT_PROGRAM_VAR, EXEC_PROTECTION_VAR, FLOOD_AFTER_VAR, FLOOD_RATE_VAR, FLOOD_USERS_VAR, FLOOD_WARNING_VAR, FULL_STATUS_LINE_VAR, HELP_PAGER_VAR, HELP_PATH_VAR, HELP_PROMPT_VAR, HELP_WINDOW_VAR, HIDE_CHANNEL_KEYS_VAR, HIDE_PRIVATE_CHANNELS_VAR, HIGHLIGHT_CHAR_VAR, /**************************** PATCHED by Flier ******************************/ HIGH_ASCII_VAR, /****************************************************************************/ HISTORY_VAR, HISTORY_FILE_VAR, HOLD_MODE_VAR, HOLD_MODE_MAX_VAR, /**************************** Patched by Flier ******************************/ /* Hyper DCC by Annatar */ HYPER_DCC_VAR, /****************************************************************************/ INDENT_VAR, INPUT_ALIASES_VAR, INPUT_ENCODING_VAR, INPUT_PROMPT_VAR, INPUT_PROTECTION_VAR, INSERT_MODE_VAR, INVERSE_VIDEO_VAR, IRCHOST_VAR, IRC_ENCODING_VAR, /**************************** PATCHED by Flier ******************************/ ISO2022_SUPPORT_VAR, /****************************************************************************/ LASTLOG_VAR, /**************************** PATCHED by Flier ******************************/ LASTLOG_ANSI_VAR, /****************************************************************************/ LASTLOG_LEVEL_VAR, LOAD_PATH_VAR, LOG_VAR, LOGFILE_VAR, MAIL_VAR, MAKE_NOTICE_MSG_VAR, /**************************** PATCHED by Flier ******************************/ MAX_MODES_VAR, /****************************************************************************/ MAX_RECURSIONS_VAR, /**************************** PATCHED by Flier ******************************/ MAX_WALLOP_NICKS_VAR, /****************************************************************************/ MENU_VAR, MINIMUM_SERVERS_VAR, MINIMUM_USERS_VAR, NETSPLIT_TIME_VAR, NOTIFY_HANDLER_VAR, NOTIFY_LEVEL_VAR, NOTIFY_ON_TERMINATION_VAR, /**************************** PATCHED by Flier ******************************/ NOTIFY_SHOW_NAME_VAR, NOTIFY_STRING_VAR, /****************************************************************************/ NOVICE_VAR, NO_ASK_NICKNAME_VAR, NO_CTCP_FLOOD_VAR, OLD_ENCRYPT_PROGRAM_VAR, RATE_LIMIT_JOIN_VAR, REALNAME_VAR, SAME_WINDOW_ONLY_VAR, /**************************** PATCHED by Flier ******************************/ SAVE_ENCRYPTION_KEYS_VAR, /****************************************************************************/ SCREEN_OPTIONS_VAR, SCROLL_VAR, /**************************** PATCHED by Flier ******************************/ SCROLLZ_STRING_VAR, /****************************************************************************/ SCROLL_LINES_VAR, SEND_IGNORE_MSG_VAR, /**************************** PATCHED by Flier ******************************/ SEND_USERHOST_ON_NICK_IN_USE_VAR, /****************************************************************************/ SHELL_VAR, SHELL_FLAGS_VAR, SHELL_LIMIT_VAR, SHOW_AWAY_ONCE_VAR, SHOW_CHANNEL_NAMES_VAR, SHOW_END_OF_MSGS_VAR, SHOW_NUMERICS_VAR, SHOW_STATUS_ALL_VAR, SHOW_WHO_HOPCOUNT_VAR, STAMP_FORMAT, STATUS_AWAY_VAR, STATUS_CHANNEL_VAR, /**************************** PATCHED by Flier ******************************/ STATUS_CHANNELCOUNT_VAR, /****************************************************************************/ STATUS_CHANOP_VAR, STATUS_CLOCK_VAR, STATUS_FORMAT_VAR, STATUS_FORMAT1_VAR, STATUS_FORMAT2_VAR, /**************************** PATCHED by Flier ******************************/ STATUS_FORMAT3_VAR, /****************************************************************************/ STATUS_GROUP_VAR, STATUS_HOLD_VAR, STATUS_HOLD_LINES_VAR, STATUS_INSERT_VAR, /**************************** PATCHED by Flier ******************************/ STATUS_LINES_VAR, STATUS_LOADAVG_VAR, /****************************************************************************/ STATUS_MAIL_VAR, STATUS_MODE_VAR, STATUS_NOTIFY_VAR, STATUS_NOTIFY_REPW_END_VAR, STATUS_NOTIFY_REPW_START_VAR, STATUS_OPER_VAR, STATUS_OVERWRITE_VAR, STATUS_QUERY_VAR, /**************************** PATCHED by Flier ******************************/ STATUS_REVERSE_VAR, /****************************************************************************/ STATUS_SCROLLED_VAR, STATUS_SCROLLED_LINES_VAR, STATUS_SERVER_VAR, STATUS_UMODE_VAR, /**************************** PATCHED by Flier ******************************/ STATUS_UPTIME_VAR, /****************************************************************************/ STATUS_USER_VAR, STATUS_USER1_VAR, STATUS_USER2_VAR, STATUS_USER3_VAR, /**************************** PATCHED by Flier ******************************/ STATUS_USER4_VAR, STATUS_USER5_VAR, STATUS_USER6_VAR, STATUS_USER7_VAR, STATUS_USER8_VAR, STATUS_USER9_VAR, /****************************************************************************/ STATUS_WINDOW_VAR, SUPPRESS_SERVER_MOTD_VAR, TAB_VAR, TAB_MAX_VAR, /**************************** PATCHED by Flier ******************************/ TRACE_VAR, TRUNCATE_PUBLIC_CHANNEL_VAR, /****************************************************************************/ UNDERLINE_VIDEO_VAR, /**************************** PATCHED by Flier ******************************/ USERNAME_VAR, /****************************************************************************/ USER_INFO_VAR, USER_WALLOPS_VAR, VERBOSE_CTCP_VAR, WARN_OF_IGNORES_VAR, XTERM_GEOMOPTSTR_VAR, XTERM_OPTIONS_VAR, XTERM_PATH_VAR, NUMBER_OF_VARIABLES }; #endif /* __vars_h_ */ scrollz-2.2.3.orig/include/trace.h0000644000175000017500000000156012251073235016603 0ustar madhackmadhack/****************************************************************************** ScrollZ tracing facility Copyright (C) Flier 2013 ******************************************************************************/ #ifndef __trace_h_ # define __trace_h_ #define SZ_TRACE_SERVER 1<<0 #define SZ_TRACE_CONNECT 1<<1 #define SZ_TRACE_JOIN 1<<2 #define SZ_TRACE_PART 1<<3 #define SZ_TRACE_CHANNEL 1<<4 #define SZ_TRACE_IO 1<<5 #define SZ_TRACE_WHOWAS 1<<6 #define SZ_TRACE_NICK 1<<7 #define SZ_TRACE_WINDOW 1<<8 #define SZ_TRACE_ALL 0xffffffff typedef struct { long value; char *area; } TraceArea; void TraceServerInfo _((int indent, int fullinfo)); void TraceChannelInfo _((int indent, ChannelList *channels)); void TraceNickListInfo _((int indent, NickList *nicks)); void TraceWindowInfo _((int indent, Window *window)); #endif scrollz-2.2.3.orig/include/numbers.h0000644000175000017500000000353212251073235017161 0ustar madhackmadhack/* * numbers.h: header for numbers.c * * written by michael sandrof * * Copyright (c) 1990 Michael Sandrof. * Copyright (c) 1991, 1992 Troy Rollo. * Copyright (c) 1992-2003 Matthew R. Green. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. The name of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * $Id: numbers.h,v 1.2 2003-01-08 20:00:54 f Exp $ */ #ifndef __numbers_h_ #define __numbers_h_ char *numeric_banner _((void)); void display_msg _((char *, char **)); void numbered_command _((char *, int, char **)); #endif /* __numbers_h_ */ scrollz-2.2.3.orig/include/server.h0000644000175000017500000002274612251073235017024 0ustar madhackmadhack/* * server.h: header for server.c * * Written By Michael Sandrof * * Copyright (c) 1990 Michael Sandrof. * Copyright (c) 1991, 1992 Troy Rollo. * Copyright (c) 1992-2003 Matthew R. Green. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. The name of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * $Id: server.h,v 1.18 2007-03-30 15:27:36 f Exp $ */ #ifndef __server_h_ #define __server_h_ /* for ChannelList */ #include "names.h" /**************************** Patched by Flier ******************************/ #if defined(HAVE_SSL) || defined(HAVE_OPENSSL) #include "myssl.h" #endif /****************************************************************************/ /* * type definition to distinguish different * server versions */ #define Server2_5 0 #define Server2_6 1 #define Server2_7 2 #define Server2_8 3 #define Server2_9 4 #define Server2_10 5 #define Server2_11 6 #define Server2_12 7 #define Server2_90 90 /* Server: a structure for the server_list */ typedef struct { char *name; /* the name of the server */ char *itsname; /* the server's idea of its name */ char *password; /* password for that server */ int port; /* port number on that server */ char *nickname; /* nickname for this server */ char *group; /* what group the server is in */ char *away; /* away message for this server */ int operator; /* true if operator */ int version; /* the version of the server - * defined above */ char *version_string; /* what is says */ int whois; /* true if server sends numeric 318 */ int flags; /* Various flags */ /**************************** PATCHED by Flier ******************************/ int umodeflags; /* holds usermode for lowercase modes */ int umodeflags2; /* holds usermode for uppercase modes */ /****************************************************************************/ int connected; /* true if connection is assured */ int write; /* write descriptor */ int read; /* read descriptior */ pid_t pid; /* process id of server */ int eof; /* eof flag for server */ int motd; /* motd flag (used in notice.c) */ int sent; /* set if something has been sent, * used for redirect */ char *buffer; /* buffer of what dgets() doesn't get */ WhoisQueue *WQ_head; /* WHOIS Queue head */ WhoisQueue *WQ_tail; /* WHOIS Queue tail */ WhoisStuff whois_stuff; /* Whois Queue current collection buffer */ int close_serv; /* Server to close when we're LOGGED_IN */ time_t ctcp_last_reply_time; /* used to limit flooding */ time_t ctcp_flood_time; int ctcp_backlog_size; int *ctcp_send_size; struct in_addr local_addr; /* ip address of this connection */ ChannelList *chan_list; /* list of channels for this server */ void (*parse_server) _((char *)); /* pointer to parser for this server */ /**************************** PATCHED by Flier ******************************/ int SZWI; /* when doing whois */ int SZWho; /* when doing who */ int SZUnban; /* when doing unban */ char *LastMessage; /* last received message */ char *LastNotice; /* last received notice */ char *LastMessageSent; /* last sent message */ char *LastNoticeSent; /* last sent notice */ char *LastJoin; /* last person to join */ time_t ConnectTime; /* when the server was connected */ struct nicks *arlist,*arcur; /* auto-reply list */ struct nicks *nicklist, /* tabkey list */ *nickcur; ChannelList *ChanPendingList; /* list of channels pending for join */ void *compl_last; /* pointer to last completion string */ void *compl_next; /* where to start next completion */ ChannelList *compl_channel; /* last channel completion */ #if defined(HAVE_SSL) || defined(HAVE_OPENSSL) int enable_ssl; #if defined(HAVE_SSL) gnutls_session session; gnutls_certificate_credentials xcred; #elif defined(HAVE_OPENSSL) SSL *ssl_fd; SSL_CTX *ctx; SSL_METHOD *meth; #endif #endif /****************************************************************************/ } Server; typedef struct ser_group_list { struct ser_group_list *next; char *name; int number; } SGroup; typedef unsigned short ServerType; int find_server_group _((char *, int)); char * find_server_group_name _((int)); void add_to_server_list _((char *, int, char *, char *, char *, int)); void build_server_list _((char *)); int connect_to_server _((char *, int, char *, char *, int)); /**************************** PATCHED by Flier ******************************/ /*void get_connected _((int));*/ void get_connected _((int, int)); /****************************************************************************/ int read_server_file _((void)); void display_server_list _((void)); void do_server _((fd_set *, fd_set *)); #ifdef HAVE_STDARG_H void send_to_server _((char *, ...)); #else void send_to_server _(()); #endif /* HAVE_STDARG_H */ int get_server_whois _((int)); WhoisStuff *get_server_whois_stuff _((int)); WhoisQueue *get_server_qhead _((int)); WhoisQueue *get_server_qtail _((int)); extern int save_chan_from; /* to keep the channel list if all servers * are lost */ extern int attempting_to_connect; extern int number_of_servers; extern int connected_to_server; extern int never_connected; extern int using_server_process; extern int primary_server; extern int from_server; extern char *connect_next_nick; extern char *connect_next_password; extern int parsing_server_index; extern SGroup *server_group_list; void servercmd _((char *, char *, char *)); char *get_server_nickname _((int)); char *get_server_name _((int)); char *get_server_itsname _((int)); void set_server_flag _((int, int, int)); int find_in_server_list _((char *, int, char *)); char *create_server_list _((void)); void remove_from_server_list _((int)); void set_server_motd _((int, int)); int get_server_motd _((int)); int get_server_operator _((int)); int get_server_2_6_2 _((int)); int get_server_version _((int)); char *get_server_password _((int)); void close_server _((int, char *)); void MarkAllAway _((char *, char *)); int is_server_connected _((int)); void flush_server _((void)); int get_server_flag _((int, int)); /**************************** PATCHED by Flier ******************************/ int get_server_umode_flag _((int, char)); void set_server_umode_flag _((int, char, int)); /****************************************************************************/ void set_server_operator _((int, int)); void server_is_connected _((int, int)); int parse_server_index _((char *)); void parse_server_info _((char **, char **, char **, char **, char **)); void set_server_bits _((fd_set *, fd_set *)); void set_server_itsname _((int, char *)); void set_server_version _((int, int)); int is_server_open _((int)); /**************************** PATCHED by Flier ******************************/ int is_server_valid _((int)); /****************************************************************************/ int get_server_port _((int)); char *get_server_group _((int)); char *set_server_password _((int, char *)); void set_server_nickname _((int, char *)); void set_server_2_6_2 _((int, int)); void set_server_qhead _((int, WhoisQueue *)); void set_server_qtail _((int, WhoisQueue *)); void set_server_whois _((int, int)); void close_all_server _((void)); void disconnectcmd _((char *, char *, char *)); void ctcp_reply_backlog_change _((int)); /* server_list: the list of servers that the user can connect to,etc */ extern Server *server_list; #define SERVER_2_6_2 0x0100 #define CLOSE_PENDING 0x0200 /* set for servers who are being switched away from, but have not yet connected. */ #define LOGGED_IN 0x0400 #define CLEAR_PENDING 0x0800 /* set for servers whose channels are to be removed when a connect has been established. */ /**************************** Patched by Flier ******************************/ #define SSL_CONNECT 0x100000 /****************************************************************************/ #endif /* __server_h_ */ scrollz-2.2.3.orig/include/hold.h0000644000175000017500000000401112251073235016425 0ustar madhackmadhack/* * hold.h: header for hold.c * * Written By Michael Sandrof * * Copyright (c) 1990 Michael Sandrof. * Copyright (c) 1991, 1992 Troy Rollo. * Copyright (c) 1992-2003 Matthew R. Green. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. The name of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * $Id: hold.h,v 1.3 2003-01-08 20:00:54 f Exp $ */ #ifndef __hold_h_ #define __hold_h_ void remove_from_hold_list _((Window *)); void add_to_hold_list _((Window *, char *, int)); void hold_mode _((Window *, int, int)); int hold_output _((Window *)); char *hold_queue _((Window *)); void reset_hold _((Window *)); int hold_queue_logged _((Window *)); void toggle_stop_screen _((u_int, char *)); #endif /* __hold_h_ */ scrollz-2.2.3.orig/include/config.h0000644000175000017500000003466712251073235016770 0ustar madhackmadhack/* 'new' config.h: * A configuration file designed to make best use of the abilities * of ircII, and trying to make things more intuitively understandable. * * Based on the 'classic' config.h by Michael Sandrof. * * Copyright (c) 1991 Michael Sandrof. * Copyright (c) 1991 Carl V. Loesch * Copyright (c) 1991, 1992 Troy Rollo. * Copyright (c) 1992-1998 Matthew R. Green. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. The name of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * $Id: config.h,v 1.29 2009-07-28 16:42:18 f Exp $ */ #ifndef __config_h_ #define __config_h_ /* * Set your favorite default server list here. This list should be a * whitespace separated hostname:portnum:password list (with portnums and * passwords optional). This IS NOT an optional definition. Please set this * to your nearest servers. However if you use a seperate 'ircII.servers' * file and the ircII can find it, this setting is overridden. */ #ifndef DEFAULT_SERVER # define DEFAULT_SERVER "change.this.to.a.server" #endif /* * Uncomment the following if the gecos field of your /etc/passwd has other * information in it that you don't want as the user name (such as office * locations, phone numbers, etc). The default delimiter is a comma, change * it if you need to. If commented out, the entire gecos field is used. */ #define GECOS_DELIMITER ',' /* * Set the following to 1 if you wish for IRCII not to disturb the tty's flow * control characters as the default. Normally, these are ^Q and ^S. You * may have to rebind them in IRCII. Set it to 0 for IRCII to take over the * tty's flow control. */ #define USE_FLOW_CONTROL 1 /* * MAIL_DELIMITER specifies the unique text that separates one mail message * from another in the mail spool file when using UNIX_MAIL. */ #define MAIL_DELIMITER "From " /* Make ^Z stop the irc process by default, * if undefined, ^Z will self-insert by default */ #define ALLOW_STOP_IRC /**/ /* And here is the port number for default client connections. */ #define IRC_PORT 6667 /* * Uncomment the following to make ircII read a list of irc servers from * the ircII.servers file in the ircII library. This file should be * whitespace separated hostname:portnum:password (with the portnum and * password being optional). This server list will supercede the * DEFAULT_SERVER. */ /*#define SERVERS_FILE "ircII.servers"*/ /* Uncomment the following if you want ircII to display the file * ircII.motd in the ircII library at startup. */ /*#define MOTD_FILE "ircII.motd"*/ /*#define PAUSE_AFTER_MOTD 1*/ /* * Below are the IRCII variable defaults. For boolean variables, use 1 for * ON and 0 for OFF. You may set string variable to NULL if you wish them to * have no value. None of these are optional. You may *not* comment out or * remove them. They are default values for variables and are required for * proper compilation. * * CTCP reply flood protection sidenote : * 1 - Do not put NULL in any of the three DEFAULT_CTCP_REPLY values. * 2 - Do not change them if you don't understand them, these ones * do work without being a pain. */ /**************************** PATCHED by Flier ******************************/ #define DEFAULT_ALWAYS_SPLIT_BIGGEST 1 #define DEFAULT_AUTO_RECONNECT 1 #define DEFAULT_AUTO_RECONNECT_CHANNELS 1 #define DEFAULT_AUTO_UNMARK_AWAY 0 #define DEFAULT_AUTO_WHOWAS 0 #define DEFAULT_AWAY_FILE "ScrollZ.away" #define DEFAULT_BEEP 1 #define DEFAULT_BEEP_MAX 3 #define DEFAULT_BEEP_ON_MAIL 0 #define DEFAULT_BEEP_ON_MSG "NONE" #define DEFAULT_BEEP_WHEN_AWAY 0 #define DEFAULT_BOLD_VIDEO 1 #define DEFAULT_CHANLOG_STRIP_ANSI 1 #define DEFAULT_CHANNEL_NAME_WIDTH 10 #define DEFAULT_CLOCK 1 #define DEFAULT_CLOCK_24HOUR 1 #define DEFAULT_CLOCK_ALARM NULL #define DEFAULT_CMDCHARS "/" #define DEFAULT_COMMAND_MODE 0 #define DEFAULT_CONTINUED_LINE NULL #define DEFAULT_CTCP_REPLY_BACKLOG_SECONDS 5 #define DEFAULT_CTCP_REPLY_FLOOD_SIZE_VAR 256 #define DEFAULT_CTCP_REPLY_IGNORE_SECONDS 10 #define DEFAULT_DCC_BLOCK_SIZE 2048 #define DEFAULT_DISPLAY 1 #define DEFAULT_DISPLAY_ENCODING "UTF-8" #define DEFAULT_DISPLAY_ANSI 1 #define DEFAULT_EIGHT_BIT_CHARACTERS 1 #define DEFAULT_ENCRYPT_PROGRAM NULL #define DEFAULT_DECRYPT_PROGRAM NULL #define DEFAULT_EXEC_PROTECTION 1 #define DEFAULT_FLOOD_AFTER 6 #define DEFAULT_FLOOD_RATE 6 #define DEFAULT_FLOOD_USERS 6 #define DEFAULT_FLOOD_WARNING 1 #define DEFAULT_FULL_STATUS_LINE 1 #define DEFAULT_HELP_PAGER 1 #define DEFAULT_HELP_PROMPT 1 #define DEFAULT_HELP_WINDOW 0 #define DEFAULT_HIDE_CHANNEL_KEYS 0 #define DEFAULT_HIDE_PRIVATE_CHANNELS 0 #define DEFAULT_HIGHLIGHT_CHAR "INVERSE" #define DEFAULT_HISTORY 30 #define DEFAULT_HISTORY_FILE NULL #define DEFAULT_HOLD_MODE 0 #define DEFAULT_HOLD_MODE_MAX 0 #define DEFAULT_HYPER_DCC 0 #define DEFAULT_INDENT 1 #define DEFAULT_INPUT_ALIASES 0 #define DEFAULT_INPUT_ENCODING "UTF-8" #define DEFAULT_INPUT_PROMPT NULL #define DEFAULT_INPUT_PROTECTION 1 #define DEFAULT_IRC_ENCODING "UTF-8" #define DEFAULT_INSERT_MODE 1 #define DEFAULT_INVERSE_VIDEO 1 #define DEFAULT_ISO2022_SUPPORT 0 #define DEFAULT_LASTLOG 512 #define DEFAULT_LASTLOG_ANSI_VAR 1 #define DEFAULT_LASTLOG_LEVEL "ALL DCC USERLOG1 USERLOG2 USERLOG3 USERLOG4" #define DEFAULT_LOG 0 #define DEFAULT_LOGFILE "IrcLog" #define DEFAULT_MAIL 1 #define DEFAULT_MAKE_NOTICE_MSG 1 #define DEFAULT_MAX_MODES 4 #define DEFAULT_MAX_RECURSIONS 10 #define DEFAULT_MAX_WALLOP_NICKS 10 #define DEFAULT_MINIMUM_SERVERS 0 #define DEFAULT_MINIMUM_USERS 0 #define DEFAULT_NETSPLIT_TIME 600 #define DEFAULT_NOTIFY_HANDLER "NOISY" #define DEFAULT_NOTIFY_LEVEL "ALL DCC USERLOG1 USERLOG2 USERLOG3 USERLOG4" #define DEFAULT_NOTIFY_ON_TERMINATION 0 #define DEFAULT_NOTIFY_SHOW_NAME 0 #define DEFAULT_NOVICE 0 #define DEFAULT_NO_ASK_NICKNAME 0 #define DEFAULT_NO_CTCP_FLOOD 1 #define DEFAULT_RATE_LIMIT_JOIN "ircd-ratbox-* hybrid-7* ircd-seven-*" #define DEFAULT_SAME_WINDOW_ONLY 1 #define DEFAULT_SCROLL 1 #define DEFAULT_SCROLL_LINES 1 #define DEFAULT_SEND_IGNORE_MSG 0 #define DEFAULT_SHELL "/bin/sh" #define DEFAULT_SHELL_FLAGS "-c" #define DEFAULT_SHELL_LIMIT 0 #define DEFAULT_SHOW_AWAY_ONCE 0 #define DEFAULT_SHOW_CHANNEL_NAMES 1 #define DEFAULT_SHOW_END_OF_MSGS 0 #define DEFAULT_SHOW_NUMERICS 0 #define DEFAULT_SHOW_STATUS_ALL 0 #define DEFAULT_SHOW_WHO_HOPCOUNT 0 #ifdef HAVE_STRFTIME #define DEFAULT_STAMP_FORMAT "%H:%M|" #else #define DEFAULT_STAMP_FORMAT "${Z}|" #endif #define DEFAULT_STATUS_AWAY " (zZzZ: %A)" #define DEFAULT_STATUS_CHANNEL " on %C" #define DEFAULT_STATUS_CHANOP "@" #define DEFAULT_STATUS_CLOCK "time is %T" #define DEFAULT_STATUS_FORMAT "[%R] %* %B%H%A%S %W %F %>" #define DEFAULT_STATUS_FORMAT1 "[%R] %*%@%N%#%B%H%C%+%A%Q%S%I%O %W %F %> [lj %3]" #define DEFAULT_STATUS_FORMAT2 "%1 [lag %2] %M [g %6] [s %5]%P%s [%D:%E:%X:%L:%7:%8] %> %T" #define DEFAULT_STATUS_FORMAT3 "%U [topic %9] %>" #define DEFAULT_STATUS_GROUP " [%G]" #define DEFAULT_STATUS_HOLD " [..more..]" #define DEFAULT_STATUS_HOLD_LINES " (%B)" #define DEFAULT_STATUS_INSERT "" #define DEFAULT_STATUS_LINES 2 #define DEFAULT_STATUS_MAIL "[m %M]" #define DEFAULT_STATUS_MODE " (+%+)" #define DEFAULT_STATUS_NOTIFY " [a:%F]" #define DEFAULT_STATUS_OPER "*" #define DEFAULT_STATUS_OVERWRITE " (ow)" #define DEFAULT_STATUS_QUERY " [Q/%Q]" #define DEFAULT_STATUS_SCROLLED " -scr-" #define DEFAULT_STATUS_SCROLLED_LINES " (%s)" #define DEFAULT_STATUS_SERVER " via %S" #define DEFAULT_STATUS_UMODE " (+%#)" #define DEFAULT_STATUS_UPTIME "[up %dd %hh %mm]" #define DEFAULT_STATUS_USER " * type /help for help " #define DEFAULT_STATUS_USER1 "" #define DEFAULT_STATUS_USER2 "" #define DEFAULT_STATUS_USER3 "" #define DEFAULT_STATUS_WINDOW "^^^^^" #define DEFAULT_SUPPRESS_SERVER_MOTD 0 #define DEFAULT_TAB 1 #define DEFAULT_TAB_MAX 8 #define DEFAULT_UNDERLINE_VIDEO 1 #define DEFAULT_USERINFO "" #define DEFAULT_USER_WALLOPS 0 #define DEFAULT_VERBOSE_CTCP 1 #define DEFAULT_WARN_OF_IGNORES 1 #define DEFAULT_XTERM_GEOMOPTSTR "-geom" #define DEFAULT_XTERM_OPTIONS NULL #define DEFAULT_XTERM_PATH "xterm" #define DEFAULT_STATUS_USER4 "" #define DEFAULT_STATUS_USER5 "" #define DEFAULT_STATUS_USER6 "" #define DEFAULT_STATUS_USER7 "" #define DEFAULT_STATUS_USER8 "" #define DEFAULT_STATUS_USER9 "" #define DEFAULT_STATUS_CHANNELCOUNT "[O:%o N:%n T:%t]" #define DEFAULT_STATUS_UPTIME "[up %dd %hh %mm]" #define DEFAULT_TRUNCATE_PUBLIC_CHANNEL 1 #if defined(CELE) || defined(WANTANSI) #undef DEFAULT_STAMP_FORMAT #undef DEFAULT_STATUS_AWAY #undef DEFAULT_STATUS_CHANNEL #undef DEFAULT_STATUS_CHANNELCOUNT #undef DEFAULT_STATUS_CLOCK #undef DEFAULT_STATUS_FORMAT #undef DEFAULT_STATUS_FORMAT1 #undef DEFAULT_STATUS_FORMAT2 #undef DEFAULT_STATUS_FORMAT3 #undef DEFAULT_STATUS_HOLD #undef DEFAULT_STATUS_MAIL #undef DEFAULT_STATUS_MODE #undef DEFAULT_STATUS_QUERY #undef DEFAULT_STATUS_SCROLLED #undef DEFAULT_STATUS_UMODE #undef DEFAULT_STATUS_UPTIME #undef DEFAULT_STATUS_WINDOW #endif /* CELE || WANTANSI */ #ifdef CELE #undef DEFAULT_BEEP_ON_MSG #undef DEFAULT_BEEP_ON_MAIL #undef DEFAULT_INPUT_PROMPT #undef DEFAULT_SHOW_STATUS_ALL #undef DEFAULT_STATUS_USER #undef DEFAULT_STATUS_USER1 #elif defined(WANTANSI) #undef DEFAULT_STATUS_FORMAT3 #undef DEFAULT_STATUS_HOLD_LINES #undef DEFAULT_STATUS_NOTIFY #undef DEFAULT_STATUS_OVERWRITE #undef DEFAULT_STATUS_SCROLLED_LINES #undef DEFAULT_STATUS_SERVER #undef DEFAULT_STATUS_WINDOW #endif /* CELE */ #if defined(CELE) #define DEFAULT_SHOW_STATUS_ALL 1 #define DEFAULT_BEEP_ON_MSG "MSG" #define DEFAULT_BEEP_ON_MAIL 1 #ifdef HAVE_STRFTIME #define DEFAULT_STAMP_FORMAT "%H:%M$color(cyan)|$color(off)" #else #define DEFAULT_STAMP_FORMAT "$Z$color(cyan)|$color(off)" #endif #define DEFAULT_STATUS_AWAY "%y6(%y7zZz:%y4%A%y6)" #define DEFAULT_STATUS_CHANNELCOUNT "%y6|%y7O:%y5%o %y7N:%y5%n %y7T:%y5%t%y6| " #define DEFAULT_STATUS_CHANNEL "%y7Ch:%y3%C " #define DEFAULT_STATUS_CLOCK "%y6[%y5%T%y6]" #define DEFAULT_STATUS_HOLD "%y6.o %y7please hit enter %y6o." #define DEFAULT_STATUS_LOADAVG "%y7load/%y4%Z" #define DEFAULT_STATUS_WINDOW "~~~" #define DEFAULT_STATUS_MAIL "%y6(%y7M:%y5%M%y6)" #define DEFAULT_STATUS_MODE "%y6(%y5+%y4%+%y6)" #define DEFAULT_STATUS_QUERY "%y6(%y7Q:%y5%Q%y6)" #define DEFAULT_STATUS_SCROLLED " [..scr..]" #define DEFAULT_STATUS_SCROLLED_LINES " (%y2%s%y6)" #define DEFAULT_STATUS_UMODE "%y6(%y5+%y4%#%y6)" #define DEFAULT_STATUS_UPTIME "%y6|%y7Up:%y5 %dd %hh %mm%y6|" #define DEFAULT_STATUS_USER "?.??" #define DEFAULT_STATUS_USER1 "no cele.sz!" #define DEFAULT_INPUT_PROMPT "%y3${N}%y6:%y3${C}%y6> " #define DEFAULT_STATUS_FORMAT "%y1 %y6[%y7OperVision%y6] %> %y5!S " #define DEFAULT_STATUS_FORMAT1 "%y1 %T %y4%*%@%y3%N %# %A%Q %>%M %1 " #define DEFAULT_STATUS_FORMAT2 "%y1 %C%+%y6|%y7lj:%y5%3%y6| %U%P%s %> %S%H%B%I%O%F %y5%W %y6|%y7load:%y5%!0%y6| %y6|%y3%!1%y6| " #define DEFAULT_STATUS_FORMAT3 "%y1 %y5QuickStat %> %y5lag/%y4%2 %y6[%y5DCC:%y4s%6%y5:%y4r%5%y5:%y4o%4%y6] " #elif defined(WANTANSI) #ifndef LITE #ifdef HAVE_STRFTIME #define DEFAULT_STAMP_FORMAT "%H:%M$color(cyan)|$color(off)" #else #define DEFAULT_STAMP_FORMAT "$Z$color(cyan)|$color(off)" #endif #else /* LITE */ #ifdef HAVE_STRFTIME #define DEFAULT_STAMP_FORMAT "%H:%M|" #else #define DEFAULT_STAMP_FORMAT "$Z|" #endif #endif /* LITE */ #define DEFAULT_STATUS_AWAY " (%y2zZzZ: %A%y6)" #define DEFAULT_STATUS_CHANNEL " on %y5%C%y6" #define DEFAULT_STATUS_CHANNELCOUNT "[O:%y8%o%y6 N:%y8%n%y6 T:%y8%t%y6]" #define DEFAULT_STATUS_CLOCK "[time %y7%T%y6]" #if defined(OPERVISION) #define DEFAULT_STATUS_FORMAT "%y1[%y2%R%y6] %* %B%H%A%S %W %F %> [%y2%!S%y6]%y0" #else /* OPERVISION */ #define DEFAULT_STATUS_FORMAT "%y1[%y2%R%y6] %* %B%H%A%S %W %F %>%y0" #endif /* OPERVISION */ #define DEFAULT_STATUS_FORMAT1 "%y1[%y2%R%y6] %y2%*%y6%y3%@%y6%y7%N%y6%#%C%+%A%Q%S%I%O %y3%W%y6 %F%y9%H%y6 %> [lj %y5%3%y6]%y0" #define DEFAULT_STATUS_FORMAT2 "%y1%1 [lag %y8%2%y6] %M [g %y8%6%y6] [s %y8%5%y6]%P%s [%y8%D%y6:%y8%E%y6:%y8%X%y6:%y8%L%y6:%y8%7%y6:%y8%8%y6]%B %> %T%y0" #define DEFAULT_STATUS_FORMAT3 "%y1%U [topic %y8%9%y6] %> %y0" #define DEFAULT_STATUS_HOLD " [..more..]" #define DEFAULT_STATUS_HOLD_LINES " (%y2%B%y6)" #define DEFAULT_STATUS_MAIL "[m %y8%M%y6]" #define DEFAULT_STATUS_MODE " [%y8+%+%y6]" #define DEFAULT_STATUS_NOTIFY " %ya[a:%F]%y1%y6" #define DEFAULT_STATUS_OVERWRITE " (%y2ow%y6)" #define DEFAULT_STATUS_QUERY " [%y4Q%y6/%y4%Q%y6]" #define DEFAULT_STATUS_SCROLLED " [..scr..]" #define DEFAULT_STATUS_SCROLLED_LINES " (%y2%s%y6)" #define DEFAULT_STATUS_SERVER " via %y7%S%y6" #define DEFAULT_STATUS_UMODE " (%y4+%#%y6)" #define DEFAULT_STATUS_UPTIME "[up %y8%dd %hh %mm%y6]" #define DEFAULT_STATUS_WINDOW "^^^^^" #endif /* CELE */ #ifdef ACID #undef DEFAULT_AUTO_WHOWAS #undef DEFAULT_CLOCK_24HOUR #undef DEFAULT_SEND_IGNORE_MSG #undef DEFAULT_SHOW_STATUS_ALL #undef DEFAULT_SUPPRESS_SERVER_MOTD #undef DEFAULT_STATUS_FORMAT1 #undef DEFAULT_BEEP_ON_MSG #define DEFAULT_BEEP_ON_MSG "MSG" #define DEFAULT_AUTO_WHOWAS 1 #define DEFAULT_CLOCK_24HOUR 0 #define DEFAULT_SEND_IGNORE_MSG 1 #define DEFAULT_SHOW_STATUS_ALL 1 #define DEFAULT_SUPPRESS_SERVER_MOTD 1 #define DEFAULT_STATUS_FORMAT1 "%y1[%y2%R%y6] %y2%*%y6%y3%@%y6%y7%N%y6%#%C%+%A%Q%S%I%O %y3%W%y6 %F%y9%H%y6 %> [%y4AcidMods v2.5%y6]%y0" #endif /* ACID */ /****************************************************************************/ /* * define this if you want to have the -l and -L command line * options. */ #define COMMAND_LINE_L #endif /* __config_h_ */ scrollz-2.2.3.orig/include/keys.h0000644000175000017500000000726612251073235016471 0ustar madhackmadhack/* * keys.h: header for keys.c * * Written By Michael Sandrof * * Copyright (c) 1990 Michael Sandrof. * Copyright (c) 1991, 1992 Troy Rollo. * Copyright (c) 1992-2003 Matthew R. Green. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. The name of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * $Id: keys.h,v 1.2 2009-07-10 17:50:53 f Exp $ */ #ifndef __keys_h_ #define __keys_h_ /* KeyMap: the structure of the irc keymaps */ typedef struct { int index; char changed; int global; char *stuff; } KeyMap; /* KeyMapNames: the structure of the keymap to realname array */ typedef struct { char *name; void (*func) _((u_int, char *)); } KeyMapNames; extern KeyMap keys[], meta1_keys[], meta2_keys[], meta3_keys[], meta4_keys[], meta5_keys[], meta6_keys[], meta7_keys[], meta8_keys[]; extern KeyMapNames key_names[]; void (* get_send_line _((void))) _((u_int, char*)); void save_bindings _((FILE *, int)); void change_send_line _((void (*)(u_int, char *))); void bindcmd _((char *, char *, char *)); void rbindcmd _((char *, char *, char *)); void parsekeycmd _((char *, char *, char *)); void typecmd _((char *, char *, char *)); enum { BACKSPACE = 0, BACKWARD_CHARACTER, BACKWARD_HISTORY, BACKWARD_WORD, BEGINNING_OF_LINE, CLEAR_SCREEN, COMMAND_COMPLETION, DELETE_CHARACTER, DELETE_NEXT_WORD, DELETE_PREVIOUS_WORD, END_OF_LINE, ENTER_DIGRAPH, ENTER_MENU, ERASE_LINE, ERASE_TO_BEG_OF_LINE, ERASE_TO_END_OF_LINE, FORWARD_CHARACTER, FORWARD_HISTORY, FORWARD_WORD, META1_CHARACTER, META2_CHARACTER, META3_CHARACTER, META4_CHARACTER, META5_CHARACTER, META6_CHARACTER, META7_CHARACTER, META8_CHARACTER, NEXT_WINDOW, NOTHING, PARSE_COMMAND, PREVIOUS_WINDOW, QUIT_IRC, QUOTE_CHARACTER, REFRESH_INPUTLINE, REFRESH_SCREEN, SCROLL_BACKWARD, SCROLL_END, SCROLL_FORWARD, SCROLL_START, SELF_INSERT, SEND_LINE, STOP_IRC, SWAP_LAST_WINDOW, SWAP_NEXT_WINDOW, SWAP_PREVIOUS_WINDOW, SWITCH_CHANNELS, TOGGLE_INSERT_MODE, TOGGLE_STOP_SCREEN, TRANSPOSE_CHARACTERS, TYPE_TEXT, UNSTOP_ALL_WINDOWS, YANK_FROM_CUTBUFFER, /**************************** PATCHED by Flier ******************************/ INSERT_AUTOREPLY, LASTJOINER_KICK, ACCEPT_LAST_CHAT, INSERT_TABKEY_NEXT, INSERT_TABKEY_PREV, PUSH_LINE, PUSH_STACK_EMPTY, /****************************************************************************/ NUMBER_OF_FUNCTIONS }; #endif /* __keys_h_ */ scrollz-2.2.3.orig/include/history.h0000644000175000017500000000377112251073235017214 0ustar madhackmadhack/* * history.h: header for history.c * * Written By Michael Sandrof * * Copyright (c) 1990 Michael Sandrof. * Copyright (c) 1991, 1992 Troy Rollo. * Copyright (c) 1992-2003 Matthew R. Green. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. The name of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * $Id: history.h,v 1.2 2003-01-08 20:00:54 f Exp $ */ #ifndef __history_h_ #define __history_h_ void set_history_size _((int)); void set_history_file _((char *)); void add_to_history _((char *)); char *get_from_history _((int)); char *do_history _((char *, char *)); void history _((char *, char *, char *)); /* used by get_from_history */ #define NEXT 0 #define PREV 1 #endif /* __history_h_ */ scrollz-2.2.3.orig/SZdist.c0000644000175000017500000005207412251073234015302 0ustar madhackmadhack/* * This little piece of code should make life easier for customizing ScrollZ. * * Be sure to follow next steps, otherwise things won't work !!! * First of all, run configure. Next, compile this program and put it in * main ScrollZ dir (this *IS* important). * It needs include/defs.h and include/defs.h.in to operate plus working rm * (yes, the UN*X command). * * Once you qualify for requirements, you're ready to use it. Just run it and * you'll be present with current ScrollZ setup (read from include/defs.h). * Follow on-screen instructions and make your choices. Either use 'Q' to quit * or press 'W' to save. If you opted for latter, just type make irc and in a * matter of minutes you will have binary of your choice. * * Now that ScrollZ has a lot of compile-time options, we needed this so one * can simply feed this program output of /eval echo $J and get bin with * exactly the same options. * * Note that this should reduce compile time too since it only recompiles * files that are affected by selected options. If you need more info or you * have comments on this code, send e-mail to: * flier@scrollz.org * * $Id: SZdist.c,v 1.43 2006-11-01 11:46:16 f Exp $ */ #include #include #include #include #include #include #include #include #include #include #define WANTANSI (1<<0) #define EXTRAS (1<<1) #define GENX (1<<2) #define NEWCSCAN (1<<3) #define ACID (1<<4) #define SORTEDNICKS (1<<5) #define SCKICKS (1<<6) #define OPERVISION (1<<7) #define CELE (1<<8) #define VILAS (1<<9) #define JIMMIE (1<<10) #define CTCPPAGE (1<<11) #define TDF (1<<12) #define COUNTRY (1<<13) #define OPER (1<<14) #define OGRE (1<<15) #define SZ32 (1<<16) #define LITE (1<<17) #define ALTPUBLICS (1<<18) #define MIRCRESUME (1<<19) #define NUMDEFS (MIRCRESUME) #define mybufsize 1024 char *defsfile="include/defs.h"; char *defsoldfile="include/defs.h.old"; char *WANTANSIfiles="alias.o cdcc.o dcc.o edit.o edit2.o edit3.o edit4.o edit5.o\ edit6.o input.o log.o names.o numbers.o parse.o screen.o status.o term.o vars.o\ whois.o"; char *EXTRASfiles="alias.o cdcc.o edit.o edit2.o edit3.o edit4.o edit5.o edit6.o\ list.o names.o numbers.o parse.o whowas.o"; char *GENXfiles="edit5.o whois.o"; char *NEWCSCANfiles="edit2.o"; char *ACIDfiles="edit.o edit2.o edit3.o edit5.o edit6.o screen.o vars.o window.o"; char *SORTEDNICKSfiles="edit5.o names.o"; char *SCKICKSfiles="edit.o edit3.o edit4.o"; char *OPERVISIONfiles="edit.o edit3.o edit5.o funny.o notice.o operv.o parse.o\ window.o"; char *CELEfiles="alias.o cdcc.o celerity.o edit.o edit2.o edit3.o edit4.o edit5.o\ edit6.o input.o numbers.o operv.o parse.o server.o status.o vars.o whois.o"; char *VILASfiles="edit2.o edit6.o"; char *JIMMIEfiles="edit2.o"; char *CTCPPAGEfiles="ctcp.o"; char *TDFfiles="cdcc.o dcc.o edit.o edit4.o edit5.o edit6.o status.o"; char *COUNTRYfiles="alias.o"; char *SZ32files="*.o"; char *OPERfiles="edit.o edit2.o edit3.o edit5.o edit6.o numbers.o parse.o"; char *OGREfiles="operv.o"; char *LITEfiles="*.o"; char *ALTPUBLICSfiles="edit5.o"; char *MIRCRESUMEfiles="cdcc.o dcc.o"; char format[mybufsize]; char *onoffstr(type,onoffbuf) int type; char *onoffbuf; { strcpy(onoffbuf,""); if (type) strcat(onoffbuf,"ON "); else strcat(onoffbuf,"OFF"); strcat(onoffbuf,""); return(onoffbuf); } void addtobuf(files,buffer,choice,oldchoice,what) char *files; char *buffer; int choice; int oldchoice; int what; { char buf[32]; char tmpbuf[mybufsize]; char filebuf[64]; char *tmpstr1=tmpbuf; char *tmpstr2; if ((choice&what)==(oldchoice&what)) return; strcpy(tmpbuf,files); tmpstr2=strtok(tmpstr1," "); do { sprintf(filebuf," %s",tmpstr2); if (!strstr(buffer,filebuf)) { if (strstr(tmpstr2,".c")) { printf("Not deleting %s, because it is .c file !!\n",tmpstr2); getchar(); } else { sprintf(buf," source/%s",tmpstr2); strcat(buffer,buf); } } } while ((tmpstr2=strtok(NULL," "))); } void touchfile(file,statbuf) char *file; struct stat *statbuf; { struct utimbuf utimbuf; utimbuf.actime=statbuf->st_atime; utimbuf.modtime=statbuf->st_mtime; if ((utime(file,&utimbuf))!=0) printf("Error, couldn't set time on file %s\n",file); } int main(argc,argv) int argc; char **argv; { int i,choice=0,oldchoice=0; int end=0; char c; char tmpbuf[2*mybufsize]; char onoffbuf[32]; char buf[mybufsize]; char *tmp1; FILE *fpin=NULL,*fpout; struct stat statbuf; if ((fpin=fopen(defsfile,"r"))==NULL || stat(defsfile,&statbuf)!=0) { printf("Error, couldn't open %s for reading\n",defsfile); if (fpin) fclose(fpin); return(1); } while (fgets(buf,1024,fpin)) if (strstr(buf,"#define")) { if (strstr(buf,"WANTANSI")) choice|=WANTANSI; else if (strstr(buf,"EXTRAS")) choice|=EXTRAS; else if (strstr(buf,"GENX")) choice|=GENX; else if (strstr(buf,"NEWCSCAN")) choice|=NEWCSCAN; else if (strstr(buf,"ACID")) choice|=ACID; else if (strstr(buf,"SORTED_NICKS")) choice|=SORTEDNICKS; else if (strstr(buf,"SCKICKS")) choice|=SCKICKS; else if (strstr(buf,"OPERVISION")) choice|=OPERVISION; else if (strstr(buf,"CELE")) choice|=CELE; else if (strstr(buf,"VILAS")) choice|=VILAS; else if (strstr(buf,"JIMMIE")) choice|=JIMMIE; else if (strstr(buf,"CTCPPAGE")) choice|=CTCPPAGE; else if (strstr(buf,"TDF")) choice|=TDF; else if (strstr(buf,"COUNTRY")) choice|=COUNTRY; else if (strstr(buf,"SZ32")) choice|=SZ32; else if (strstr(buf,"OPER")) choice|=OPER; else if (strstr(buf,"OGRE")) choice|=OGRE; else if (strstr(buf,"LITE")) choice|=LITE; else if (strstr(buf,"ALTERNATIVE_PUBLICS")) choice|=ALTPUBLICS; else if (strstr(buf,"BROKEN_MIRC_RESUME")) choice|=MIRCRESUME; } fclose(fpin); oldchoice=choice; if (argc==2) { for (tmp1=argv[1];*tmp1 && *tmp1!=' ';tmp1++) { if (*tmp1=='A') choice|=WANTANSI; else if (*tmp1=='a') choice&=~WANTANSI; if (*tmp1=='E') choice|=EXTRAS; else if (*tmp1=='e') choice&=~EXTRAS; if (*tmp1=='C') choice|=NEWCSCAN; else if (*tmp1=='c') choice&=~NEWCSCAN; if (*tmp1=='S') choice|=SCKICKS; else if (*tmp1=='s') choice&=~SCKICKS; if (*tmp1=='P') choice|=CTCPPAGE; else if (*tmp1=='p') choice&=~CTCPPAGE; if (*tmp1=='Y') choice|=COUNTRY; else if (*tmp1=='y') choice&=~COUNTRY; if (*tmp1=='L') choice|=LITE; else if (*tmp1=='l') choice&=~LITE; if (*tmp1=='N') choice|=SORTEDNICKS; else if (*tmp1=='n') choice&=~SORTEDNICKS; if (*tmp1=='U') choice|=ALTPUBLICS; else if (*tmp1=='u') choice&=~ALTPUBLICS; if (*tmp1=='M') choice|=MIRCRESUME; else if (*tmp1=='m') choice&=~MIRCRESUME; } if (*tmp1==' ' && *(tmp1+1)=='O' && *(tmp1+2)=='V') { choice|=OPERVISION; tmp1++; tmp1++; tmp1++; } else choice&=~OPERVISION; if (*tmp1==' ' && *(tmp1+1)=='c' && *(tmp1+2)=='y') { choice|=CELE; tmp1++; tmp1++; tmp1++; } else choice&=~CELE; if (*tmp1==' ') { tmp1++; for (;*tmp1 && *tmp1!=' ';tmp1++) { if (*tmp1=='G') choice|=GENX; else if (*tmp1=='g') choice&=~GENX; if (*tmp1=='I') choice|=ACID; else if (*tmp1=='i') choice&=~ACID; if (*tmp1=='V') choice|=VILAS; else if (*tmp1=='v') choice&=~VILAS; if (*tmp1=='J') choice|=JIMMIE; else if (*tmp1=='j') choice&=~JIMMIE; if (*tmp1=='X') choice|=TDF; else if (*tmp1=='x') choice&=~TDF; if (*tmp1=='Z') choice|=OGRE; else if (*tmp1=='z') choice&=~OGRE; } } if (*tmp1==' ' && *(tmp1+1)=='O' && *(tmp1+2)=='P' && *(tmp1+3)=='E' && *(tmp1+4)=='R') { choice|=OPER; tmp1++; tmp1++; tmp1++; } else choice&=~OPER; } strcpy(tmpbuf,"rm source/irc.o source/ctcp.o"); do { printf(""); printf("Enter letter to toggle option on/off, 'Q' to quit, 'W' to save and quit\n"); printf("-------------------------------------------------------------------------------\n"); printf(" A - WANTANSI %s - color capable client\n", onoffstr(choice&WANTANSI,onoffbuf)); printf(" B - EXTRAS %s - enables commands like AUTOINV, BKT, DIRLMK...\n", onoffstr(choice&EXTRAS,onoffbuf)); printf(" D - GENX %s - GenX's nifty WHOIS, req. WANTANSI\n", onoffstr(choice&GENX,onoffbuf)); printf(" E - NEWCSCAN %s - formatted CSCAN, similar to BitchX\n", onoffstr(choice&NEWCSCAN,onoffbuf)); printf(" F - ACID %s - invite on notify for non +i channels, req. EXTRAS\n", onoffstr(choice&ACID,onoffbuf)); printf(" G - SORTEDNICKS %s - sorted nicks in CSCAN\n", onoffstr(choice&SORTEDNICKS,onoffbuf)); printf(" H - SCKICKS %s - scatter (funny) kicks\n", onoffstr(choice&SCKICKS,onoffbuf)); printf(" I - OPERVISION %s - for IRC Operators, req. WANTANSI\n", onoffstr(choice&OPERVISION,onoffbuf)); printf(" J - CELE %s - Compile with Celerity C-script\n", onoffstr(choice&CELE,onoffbuf)); printf(" L - VILAS %s - No ScrollZ trademarks in ctcps\n", onoffstr(choice&VILAS,onoffbuf)); printf(" M - JIMMIE %s - Better NEWHOST (lists all hostnames)\n", onoffstr(choice&JIMMIE,onoffbuf)); printf(" N - CTCP PAGE %s - CTCP PAGE for friends by BiGhEaD\n", onoffstr(choice&CTCPPAGE,onoffbuf)); printf(" O - TDF %s - different msgs, chat msgs and CDCC\n", onoffstr(choice&TDF,onoffbuf)); printf(" P - COUNTRY %s - compile with $country()\n", onoffstr(choice&COUNTRY,onoffbuf)); printf(" R - ALTPUBLICS %s - () around nick in public messages\n", onoffstr(choice&ALTPUBLICS,onoffbuf)); printf(" S - LITE %s - compile without some functionality\n", onoffstr(choice&LITE,onoffbuf)); printf(" 3 - SZ32 %s - compile for Win32 (NT+95)\n", onoffstr(choice&SZ32,onoffbuf)); printf(" Y - OPER %s - compile with IRC oper stuff\n", onoffstr(choice&OPER,onoffbuf)); printf(" Z - OGRE %s - compile with ogre's OperVision cosmetics\n", onoffstr(choice&OGRE,onoffbuf)); printf(" T - MIRCRESUME %s - enable support for broken mIRC DCC resume\n", onoffstr(choice&MIRCRESUME,onoffbuf)); printf(" Q - QUIT W - SAVE & QUIT\n"); printf("Enter your choice: "); c=getchar(); if (c>='a' && c<='z') c-=32; if (c=='Q') end=1; else if (c=='W') end=2; else { switch (c) { case 'A': if ((choice&WANTANSI)) choice&=~WANTANSI; else choice|=WANTANSI; break; case 'B': if ((choice&EXTRAS)) choice&=~EXTRAS; else choice|=EXTRAS; break; case 'D': if ((choice&GENX)) choice&=~GENX; else choice|=GENX; break; case 'E': if ((choice&NEWCSCAN)) choice&=~NEWCSCAN; else choice|=NEWCSCAN; break; case 'F': if ((choice&ACID)) choice&=~ACID; else choice|=ACID; break; case 'G': if ((choice&SORTEDNICKS)) choice&=~SORTEDNICKS; else choice|=SORTEDNICKS; break; case 'H': if ((choice&SCKICKS)) choice&=~SCKICKS; else choice|=SCKICKS; break; case 'I': if ((choice&OPERVISION)) choice&=~OPERVISION; else choice|=OPERVISION; break; case 'J': if ((choice&CELE)) choice&=~CELE; else choice|=CELE; break; case 'L': if ((choice&VILAS)) choice&=~VILAS; else choice|=VILAS; break; case 'M': if ((choice&JIMMIE)) choice&=~JIMMIE; else choice|=JIMMIE; break; case 'N': if ((choice&CTCPPAGE)) choice&=~CTCPPAGE; else choice|=CTCPPAGE; break; case 'O': if ((choice&TDF)) choice&=~TDF; else choice|=TDF; break; case 'P': if ((choice&COUNTRY)) choice&=~COUNTRY; else choice|=COUNTRY; break; case 'S': if ((choice&LITE)) choice&=~LITE; else choice|=LITE; break; case 'R': if ((choice&ALTPUBLICS)) choice&=~ALTPUBLICS; else choice|=ALTPUBLICS; break; case '3': if ((choice&SZ32)) choice&=~SZ32; else choice|=SZ32; break; case 'Y': if ((choice&OPER)) choice&=~OPER; else choice|=OPER; break; case 'Z': if ((choice&OGRE)) choice&=~OGRE; else choice|=OGRE; break; case 'T': if ((choice&MIRCRESUME)) choice&=~MIRCRESUME; else choice|=MIRCRESUME; break; } } if (!(choice&WANTANSI)) choice&=~OPERVISION; if (!(choice&WANTANSI)) choice&=~GENX; if (!(choice&WANTANSI)) choice&=~TDF; if (!(choice&EXTRAS)) choice&=~ACID; if (!(choice&OPERVISION)) choice&=~OGRE; } while (!end); if (end==2) { for (i=1;i<=NUMDEFS;i*=2) { if (i==WANTANSI) addtobuf(WANTANSIfiles,tmpbuf,choice,oldchoice,i); else if (i==EXTRAS) addtobuf(EXTRASfiles,tmpbuf,choice,oldchoice,i); else if (i==GENX) addtobuf(GENXfiles,tmpbuf,choice,oldchoice,i); else if (i==NEWCSCAN) addtobuf(NEWCSCANfiles,tmpbuf,choice,oldchoice,i); else if (i==ACID) addtobuf(ACIDfiles,tmpbuf,choice,oldchoice,i); else if (i==SORTEDNICKS) addtobuf(SORTEDNICKSfiles,tmpbuf,choice,oldchoice,i); else if (i==SCKICKS) addtobuf(SCKICKSfiles,tmpbuf,choice,oldchoice,i); else if (i==OPERVISION) addtobuf(OPERVISIONfiles,tmpbuf,choice,oldchoice,i); else if (i==CELE) addtobuf(CELEfiles,tmpbuf,choice,oldchoice,i); else if (i==VILAS) addtobuf(VILASfiles,tmpbuf,choice,oldchoice,i); else if (i==JIMMIE) addtobuf(JIMMIEfiles,tmpbuf,choice,oldchoice,i); else if (i==CTCPPAGE) addtobuf(CTCPPAGEfiles,tmpbuf,choice,oldchoice,i); else if (i==TDF) addtobuf(TDFfiles,tmpbuf,choice,oldchoice,i); else if (i==COUNTRY) addtobuf(COUNTRYfiles,tmpbuf,choice,oldchoice,i); else if (i==SZ32) addtobuf(SZ32files,tmpbuf,choice,oldchoice,i); else if (i==OPER) addtobuf(OPERfiles,tmpbuf,choice,oldchoice,i); else if (i==OGRE) addtobuf(OGREfiles,tmpbuf,choice,oldchoice,i); else if (i==LITE) addtobuf(LITEfiles,tmpbuf,choice,oldchoice,i); else if (i==ALTPUBLICS) addtobuf(ALTPUBLICSfiles,tmpbuf,choice,oldchoice,i); else if (i==MIRCRESUME) addtobuf(MIRCRESUMEfiles,tmpbuf,choice,oldchoice,i); } if (rename(defsfile,defsoldfile)<0) { printf("Error, couldn't rename %s to %s\n",defsfile,defsoldfile); return(1); } if ((fpin=fopen(defsoldfile,"r"))==NULL) { printf("Error, couldn't open %s for reading\n",defsoldfile); return(1); } if ((fpout=fopen(defsfile,"w"))==NULL) { printf("Error, couldn't open %s for writing\n",defsfile); fclose(fpin); return(1); } while (fgets(buf,1024,fpin)) { int len=strlen(buf); while (len>0 && (buf[len-1]=='\n' || buf[len-1]=='\r')) { buf[len-1]='\0'; len--; } if (!strcmp(buf,"/* Define this if you want client with ANSI (color) support */")) break; fprintf(fpout,"%s\n",buf); } fprintf(fpout,"/* Define this if you want client with ANSI (color) support */\n"); if (choice&WANTANSI) fprintf(fpout,"#define WANTANSI\n"); else fprintf(fpout,"#undef WANTANSI\n"); fprintf(fpout,"\n/* Define this if you want OperVision support in the client */\n"); if (choice&OPERVISION) fprintf(fpout,"#define OPERVISION\n"); else fprintf(fpout,"#undef OPERVISION\n"); fprintf(fpout,"\n/* Define this if you want following optional stuff:\n"); fprintf(fpout," - /AUTOINV\n"); fprintf(fpout," - /BKT - /BKI - /CHSIGNOFF\n"); fprintf(fpout," - /DIRLMK - /DIRLNK - /DOBANS\n"); fprintf(fpout," - /IDLEKICK - /IDLETIME - /LLOOK\n"); fprintf(fpout," - /LLOOKUP - /MASSDV - /MASSV\n"); fprintf(fpout," - /MODELOCK - /MODEUNLOCK - /MSAY\n"); fprintf(fpout," - /RANLK - /SHOWIDLE */\n"); if (choice&EXTRAS) fprintf(fpout,"#define EXTRAS\n"); else fprintf(fpout,"#undef EXTRAS\n"); fprintf(fpout,"\n/* Defines this if you want GenX's nifty /WHOIS */\n"); if (choice&GENX) fprintf(fpout,"#define GENX\n"); else fprintf(fpout,"#undef GENX\n"); fprintf(fpout,"\n/* Define this if you want formatted /CSCAN */\n"); if (choice&NEWCSCAN) fprintf(fpout,"#define NEWCSCAN\n"); else fprintf(fpout,"#undef NEWCSCAN\n"); fprintf(fpout,"\n/* Define this if you want () around nick in public messages */\n"); if (choice&ALTPUBLICS) fprintf(fpout,"#define ALTERNATIVE_PUBLICS\n"); else fprintf(fpout,"#undef ALTERNATIVE_PUBLICS\n"); fprintf(fpout,"\n/* Define this if you feel users should be invited to non +i channels on\n"); fprintf(fpout," notify signon and +z userflag */\n"); if (choice&ACID) fprintf(fpout,"#define ACID\n"); else fprintf(fpout,"#undef ACID\n"); fprintf(fpout,"\n/* Define this if you want sorted nicks in /CSCAN */\n"); if (choice&SORTEDNICKS) fprintf(fpout,"#define SORTED_NICKS\n"); else fprintf(fpout,"#undef SORTED_NICKS\n"); fprintf(fpout,"\n/* Define this if you want scatter (funny) kicks support */\n"); if (choice&SCKICKS) fprintf(fpout,"#define SCKICKS\n"); else fprintf(fpout,"#undef SCKICKS\n"); fprintf(fpout,"\n/* Define this if you want to compile with Celerity C-Script */\n"); if (choice&CELE) fprintf(fpout,"#define CELE\n"); else fprintf(fpout,"#undef CELE\n"); fprintf(fpout,"#include \"celerity.h\"\n"); fprintf(fpout,"\n/* Define this if you don't want ScrollZ trademarks in CTCPs */\n"); if (choice&VILAS) fprintf(fpout,"#define VILAS\n"); else fprintf(fpout,"#undef VILAS\n"); fprintf(fpout,"\n/* Define this if you want better /NEWHOST */\n"); if (choice&JIMMIE) fprintf(fpout,"#define JIMMIE\n"); else fprintf(fpout,"#undef JIMMIE\n"); fprintf(fpout,"\n/* Define this if you want CTCP PAGE by bighead */\n"); if (choice&CTCPPAGE) fprintf(fpout,"#define CTCPPAGE\n"); else fprintf(fpout,"#undef CTCPPAGE\n"); fprintf(fpout,"\n/* Define this if you want different look of messages and DCC chat messages */\n"); if (choice&TDF) fprintf(fpout,"#define TDF\n"); else fprintf(fpout,"#undef TDF\n"); fprintf(fpout,"\n/* Define this if you want $country() in the client */\n"); if (choice&COUNTRY) fprintf(fpout,"#define COUNTRY\n"); else fprintf(fpout,"#undef COUNTRY\n"); fprintf(fpout,"\n/* Define this if you want client with Win32 support */\n"); if (choice&SZ32) fprintf(fpout,"#define SZ32\n"); else fprintf(fpout,"#undef SZ32\n"); fprintf(fpout,"\n/* Define this if you want irc oper stuff (not OperVision!) */\n"); if (choice&OPER) fprintf(fpout,"#define OPER\n"); else fprintf(fpout,"#undef OPER\n"); fprintf(fpout,"\n/* Define this if you want ogre's cosmetics in OperVision */\n"); if (choice&OGRE) fprintf(fpout,"#define OGRE\n"); else fprintf(fpout,"#undef OGRE\n"); fprintf(fpout,"\n/* Define this if you want client w/o certain functionality */\n"); if (choice&LITE) fprintf(fpout,"#define LITE\n"); else fprintf(fpout,"#undef LITE\n"); fprintf(fpout,"\n/* Define this if you want mIRC compatible DCC resume */\n"); if (choice&MIRCRESUME) fprintf(fpout,"#define BROKEN_MIRC_RESUME\n"); else fprintf(fpout,"#undef BROKEN_MIRC_RESUME\n"); fprintf(fpout,"/****************************************************************************/\n"); fclose(fpin); fclose(fpout); if (strcmp(tmpbuf,"rm")) { strcat(tmpbuf," >/dev/null 2>&1"); system(tmpbuf); } touchfile(defsfile,&statbuf); } return(0); } scrollz-2.2.3.orig/ircbug.in0000755000175000017500000003324512251073235015524 0ustar madhackmadhack#!/bin/sh # Submit a problem report to a GNATS site. # Copyright (C) 1993 Free Software Foundation, Inc. # Contributed by Brendan Kehoe (brendan@cygnus.com), based on a # version written by Heinz G. Seidl (hgs@cygnus.com). # # This file is part of GNU GNATS. # # GNU GNATS is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # GNU GNATS is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with GNU GNATS; see the file COPYING. If not, write to # the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. # The version of this send-pr. VERSION=3.96 # The submitter-id for your site. SUBMITTER=local # Where the GNATS directory lives, if at all. [ -z "$GNATS_ROOT" ] && GNATS_ROOT=/local/lib/gnats # The default mail address for PR submissions. GNATS_ADDR=ircii-bugs@eterna.com.au # Where the gnats category tree lives. DATADIR=/local/lib # If we've been moved around, try using GCC_EXEC_PREFIX. [ ! -d $DATADIR/gnats -a -d "$GCC_EXEC_PREFIX" ] && DATADIR=${GCC_EXEC_PREFIX}../../../lib # The default release for this host. DEFAULT_RELEASE="@VERSION@" # The default organization. DEFAULT_ORGANIZATION="" # The default site to look for. GNATS_SITE=eterna # Newer config information? [ -f ${GNATS_ROOT}/gnats-adm/config ] && . ${GNATS_ROOT}/gnats-adm/config # What mailer to use. This must come after the config file, since it is # host-dependent. MAIL_AGENT="@SENDMAIL@ -oi -t" # How to read the passwd database. PASSWD="cat /etc/passwd" ECHON=bsd if [ $ECHON = bsd ] ; then ECHON1="echo -n" ECHON2= elif [ $ECHON = sysv ] ; then ECHON1=echo ECHON2='\c' else ECHON1=echo ECHON2= fi # if [ -z "$TMPDIR" ]; then TMPDIR=/tmp else if [ "`echo $TMPDIR | grep '/$'`" != "" ]; then TMPDIR="`echo $TMPDIR | sed -e 's,/$,,'`" fi fi TEMP=$TMPDIR/p$$ BAD=$TMPDIR/pbad$$ REF=$TMPDIR/pf$$ # find a user name if [ "$LOGNAME" = "" ]; then if [ "$USER" != "" ]; then LOGNAME="$USER" else LOGNAME="UNKNOWN" fi fi FROM="$LOGNAME" if [ -z "$REPLYTO" ]; then REPLYTO="$LOGNAME" fi # Find out the name of the originator of this PR. if [ -n "$NAME" ]; then ORIGINATOR="$NAME" elif [ -f $HOME/.fullname ]; then ORIGINATOR="`sed -e '1q' $HOME/.fullname`" else # Must use temp file due to incompatibilities in quoting behavior # and to protect shell metacharacters in the expansion of $LOGNAME $PASSWD | grep "^$LOGNAME:" | awk -F: '{print $5}' | sed -e 's/,.*//' > $TEMP ORIGINATOR="`cat $TEMP`" rm -f $TEMP fi if [ -n "$ORGANIZATION" ]; then if [ -f "$ORGANIZATION" ]; then ORGANIZATION="`cat $ORGANIZATION`" fi else if [ -n "$DEFAULT_ORGANIZATION" ]; then ORGANIZATION="$DEFAULT_ORGANIZATION" elif [ -f $HOME/.organization ]; then ORGANIZATION="`cat $HOME/.organization`" elif [ -f $HOME/.signature ]; then ORGANIZATION="`cat $HOME/.signature`" fi fi # If they don't have a preferred editor set, then use if [ -z "$VISUAL" ]; then if [ -z "$EDITOR" ]; then EDIT=vi else EDIT="$EDITOR" fi else EDIT="$VISUAL" fi # Find out some information. SYSTEM=`( [ -f /bin/uname ] && /bin/uname -a ) || \ ( [ -f /usr/bin/uname ] && /usr/bin/uname -a ) || echo ""` ARCH=`[ -f /bin/arch ] && /bin/arch` MACHINE=`[ -f /bin/machine ] && /bin/machine` COMMAND=`echo $0 | sed -e 's,.*/,,'` USAGE="Usage: $COMMAND [-PVL] [-t address] [-f filename] [-s severity] [-c address] [--request-id] [--version]" REMOVE= BATCH= CC= SEVERITY_C= while [ $# -gt 0 ]; do case "$1" in -r) ;; # Ignore for backward compat. -t | --to) if [ $# -eq 1 ]; then echo "$USAGE"; exit 1; fi shift ; GNATS_ADDR="$1" EXPLICIT_GNATS_ADDR=true ;; -f | --file) if [ $# -eq 1 ]; then echo "$USAGE"; exit 1; fi shift ; IN_FILE="$1" if [ "$IN_FILE" != "-" -a ! -r "$IN_FILE" ]; then echo "$COMMAND: cannot read $IN_FILE" exit 1 fi ;; -b | --batch) BATCH=true ;; -c | --cc) if [ $# -eq 1 ]; then echo "$USAGE"; exit 1; fi shift ; CC="$1" ;; -s | --severity) if [ $# -eq 1 ]; then echo "$USAGE"; exit 1; fi shift ; SEVERITY_C="$1" ;; -p | -P | --print) PRINT=true ;; -L | --list) FORMAT=norm ;; -l | -CL | --lisp) FORMAT=lisp ;; --request-id) REQUEST_ID=true ;; -h | --help) echo "$USAGE"; exit 0 ;; -V | --version) echo "$VERSION"; exit 0 ;; -*) echo "$USAGE" ; exit 1 ;; *) if [ -z "$USER_GNATS_SITE" ]; then if [ ! -r "$DATADIR/gnats/$1" ]; then echo "$COMMAND: the GNATS site $1 does not have a categories list." exit 1 else # The site name is the alias they'll have to have created. USER_GNATS_SITE=$1 fi else echo "$USAGE" ; exit 1 fi ;; esac shift done if [ -n "$USER_GNATS_SITE" ] && [ "$USER_GNATS_SITE" != "$GNATS_SITE" ]; then GNATS_SITE=$USER_GNATS_SITE GNATS_ADDR=$USER_GNATS_SITE-gnats fi if [ "$SUBMITTER" = "unknown" -a -z "$REQUEST_ID" -a -z "$IN_FILE" ]; then cat << '__EOF__' It seems that send-pr is not installed with your unique submitter-id. You need to run install-sid YOUR-SID where YOUR-SID is the identification code you received with `send-pr'. `send-pr' will automatically insert this value into the template field `>Submitter-Id'. If you've downloaded `send-pr' from the Net, use `net' for this value. If you do not know your id, run `send-pr --request-id' to get one from your support site. __EOF__ exit 1 fi #if [ -r "$DATADIR/gnats/$GNATS_SITE" ]; then # CATEGORIES=`grep -v '^#' $DATADIR/gnats/$GNATS_SITE | sort` #else # echo "$COMMAND: could not read $DATADIR/gnats/$GNATS_SITE for categories list." # exit 1 #fi CATEGORIES='@CATEGORIES@' if [ -z "$CATEGORIES" ]; then echo "$COMMAND: the categories list for $GNATS_SITE was empty!" exit 1 fi case "$FORMAT" in lisp) echo "$CATEGORIES" | \ awk 'BEGIN {printf "( "} {printf "(\"%s\") ",$0} END {printf ")\n"}' exit 0 ;; norm) l=`echo "$CATEGORIES" | \ awk 'BEGIN {max = 0; } { if (length($0) > max) { max = length($0); } } END {print max + 1;}'` c=`expr 70 / $l` if [ $c -eq 0 ]; then c=1; fi echo "$CATEGORIES" | \ awk 'BEGIN {print "Known categories:"; i = 0 } { printf ("%-'$l'.'$l's", $0); if ((++i % '$c') == 0) { print "" } } END { print ""; }' exit 0 ;; esac ORIGINATOR_C='' ORGANIZATION_C='' CONFIDENTIAL_C='<[ yes | no ] (one line)>' SYNOPSIS_C='' if [ -z "$SEVERITY_C" ]; then SEVERITY_C='<[ non-critical | serious | critical ] (one line)>' fi PRIORITY_C='<[ low | medium | high ] (one line)>' CATEGORY_C='<[build|change-request|doc|pending|runtime] (one line)>' CLASS_C='<[ sw-bug | doc-bug | change-request | support ] (one line)>' RELEASE_C='' ENVIRONMENT_C='' DESCRIPTION_C='' HOW_TO_REPEAT_C='' FIX_C='' # Catch some signals. ($xs kludge needed by Sun /bin/sh) xs=0 trap 'rm -f $REF $TEMP; exit $xs' 0 trap 'echo "$COMMAND: Aborting ..."; rm -f $REF $TEMP; xs=1; exit' 1 2 3 13 15 # If they told us to use a specific file, then do so. if [ -n "$IN_FILE" ]; then if [ "$IN_FILE" = "-" ]; then # The PR is coming from the standard input. if [ -n "$EXPLICIT_GNATS_ADDR" ]; then sed -e "s;^[Tt][Oo]:.*;To: $GNATS_ADDR;" > $TEMP else cat > $TEMP fi else # Use the file they named. if [ -n "$EXPLICIT_GNATS_ADDR" ]; then sed -e "s;^[Tt][Oo]:.*;To: $GNATS_ADDR;" $IN_FILE > $TEMP else cat $IN_FILE > $TEMP fi fi else if [ -n "$PR_FORM" -a -z "$PRINT_INTERN" ]; then # If their PR_FORM points to a bogus entry, then bail. if [ ! -f "$PR_FORM" -o ! -r "$PR_FORM" -o ! -s "$PR_FORM" ]; then echo "$COMMAND: can't seem to read your template file (\`$PR_FORM'), ignoring PR_FORM" sleep 1 PRINT_INTERN=bad_prform fi fi if [ -n "$PR_FORM" -a -z "$PRINT_INTERN" ]; then cp $PR_FORM $TEMP || ( echo "$COMMAND: could not copy $PR_FORM" ; xs=1; exit ) else for file in $TEMP $REF ; do cat > $file << '__EOF__' SEND-PR: -*- send-pr -*- SEND-PR: Lines starting with `SEND-PR' will be removed automatically, as SEND-PR: will all comments (text enclosed in `<' and `>'). SEND-PR: SEND-PR: Please consult the send-pr man page `send-pr(1)' or the Texinfo SEND-PR: manual if you are not sure how to fill out a problem report. SEND-PR: SEND-PR: Choose from the following categories: SEND-PR: __EOF__ # Format the categories so they fit onto lines. l=`echo "$CATEGORIES" | \ awk 'BEGIN {max = 0; } { if (length($0) > max) { max = length($0); } } END {print max + 1;}'` c=`expr 61 / $l` if [ $c -eq 0 ]; then c=1; fi echo "$CATEGORIES" | \ awk 'BEGIN {printf "SEND-PR: "; i = 0 } { printf ("%-'$l'.'$l's", $0); if ((++i % '$c') == 0) { printf "\nSEND-PR: " } } END { printf "\nSEND-PR:\n"; }' >> $file cat >> $file << __EOF__ To: $GNATS_ADDR Subject: From: $FROM Reply-To: $REPLYTO Cc: $CC X-send-pr-version: $VERSION >Submitter-Id: $SUBMITTER >Originator: $ORIGINATOR >Organization: ${ORGANIZATION- $ORGANIZATION_C} >Confidential: $CONFIDENTIAL_C >Synopsis: $SYNOPSIS_C >Severity: $SEVERITY_C >Priority: $PRIORITY_C >Category: $CATEGORY_C >Class: $CLASS_C >Release: ${DEFAULT_RELEASE-$RELEASE_C} >Environment: $ENVIRONMENT_C `[ -n "$SYSTEM" ] && echo System: $SYSTEM` `[ -n "$ARCH" ] && echo Architecture: $ARCH` `[ -n "$MACHINE" ] && echo Machine: $MACHINE` >Description: $DESCRIPTION_C >How-To-Repeat: $HOW_TO_REPEAT_C >Fix: $FIX_C __EOF__ done fi if [ "$PRINT" = true -o "$PRINT_INTERN" = true ]; then cat $TEMP xs=0; exit fi chmod u+w $TEMP if [ -z "$REQUEST_ID" ]; then eval $EDIT $TEMP else ed -s $TEMP << '__EOF__' /^Subject/s/^Subject:.*/Subject: request for a customer id/ /^>Category/s/^>Category:.*/>Category: send-pr/ w q __EOF__ fi if cmp -s $REF $TEMP ; then echo "$COMMAND: problem report not filled out, therefore not sent" xs=1; exit fi fi # # Check the enumeration fields # This is a "sed-subroutine" with one keyword parameter # (with workaround for Sun sed bug) # SED_CMD=' /$PATTERN/{ s||| s|<.*>|| s|^[ ]*|| s|[ ]*$|| p q }' while [ -z "$REQUEST_ID" ]; do CNT=0 # 1) Confidential # PATTERN=">Confidential:" CONFIDENTIAL=`eval sed -n -e "\"$SED_CMD\"" $TEMP` case "$CONFIDENTIAL" in ""|yes|no) CNT=`expr $CNT + 1` ;; *) echo "$COMMAND: \`$CONFIDENTIAL' is not a valid value for \`Confidential'." ;; esac # # 2) Severity # PATTERN=">Severity:" SEVERITY=`eval sed -n -e "\"$SED_CMD\"" $TEMP` case "$SEVERITY" in ""|non-critical|serious|critical) CNT=`expr $CNT + 1` ;; *) echo "$COMMAND: \`$SEVERITY' is not a valid value for \`Severity'." esac # # 3) Priority # PATTERN=">Priority:" PRIORITY=`eval sed -n -e "\"$SED_CMD\"" $TEMP` case "$PRIORITY" in ""|low|medium|high) CNT=`expr $CNT + 1` ;; *) echo "$COMMAND: \`$PRIORITY' is not a valid value for \`Priority'." esac # # 4) Category # PATTERN=">Category:" CATEGORY=`eval sed -n -e "\"$SED_CMD\"" $TEMP` FOUND= for C in $CATEGORIES do if [ "$C" = "$CATEGORY" ]; then FOUND=true ; break ; fi done if [ -n "$FOUND" ]; then CNT=`expr $CNT + 1` else if [ -z "$CATEGORY" ]; then echo "$COMMAND: you must include a Category: field in your report." else echo "$COMMAND: \`$CATEGORY' is not a known category." fi fi # # 5) Class # PATTERN=">Class:" CLASS=`eval sed -n -e "\"$SED_CMD\"" $TEMP` case "$CLASS" in ""|sw-bug|doc-bug|change-request|support) CNT=`expr $CNT + 1` ;; *) echo "$COMMAND: \`$CLASS' is not a valid value for \`Class'." esac [ $CNT -lt 5 -a -z "$BATCH" ] && echo "Errors were found with the problem report." while true; do if [ -z "$BATCH" ]; then $ECHON1 "a)bort, e)dit or s)end? $ECHON2" read input else if [ $CNT -eq 5 ]; then input=s else input=a fi fi case "$input" in a*) if [ -z "$BATCH" ]; then echo "$COMMAND: the problem report remains in $BAD and is not sent." mv $TEMP $BAD else echo "$COMMAND: the problem report is not sent." fi xs=1; exit ;; e*) eval $EDIT $TEMP continue 2 ;; s*) break 2 ;; esac done done # # Remove comments and send the problem report # (we have to use patterns, where the comment contains regex chars) # # /^>Originator:/s;$ORIGINATOR;; sed -e " /^SEND-PR:/d /^>Organization:/,/^>[A-Za-z-]*:/s;$ORGANIZATION_C;; /^>Confidential:/s;<.*>;; /^>Synopsis:/s;$SYNOPSIS_C;; /^>Severity:/s;<.*>;; /^>Priority:/s;<.*>;; /^>Category:/s;$CATEGORY_C;; /^>Class:/s;<.*>;; /^>Release:/,/^>[A-Za-z-]*:/s;$RELEASE_C;; /^>Environment:/,/^>[A-Za-z-]*:/s;$ENVIRONMENT_C;; /^>Description:/,/^>[A-Za-z-]*:/s;$DESCRIPTION_C;; /^>How-To-Repeat:/,/^>[A-Za-z-]*:/s;$HOW_TO_REPEAT_C;; /^>Fix:/,/^>[A-Za-z-]*:/s;$FIX_C;; " $TEMP > $REF if $MAIL_AGENT < $REF; then echo "$COMMAND: problem report sent" xs=0; exit else echo "$COMMAND: mysterious mail failure." if [ -z "$BATCH" ]; then echo "$COMMAND: the problem report remains in $BAD and is not sent." mv $REF $BAD else echo "$COMMAND: the problem report is not sent." fi xs=1; exit fi scrollz-2.2.3.orig/.gitignore0000644000175000017500000000030212251073234015671 0ustar madhackmadhackMakefile config.cache config.log config.status include/defs.h ircbug scrollz.1 source/*.o source/scrollz source/sig.inc source/TAGS source/cscope.out source/depend.mk source/tags source/wterm.c scrollz-2.2.3.orig/README.ircII0000644000175000017500000000114112251073234015561 0ustar madhackmadhack$Id: README,v 1.1 1998-09-10 17:31:12 f Exp $ please read the NEWS file to find out what is new in this version of ircii, and the INSTALL file to find out how to compile and install this version of ircii. this is a proper release of ircii. it has bugs (ircii always has bugs). feel free to send me context diffs to fix them, or at least a sequence of actions to show the bug. run the `ircbug' script to submit bug reports. if `ircbug' can not be run, please send reports to ircii-bugs@ircii.eterna.com.au. the INSTALL file also has some additional notes on portability issues. mrg (mrg@eterna.com.au) scrollz-2.2.3.orig/configure.in0000644000175000017500000010712412251073234016224 0ustar madhackmadhackdnl configure.in for ScrollZ dnl dnl Copyright (c) 1993-2002 Matthew R. Green. dnl All rights reserved. dnl dnl Redistribution and use in source and binary forms, with or without dnl modification, are permitted provided that the following conditions dnl are met: dnl 1. Redistributions of source code must retain the above copyright dnl notice, this list of conditions and the following disclaimer. dnl 2. Redistributions in binary form must reproduce the above copyright dnl notice, this list of conditions and the following disclaimer in the dnl documentation and/or other materials provided with the distribution. dnl 3. The name of the author may not be used to endorse or promote products dnl derived from this software without specific prior written permission. dnl dnl THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR dnl IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES dnl OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. dnl IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, dnl INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, dnl BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; dnl LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED dnl AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, dnl OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY dnl OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF dnl SUCH DAMAGE. dnl dnl certain portions have other attributions, see below. dnl dnl thanks to the screen 3.3 configure.in for giving me examples to dnl work from and steal ;) dnl dnl @(#)$Id: configure.in,v 1.56 2009-12-21 14:56:02 f Exp $ AC_REVISION($Revision: 1.56 $)dnl AC_INIT(${srcdir}/source/irc.c) AC_CONFIG_HEADER(include/defs.h) # So many systems seem to need this that it is better do it here automatically. if test "x$prefix" != xNONE; then if test -d "$prefix/lib"; then LIBS="-L${prefix}/lib $LIBS" fi else if test -d "$ac_default_prefix/lib"; then LIBS="-L${ac_default_prefix}/lib $LIBS" fi fi dnl dnl grok the version number - from source/irc.c dnl VERSION=`sed -n -e 's/"$//' -e '/#define[ ]*SCROLLZ_VERSION[ ]*"/s///p' -e '/#define SCROLLZ_VERSION/q' < ${srcdir}/source/irc.c` IRCIIVERSION=`sed -n -e 's/"[[^"]]*$//' -e '/^#define[ ]*IRCII_VERSION[ ]*"/s///p' -e '/^#define IRCII_VERSION/q' < ${srcdir}/source/irc.c` echo this is ScrollZ version $VERSION + ircII version $IRCIIVERSION echo AC_SUBST(VERSION) CATEGORIES='build change-request doc pending runtime' AC_SUBST(CATEGORIES) dnl so that the generated configure has an id. echo '$Id: configure.in,v 1.56 2009-12-21 14:56:02 f Exp $' > /dev/null dnl dnl initial stuff dnl AC_PROG_CC AC_PROG_CPP AC_ISC_POSIX dnl dnl setup variables dnl srcdir=`(cd $srcdir; pwd)` AC_SUBST(srcdir) objdir=`pwd` AC_SUBST(objdir) dnl dnl check for NeXT.. and -bsd switch dnl AC_MSG_CHECKING(for NeXT) AC_EGREP_CPP(yes, [#if defined(NeXT) || defined(__NeXT) || defined(__NeXT__) yes #endif ],nextstep=1) if test -n "$nextstep"; then AC_MSG_RESULT(yes) else AC_MSG_RESULT(no) fi dnl AC_AIX is broken. blah. AC_MSG_CHECKING(for AIX) AC_EGREP_CPP(yes, [ #ifdef _AIX yes #endif ],AC_MSG_RESULT(yes) aix=1 AC_DEFINE(_ALL_SOURCE), AC_MSG_RESULT(no)) AC_PROG_GCC_TRADITIONAL AC_CHECK_LIB(sun, getpwnam) AC_MSG_CHECKING(for qnx) case "`uname -s`" in dnl bleck - wish i could ditch this qnx test, but we need to bump the stack QNX*) AC_MSG_RESULT(yes) if test -z "$GCC"; then LDFLAGS="-N256k -M" CFLAGS="-w4 -Otax -zc -Wc,-fr= -Wc,-wcd=121" fi ;; *) AC_MSG_RESULT(no) esac AC_MSG_CHECKING(for solaris) if /bin/sun 2> /dev/null then uname=`uname -r` case "$uname" in 4.*) AC_MSG_RESULT(no) sunos4=1 ;; 5.*) svr4=1 ;; esac else AC_MSG_RESULT(no) AC_MSG_CHECKING(for SVR4) AC_EGREP_CPP(yes, [#if defined(SVR4) || defined(__svr4__) || defined(__SVR4) yes #endif ],svr4=1) fi if test -n "$svr4" then AC_MSG_RESULT(yes) LIBS="-L/usr/ccs/lib $LIBS" else if test ! -n "$sunos4" then AC_MSG_RESULT(no) fi fi dnl dnl testing for svr3/wollengong tcp's /usr/netinclude dnl AC_MSG_CHECKING(for -I/usr/netinclude) if test -d /usr/netinclude; then AC_MSG_RESULT(yes) CFLAGS="$CFLAGS -I/usr/netinclude" else AC_MSG_RESULT(no) fi dnl dnl check for hpux, and hpux version dnl AC_MSG_CHECKING(for hpux version) if test -f /hp-ux -o -f /stand/vmunix; then AC_MSG_RESULT(yes) hpux=1 uname=`uname -r` 2> /dev/null case $uname in A.09* | A.9* | a.9* | a.09* | 9* | 09* | B.09*) ;; A.08* | A.8* | a.8* | a.08* | 8* | 08*) AC_DEFINE(HPUX8) ;; A.07* | A.B7* | A.7* | a.7* | a.07* | 7* | 07*) AC_DEFINE(HPUX7) ;; *) AC_DEFINE(HPUXUNKNOWN) ;; esac else AC_MSG_RESULT(no) fi AC_MSG_CHECKING(for ultrix) AC_EGREP_CPP(yes, [#if defined(ultrix) || defined(__ultrix) || defined(__ultrix) yes #endif ], ultrix=1) if test -n "$ultrix"; then AC_MSG_RESULT(yes) test -z "$GCC" && CC="$CC -YBSD" else AC_MSG_RESULT(no) fi AC_MSG_CHECKING(for sequent/ptx) AC_EGREP_CPP(yes, [#ifdef _SEQUENT_ yes #endif ], LIBS="$LIBS -lseq" seqptx=1 AC_MSG_RESULT(yes), AC_MSG_RESULT(no)) AC_MSG_CHECKING(whether to enable UTF-8 (iconv) support) AC_ARG_ENABLE(utf8, [ --disable-utf8 Disable UTF-8 (iconv) support], [ case "$enableval" in no) AC_MSG_RESULT(no) ;; *) AC_MSG_RESULT(yes) ;; esac ], [ AC_MSG_RESULT(yes) enable_utf8=yes ]) dnl check for FreeBSD, so we can find iconv.h in /usr/local/include AC_MSG_CHECKING(for FreeBSD) case "`uname -s`" in FreeBSD*) AC_MSG_RESULT(yes) CFLAGS="$CFLAGS -I/usr/local/include" CPPFLAGS="$CPPFLAGS -I/usr/local/include" LIBS="$LIBS -L/usr/local/lib" freebsd=1 ;; *) AC_MSG_RESULT(no) esac dnl check for IRIX, so we can find iconv.h in /usr/nekoware/include AC_MSG_CHECKING(for IRIX) case "`uname -s`" in IRIX*) AC_MSG_RESULT(yes) CFLAGS="$CFLAGS -I/usr/nekoware/include" CPPFLAGS="$CPPFLAGS -I/usr/nekoware/include" LIBS="$LIBS -L/usr/nekoware/lib" freebsd=1 ;; *) AC_MSG_RESULT(no) esac if test "x$enable_utf8" = "xyes" ; then if test -n "$freebsd"; then case "`uname -r`" in 10.*) ;; *) LIBS="$LIBS -liconv" ;; esac fi fi AC_CHECK_HEADERS(sys/un.h sys/select.h sys/fcntl.h sys/ioctl.h sys/file.h sys/time.h sys/wait.h sys/twg_config.h sys/ptem.h sys/uio.h)dnl sys/ ones AC_CHECK_HEADERS(unistd.h fcntl.h string.h memory.h netdb.h limits.h)dnl non sys/ ones AC_CHECK_HEADERS(stdarg.h varargs.h, break)dnl look for varadic function header AC_CHECK_HEADERS(process.h termcap.h)dnl others if test "x$enable_utf8" = "xyes" ; then AC_CHECK_HEADERS(iconv.h) fi if test -n "$ultrix" -o -n "$nextstep"; then # POSIX termios is broken on Ultrix so don't look for it. # NEXTSTEP POSIX is broken so don't look for it. AC_CHECK_HEADERS(termio.h sgtty.h, break)dnl sigh. else AC_CHECK_HEADERS(termios.h termio.h sgtty.h, break)dnl sigh. fi AC_CHECK_FUNC(fchmod,, AC_DEFINE(NEED_FCHMOD)) AC_CHECK_FUNC(getcwd,, AC_DEFINE(NEED_GETCWD)) AC_CHECK_FUNC(getpgid, AC_DEFINE(HAVE_GETPGID),) AC_CHECK_FUNC(getsid, AC_DEFINE(HAVE_GETSID),) AC_CHECK_FUNC(getloadavg, AC_DEFINE(HAVEGETLOADAVG),) AC_CHECK_FUNC(memmove, AC_DEFINE(HAVE_MEMMOVE),) AC_CHECK_FUNC(scandir, AC_DEFINE(HAVE_SCANDIR),) AC_CHECK_FUNC(setsid, AC_DEFINE(HAVE_SETSID),) AC_CHECK_FUNC(strerror,, AC_DEFINE(NEED_STRERROR)) AC_CHECK_FUNC(strftime, AC_DEFINE(HAVE_STRFTIME),) AC_CHECK_FUNC(uname, AC_DEFINE(HAVE_UNAME),) AC_CHECK_FUNC(writev, AC_DEFINE(HAVE_WRITEV),) AC_CHECK_FUNC(vasprintf, AC_DEFINE(HAVE_VASPRINTF),) AC_CHECK_FUNC(fputc, AC_DEFINE(HAVE_FPUTC),) AC_CHECK_FUNC(fwrite, AC_DEFINE(HAVE_FWRITE),) AC_CHECK_FUNC(snprintf, AC_DEFINE(HAVE_SNPRINTF),) AC_CHECK_FUNC(vsnprintf, AC_DEFINE(HAVE_VSNPRINTF),) if test "x$enable_utf8" = "xyes" ; then AC_CHECK_FUNC(iconv_open, AC_DEFINE([HAVE_ICONV_OPEN]),) fi AC_HEADER_STDC AC_HEADER_TIME AC_HEADER_DIRENT AC_TYPE_SIGNAL AC_TYPE_MODE_T AC_TYPE_PID_T AC_TYPE_SIZE_T AC_TYPE_UID_T AC_CHECK_TYPE(ssize_t,int) if test x$ac_cv_header_sys_twg_config_h = xyes then AC_DEFINE(WINS) fi dnl dnl check if we need snprintf.c dnl if test x$ac_cv_func_snprintf != xyes || test x$ac_cv_func_vsnprintf != xyes then EXTRA_OBJECTS=snprintf.o EXTRA_SOURCES=snprintf.c else EXTRA_OBJECTS= EXTRA_SOURCES= fi AC_SUBST(EXTRA_OBJECTS) AC_SUBST(EXTRA_SOURCES) dnl dnl check for struct linger dnl AC_MSG_CHECKING(for struct linger) AC_EGREP_HEADER([struct( | )*linger], sys/socket.h, AC_MSG_RESULT(yes), AC_DEFINE(NO_STRUCT_LINGER) AC_MSG_RESULT(no, ugh.)) dnl dnl grok process groups dnl if test x$ac_cv_func_getsid != xyes && test x$ac_cv_func_getpgid != xyes then AC_MSG_CHECKING(if getpgrp takes an argument) AC_TRY_RUN([ main() { int pid; int pgid; pid = fork(); if (0 == pid) { #ifdef HAVE_SETSID setsid(); #else setpgrp(0, getpid()); #endif /* HAVE_SETSID */ sleep(10); } else { sleep(2); pgid = getpgrp(pid); kill(pid,9); if (pid != pgid) exit(1); } exit(0); } ], AC_MSG_RESULT(yes), AC_MSG_RESULT(no your getpgrp is painful) AC_DEFINE(BROKEN_GETPGRP), :) fi dnl dnl work out wait type.. dnl AC_CHECK_FUNC(waitpid,, AC_MSG_RESULT(no) AC_MSG_CHECKING(for bsd wait) AC_TRY_LINK([ #include #include ],[ union wait x; int y; #ifdef WEXITSTATUS y = WEXITSTATUS(x); #endif ], AC_DEFINE(BSDWAIT) bsdwait=1 AC_MSG_RESULT(yes), AC_MSG_RESULT(no) AC_DEFINE(NEED_WAITPID))) dnl dnl checking for select() dnl olibs="$LIBS" AC_CHECK_FUNC(select, , AC_CHECK_LIB(socket, select, LIBS="$LIBS -lsocket", AC_CHECK_LIB(nsl, select, LIBS="$LIBS -lnsl", AC_CHECK_LIB(inet, select, LIBS="$LIBS -linet", AC_CHECK_LIB(cposix, select, LIBS="$LIBS -lcposix", AC_CHECK_LIB(net, select, LIBS="$LIBS -lnet", AC_MSG_WARN(i can not find select. you might need to help me))))))) dnl dnl termcap or curses dnl if termcap, check for tputs declaration dnl if test x$aix = x1 then LIBS="-lcurses $LIBS" AC_DEFINE(INCLUDE_CURSES_H) else olibs="$LIBS" case "`uname -s`" in Linux*) if test -d /usr/include/ncurses; then CFLAGS="-I/usr/include/ncurses $CFLAGS" fi ;; esac AC_CHECK_LIB(termcap, tgetent, LIBS="-ltermcap $olibs", AC_CHECK_LIB(tinfo, tgetent, LIBS="-ltinfo $olibs", AC_CHECK_LIB(termlib, tgetent, LIBS="-ltermlib $olibs", AC_CHECK_LIB(curses, tgetent, LIBS="-lcurses $olibs", AC_CHECK_LIB(ncurses, tgetent, LIBS="-lncurses $olibs", AC_CHECK_LIB(xtermcap, tgetent, LIBS="-lxtermcap $olibs", AC_MSG_ERROR(Can not find curses or termcap library. Installing package libncurses5-dev or ncurses-devel usually fixes this problem.))))))) AC_MSG_CHECKING(for tputs in curses.h) AC_EGREP_CPP([tputs( | |\()],[#include ], AC_DEFINE(INCLUDE_CURSES_H) AC_MSG_RESULT(yes), blahhack=1; AC_MSG_RESULT(no)) fi dnl dnl libiconv (Sunfreeware gcc) dnl dnl if test "x$enable_utf8" = "xyes" ; then if test -n "$svr4" -a -n "$GCC" then AC_CHECK_LIB(iconv, iconv_open, LIBS="$LIBS -liconv") fi fi dnl is broken on most systems; ignoreit. dnl if test x$blahhack = x1 dnl then dnl AC_MSG_CHECKING(for tputs in term.h) dnl AC_EGREP_CPP([tputs( | |\()],[#include dnl ], AC_DEFINE(INCLUDE_TERM_H) AC_MSG_RESULT(yes), AC_MSG_RESULT(no)) dnl fi dnl dnl signal handling dnl AC_CHECKING(signal implementation) AC_CHECK_FUNC(sigaction, AC_DEFINE(USE_SIGACTION) echo using posix signals , AC_CHECK_FUNC(sigset, AC_DEFINE(USE_SIGSET) echo using ok system v signals , echo checking for reliable signals AC_TRY_RUN([ #include #include #ifndef SIGCHLD # define SIGCHLD SIGCLD #endif #ifdef USE_SIGSET # define signal sigset #endif int got; #ifdef SIGVOID void #endif hand() { got++; } main() { (void)signal(SIGCHLD, hand); kill(getpid(), SIGCHLD); kill(getpid(), SIGCHLD); if (got < 2) exit(1); exit(0); } ], echo using bsd signals , AC_DEFINE(SYSVSIGNALS) echo using system v signals, you lose. ))) if test x$bsdwait = x1 then AC_MSG_CHECKING(for wait3 declaration) AC_EGREP_CPP([wait3( | |\()],[#include dnl ) #include #include ], AC_DEFINE(WAIT3_DECLARED) AC_MSG_RESULT(yes), AC_MSG_RESULT(no)) else AC_MSG_CHECKING(for waitpid declaration) AC_EGREP_CPP([waitpid( | |\()],[#include dnl ) #include #include ], AC_DEFINE(WAITPID_DECLARED) AC_MSG_RESULT(yes), AC_MSG_RESULT(no)) fi dnl dnl check for errno declaration dnl AC_MSG_CHECKING(for errno declaration) AC_TRY_RUN([ #include #include main() { int i = errno; exit(0); } ], AC_MSG_RESULT(yes) AC_DEFINE(ERRNO_DECLARED), AC_MSG_RESULT(no), :) dnl dnl check for sys_errlist declaration dnl AC_MSG_CHECKING(for sys_errlist declaration) AC_TRY_RUN([ #include #include #include main() { char *s = sys_errlist[0]; exit(0); } ], AC_MSG_RESULT(yes) AC_DEFINE(SYS_ERRLIST_DECLARED), AC_MSG_RESULT(no), :) dnl dnl check the type of iconv(3)'s 2nd argument dnl if test "x$enable_utf8" = "xyes" ; then AC_MSG_CHECKING(for const iconv 2nd argument) AC_EGREP_HEADER([\\.*\\(.*const], iconv.h, AC_MSG_RESULT(yes) AC_DEFINE([ICONV_CONST_ARG2]), AC_MSG_RESULT(no)) fi dnl dnl need this for dcc stuff dnl AC_MSG_CHECKING(for a 32 bit integer) AC_TRY_RUN([ main() { if (4 == sizeof(unsigned long)) exit(0); exit(1); } ], AC_MSG_RESULT(unsigned long) AC_DEFINE(UNSIGNED_LONG32), AC_TRY_RUN([ main() { if (4 == sizeof(unsigned int)) exit(0); exit(1); } ], AC_MSG_RESULT(unsigned int) AC_DEFINE(UNSIGNED_INT32), AC_MSG_RESULT(none, using unsigned long) AC_DEFINE(UNKNOWN_32INT), :), :) dnl dnl libraries dnl dnl i think this was only needed for solaris with -lucb. dnl AC_HAVE_LIBRARY(elf, LIBS="$LIBS -lelf",) dnl AC_HAVE_LIBRARY(nls, libnls=1;AC_DEFINE(HAVE_LIB_NLS),) if test ! -n "$libsocket"; then AC_CHECK_LIB(socket, socket, LIBS="$LIBS -lsocket",) fi dnl this is for isc. need the nsl_s library as well. if test ! -n "$libinet"; then AC_CHECK_LIB(inet, socket, libnsl=1; LIBS="$LIBS -linet -lnsl_s",) fi AC_CHECK_FUNC(gethostname, , AC_CHECK_LIB(nsl, gethostname, LIBS="$LIBS -lnsl",) ) AC_CHECK_LIB(dgc, inet_addr, LIBS="$LIBS -ldgc",) AC_CHECK_LIB(resolv, gethostbyname, olibs=$LIBS LIBS="$LIBS -lresolv" AC_TRY_RUN([ #include main() { struct hostent *hp; hp = gethostbyname("`uname -n`"); exit(0); } ],,LIBS=$olibs, :), AC_CHECK_LIB(nsl, gethostbyname, olibs=$LIBS LIBS="$LIBS -lnsl")) AC_CHECK_LIB(resolv, inet_aton, LIBS="$LIBS -lresolv",) dnl AC_HAVE_LIBRARY(PW, LIBS="$LIBS -lPW",) dnl dnl check for non-blocking fd style available.. dnl AC_MSG_CHECKING(for non-blocking) changequote(<<, >>)dnl << precode='#include #include #include #include #include #include alarmed() { exit(1); } main() { char b[12], x[32]; int f, l = sizeof(x); f = socket(AF_INET, SOCK_DGRAM, 0); if (f >= 0 && (fcntl(f, F_SETFL,' postcode=') != -1)) { signal(SIGALRM, alarmed); alarm(3); recvfrom(f, b, 12, 0, (struct sockaddr *)x, &l); alarm(0); exit(0); } exit(1); }' >> changequote([, ])dnl code="$precode O_NONBLOCK $postcode" AC_TRY_RUN($code, AC_DEFINE(NBLOCK_POSIX) AC_MSG_RESULT(posix), code="$precode O_NDELAY $postcode" AC_TRY_RUN($code, AC_DEFINE(NBLOCK_BSD) AC_MSG_RESULT(bsd), code="$precode FIONBIO $postcode" AC_TRY_RUN($code, AC_DEFINE(NBLOCK_SYSV) AC_MSG_RESULT(system v), AC_MSG_WARN(i can't find a working non blocking system), :), :), :) dnl this is all stolen from perl-4.036's Configure. larry is god. dnl well, most of it. couple of tweaks to make it work better. echo "generating a list of signal names..." set X `cat /usr/include/signal.h /usr/include/sys/signal.h /usr/include/linux/signal.h 2>&1 | sed 's/^#[ ]*/#/' | awk ' $1 ~ /^#define$/ && $2 ~ /^SIG[A-Z0-9]*$/ && $3 ~ /^[1-9][0-9]*$/ { [sig[$3] = substr($2,4,20)] if (max < $3 && $3 < 60) { max = $3 } } END { for (i=1; i<=max; i++) { [if (sig[i] == "")] printf "%d", i else [printf "%s", sig[i]] if (i < max) printf " " } printf "\n" } '` shift case $# in 0) set X `kill -l 2> /dev/null` shift case $# in 0) if test -f /bin/csh; then set X `/bin/csh -cf 'kill -l'` shift case $# in 0) dnl this is a reasonable default; HUP, QUIT, ABRT, KILL, BUS, SEGV, ALRM and dnl TERM are all reasonably portable defaults -- i (mrg) haven't ever seen dnl a system where they are different than these. set HUP INT QUIT ILL TRAP ABRT EMT FPE KILL BUS SEGV SYS PIPE ALRM TERM ;; esac fi ;; esac ;; esac sig_name="ZERO $*" if test -f source/sig.inc; then /bin/rm -f source/sig.inc fi [echo $sig_name | sed -e 's/$/"};/' -e 's/ /", "/g' -e 's/^/char *signals[] = { "/' -e 's/};/, NULL};/' >> source/sig.inc] dnl work out UNIX mail dir.. AC_MSG_CHECKING(for unix mail directory) for foo in /var/spool/mail /usr/spool/mail /var/mail /usr/mail do if test -d $foo; then mdir=$foo break fi done if test -n "$mdir"; then UNIX_MAIL=\"$mdir\" AC_MSG_RESULT($mdir) AC_DEFINE_UNQUOTED(UNIX_MAIL, "$mdir") else AC_MSG_RESULT(none) AC_MSG_CHECKING(for AMS mail) if test "x$HOME" != "/" -o -z "x$HOME" && test -d "$HOME/Mailbox"; then AC_MSG_RESULT(using Mailbox) AC_DEFINE_UNQUOTED(AMS_MAIL, "Mailbox") else AC_MSG_RESULT(no) fi fi if test -z "$CFLAGS"; then CFLAGS=-O ; fi if test -z "$LDFLAGS"; then LDFLAGS= ; fi RM="rm -f" LN="ln -s" if test ! -n "$bindir"; then bindir=\${exec_prefix}/bin fi AC_SUBST(bindir) if test ! -n "$IRCLIB"; then IRCLIB=\${datadir}/scrollz fi AC_SUBST(IRCLIB) if test "x$exec_prefix" = "xNONE"; then if test "x$prefix" = "xNONE"; then libdir="$ac_default_prefix/lib" else if test "x$libdir" = "xNONE"; then libdir="$prefix/lib" fi fi else libdir="$exec_prefix/lib" fi AC_MSG_CHECKING(for ElectricFence library) AC_ARG_WITH(efence, [ --with-efence[=PATH] Compile with the ElectricFence debugging library.], [ case "$withval" in no) AC_MSG_RESULT(no) ;; *) AC_MSG_RESULT(yes) if test "x$withval" = xyes; then withval="-lefence" else if test -d "$withval"; then if test -d "$withval/lib"; then withval="-L$withval/lib -lefence" else withval="-L$withval -lefence" fi fi fi LIBS="$withval $LIBS" ;; esac ], AC_MSG_RESULT(no) ) AC_MSG_CHECKING(paranoia status) AC_ARG_WITH(paranoid, [ --with-paranoid Sets the compile-time paranoid flag.], [ AC_MSG_RESULT(yes) AC_DEFINE_UNQUOTED(PARANOID, 1) ], AC_MSG_RESULT(none) ) AC_MSG_CHECKING(for /dev/urandom) if test -c /dev/urandom; then AC_MSG_RESULT(yes) AC_DEFINE_UNQUOTED(HAVE_DEV_RANDOM, 1) AC_DEFINE_UNQUOTED(DEV_RANDOM_PATH, "/dev/urandom") else AC_MSG_RESULT(no) AC_MSG_CHECKING(for /dev/random) if test -c /dev/random; then AC_MSG_RESULT(yes) AC_DEFINE_UNQUOTED(HAVE_DEV_RANDOM, 1) AC_DEFINE_UNQUOTED(DEV_RANDOM_PATH, "/dev/random") else AC_MSG_RESULT(no) fi fi AC_MSG_CHECKING(for default server) AC_ARG_WITH(default-server, [ --with-default-server=SERVER[:PORT] Connect to SERVER by default.], [ if test "$withval"; then AC_MSG_RESULT($withval) AC_DEFINE_UNQUOTED(DEFAULT_SERVER, "$withval") else AC_MSG_RESULT(none) fi ], AC_MSG_RESULT(none) ) AC_CHECK_LIB(c, crypt, [AC_DEFINE(HAVE_CRYPT) LIBS="-lc $LIBS"], AC_CHECK_LIB(crypt, crypt, [AC_DEFINE(HAVE_CRYPT) LIBS="-lcrypt $LIBS"], AC_CHECK_LIB(des, des, [AC_DEFINE(HAVE_CRYPT) LIBS="-ldes $LIBS"]))) AC_MSG_CHECKING(whether to support SOCKS) AC_ARG_WITH(socks, [ --with-socks Compile with SOCKS firewall traversal support.], [ case "$withval" in no) AC_MSG_RESULT(no) ;; yes) AC_MSG_RESULT(yes) AC_CHECK_LIB(socks5, SOCKSconnect, [ socks=5 LIBS="-lsocks5 $LIBS"], [ AC_CHECK_LIB(socks, Rconnect, [ socks=4 LIBS="-lsocks $LIBS"], [ AC_MSG_ERROR(Could not find socks library. You must first install socks.) ] ) ] ) ;; esac ], AC_MSG_RESULT(no) ) if test "x$socks" = "x"; then AC_MSG_CHECKING(whether to support SOCKS5) AC_ARG_WITH(socks5, [ --with-socks5[=PATH] Compile with SOCKS5 firewall traversal support.], [ case "$withval" in no) AC_MSG_RESULT(no) ;; *) AC_MSG_RESULT(yes) socks=5 if test "x$withval" = "xyes"; then withval="-lsocks5" else if test -d "$withval"; then if test -d "$withval/include"; then CFLAGS="$CFLAGS -I$withval/include" else CFLAGS="$CFLAGS -I$withval" fi if test -d "$withval/lib"; then withval="-L$withval/lib -lsocks5" else withval="-L$withval -lsocks5" fi fi fi LIBS="$withval $LIBS" # If Socks was compiled with Kerberos support, we will need # to link against kerberos libraries. Temporarily append # to LIBS. This is harmless if there is no kerberos support. TMPLIBS="$LIBS" LIBS="$LIBS $KERBEROS_LIBS" AC_TRY_LINK([], [ SOCKSconnect(); ], [], [ AC_MSG_ERROR(Could not find the $withval library. You must first install socks5.) ]) LIBS="$TMPLIBS" ;; esac ], AC_MSG_RESULT(no) ) fi if test "x$socks" = "x"; then AC_MSG_CHECKING(whether to support SOCKS4) AC_ARG_WITH(socks4, [ --with-socks4[=PATH] Compile with SOCKS4 firewall traversal support.], [ case "$withval" in no) AC_MSG_RESULT(no) ;; *) AC_MSG_RESULT(yes) socks=4 if test "x$withval" = "xyes"; then withval="-lsocks" else if test -d "$withval"; then withval="-L$withval -lsocks" fi fi LIBS="$withval $LIBS" AC_TRY_LINK([], [ Rconnect(); ], [], [ AC_MSG_ERROR(Could not find the $withval library. You must first install socks.) ]) ;; esac ], AC_MSG_RESULT(no) ) fi if test "x$socks" = "x4"; then AC_DEFINE(SOCKS) AC_DEFINE(SOCKS4) AC_DEFINE(connect, Rconnect) AC_DEFINE(getsockname, Rgetsockname) AC_DEFINE(bind, Rbind) AC_DEFINE(accept, Raccept) AC_DEFINE(listen, Rlisten) AC_DEFINE(select, Rselect) fi if test "x$socks" = "x5"; then AC_DEFINE(SOCKS) AC_DEFINE(SOCKS5) AC_DEFINE(connect,SOCKSconnect) AC_DEFINE(getsockname,SOCKSgetsockname) AC_DEFINE(getpeername,SOCKSgetpeername) AC_DEFINE(bind,SOCKSbind) AC_DEFINE(accept,SOCKSaccept) AC_DEFINE(listen,SOCKSlisten) AC_DEFINE(select,SOCKSselect) AC_DEFINE(recvfrom,SOCKSrecvfrom) AC_DEFINE(sendto,SOCKSsendto) AC_DEFINE(recv,SOCKSrecv) AC_DEFINE(send,SOCKSsend) AC_DEFINE(read,SOCKSread) AC_DEFINE(write,SOCKSwrite) AC_DEFINE(rresvport,SOCKSrresvport) AC_DEFINE(shutdown,SOCKSshutdown) AC_DEFINE(listen,SOCKSlisten) AC_DEFINE(close,SOCKSclose) AC_DEFINE(dup,SOCKSdup) AC_DEFINE(dup2,SOCKSdup2) AC_DEFINE(fclose,SOCKSfclose) AC_DEFINE(gethostbyname,SOCKSgethostbyname) fi AC_MSG_CHECKING([whether to enable ipv6]) if test "x$socks" = "x4" -o "x$socks" = "x5"; then AC_MSG_RESULT(no, bacause you enabled SOCKS$socks support) else AC_ARG_ENABLE(ipv6, [ --enable-ipv6 Enable ipv6 (with ipv4) support], [ case "$enableval" in yes) AC_MSG_RESULT(yes) AC_DEFINE(INET6) ipv6=yes ;; esac ]) if test "x$ipv6" = "xno" -o "x$ipv6" = "x" ; then AC_MSG_RESULT(no) ipv6=no fi ipv6type=unknown ipv6lib=none ipv6trylibc=no if test "x$ipv6" = "xyes"; then AC_MSG_CHECKING([ipv6 stack type]) for i in inria kame linux-glibc linux-libinet6 toshiba v6d zeta; do case $i in inria) dnl http://www.kame.net/ AC_EGREP_CPP(yes, [dnl #include #ifdef IPV6_INRIA_VERSION yes #endif], [ipv6type=$i; AC_DEFINE(INET6)]) ;; kame) dnl http://www.kame.net/ AC_EGREP_CPP(yes, [dnl #include #ifdef __KAME__ yes #endif], [ipv6type=$i; ipv6lib=inet6; ipv6libdir=/usr/local/v6/lib; ipv6trylibc=yes; AC_DEFINE(INET6)]) ;; linux-glibc) dnl http://www.v6.linux.or.jp/ AC_EGREP_CPP(yes, [dnl #include #if defined(__GLIBC__) && __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1 yes #endif], [ipv6type=$i; AC_DEFINE(INET6)]) ;; linux-libinet6) dnl http://www.v6.linux.or.jp/ if test -d /usr/inet6 -a -f /usr/include/netinet/ip6.h; then ipv6type=$i ipv6lib=inet6 ipv6libdir=/usr/inet6/lib ipv6trylibc=yes; CFLAGS="-I/usr/inet6/include $CFLAGS" AC_DEFINE(INET6) fi ;; toshiba) AC_EGREP_CPP(yes, [dnl #include #ifdef _TOSHIBA_INET6 yes #endif], [ipv6type=$i; ipv6lib=inet6; ipv6libdir=/usr/local/v6/lib; AC_DEFINE(INET6)]) ;; v6d) AC_EGREP_CPP(yes, [dnl #include #ifdef __V6D__ yes #endif], [ipv6type=$i; ipv6lib=v6; ipv6libdir=/usr/local/v6/lib; CFLAGS="-I/usr/local/v6/include $CFLAGS"]) ;; zeta) AC_EGREP_CPP(yes, [dnl #include #ifdef _ZETA_MINAMI_INET6 yes #endif], [ipv6type=$i; ipv6lib=inet6; ipv6libdir=/usr/local/v6/lib; AC_DEFINE(INET6)]) ;; esac if test "x$ipv6type" != "xunknown"; then break fi done AC_MSG_RESULT($ipv6type) fi if test "x$ipv6" = "xyes" -a "x$ipv6lib" != "xnone"; then if test -d "$ipv6libdir" -a -f "$ipv6libdir/lib$ipv6lib.a"; then LIBS="-L$ipv6libdir -l$ipv6lib $LIBS" AC_MSG_RESULT(You have $ipv6lib library, using it) else if test "x$ipv6trylibc" = "xyes"; then AC_MSG_RESULT([You do not have (need) $ipv6lib library, using libc]) else AC_MSG_ERROR(Fatal: no $ipv6lib library found. cannot continue. You need to fetch lib$ipv6lib.a from appropriate ipv6 kit and compile beforehand.) fi fi fi AC_MSG_CHECKING(getaddrinfo bug) AC_TRY_RUN([ #include #include #include #include #include main() { int passive, gaierr, inet4 = 0, inet6 = 0; struct addrinfo hints, *ai, *aitop; char straddr[INET6_ADDRSTRLEN], strport[16]; for (passive = 0; passive <= 1; passive++) { memset(&hints, 0, sizeof(hints)); hints.ai_family = AF_UNSPEC; hints.ai_flags = passive ? AI_PASSIVE : 0; hints.ai_socktype = SOCK_STREAM; if ((gaierr = getaddrinfo(NULL, "54321", &hints, &aitop)) != 0) { (void)gai_strerror(gaierr); goto bad; } for (ai = aitop; ai; ai = ai->ai_next) { if (ai->ai_addr == NULL || ai->ai_addrlen == 0 || getnameinfo(ai->ai_addr, ai->ai_addrlen, straddr, sizeof(straddr), strport, sizeof(strport), NI_NUMERICHOST|NI_NUMERICSERV) != 0) { goto bad; } switch (ai->ai_family) { case AF_INET: if (strcmp(strport, "54321") != 0) { goto bad; } if (passive) { if (strcmp(straddr, "0.0.0.0") != 0) { goto bad; } } else { if (strcmp(straddr, "127.0.0.1") != 0) { goto bad; } } inet4++; break; case AF_INET6: if (strcmp(strport, "54321") != 0) { goto bad; } if (passive) { if (strcmp(straddr, "::") != 0) { goto bad; } } else { if (strcmp(straddr, "::1") != 0) { goto bad; } } inet6++; break; case AF_UNSPEC: goto bad; break; default: /* another family support? */ break; } } } if (inet4 != 0 && inet4 != 2) goto bad; if (inet6 != 0 && inet6 != 2) goto bad; if (aitop) freeaddrinfo(aitop); exit(0); bad: if (aitop) freeaddrinfo(aitop); exit(1); } ], AC_MSG_RESULT(good) buggygetaddrinfo=no, AC_MSG_RESULT(buggy) buggygetaddrinfo=yes, AC_MSG_RESULT(buggy) buggygetaddrinfo=yes) fi if test "x$buggygetaddrinfo" = "xyes"; then if test "x$ipv6" = "xyes" -a "x$ipv6type" != "xlinux"; then AC_MSG_ERROR(Fatal: You must get working getaddrinfo() function.) AC_MSG_ERROR( or you can specify "--disable-ipv6".) exit 1 elif test "x$ipv6type" = "xlinux"; then AC_MSG_ERROR(Warning: getaddrinfo() implementation on your system seems be buggy.) AC_MSG_ERROR( Better upgreade your system library to newest version) AC_MSG_ERROR([ of GNU C library (aka glibc).]) fi fi AC_MSG_CHECKING(for struct sockaddr's sa_len) AC_TRY_LINK([ #include #include ],[ struct sockaddr sa; int i; i = sa.sa_len; exit(0); ], AC_DEFINE(HAVE_SOCKADDR_SA_LEN) AC_MSG_RESULT(yes), AC_MSG_RESULT(no)) AC_MSG_CHECKING(whether to enable SSL) AC_ARG_WITH(ssl, [ --with-ssl[=PATH] Prefix where GNU TLS is installed (optional)], [ case "$withval" in no) AC_MSG_RESULT(no) ;; *) AC_MSG_RESULT(yes) olibs="$LIBS" ocflags="$CFLAGS" if test "x$withval" = "xyes"; then gnutls_prefix="" else gnutls_prefix="$withval" fi AC_MSG_CHECKING(for GNU TLS) pkg-config --exists gnutls >/dev/null 2>&1 if test $? -ne 0; then AC_MSG_RESULT(no) ssl=no else if test -d "$gnutls_prefix/include" -a -n "$gnutls_prefix"; then CFLAGS="-I$gnutls_prefix/include" else CFLAGS="$ocflags `pkg-config --cflags gnutls`" fi if test -d "$gnutls_prefix/lib" -a -n "$gnutls_prefix"; then LIBS="$olibs -L$gnutls_prefix/lib -lgnutls" else LIBS="$olibs `pkg-config --libs gnutls`" fi AC_TRY_LINK([ #include ], [ gnutls_check_version(NULL); ], [ AC_MSG_RESULT(yes) AC_DEFINE(HAVE_SSL) ssl=yes ], [ AC_MSG_RESULT(no) LIBS="$olibs" CFLAGS="$ocflags" ssl=no ]) fi esac ], AC_MSG_RESULT(no) ) AC_MSG_CHECKING(whether to enable OpenSSL) if test "x$ssl" = "xyes"; then AC_MSG_RESULT(no (you enabled GNU TLS support)) else AC_ARG_WITH(openssl, [ --with-openssl[=PATH] Prefix where OpenSSL is installed (optional)], [ case "$withval" in no) AC_MSG_RESULT(no) ;; *) AC_MSG_RESULT(yes) olibs="$LIBS" ocflags="$CFLAGS" if test "x$withval" = "xyes"; then openssl_prefix="" else openssl_prefix="$withval" fi AC_MSG_CHECKING(for OpenSSL) if test -d "$openssl_prefix/include" -a -n "$openssl_prefix"; then CFLAGS="-I$openssl_prefix/include $CFLAGS" fi if test -d "$openssl_prefix/lib" -a -n "$openssl_prefix"; then LIBS="-L$openssl_prefix/lib $LIBS -lssl -lcrypto" else LIBS="$LIBS -lssl -lcrypto" fi AC_TRY_LINK([ #include ], [ return OPENSSL_VERSION_NUMBER; ], [ AC_MSG_RESULT(yes) AC_DEFINE(HAVE_OPENSSL) openssl=yes ], [ AC_MSG_RESULT(no) LIBS="$olibs" CFLAGS="$ocflags" openssl=no ]) ;; esac ], AC_MSG_RESULT(no) ) fi AC_MSG_CHECKING(whether to enable regexp support) AC_ARG_ENABLE(regexp, [ --enable-regexp Enable POSIX.2 regexp support], [ case "$enableval" in yes) AC_TRY_LINK([ #include #include ], [ int rc; regex_t preg; rc = regcomp(&preg, "blah", REG_EXTENDED); if (rc != 0) return 1; else return 0; ], [ AC_MSG_RESULT(yes) AC_DEFINE(HAVE_REGCOMP) regexp=yes ], [ AC_MSG_RESULT(no) LIBS="$ac_save_LIBS" regexp=no ]) ;; esac ]) if test "x$regexp" = "xno" -o "x$regexp" = "x" ; then AC_MSG_RESULT(no) regexp=no fi AC_MSG_CHECKING(whether to enable FiSH support) AC_ARG_ENABLE(fish, [ --enable-fish Enable FiSH encryption support], [ case "$enableval" in yes) olibs="$LIBS" LIBS="$LIBS -lgmp" AC_TRY_LINK([ #include #include ], [ int rc; mpz_t val; mpz_init(val); return 0; ], [ AC_MSG_RESULT(yes) AC_DEFINE(HAVE_GMP) fish=yes ], [ LIBS="$olibs" fish=no ]) ;; esac ]) if test "x$fish" = "xno" -o "x$fish" = "x" ; then AC_MSG_RESULT(no) fish=no fi if test -n "$hpux" then # HP-UX's pax is broken AC_CHECK_PROGS(COPY_DIRECTORY, tar cpio) else AC_CHECK_PROGS(COPY_DIRECTORY, pax tar cpio) fi if test "x$COPY_DIRECTORY" = "xpax"; then INSTALL_HELP_CMD='cd help; pax -r -w -s ";.*/\.?CVS$$;;" -s ";.*/\.?CVS/.*;;" . $(DESTDIR)/$(HELP_DIR)' else if test "x$COPY_DIRECTORY" = "xtar"; then INSTALL_HELP_CMD='cd help; tar -cf - . | ( cd $(DESTDIR)/$(HELP_DIR); tar -xf - )' else if test "x$COPY_DIRECTORY" = "xcpio"; then INSTALL_HELP_CMD='cd help; find . -print | cpio -pdu $(DESTDIR)/$(HELP_DIR)' else INSTALL_HELP_CMD="@echo \"I couldn't figure out a way to install the help files.\"" fi fi fi AC_SUBST(INSTALL_HELP_CMD) if test "x$COPY_DIRECTORY" = "xpax"; then INSTALL_TRANSLATION_CMD='cd translation; pax -r -w -s ";.*/\.?CVS$$;;" -s ";.*/\.?CVS/.*;;" . $(DESTDIR)/$(TRANS_PATH)' else if test "x$COPY_DIRECTORY" = "xtar"; then INSTALL_TRANSLATION_CMD='cd translation; tar -cf - . | ( cd $(DESTDIR)/$(TRANS_PATH); tar -xf - )' else if test "x$COPY_DIRECTORY" = "xcpio"; then INSTALL_TRANSLATION_CMD='cd translation; find . -print | cpio -pdu $(DESTDIR)/$(TRANS_PATH)' else INSTALL_TRANSLATION_CMD="@echo \"I couldn't figure out a way to install the translation files.\"" fi fi fi AC_SUBST(INSTALL_TRANSLATION_CMD) AC_CHECK_PROGS(ZCAT, gzcat zcat gunzip gzip uncompress uncompress) case "x$ZCAT" in xgzcat) ZSUFFIX=".gz" ZARGS= ;; xzcat) ZSUFFIX=".Z" ZARGS= ;; xgunzip) ZSUFFIX=".gz" ZARGS="-c" ;; xgzip) ZSUFFIX=".gz" ZARGS="-dc" ;; xuncompress) ZSUFFIX=".Z" ZARGS="-c" ;; xcompress) ZSUFFIX=".Z" ZARGS="-dc" ;; esac AC_DEFINE_UNQUOTED(ZCAT,"$ZCAT") AC_DEFINE_UNQUOTED(ZSUFFIX,"$ZSUFFIX") if test x"$ZARGS" != x; then AC_DEFINE_UNQUOTED(ZARGS,"$ZARGS") fi AC_FIND_PROGRAM(SENDMAIL,sendmail,/usr/sbin:/usr/lib:/usr/ucblib) AC_SUBST(RM) AC_SUBST(LN) AC_OUTPUT(Makefile source/Makefile ircbug) #if test ! -f config.h; then # cp ${srcdir}/include/config.h.dist config.h #fi echo echo well there we are, you now might want to look in config.h and echo see if there is anything you might want to tune, else you can echo just run a make here.. good luck! echo scrollz-2.2.3.orig/help/0000755000175000017500000000000012252352377014647 5ustar madhackmadhackscrollz-2.2.3.orig/help/nokey0000644000175000017500000000043412251073235015710 0ustar madhackmadhack! $Id: nokey,v 1.4 2003-01-08 20:00:54 f Exp $ ! ! Copyright (c) 1994-2003 Flier ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: NOKEY [[#]channel] Clears channel key if set If no channel is specified, current channel is assumed scrollz-2.2.3.orig/help/setaway0000644000175000017500000000102412251073235016234 0ustar madhackmadhack! $Id: setaway,v 1.5 2003-01-08 20:00:54 f Exp $ ! ! Copyright (c) 1994-2003 Flier ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: SETAWAY [-C] [-H] [away message] Sets you away and saves all messages If -C is given, no text will be added to your message. If -H is given, effect is the same as having SHOWAWAY set to OFF. If no message is given default message (from ScrollZ.save) is used. See also: AWAYENCR AWAYT PLAYBACK REMLOG SETBACK SHOWAWAY scrollz-2.2.3.orig/help/listf0000644000175000017500000000123512251073235015704 0ustar madhackmadhack! $Id: listf,v 1.4 2003-01-08 20:00:54 f Exp $ ! ! Copyright (c) 1994-2003 Flier ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: LISTF [filter] Lists all the users on your friends list If no filter is given, * is used. If filter starts with # and a number follows it, entries matching given filter will be shown, otherwise only entries where channel matches filter will be shown. Else userhost matching is performed. Can also have #s* as an argument to show users with access in all channels that begin with 's' See also: ADDF ADDFFLAG ADDFCHAN REMF REMFFLAG REMFCHAN FRLIST scrollz-2.2.3.orig/help/lastlog0000644000175000017500000000502312251073235016227 0ustar madhackmadhack! $Id: lastlog,v 1.5 2007-08-02 16:12:30 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: LASTLOG [] [] [ []]] Displays the contents of the lastlog. This is a list of the most recent messages that have appeared on the screen. LASTLOG is useful to redisplay the screen if you inadvertantly do a CLEAR or miss messages for other reasons. If no arguments are given, the entire lastlog is displayed. If a argument is given, only with in them are displayed. If the first argument is a number, it determines how many log entries to show, or if searching for a pattern, how many entries to search. Otherwise it is searched for in every lastlog entry. The second argument determines how many lines back to start display from. Thus LASTLOG 4 8 Shows 4 lines of the lastlog, starting at line 8... lines 8, 9, 10, 11 are displayed. Furthermore: LASTLOG bigcheese displays only those lastlog entries that contain the word "bigcheese". The following will, starting at line 4 searching for 8 lines, search for lastlog entires that contain the word "phone". LASTLOG phone 8 4 Available flags: You can further limit the display of the lastlog by specifying one of the following flags: -PUBLIC Normal channel messages -MSG Private messages -NOTICE Notices -NOTE Notes -WALL Walls -WALLOP Wallops -CRAP Anything not included in the other categories -LITERAL Make the follow a pattern always, not a number -TIME Only display the entries from the given time interval (it only works if STAMP is enabled, example: -TIME 19:00-20:00) -OPNOTE Operator notifications -SNOTE Server notices -ACTION In and outgoing CTCP ACTION lines -DCC DCC connections -CTCP CTCP messages -HELP Any help text -BEEP Beeps -USERLOG1 User reserved messages -USERLOG2 User reserved messages -USERLOG3 User reserved messages -USERLOG4 User reserved messages The lastlog will only display messages of the type specified by the flag. See Also: SET LASTLOG SET LASTLOG_LEVEL STAMP scrollz-2.2.3.orig/help/admin0000644000175000017500000000101012251073235015642 0ustar madhackmadhack! $Id: admin,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: ADMIN [|] Displays the administrative details about the given server. If no server is specified, the server you are connected to is used. If a nickname is supplied then it gives the administrative information for that person's current server. scrollz-2.2.3.orig/help/notepad0000644000175000017500000000033212251073235016212 0ustar madhackmadhack! $Id: notepad,v 1.4 2003-01-08 20:00:54 f Exp $ ! ! Copyright (c) 1994-2003 Flier ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: NOTEPAD text Saves text to notepad scrollz-2.2.3.orig/help/bantype0000644000175000017500000000076512251073235016234 0ustar madhackmadhack! $Id: bantype,v 1.4 2003-01-08 20:00:54 f Exp $ ! ! Copyright (c) 1994-2003 Flier ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: BANTYPE [N|B|E|H|S] Sets ban type Available types are : N=Normal, B=Better, E=Elite, H=Host and S=Screw Normal : nick!user@host Better : *!user@host Host : *!*@host Screw : *!*@domain Elite : n?c?!??er@?o?? See also: BAN BK BKI BKT UNBAN SB CDBAN DOBANS scrollz-2.2.3.orig/help/ls0000644000175000017500000000034312251073235015200 0ustar madhackmadhack! $Id: ls,v 1.4 2003-01-08 20:00:54 f Exp $ ! ! Copyright (c) 1994-2003 Flier ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: LS [options] Does ls (shows specified directory) scrollz-2.2.3.orig/help/news0000644000175000017500000002271312251073235015543 0ustar madhackmadhack! $Id: news,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! __________________________________________________________________________ ircII 2.9 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ from: @(#)Id: NEWS,v 1.19 1997/04/14 16:16:23 mrg Exp Changes since ircII 2.8.2: o tabkey works with nicknames with \'s in them. o muchly updated /window server and /window channel system. o more robust autoconfiguration. o lots of bugs fixed. o `idle()' functions returns idle time. o `/dcc rename -chat old new' renames a dcc chat connection o `/set same_window_only' places channels in windows more often. o `&' is expanded in GCOS fields, as per BSD. o ctcp flood handling done in a more sane manner. o non blocking connects (use -DNON_BLOCKING_CONNECTS). ircII will attempt to figure out if this is available or not automatically, when configuring. o new window commands `addgroup', and `delgroup'. these allow you to define a group of windows, such that they are always connected to the same server. o new `ircbug' shell command for reporting bugs. o SOCKS support. o new `imap' script. o new log level `BEEP'. o dcc works with `/server localhost', again. o `/set HELP_PATH' now works with ~user expansion. o lots and lots and lots of bug fixes. o new `undernet' script to make ircII understand undernet.org extras. o a bunch of general bug fixes. most of the submitted-via-ircbug (the correct way!) have been fixed, or at least closely analyzed. o DYNAMIC_SLIP is not longer available, due to ircII simply handling the case properly now. o `/window create' might be stabler. really this time. o removed `/set help_service' support from ircII. o added `help' script to replace `/set help_service' support. o almost all gcc -Wall warnings on a sane system fixed. o help files are once again distributed with ircII. o windows now default to having level of `NONE'. o better error reporting in some circumstances. o renamed `ircserv' to `ircio' due to continued believe that `ircserv' was actually an IRC server. o `/server .' should reconnect to the server last connected in this window. o fully prototyped source tree. o each window can have two status lines, using `/window double', and the new `STATUS_FORMAT1' and `STATUS_FORMAT2' varaibles. o new variable `SAME_WINDOW_ONLY' that controls how disconnected channels are placed (if at all) in other windows. o ircII no longer use lex/flex in the build process. o `/notify' can be more verbose. o `irc -b' loads the .ircrc before connecting to a server. beware. o irc 2.9 support. o many many new translation tables, polish, russian, etc. o hopefully more consistant message levels. o `/window server', `/server', then `IRCSERVER' variable, and command line server lists all support the server:port:password:nickname format. o `/window sticky ' to control whether channels follow server changes, etc. __________________________________________________________________________ ircII 2.2, 2.2.1, 2.2.2 and 2.2.3 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ READ THIS READ THIS READ THIS READ THIS READ THIS ============================================================= The most important difference between this version and older ones is that the format for ON SERVER_NOTICE and ON PUBLIC has changed. Some scripts won't work anymore (may have strange effects). Also, for 2.2.3, the characters ^B ^V and ^_ mean different things - ^B bold, ^_ for underline, and ^V for inverse. Commands that have changed. It is now possible to redirect to a DCC CHAT connection with REDIRECT =nick You can have some command executed on the results of USERHOST with USERHOST -CMD command You can, and should, use WAIT now with WAIT -CMD command You can have ircII create new windows (screen or xterm) with WINDOW CREATE The IF and WHILE commands have changed. New in 2.2.2 ON PUBLIC and ON SERVER_NOTICE have changed. IGNORE now has CRAP and CTCP levels. SERVER has now -DELETE flag. news flags -USER and -NAME for LIST -WIDE New commands WHICH script - returns which script will be loaded with LOAD FOREACH - to iterate over a list. TIMER seconds command - executes `command' after `seconds' seconds. INPUT "prompt" command - executes `command' when input is read from the keyboard. PING nick - uses CTCP PING to work out how many seconds a remote is from you. PARSEKEY key - acts as though a key bound to `key' was pressed. SENDLINE line - is the same as typing in the line. HOOK line - does an ON HOOK check. EVAL line - passes `line' to the inline parser, to be executed. CTCP UTC - A time CTCP. MLOAD - loads a menu. New in 2.2.1 CTCP ECHO - Similar to CTCP ERRMSG. WINDOW LOGFILE - Sets the logfile for that window. New in 2.2.2 XTYPE - Similar to TYPE WINDOW NOTIFY_LEVEL New alias variables: $W $V $H $U $~ New SETable variables NO_CTCP_FLOOD SHOW_STATUS_ALL SCROLL_AFTER_DISPLAY. STATUS_USER1-3 MENU HIGHLIGHT_CHAR HELP_PROMPT HELP_SERVICE HELP_PATH DCC_BLOCK_SIZE LOAD_PATH DEBUG VERBOSE_CTCP SCROLL_BACKWARD SCROLL_FORWARD SCROLL_END TRANSLATION BOLD_VIDEO New in 2.2.1 SHOW_WHO_HOPCOUNT New in 2.2.2 NOTIFY_LEVEL XTERM_OPTIONS EIGHT_BIT_CHARACTERS And STATUS_FORMAT has these new variables %W %X %Y %B %# %@ %> New/changed on hook's. ON DCC_RAW ON HOOK ON INPUT Several of the numeric ON's have changed. New in 2.2.1 ON SERVER_NOTICE ***** THIS HAS CHANGED ***** ON PUBLIC ***** THIS HAS CHANGED ***** New bindable keys. ERASE_TO_BEG_OF_LINE REFRESH_INPUTLINE META3_CHARACTER META4_CHARACTER New functions. $ENCODE() $DECODE() $TDIFF() $CONNECT() $LISTEN() $ISCHANNEL(word) $ISCHANOP(nick channel) $WORD(number wordlist) $WINNUM() $WINNAM() New in 2.2.2 $CURPOS() $MYCHANNELS(refnum) $MYSERVERS() Other You can no longer use \n in a line to separate commands. Functions are now access with $name(). $%name() is not supported. You can access varibles in structures by using struct[index] as well as struct.index. You can use { } style braces around aliases. You can connected to the server via Unix domain sockets. The display defaults to OFF while loading a script. __________________________________________________________________________ ircII 2.1.5g.tom2 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Internationalization issues: 1. Support for multiple character sets. See /help SET TRANSLATION. 2. Digraph entries. See /help BIND ENTER_DIGRAPH and /help DIGRAPH. __________________________________________________________________________ ircII 2.1.5 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > The command /who -h and -s is no more supported. > Introduced { and } in scripts, see script/finger for an example. See Also: /help load. > Behavior of HOLD_MODE has changed, won't hold when you are being active in that window. I like it a lot more, it's not so disturbing anymore. > Away messages are displayed only once, when talking to someone who is away unless you /set show_away_once off. > You don't get disturbed by cryptic but trivial CTCP requests, unless you /set verbose_ctcp on. > Improved handling of process prompts, but INPUT_PROMPT must be set. > ircII can now load scripts and help files in compressed form. > All the scripts have been updated and many helpfiles written and rewritten. Many bugs have been fixed, support of newer server features added, this client is already 2.7-capable. > There have been major changes in the command parser. Commands are not expected to have a leading / unless entered interactively, if you experience incompatibilities, you will have to add 'say' and 'send' wherever you have made aliases that send to the channel or query. See Also: /help ircII programming for this. Also the ';' has a new meaning as command separator within ALIAS, BIND and ON. You might have to \escape it. > The good news: Scripts are much more readable and understandable, look a lot less ugly now :) COMMAND_MODE gives command-oriented freaks the chance to use ircII that way. A special script for MUDders has been added that emulates an Aber/LPMUD-like environment on irc, without having to type / before "smile" and allowing "'" for "say" etc. > CTCP ACTION has been implemented which permits you to send descriptions of actions/'feelings' to other people on channels and even through queries. You can use it with /me and the action script. See Also: LOAD ACTION scrollz-2.2.3.orig/help/rbind0000644000175000017500000000046112251073235015661 0ustar madhackmadhack! $Id: rbind,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: RBIND  Returns the keys bound to function. scrollz-2.2.3.orig/help/rembk0000644000175000017500000000100712251073235015660 0ustar madhackmadhack! $Id: rembk,v 1.4 2003-01-08 20:00:54 f Exp $ ! ! Copyright (c) 1994-2003 Flier ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: REMBK nick|filter Removes user from your shit list Filter can include * and ? or start with #. If it starts with #, you can use filters like in CDCC GET and TBAN. Example : #-2,4,6-8,12- will delete user entries 1,2,6,7,8 and all entries from 12 on. Entries number are shown in LISTBK. See also: ADDBK BKLIST LISTBK scrollz-2.2.3.orig/help/dirlnk0000644000175000017500000000040412251073235016043 0ustar madhackmadhack! $Id: dirlnk,v 1.4 2003-01-08 20:00:54 f Exp $ ! ! Copyright (c) 1994-2003 Flier ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: DIRLNK nick Kicks nick with your last notice as comment See also: DIRLMK scrollz-2.2.3.orig/help/mkill0000644000175000017500000000042612251073235015674 0ustar madhackmadhack! $Id: mkill,v 1.4 2003-01-08 20:00:54 f Exp $ ! ! Copyright (c) 1994-2003 Flier ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: MKILL nick1 nick2 nick3 ... [:reason] Kill multiple nicks at once See also: WKILL TKILL scrollz-2.2.3.orig/help/mdhop0000644000175000017500000000060312251073235015670 0ustar madhackmadhack! $Id: mdhop,v 1.5 2003-01-08 20:00:54 f Exp $ ! ! Copyright (c) 1994-2003 Flier ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: MDHOP [-F] [-A] [#channel] Mass dehalfops channel If passed -F friends with the H flag set will not be dehalfopped. -A will dehalfop all users. See also: MHOP MOP MREOP MDOP MASSV scrollz-2.2.3.orig/help/mreop0000644000175000017500000000056212251073235015707 0ustar madhackmadhack! $Id: mreop,v 1.4 2003-01-08 20:00:54 f Exp $ ! ! Copyright (c) 1994-2003 Flier ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: MREOP [-F] [-A] [#channel] Mass re-ops channel If passed -F only friends with the O flag set will be reopped. -A will re-op all users. See also: MDOP MOP MASSV MASSDV scrollz-2.2.3.orig/help/stamp0000644000175000017500000000065212251073235015711 0ustar madhackmadhack! $Id: stamp,v 1.4 2003-01-08 20:00:54 f Exp $ ! ! Copyright (c) 1994-2003 Flier ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: STAMP on|off|max Toggles time stamping on publics on/off When set to on, client will output time in front of publics. When set to MAX client will output time in front of a lot more events (kicks, joins, topic changes, mode changes, ...). scrollz-2.2.3.orig/help/assign0000644000175000017500000000537012251073235016053 0ustar madhackmadhack! $Id: assign,v 1.4 2002-02-21 17:16:31 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: ASSIGN [[-] []] ASSIGN lets you create user variables which are automatically expanded by ScrollZ in aliases using the $variable-name format. For example, if you had defined: ASSIGN me The Big Cheese Then, in an alias, $me would expand to "The Big Cheese". These are straight textual substitutions. You can use these kind of variables as counters and indexes into lists as well. For example: ASSIGN index 0 ASSIGN index ${index+1} The first line sets "index" to 0, the seconds increments index by 1. Note that the second will always be expanded if used in another alias (where $ are normally expanded). If you want it to be expanded if typed at the input line, you must first set INPUT_ALIASES to ON. Note: In the above example, the mathematical expression must be enclosed by {}'s otherwise the + would be treated as an alias delimiter and the addition not performed. (See @ as well) Suppose now you wanted to use index to get a single word in a list, you could do: ALIAS WORD ECHO $($index) Then doing: WORD This is a test would display the index'th word in the list. The $($index) format does the following: it parses the text between the () as a sub-alias. The "$index" is thus evaluated and returns it's value. This value is then replaced for the () expression and evaluated. So, if you had: ASSIGN index 1 Then, the following would be evaluated: $index becomes 1 which given $(1) which becomes simply $1 Thus the $1 argument is used. This functionality can be nested. This the following: ASSIGN A Hey You! ASSIGN B A ASSIGN C B ALIAS NESTING echo $($($C)) will cause NESTING to display "Hey You!" The following format are also legal: $#name evaluates to the number of words in name $@name evaluates to the number of characters in name You can use these with the mathematical expressions as well, for example: ASSIGN foo Testing One Two ECHO $#foo $@foo ASSIGN junk ${#foo + @foo} The ECHO line will display 3 15 and the variable junk have the value 18. Additionally, values assigned to FUNCTION_RETURN are taken to be the return value of a function. IMPORTANT NOTE: There is a special version of this command called '@' for use in aliases and scripts. It is well suited to mathematical operations. Its use over ASSIGN is highly recommended. See Also: @ ALIAS IF SET INPUT_ALIASES ALIAS functions scrollz-2.2.3.orig/help/hop0000644000175000017500000000043212251073235015347 0ustar madhackmadhack! $Id: hop,v 1.4 2003-01-08 20:00:54 f Exp $ ! ! Copyright (c) 1994-2003 Flier ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: HOP [#channel] nick1 nick2 nick3 ... Halfops line of nicks on your current channel See also: DHOP scrollz-2.2.3.orig/help/chanlogpost0000644000175000017500000000055112251073235017104 0ustar madhackmadhack! $Id: chanlogpost,v 1.4 2003-01-08 20:00:54 f Exp $ ! ! Copyright (c) 1994-2003 Flier ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: CHANLOGPOST postfix Sets a string to postfix the logfiles with If postfix is a minus ('-') the postfix is removed. See also: CHANLOG CHANLOGDIR CHANLOGPREFIX scrollz-2.2.3.orig/help/mhop0000644000175000017500000000057512251073235015534 0ustar madhackmadhack! $Id: mhop,v 1.5 2003-01-08 20:00:54 f Exp $ ! ! Copyright (c) 1994-2003 Flier ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: MHOP [-F] [-A] [#channel] Mass halfops channel If passed -F only friends with the H flag set will be halfopped. -A will halfop all users. See also: MDHOP MOP MREOP MDOP MASSV scrollz-2.2.3.orig/help/multk0000644000175000017500000000044012251073235015714 0ustar madhackmadhack! $Id: multk,v 1.4 2003-01-08 20:00:54 f Exp $ ! ! Copyright (c) 1994-2003 Flier ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: MULTK [#channels] nick [reason] Kicks nick from multiple channels See also: K LK MK RANLK scrollz-2.2.3.orig/help/autoinv0000644000175000017500000000066612251073235016257 0ustar madhackmadhack! $Id: autoinv,v 1.4 2003-01-08 20:00:54 f Exp $ ! ! Copyright (c) 1994-2003 Flier ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: AUTOINV on channels|off Toggles auto invite on notify on/off If set to on, client will automatically invite users who have access to INVITE, CHOPS, OP and UNBAN when sign-on is detected for them. Note that they will be invited only to +i channels. scrollz-2.2.3.orig/help/topiclock0000644000175000017500000000070612251073235016554 0ustar madhackmadhack! $Id: topiclock,v 1.4 2003-01-08 20:00:54 f Exp $ ! ! Copyright (c) 1994-2003 Flier ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: TOPICLOCK [#channel topic] Sets channel's topic lock Several channels can be specified at once, separate them with comma. Every channel's name must start with #. Stored topic locks for all channels are shown if no arguments are given. See also: TOPICUNLOCK scrollz-2.2.3.orig/help/clear0000644000175000017500000000063312251073235015652 0ustar madhackmadhack! $Id: clear,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: CLEAR [-ALL] [-UNHOLD] Clears the current window. If the -ALL flag is used, clears all visible windows. If the -UNHOLD flag is used, unholds a window. scrollz-2.2.3.orig/help/cjoin0000644000175000017500000000035012251073235015662 0ustar madhackmadhack! $Id: cjoin,v 1.4 2003-01-08 20:00:54 f Exp $ ! ! Copyright (c) 1994-2003 Flier ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: CJOIN [#]channel Creates and joins virtual channel scrollz-2.2.3.orig/help/tabkey0000644000175000017500000000261212251073235016042 0ustar madhackmadhack! $Id: tabkey,v 1.4 2008-05-05 15:33:08 f Exp $ ! ! Copyright (c) 1994-2003 Flier ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! NORMAL in any circumstance other than ones listed in SPECIAL, n completes based on nicks in the current channel, then other channels. #c completes based on channels the client is on. also note n and f can be shortened to , the client will know what to complete based on position. channels must be started with #, however. SPECIAL /msg cycles through your recent /msg nick list (with empty input line) /m = cycles through your dcc chat nick list /dc g n cycles through your dcc get nick list /dc ren n cycles through your dcc get nick list /dc resu n cycles through your dcc resume nick list /dc reg n cycles through your dcc reget nick list /dc se nick f cycles through filenames on disk /cdc sen f [f ...] , /loa f / cycles through command names /he /set cycles through variable names /op cycles through deopped nicks /dop cycles through opped nicks /hop cycles through dehalfopped nicks /dh cycles through halfopped nicks /vo cycles through devoiced nicks /dv cycles through voiced nicks scrollz-2.2.3.orig/help/knock0000644000175000017500000000034412251073235015670 0ustar madhackmadhack! $Id: knock,v 1.4 2003-01-08 20:00:54 f Exp $ ! ! Copyright (c) 1994-2003 Flier ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: KNOCK [#]channel Asks for an invite to channel scrollz-2.2.3.orig/help/commands0000644000175000017500000000437712251073235016376 0ustar madhackmadhack! $Id: commands,v 1.4 2002-02-21 17:16:31 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! All ScrollZ commands typed on the command line must begin with one of the CMDCHAR settings (see SET CMDCHARS). By default, this is set to /. Thus, any input line whose first character is a / is treated as an ScrollZ command. For example: /MSG BigCheese Howdy! This executes the MSG command, which sends a private message to "BigCheese", and that message is "Howdy!" You can create aliases for commands or redefine what an existing command does. This is done with the ALIAS command. For example: /ALIAS M /MSG NOTE: Command within aliases and other functions do not need the CMDCHAR, and thus the above alias could be written as /ALIAS M MSG as well. The exception to this, is the // convention mentioned below. This example creates a new command, M, which does the same thing as MSG, you can now do: /M BigCheese Howdy! and it will work exactly like MSG. Suppose however you did this: /ALIAS MSG //MSG BigCheese Now, the MSG command will only send messages to BigCheese: /MSG Howdy! Note that in the alias, there are two / in front of MSG. Putting two of the CMDCHAR in front of a command tells ScrollZ that you want to use the original command, and not any alias of it. Therefore, even if you had the above alias for MSG, you could still do the following: //MSG Cheese I can still use the original MSG command. Furthermore, if you wish you can turn off your display (See SET DISPLAY) for the duration of a command. This is done by putting a ^ character between the / and the command word. For example, if you do: /^MSG BigCheese Hello You will not see any visible effect to this command (unless the nickname BigCheese does not currently exist). Lastly, if you do the following: / /this is a test Note there is a space after the /. This form forces the following text to be sent to your current channel no matter what. You can thus send lines that begin with your CMDCHAR. It can also be used to force a message to your current channel when you are using QUERY. scrollz-2.2.3.orig/help/idletime0000644000175000017500000000041512251073235016356 0ustar madhackmadhack! $Id: idletime,v 1.4 2003-01-08 20:00:54 f Exp $ ! ! Copyright (c) 1994-2003 Flier ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: IDLETIME time Sets idle kick timeout in minutes See also: IDLEKICK SHOWIDLE scrollz-2.2.3.orig/help/k0000644000175000017500000000043312251073235015014 0ustar madhackmadhack! $Id: k,v 1.4 2003-01-08 20:00:54 f Exp $ ! ! Copyright (c) 1994-2003 Flier ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: K nick [reason] Kicks user from your current channel See also: FBK FK MK MULTK RANLK scrollz-2.2.3.orig/help/unban0000644000175000017500000000047112251073235015667 0ustar madhackmadhack! $Id: unban,v 1.4 2003-01-08 20:00:54 f Exp $ ! ! Copyright (c) 1994-2003 Flier ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: UNBAN nick Unbans user on your current channel See also: BANTYPE BAN BK BKI BKT TBAN CDBANS DOBANS scrollz-2.2.3.orig/help/rems0000644000175000017500000000044112251073235015527 0ustar madhackmadhack! $Id: rems,v 1.4 2003-01-08 20:00:54 f Exp $ ! ! Copyright (c) 1994-2003 Flier ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: REMS server[:port] or REMS server [port] Removes given server from server list See also: ADDS LISTS scrollz-2.2.3.orig/help/nhprot0000644000175000017500000000141712251073235016077 0ustar madhackmadhack! $Id: nhprot,v 1.4 2003-01-08 20:00:54 f Exp $ ! ! Copyright (c) 1994-2003 Flier ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: NHPROT on channels|off quiet|medium|full Toggles nethack protection on/off and sets display level When set to OFF, no action will be taken on netsplit hacks. If ON, it will deop people that are not on your friends list. Display type toggles the info that is displayed when netsplit/netjoin occurs. If set to QUIET, it will behave like normal client would. When set to MEDIUM, only netsplit/netjoin will be reported. FULL level is like MEDIUM but will display netsplit hacks too. People that left with netsplit will be stored internally only if display level is set to MEDIUM or FULL. scrollz-2.2.3.orig/help/mload0000644000175000017500000000056012251073235015657 0ustar madhackmadhack! $Id: mload,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: MLOAD MLOAD simply loads a menu file. See menus for more details. See Also: SET MENU MLOAD scrollz-2.2.3.orig/help/listn0000644000175000017500000000051212251073235015711 0ustar madhackmadhack! $Id: listn,v 1.5 2007-09-05 16:08:04 f Exp $ ! ! Copyright (c) 1994-2003 Flier ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: LISTN [-O|-N] Lists all the users on your notify list -O lists only present notifies, -N lists not present notifies. See also: ADDN REMN scrollz-2.2.3.orig/help/mirc0000644000175000017500000000067212251073235015521 0ustar madhackmadhack! $Id: mirc,v 1.4 2003-01-08 20:00:54 f Exp $ ! ! Copyright (c) 1994-2003 Flier ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: MIRC on|off|strip Toggles whether to convert mIRC colors to ANSI When set to ON, client will translate mIRC colors to ANSI colors. When set to OFF, no translation will be performed. When set to STRIP annoying mIRC color crap will be stripped from output. scrollz-2.2.3.orig/help/wii0000644000175000017500000000034712251073235015356 0ustar madhackmadhack! $Id: wii,v 1.4 2003-01-08 20:00:54 f Exp $ ! ! Copyright (c) 1994-2003 Flier ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: WII nick Like whois but queries nick's local server scrollz-2.2.3.orig/help/fbk0000644000175000017500000000057312251073235015331 0ustar madhackmadhack! $Id: fbk,v 1.4 2003-01-08 20:00:54 f Exp $ ! ! Copyright (c) 1994-2003 Flier ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: FBK filter [reason] Kicks and bans all the users that match filter Filter may include * and ? (example : *.com or *.uni-??.*). See also: K FK LK MULTK MK RANLK KICKOPS scrollz-2.2.3.orig/help/ison0000644000175000017500000000064312251073235015535 0ustar madhackmadhack! $Id: ison,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1997 Matthew Green, ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: ISON [ ...] The ISON command is typically not used by an IRC user, rather it is used by the IRC client for the NOTIFY command. It asks the IRC server if the nicknames are present on IRC. See Also: USERHOST scrollz-2.2.3.orig/help/wallops0000644000175000017500000000102612251073235016242 0ustar madhackmadhack! $Id: wallops,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: WALLOPS Sends a message to all operators currently on irc. This command has deteriorated to the point that it is no longer useful, and most OPERATORS have removed it from the server all together. A classic example of a good idea abused till it's worthless. scrollz-2.2.3.orig/help/menus0000644000175000017500000000374712251073235015724 0ustar madhackmadhack! $Id: menus,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! This describes a feature which allows one to create and use menus in any irc session. The menus are totally user configurable and a test menu has been provided at the end of this help file. To use this menu, copy it to your home directory calling it 'test', run IRC, and do the following: MLOAD test SET menu Main Menu Control-R is bound to ENTER_MENU, and while in the menu you can use vi-like keys or EMACS-like keys to move through the options, and either '.' or SPACE to select an option. The format of the menu file is as follows A line beginning with a '#' represents a comment. Blank lines are ignored. A line beginning with the word "MENU" starts a new menu and gives it a name. A line beginning with the word "OPTION" adds a new option to the menu, gives it a name and describes what it does. It's possible to have one menu OPTION lead you into a new menu with OPTION "Sub Menu" COMMAND set menu Sub Menu assuming the Sub Menu has been defined like the following Main Menu. The following is a test menu to show how it it can be used. # Cut off this line.. and take everything down to the next Cut line --- # Test menu to see how our menu reader works MENU Main Menu OPTION "This menu" MENU Main Menu OPTION "List Channels" COMMAND LIST OPTION "Join Channel" COMMAND JOIN $"Join Channel: " OPTION "Leave Channel" COMMAND PART * OPTION "Change Name" COMMAND NICK $"New NickName: " OPTION "Private Message" COMMAND MSG $"Person to send message to: " $"Text of message: " OPTION "Say something" COMMAND SAY $"Say: " OPTION "Exit Menu" EXIT OPTION "Exit IRC" COMMAND if ( [$"Really quit? "] == [y] ) { QUIT } OPTION "Kill Menu" COMMAND set -menu # Cut off this line and take everything up to the previous Cut line ---- See Also: SET MENU MLOAD scrollz-2.2.3.orig/help/j0000644000175000017500000000037312251073235015016 0ustar madhackmadhack! $Id: j,v 1.4 2003-01-08 20:00:54 f Exp $ ! ! Copyright (c) 1994-2003 Flier ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: J [#]channel[,[#]channel2,[#]channel3...] Joins channels See also: L scrollz-2.2.3.orig/help/awaysave0000644000175000017500000000125112251073235016401 0ustar madhackmadhack! $Id: awaysave,v 1.5 2003-04-29 18:06:02 f Exp $ ! ! Copyright (c) 1994-2003 Flier ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: AWAYSAVE [-]type Defines what to save in ScrollZ.away Type is any of the following : MSG, NOTICE, MASS, COLL, CDCC, DCC, PROT, HACK, SRVMODE, CTCP, FLOOD, INVITE, KILL, KICK, SERVER, FAKE, AREPLY, CHAT, NOTIFY, SENTMSG, AWAY or ALL. You can specify multiple types by separating them with space. You can turn it off by specifying NONE. If preceeded by minus such events will not be saved. Note that effects accumulate so if you specify only one type it will be added to current set. scrollz-2.2.3.orig/help/kickops0000644000175000017500000000073412251073235016231 0ustar madhackmadhack! $Id: kickops,v 1.4 2003-01-08 20:00:54 f Exp $ ! ! Copyright (c) 1994-2003 Flier ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: KICKOPS on channels|off Toggles whether to kick chan-ops on/off When set to on, channel operators will be kicked on word-kick and filter-kick. When set to off, only non channel operators will be kicked on word-kick and filter-kick. See also: ADDW FBK FK LISTW REMW scrollz-2.2.3.orig/help/while0000644000175000017500000000337112251073235015676 0ustar madhackmadhack! $Id: while,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: WHILE { } This will execute the given cmd while the given boolean returns true. The boolean has the same format as for the IF command, except that it is re-evaluated at each loop interation. The same is true for cmd. It is re-evaluated at each loop interation. Example (in script format): alias repeat { @ rep = 0; while (rep < [$0]) { $1- @ rep = rep + 1 } assign -rep } This can be used as follows: /repeat 10 /msg bigcheese This repeats 10 times The repeat alias breaks down into three parts. @ rep = 0 while (rep < [$0]) {$1-;@ rep = rep + 1} assign -rep The first is to initialize rep to 0 and the last part is to remove rep when done. The first is just like ASSIGN rep 0 The WHILE portion is described below: The boolean for the while loop is (rep < [$0]). This is what is then used at each loop interation. At the first iteration this will be ( 0<10 ), at the next ( 1<10 ), and so on. The cmd part of this looks like {$1-;@ rep = rep + 1} When the alias is first parsed, the stuff inside {..} is not expanded but is simply executed at each loop interation. It expands to 'msg bigcheese This repeats 10 times.;@ rep = rep + 1' It sends the MSG to BigCheese and then it increments rep by 1. (See HELP @ for more information about this assignment) The command part while is exactly like the syntax in IF and FOREACH. See Also: IF FOREACH @ expressions scrollz-2.2.3.orig/help/msg0000644000175000017500000000445212251073235015355 0ustar madhackmadhack! $Id: msg,v 1.4 2008-03-08 15:42:48 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: MSG [-server ] ||%|=|@|| Sends a private message to the nicknames or list of nicknames specified. A list of nicknames should by separated by commas (no spaces). Four special case nicknames are defined. If the nickname is "," (a comma), the message is sent to the last person who sent you a MSG. If the nickname is "." (a period), the message is sent to the last person to whom you sent a message. If the nickname is "*" the message is send to the current channel. If the nickname is """ (doublequote), the action is same as if you had used /QUOTE instead. The second form allows you to specify a channel name to which to send the message. The message will go to everyone on that channel. The third form specifies an EXEC process id to send output to. The fourth form allows you to specify a DCC CHAT connection over which to send the message. The nick specifies the nickname under which the connection was established. The fifth form allows you to specify a DCC TALK connection over which to send the message. The user specifies the user part of the user@host used to establish the DCC TALK connection. The sixth form lets you specify a process number to which the message will go, where n is the process number. This works just like the EXEC -IN command. For example: MSG %1 Homina homina homina will send the text to process 1. Process 1 must be running already using a previous call to EXEC. The last form allows messages of the type MSG COMMAND which allows you to send a message to some command. Try MSG /ECHO blue This is meant to be used with QUERY primarily. Optional -server allows you to specify through server you wish to send message. * There is also a use of wildcards for operators. * MSG $*.edu * will address all users having .edu in their serverinfo. * MSG #*.edu * will address all users having .edu at the end of their host name. See Also: SET BEEP_ON_MSG EXEC QUOTE scrollz-2.2.3.orig/help/squit0000644000175000017500000000202512251073235015726 0ustar madhackmadhack! $Id: squit,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: SQUIT Sends a server quit to the named server. This is an operator command and unfortunately if it is messed up, it can effect MANY people so it's best that one knows EXACTLY what they are doing when they squit a server. A common mistake is to use a server mask like if you are on some.server.edu and you typed SQUIT ircserver.* expecting to break off ircserver.iastate.edu it instead it finds ircserver.et.tudelft.nl and squits it from it's uplink. IF you're going to use a hostmask then make sure that you supply enough of the name to keep from messing up the net. There are more pitfalls, but you should read the docs in the ircd source for those. Note: SQUIT SHOULD NEVER EVER BE USED FOR A PERSONAL VENDETA It simply hurts the users. scrollz-2.2.3.orig/help/note/0000755000175000017500000000000012251073235015604 5ustar madhackmadhackscrollz-2.2.3.orig/help/note/ls0000644000175000017500000000210212251073235016140 0ustar madhackmadhack! $Id: ls,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: NOTE LS [&] [+|-] [#] [] Displays requests you have queued. No arguments would show you all requests without the message field. Use flags for matching all messages which have the specified flags set on or off. See HELP NOTE FLAG for more info about flag settings. Time can be specified on the form day.month.year or only day, or day/month, and separated with one of the three '.,/' characters. You can also specify -n for n days ago. Examples: 1.jan-90, 1/1.90, 3, 3/5, 3.may. If only '-' and no number is specified max time is set to all days. The time specified is always the local time on your system. Example: LS !user would show you all requests to username@* LS +x would show all your SPY requests. LS #300 would show you only request #300. scrollz-2.2.3.orig/help/note/news0000644000175000017500000000252712251073235016511 0ustar madhackmadhack! $Id: news,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: NOTE NEWS [&] [+|-] [+|-] NEWS with no message is an alias for USER +RS (default max 60 days) This command is for subscribing on a specified newsgroup from any user(s) or host(s). Wildcards may be used anywhere. Example: NEWS irc.note : Subscribe on irc.note * NEWS irc.note@*.no : Send to group irc.note, but only for * users at host *.no * NEWS irc.note : Send to all for group irc.note * NEWS Users@*.edu Hi : Send Hi to all users using note in your * server located at host *.edu. (Advanced users may use User +rs <...> where filter is a string which must matches with field in received news message) - Only opers can send news as default. * To send news add message and use same format as subscribing, except * that username field must matches with subscribed group as alt.irc!*.irc - * everybody subscribing on a*.irc or *.irc or alt.irc... would get the news. * A speciall case is the group Users which everybody using note in the server * are member of. scrollz-2.2.3.orig/help/note/wallops0000644000175000017500000000071412251073235017212 0ustar madhackmadhack! $Id: wallops,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! *Usage: NOTE WALLOPS [&] [+|-] [+|-] * * WALLOPS is an alias for USER +BRW (default max 1 day) * This command is same as WALL, except only opers could receive it. scrollz-2.2.3.orig/help/note/note0000644000175000017500000000275612251073235016506 0ustar madhackmadhack! $Id: note,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: NOTE USER [&passwd] [+-flags] [+-maxtime] - or SEND|SPY|FIND|WAITFOR|NEWS * or SEND|SPY|FIND|WAITFOR|WALL|WALLOPS|DENY|NEWS|KEY NOTE LS|COUNT|RM|LOG [&pwd][+-flags][#ID] [date] NOTE FLAG [&passwd] [+-flags] [#ID] <+-flags> * NOTE SENT [NAME|COUNT|USERS] [RM] - NOTE STATS [MSM|MSW|MUM|MUW|MST|MSF|USED] - NOTE SENT [NAME|COUNT] * NOTE STATS [MSM|MSW|MUM|MUW|MST|MSF|USED|RESET] [value] * NOTE SAVE The Note system have two main functions: 1. Let you send one line messages to irc users which they will get when they next sign on to irc. Example: NOTE SEND Hi, this is a note to you. 2. Let you spy on people, to see when they sign on or off, change nick name or join channels. Example: NOTE SPY +100 (spy on nick for 100 days) You may fill in none or any of the arguments listed above, including * or ? at any place, as nick@*.edu, !username, ni?k!username etc... Other usefull features may be NOTE WAIT , making nick and you get a message when you both are on at the same time. Note was developed 1990 by jarle@stud.cs.uit.no (Wizible on IRC). scrollz-2.2.3.orig/help/note/rm0000644000175000017500000000110412251073235016141 0ustar madhackmadhack! $Id: rm,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: NOTE RM [&] [+|-] [#] Deletes any messages sent from your nick and username which matches with nick and username@host. Use flags for matching all messages which have the specified flags set on or off. See HELP FLAG for more info about flag settings, and HELP LS for info about time. scrollz-2.2.3.orig/help/note/send0000644000175000017500000000114312251073235016457 0ustar madhackmadhack! $Id: send,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: NOTE SEND [&] [+|-] [+|-] SEND is an alias for USER +D (default max 60 days) This command is for sending a message to recipient, and let the server send a note + a notice to sender if this is on IRC - if message is sent. SEND foobar Hello, this is a test. SEND +7 !username@*.edu Hello again! scrollz-2.2.3.orig/help/note/find0000644000175000017500000000130412251073235016445 0ustar madhackmadhack! $Id: find,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: NOTE FIND [&] [+|-] [+|-] FIND is an alias for USER +FLR (default max 1 day) This command makes the server search for any matching recipient, and send a note message back if this is found. If field is used, this should specify the realname of the person to be searched for. Examples: FIND -4 foo*!username@host FIND @host Internet* FIND nicky Annie* FIND +7 * Annie* scrollz-2.2.3.orig/help/note/key0000644000175000017500000000107612251073235016323 0ustar madhackmadhack! $Id: key,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! *Usage: NOTE KEY [&] [+|-] [+|-] * KEY is an alias for USER +KR (default max 1 day) * This command is for allowing no-opers to use oper-options by specifying * the flag to unlock. Be careful with this option! * Example: KEY +365 +s * would make it possible for everybody to use s flag. scrollz-2.2.3.orig/help/note/antiwall0000644000175000017500000000071112251073235017341 0ustar madhackmadhack! $Id: antiwall,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! *Usage: NOTE [] ANTIWALL * Switch off b flag for wall's which you have received on specified * server. The person who queued the wall would be notified about * the antiwall, and who requested this. scrollz-2.2.3.orig/help/note/sent0000644000175000017500000000155712251073235016510 0ustar madhackmadhack! $Id: sent,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! -Usage: NOTE SENT [NAME|COUNT] *Usage: NOTE SENT [NAME|COUNT|USERS] [RM] Displays host and time for messages which are queued without specifying any password. If no option is specified SENT displays host/time for messages sent from your nick and username. NAME displays host/time for messages sent from your username COUNT displays number of messages sent from your username * USERS Displays the number of messages in [], and names for all users * who have queued any message which matches with spec. nick/name/host. * RM means that the server removes the messages from the specified user. scrollz-2.2.3.orig/help/note/flag0000644000175000017500000000604112251073235016441 0ustar madhackmadhack! $Id: flag,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: NOTE FLAG [&] [+|-] [#] <+|-flags> You can add or delete as many flags as you wish with +/-. + switch the flag on, and - switch it off. Example: -S+RL Following flags with its default set specified first are available: -S > News flag for subscribing. -M > Request is removed after you sign off. -Q > Ignore request if recipient's first nick is equal to username. -I > Ignore request if recipient is not on same server as request. -W > Ignore request if recipient is not an operator. -Y > Ignore request if sender is not on IRC. -N > Let server send a note to you if message is delivered. -D > Same as N, except you only get a message (no queued note to you). -R > Repeat processing the request until timeout. -F > Let server send note info for matching recipient(s). Any message part specify what to match with the realname of the recipient. -L > Same as F, except you only get a message (no queued note to you). -C > Make sender's nicks be valid in all cases username@host is valid. -V > Make sender's "nick*" be valid in all cases username@host is valid. -X > Let server display if recipient signs on/off IRC or change nickname. Any message specified is returned to sender. -A > Show what server matching user is on using X flag. -J > Show what channel matching user is on using X flag. -U > Do not display nick-change using X flag. -E > Ignore request if nick, name and host matches the message text starting with any number of this format: 'nick!name@host nick!... ' * -B > Send a message to every account who match the nick!user@host * This creates a received list with flag H set. (see LS +h) * -T > Send a message not all nicks on same accounts too using B flag. * -K > Give keys to unlock privileged flags by setting that flags on. * The recipient does also get privileges to queue unlimited * numer of requests, list privileged flags and see all stats. * -Z > Make it impossible for recipient to queue anything at all. Other flags which are only displayed but can't be set by user: -O > Request is queued by an operator. -G > Notice message is generated by server. - -B > Broadcasting message. * -H > Flag list for who's received Broadcast message (B flag). - Notice: Message is not sent to recipient using F, L, R or X flag. - Using this flags, no message needs to be specified. * Notice: Message is not sent to recip. using F, L, R, X, K, Z or H * flag (except if B flag is set for R). For this flags, no msg. needed. Examples: FLAG * +cj : Switch on c and j flag for all requests. FLAG +x * +c : Switch on c flag for all req. which have x flag. FLAG nick -c+j : Switch off c flag and which on j flag for nick scrollz-2.2.3.orig/help/note/wall0000644000175000017500000000176512251073235016477 0ustar madhackmadhack! $Id: wall,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! *Usage: NOTE WALL [&] [+|-] [+|-] * * WALL is an alias for USER +BR (default max 1 day) * This command is for sending a message once to every matching user * on IRC. Be careful using this command. WALL creates a list of * persons received the message (and should not have it once more time) * with H flag set. This list can be displayed using ls +h from the * nick and username@host which the WALL request is queued from. * Removing the headers (H) before WALL request is removed would cause * the message to be sent once more to what users specified in list. * WALL +7 @*.edu Do not do this! - Makes it clear for all users using * IRC on host @*.edu the next 7 days how stupid it is to send such WALL's ;) scrollz-2.2.3.orig/help/note/spy0000644000175000017500000000276412251073235016353 0ustar madhackmadhack! $Id: spy,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: NOTE SPY [&] [+|-] [+|-] [msg] SPY is an alias for USER +RX (default 1 max day) SPY makes the server tell you if any matching recipient sign(s) on/off IRC or change nick name. No message needs to be specified. However, if a message is specified this is returned to sender including with the message about recipient. Message could for example be one or more Ctrl-G characters to activate the bell on senders machine. As an alternative for using C flag, field could start with any number of nicks on this format: %nick1 %nick2... %nickn, with no space between % and the nick name you use. Spy messages would be valid for any of the nicks specified. SPY with no argument would tell you what users you have spy on who are currently on IRC. The system logs last time the last matching person was on IRC for each SPY request is queued in the server. See NOTE LOG for this. You may use flag +A to see what server matching user is on, and/or +J flag to see what channel. (Read HELP NOTE USER for more). Example: SPY foobar!username@host SPY +10 foobar SPY +aj &secret * SPY +365 +e !user nick!*@* SPY % +7 foo!user SPY +5 nicky %mynick %meenick scrollz-2.2.3.orig/help/note/waitfor0000644000175000017500000000123712251073235017205 0ustar madhackmadhack! $Id: waitfor,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: NOTE WAITFOR [&] [+|-] [+|-] [] WAITFOR is an alias for USER +YD (default max 1 day) Default message is [Waiting] This command is for telling the recipient if this appears on IRC that you are waiting for him/her and notice that this got that message. Example: WAITFOR foobar WAITFOR -2 foobar!username@* WAITFOR foobar Waiting for you until pm3:00.. scrollz-2.2.3.orig/help/note/service0000644000175000017500000000054512251073235017173 0ustar madhackmadhack! $Id: service,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! *Usage: NOTE SERVICE * Useful in robots. Note will take the requests as if from scrollz-2.2.3.orig/help/note/stats0000644000175000017500000000230012251073235016660 0ustar madhackmadhack! $Id: stats,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! -Usage: NOTE STATS [MSM|MSW|MUM|MUW|MST|MSF|USED] *Usage: NOTE STATS [MSM|MSW|MUM|MUW|MST|MSF|USED|RESET] [value] STATS with no option displays the values of the following variables: MSM: Max number of server messages. MSW: Max number of server messages with username-wildcards. MUM: Max number of user messages. MUW: Max number of user messages with username-wildcards. MST: Max server time. MSF: Note save frequency (checks for save only when an user register) Notice that 'dynamic' mark after MSM means that if there are more messages in the server than MSM, the current number of messages are displayed instead of MSM. Only one of this variables are displayed if specified. * You can change any of the stats by specifying new value after it. * RESET sets the stats to the same values which is set when starting the * server daemon if no note file exist. Notice that this stats are saved * in same file as the other messages. scrollz-2.2.3.orig/help/note/count0000644000175000017500000000071412251073235016661 0ustar madhackmadhack! $Id: count,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: NOTE COUNT [&] [+|-flags] [#] Displays the number of messages sent from your nick and username. See HELP LS for more info. See HELP FLAG for more info about flag setting. scrollz-2.2.3.orig/help/note/user0000644000175000017500000000432312251073235016507 0ustar madhackmadhack! $Id: user,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: NOTE USER [&] [+|-] [+|-] With USER you can queue a message in the server, and when the recipient signs on/off IRC, change nick or join any channel, note checks for valid messages. This works even if the sender is not on IRC. See HELP FLAGS for more info. Password can be up to ten characters long. You may specify password using the &, % or $ character. & is equal to to $, except working much better cause client use $ for other things... The % character works like &, except it makes the queuing silent. It makess also sense to use this without any following password. If any request queued is equal to any previous except time and maxtime, only maxtime is changed as specified. You then get "Joined" instead of "Queued". HELP FLAGS for info about flag settings. Username can be specified without @host. Do not use wildcards in username if you know what it is, even if it's possible. Max time before the server automatically remove the message from the queue, is specified with hours with a '-' character first, or days if a '+' character is specified, as -5 hours, or +10 days. Default maxtime is 7 days. Note: The received message is *directly* displayed on the screen, without the need for a read or remove request. NOTE USER &secret +WN +10 Wizible!jarlek@ifi.uio.no Howdy! is an example of a message sent only to the specified recipient if this person is an operator, and after receiving the message, the server sends a note message back to sender to inform about the delivery. NOTE USER +XR -5 Anybody is an example which makes the server to tell when Anybody signs on/off irc, change nick etc. This process repeats for 5 hours. NOTE USER +FL @*.edu *account* is an example which makes the server send a message back if any real- name of any user matches *account*. Message is sent back as note from server, or directly as a notice if sender is on IRC at this time. scrollz-2.2.3.orig/help/note/save0000644000175000017500000000107412251073235016467 0ustar madhackmadhack! $Id: save,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! *Usage: NOTE SAVE * SAVE saves all messages with the save flag set. Notice that the * messages are automatically saved (see HELP STATS). Each time server is * restarted, the save file is read and messages are restored. If no users * are connected to this server when saving, the ID number for each * message is renumbered. scrollz-2.2.3.orig/help/note/deny0000644000175000017500000000075112251073235016471 0ustar madhackmadhack! $Id: deny,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! *Usage: NOTE DENY [&] [+|-] [+|-] * * DENY is an alias for USER +RZ (default max 1 day) * This command makes it impossible for any matching recipient to * queue any Note requests until timeout. scrollz-2.2.3.orig/help/note/log0000644000175000017500000000130712251073235016311 0ustar madhackmadhack! $Id: log,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: NOTE LOG [&] [+|-] [#] Displays how long time since matching person was on IRC. This works only after use of NOTE SPY. The log is protected to be seen for other users than the person who queued the SPY request. To get short output, do not specify any arguments. Example: LOG : Print short log of all LOG * : Print long log including real names of all LOG nick : Print long log for user nick. scrollz-2.2.3.orig/help/basics0000644000175000017500000000305512251073235016031 0ustar madhackmadhack! $Id: basics,v 1.4 2002-02-21 17:16:31 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Irc is a multi-user, multi-channel chatting network. It allows people all over the internet to talk to one another in real-time. Each irc user has a nickname they use. All communication with another user is either by nickname or by the channel that they or you are on. All ScrollZ commands begin with a / character. Anything that does not begin with a / is assumed to be a message that is sent to everyone on your channel. Here is a list of basic commands to help you get started: /LIST Lists all current irc channels, number of users, and topic. /NAMES Shows the nicknames of all users on each channel /JOIN Join the named channel. All non-commands you type will now go to everyone on that channel /MSG Sends a private message to the specified person. Only the specified nickname will see this message. /NICK Change your nickname /QUIT Exits irc. /HELP Gets help on all ScrollZ commands. /WHO Shows who is on a given channel, including nickname, user name and host, and realname. /WHOIS Shows the "true" indentity of someone These commands should get you started on irc. Use the /HELP command to find out more about things on irc, or ask question of people... most would be happy to help you out. scrollz-2.2.3.orig/help/dirlsn0000644000175000017500000000055212251073235016057 0ustar madhackmadhack! $Id: dirlsn,v 1.4 2003-01-08 20:00:54 f Exp $ ! ! Copyright (c) 1994-2003 Flier ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: DIRLSN [nick|#channel] Redirects last sent notice to nick/channel If no nick/channel is specified it will redirect to current channel. See also: DIRLN DIRLM DIRLSM scrollz-2.2.3.orig/help/dhop0000644000175000017500000000043512251073235015516 0ustar madhackmadhack! $Id: dhop,v 1.4 2003-01-08 20:00:54 f Exp $ ! ! Copyright (c) 1994-2003 Flier ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: DHOP [#channel] nick1 nick2 nick3 ... Dehalfops line of nicks on your current channel See also: HOP scrollz-2.2.3.orig/help/nwhois0000644000175000017500000000036712251073235016077 0ustar madhackmadhack! $Id: nwhois,v 1.4 2003-01-08 20:00:54 f Exp $ ! ! Copyright (c) 1994-2003 Flier ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: NWHOIS filter Prints some statistics about nicks matching filter scrollz-2.2.3.orig/help/map0000644000175000017500000000033512251073235015340 0ustar madhackmadhack! $Id: map,v 1.4 2003-01-08 20:00:54 f Exp $ ! ! Copyright (c) 1994-2003 Flier ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: MAP [server] Generates map of IRC servers scrollz-2.2.3.orig/help/describe0000644000175000017500000000164512251073235016350 0ustar madhackmadhack! $Id: describe,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: DESCRIBE | This command can be used to send a description of what you are doing or how you are feeling or just about anything concerning you, to the person or channel you pass as first argument. DESCRIBE BigCheese takes a flask of whisky out of the fridge. is supposed to produce a line on BigCheese's screen stating: * Lynx takes a flask of whisky out of the fridge. This command makes use of CTCP and is not understood by all clients. If you get an error message, your description has not arrived properly. See Also: ME LOAD ACTION LOAD MUDLIKE CTCP CTCP ACTION CTCP CLIENTINFO scrollz-2.2.3.orig/help/remw0000644000175000017500000000043012251073235015531 0ustar madhackmadhack! $Id: remw,v 1.4 2003-01-08 20:00:54 f Exp $ ! ! Copyright (c) 1994-2003 Flier ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: REMW channels word Removes word from your word kicks list See also: ADDW LISTW KICKOPS scrollz-2.2.3.orig/help/remfflag0000644000175000017500000000112412251073235016343 0ustar madhackmadhack! $Id: remfflag,v 1.4 2003-01-08 20:00:54 f Exp $ ! ! Copyright (c) 1994-2003 Flier ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: REMFFLAG filter|#number flaglist Removes flags for userlist entries Number is the same as in TBAN or CDCC GET. Example : #-2,4,6-8,12- will operate on user entries 1,2,6,7,8 and all entries from 12 and on. Numbers for entries are shown with LISTF. Flaglist is a list of flags you wish to add or remove. See also: ADDF ADDFFLAG ADDFCHAN REMF REMFCHAN LISTF FRLIST LEVELS scrollz-2.2.3.orig/help/extpub0000644000175000017500000000067512251073235016101 0ustar madhackmadhack! $Id: extpub,v 1.4 2003-01-08 20:00:54 f Exp $ ! ! Copyright (c) 1994-2003 Flier ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: EXTPUB on|off Toggles extended public messages display on/off When enabled, @ will be shown in front of a user's public message if they have channel operator status, % will be shown if they have halfop status, or + will be shown if they have voice status. scrollz-2.2.3.orig/help/newusers0000644000175000017500000000433312251073235016440 0ustar madhackmadhack! $Id: newusers,v 1.1 2002-05-08 18:21:37 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! NEW USER INFORMATION FOR IRC This file contains some caveats for people new to IRC. It is not a guide to commands for IRC. For a brief guide to commands for new users, see /HELP INTRO. See /HELP ETIQUETTE for a guide to good manners on IRC. IRC is an international network servicing 20 or more countries. There are over 10,000 registered users, and a similar number of regular unregistered users. Do not expect everybody to speak English. The primary means of identification is currently by nickname. This can be modified with /NICK, and registered with NickServ. (/MSG NickServ HELP for information on NickServ). Note, however that some nicknames are duplicated, and since unique nicknames CANNOT BE ENFORCED it is common to find someone else using a registered nickname. If you have any doubts about the identity of somebody using a given nick, use /WHOIS NickName to find out more. This gives detailed information on the person using the NickName. For example, if you are getting abusive messages from "Fred", type: /WHOIS Fred If the information displayed is not the same as that which you would expect for Fred, it is probably a case of impersonation. Recently some users have been tricking others into allowing them to control their IRC sessions or damaging their files. If somebody asks you to type a command and you don't know what it does, use /HELP CommandName to find out more about it first. In particular, /ON has been used to cause trouble and is now initially disabled for new users. Additionally, /QUI is short for /QUIT and will terminate your IRC session. If you see any message asking you to type /QUI or /QUIT, ignore it. Some new users have been baffled by "CTCP" messages appearing on the IRC session. These are messages from other users, asking your client to perform some service for them. They are generally generated by somebody typing in a CTCP command. See /HELP CTCP. If you have not already done so, read the HELP files INTRO and ETIQUETTE. scrollz-2.2.3.orig/help/send0000644000175000017500000000067112251073235015517 0ustar madhackmadhack! $Id: send,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: SEND This command is to permit aliases, binds, scripts and similar to send a message to the current channel or query as if it were typed. See Also: SAY ircII programming scrollz-2.2.3.orig/help/re0000644000175000017500000000035412251073235015172 0ustar madhackmadhack! $Id: re,v 1.4 2003-01-08 20:00:54 f Exp $ ! ! Copyright (c) 1994-2003 Flier ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: RE nick|#channel command Redirects output to nick/channel scrollz-2.2.3.orig/help/topic0000644000175000017500000000075312251073235015705 0ustar madhackmadhack! $Id: topic,v 1.4 2005-04-19 15:24:16 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: TOPIC [] [] Changes the topic for the named channel. You have to be on the channel to change the topic and if the channel mode is +t then only a channel-operator can change the topic. See also: TOPIC scrollz-2.2.3.orig/help/motd0000644000175000017500000000110412251073235015521 0ustar madhackmadhack! $Id: motd,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: MOTD [|] Gives the message-of-the-day for the named server. If no server is given, your server is used. If a nickname is given it queries the server that that person is currently using. You should be sure to check the MOTD regularly. Ignorance of the law is not a defense in any court in the land. scrollz-2.2.3.orig/help/addchan0000644000175000017500000000071112251073235016143 0ustar madhackmadhack! $Id: addchan,v 1.4 2003-01-08 20:00:53 f Exp $ ! ! Copyright (c) 1994-2003 Flier ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: ADDCHAN setting channel Adds channels to ScrollZ settings This is used to add channel for specified setting. Possible settings are: AJOIN, AREJOIN, BITCH, DPROT, FAKE, FRLIST, KICKONBAN, KICKONFLOOD, KICKOPS, KPROT, NHPROT, NPROT and SHOWAWAY. See also: REMCHAN scrollz-2.2.3.orig/help/beep0000644000175000017500000000044612251073235015501 0ustar madhackmadhack! $Id: beep,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: BEEP This command makes the terminal beep. scrollz-2.2.3.orig/help/foreach0000644000175000017500000000372012251073235016173 0ustar madhackmadhack! $Id: foreach,v 1.6 2003-09-21 16:02:36 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: FOREACH { } FE () { } FOR (, , ) { } This causes to be executed once for each element in the structure. The aliases inside the {} are not expanded until execution unless the leading { is quoted like \{ Here are a couple examples of basic foreach commands. assign blue.1 one assign blue.2 two assign blue.3 three foreach blue ii { echo $ii $blue[$ii] } will return 1 one 2 two 3 three FOREACH can also be imbedded such as in the following example. assign blue.1.1 one one assign blue.1.2 one two assign blue.2.1 two one assign blue.2.2 two two alias showblue { foreach blue ii { foreach blue.$ii jj { echo $ii $jj $blue[$ii][$jj] } } } And /showblue returns.. 1 1 one one 1 2 one two 2 1 two one 2 2 two two Another example using FE: assign blue one two three alias showblue { fe ($blue) ii { echo $ii } } And /showblue returns: one two three And an example for FOR: for (@count=1,count<5,@count++) { echo count is now $count } Output: count is now 1 count is now 2 count is now 3 count is now 4 Note: When using this format the {} in the foreach must be on separate lines by themselves. This is true for IF and WHILE as well. Notice that variable names 'ii' and 'jj' were used. Any name can be used for the index but keep in mind that single letter vars can interfere with the built in single char vars. See ALIAS special See Also: expressions ALIAS special scrollz-2.2.3.orig/help/on/0000755000175000017500000000000012251073235015253 5ustar madhackmadhackscrollz-2.2.3.orig/help/on/dcc_list_footer0000644000175000017500000000067212251073235020345 0ustar madhackmadhack! $Id: dcc_list_footer,v 1.2 2003-01-08 20:00:54 f Exp $ ! ! Copyright (c) 1994-2003 Flier ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: ON [#|+|-|^|&|@]DCC_LIST_FOOTER [-|^] [action] This is activated after DCC connections are listed. The parameters for this function are: $0 Total number of DCC connections listed You can use this hook to redefine the DCC LIST look. scrollz-2.2.3.orig/help/on/nickname0000644000175000017500000000077612251073235016775 0ustar madhackmadhack! $Id: nickname,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: ON [#|+|-|^|&|@]NICKNAME [-|^] [action] This is activated whenever someone on a channel you are on changes their nickname. The parameters for this function are: $0 Original nickname for that person $1 New nickname for that person scrollz-2.2.3.orig/help/on/ctcp_reply0000644000175000017500000000207712251073235017350 0ustar madhackmadhack! $Id: ctcp_reply,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: ON [#|+|-|^|&|@]CTCP_REPLY [-|^] [action] This event is activated when you receive a reply from a CTCP request that you made (with the CTCP command). For example, if you did: CTCP BigCheese VERSION you would receive a: *** CTCP REPLY VERSION from BigCheese: IRCII 2.1beta2 Unix from BigCheese. However, if you had: ON ^CTCP_REPLY "* VERSION" /echo $0 is using $2- and did the CTCP show above, you would get something like: BigCheese is using IRCII 2.1beta2 Unix The parameters are: $0 nick of person who sent the reply $1 The CTCP command being replied to $2- The reply itself (depends on $1) Note: You may NOT use the CTCP command in an ON CTCP_REPLY. It simply will report an error message to you and not work. It is illegal to do this and it is not supported. scrollz-2.2.3.orig/help/on/public_msg0000644000175000017500000000111212251073235017315 0ustar madhackmadhack! $Id: public_msg,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: ON [#|+|-|^|&|@]PUBLIC_MSG [-|^] [action] This is activated whenever you receive a message to your channel from someone not on that channel. The parameters for the action are as follows: $0 nickname of person who sent the message $1 the channel to which the message was sent $2- the message scrollz-2.2.3.orig/help/on/dcc_list_header0000644000175000017500000000065512251073235020300 0ustar madhackmadhack! $Id: dcc_list_header,v 1.2 2003-01-08 20:00:54 f Exp $ ! ! Copyright (c) 1994-2003 Flier ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: ON [#|+|-|^|&|@]DCC_LIST_HEADER [-|^] [action] This is activated before DCC connections are listed. The parameters for this function are: $0 Value of Cdcc Longstatus You can use this hook to redefine the DCC LIST look. scrollz-2.2.3.orig/help/on/cdcc_plist0000644000175000017500000000114512251073235017306 0ustar madhackmadhack! $Id: cdcc_plist,v 1.2 2003-01-08 20:00:54 f Exp $ ! ! Copyright (c) 1994-2003 Flier ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: ON [#|+|-|^|&|@]CDCC_PLIST [-|^] [action] This is activated whenever Cdcc pack is listed. The parameters for this function are: $0 The pack number $1 Total number of files in this pack $2 Total number of bytes in this pack $3 Minimum DCC speed for this pack $4 Total number of gets for this pack $5- Pack description You can use this hook to redefine the CDCC PLIST look. scrollz-2.2.3.orig/help/on/msg0000644000175000017500000000164212251073235015767 0ustar madhackmadhack! $Id: msg,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: ON [#|+|-|^|&|@]MSG [-|^] [action] This is activated whenever you receive a MSG from someone. The parameters for the action are as follows: $0 nickname of person who sent the MSG $1- The message Warning: If you attempt to send a MSG from within a MSG action, it will be automatically converted to a NOTICE, as this will prevent MSG loops from being sent between two or more users. Also, you will not be permitted to send either MSGs or NOTICEs from within a NOTICE action. The irc protocol states that NOTICEs may not generate automatic replies so this will prevent loops of automatic messages from flooding the net. scrollz-2.2.3.orig/help/on/note0000644000175000017500000000124412251073235016144 0ustar madhackmadhack! $Id: note,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: ON [#|+|-|^|&|@]NOTE [-|^] [action] This is activated whenever you receive an irc NOTE. The parameters for the action are as follows: $0 nickname of person who sent the note $1 The user@hostname of the person who sent the note $2 The note flags (see HELP NOTE FLAGS) $3-7 The time the note was queued. $8 The server from which the note was queued $9- The message itself scrollz-2.2.3.orig/help/on/topic0000644000175000017500000000076012251073235016317 0ustar madhackmadhack! $Id: topic,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: ON [#|+|-|^|&|@]TOPIC [-|^]" channel" [action] This is activated whenever someone changes the topic $0 nickname of person who changed the topic $1 The channel on which the topic was changed $2- The new topic scrollz-2.2.3.orig/help/on/on0000644000175000017500000001245712251073235015623 0ustar madhackmadhack! $Id: on,v 1.5 2007-11-24 15:49:52 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: ON [#|+|-|^|&|@] [serial] [-|^] [action] The ON command lets you set up actions which will occur when certains events happen. For example, you can create "personalized" away messages for different individuals, periodic actions that occur at specific times, just to name a few. Note that using ON JOIN and ON LEAVE to automatically greet people entering or leaving your channel is extremely poor etiquette. See /HELP ETIQUETTE. ON [mode] [-|^] [action] ON [mode]# [-|^] [action] There are seven modes for each event. I've shown the # mode as a separate line because it requires a serial number. Different modes are specified by preceeding the event with one of the following characters: + Make event very noisy. It will display everything it does. - Make event quiet. It will not display any of it's actions. ^ Make event silent. Just like - above except it inhibits the normal event display as well. The only command that will cause output in this mode is the ECHO command. This can be used to redefine how event messages look. & Make the /ON local to only your own server. e.g. /on -&msg * echo One of mine Will echo "One of mine" ONLY when someone from my own current server sends me a message. If nothing matches in this list, then it will resort to the default ONs. Of if there was an /ON ^msg * echo :$0: $1- then it it will use that for anyone not on your server. @ This is like & except that it is exclusive to your server. It will NOT look at the default ONs if there is no match for your own server. # Allows you to assign a serial number to the specific such that you can have multiple ON's trigger of one . Further discussion of this below. Note this is a pound sign NOT a number. The serial number comes right after the . If no character is specified, you will be warned upon activation of an event (this is somewhere between the + and - modes). The parameter may be a single word, or a list of words surrounded by double quotes ("). The determines specifically which events of the given will cause the action to take place. The may contain wildcards, and the specifics of the parameter are dependant on the type. If the is preceeded by a -, that entry will be removed from the action list. For example: ON PUBLIC -BigCheese ON INVITE -"* +Har" The first will remove "BigCheese" from the PUBLIC list, the second will remove -"* +Har" from the INVITE list. You can remove all entries from a given event list by doing the following: ON - For example: ON MSG - removes all entries in the ON MSG list. If the is preceeded by a ^, then no action will be taken for a match for that event (this is used when you wish to exclude a nickname or list of nicknames from a larger wildcard match, see HELP ON FLOOD for an example). Added two new wildcards to the pattern matching system. '%' matches any sequence of characters except a space. '?' matches any single character. e.g. ON ^msg "bob % % blue" whatever would match a message from bob with two words and then the word 'blue'. The [action] parameter is that action that will occur when the specified event occurs which matches the given . The action parameter is parsed by the command parse in exactly the same way as an ScrollZ alias is parsed, using the same inline variable expansions (See ALIAS). Also, depending on the event that is activated, there will be certain values passed as arguments to the action, just as if they were arguments to an alias. You may use the $0, $1, $2... etc variables to expand out these arguments. The arguments passed for each event are described in the individual help files for each event. Here are some examples: ON -MSG *cheese* /NOTICE $0 No Cheese Messages Please! Whenver a MSG is received from anyone with a nickname with cheese in it, a NOTICE will be sent out to that user. This action will generate no noticeable effect to you (it is marked as "quiet"). ON MSG ^BigCheese If used with the first example above, this will prevent the action from being taken when a message is sent from BigCheese. Here is an example of how to redefine the way a message looks: ON ^MSG * /ECHO :$0: $1- All MSGs received from now on will look: :BigCheese: Hello! The same can be done with the other event types. IMPORTANT IMPORTANT: A full discussion of serial numbers is given in HELP ON serial_numbers as there is too much to place directly in this help file. Please read this one as it will help prevent collisions between different scripts. More examples are given for the individual event types. See Also: ON serial_numbers ircII programming ALIAS expressions (Special Cases is of particular relevance) scrollz-2.2.3.orig/help/on/idle0000644000175000017500000000111012251073235016104 0ustar madhackmadhack! $Id: idle,v 1.4 2002-02-21 17:16:31 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: ON [#|+|-|^|&|@]IDLE [-|^] [action] This is activated when ScrollZ has been idle for a period of time. Idleness is in minutes from the last keystroke. Parameters: $0 minutes idletime So, ON IDLE 5 /ECHO FINISHED will print out "FINISHED" after a period of 5 minutes without any key pressed. scrollz-2.2.3.orig/help/on/raw_send0000644000175000017500000000114712251073235017003 0ustar madhackmadhack! $Id: raw_send,v 1.4 2002-02-21 17:16:31 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: ON [#|+|-|^|&|@]RAW_SEND [-|^] [action] This is activated whenever a message is sent to a. IMPORTANT NOTE: ON RAW_SEND can and will seriously impede the operation of the client if not used correctly. If you use ON ^RAW_SEND to suppress message sending then the client will not send it to the server. Be careful. See Also: ON RAW_IRC scrollz-2.2.3.orig/help/on/raw_irc0000644000175000017500000000167512251073235016635 0ustar madhackmadhack! $Id: raw_irc,v 1.4 2002-02-21 17:16:31 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: ON [#|+|-|^|&|@]RAW_IRC [-|^] [action] This is activated whenever a message is received from a server which is not understood by ScrollZ. Under normal circumstances this will never happen, however if used in conjunction with /QUOTE, this ON function can be used to test new features being added to a server. This will normally be used in conjunction with /ALIAS IMPORTANT NOTE: ON RAW_IRC can and will seriously impede the operation of the client if not used correctly. If you use ON ^RAW_IRC to suppress a message then the client will ignore it internally as well. Various internal databases will be corrupted and such. Be careful. See Also: ALIAS QUOTE scrollz-2.2.3.orig/help/on/join0000644000175000017500000000107712251073235016142 0ustar madhackmadhack! $Id: join,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: ON [#|+|-|^|&|@]JOIN [-|^] [action] This is activated whenever someone joins a channel you are on. The parameters for the action are as follows: $0 nickname of person who joined the channel $1 the channel which was joined $2 the modes on the channel if this user joined [not portable] scrollz-2.2.3.orig/help/on/numeric0000644000175000017500000000170012251073235016636 0ustar madhackmadhack! $Id: numeric,v 1.4 2002-02-21 17:16:31 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: ON [#|+|-|^|&|@] [-|^] [action] This is activated whenever a numeric message of that number arrives. The legal range of values for are from 001 to 999. Numeric messages are special replies send by the server to the client in the raw irc protocol. They are useful to intercept if you are writing a service using ScrollZ. For more details about what numbers represent what messages from the server, please see the irc server source code. The parameters for the action are as follows: $0 name of the server who sent the message $1 number of numeric message $2- parameters (depends on the numeric message) See Also: SET SHOW_NUMERIC scrollz-2.2.3.orig/help/on/exec_errors0000644000175000017500000000124312251073235017516 0ustar madhackmadhack! $Id: exec_errors,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: ON [#|+|-|^|&|@]EXEC_ERRORS [-|^] [action] This is activate whenever an EXEC'd process produces output to its standard error channel. The process number is the number assigned by EXEC to the process (see HELP EXEC). The parameters to this function are: $0 The process number that activated the ON This may also use the process name. (See ON EXEC) $1- The line of output to stderr scrollz-2.2.3.orig/help/on/channel_synch0000644000175000017500000000061012251073235020007 0ustar madhackmadhack! $Id: channel_synch,v 1.2 2003-01-08 20:00:54 f Exp $ ! ! Copyright (c) 1994-2003 Flier ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: ON [#|+|-|^|&|@]CHANNEL_SYNCH [-|^] [action] This is activated whenever join to a channel has been synched. The parameters for this function are: $0 The channel name $1 Synch time scrollz-2.2.3.orig/help/on/channel_wallop0000644000175000017500000000067112251073235020170 0ustar madhackmadhack! $Id: channel_wallop,v 1.2 2003-01-08 20:00:54 f Exp $ ! ! Copyright (c) 1994-2003 Flier ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: ON [#|+|-|^|&|@]CHANNEL_WALLOP [-|^] [action] This is activated whenever notice was sent to channel operators. The parameters for this function are: $0 The channel name $1 User that sent the notice $2- The notice itself scrollz-2.2.3.orig/help/on/send_notice0000644000175000017500000000100312251073235017462 0ustar madhackmadhack! $Id: send_notice,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: ON [#|+|-|^|&|@]SEND_NOTICE [-|^] [action] This is activated whenever you send a NOTICE to someone else. The parameters for the action are as follows: $0 nickname of person to whom you sent the NOTICE $1- The message itself scrollz-2.2.3.orig/help/on/public0000644000175000017500000000161412251073235016456 0ustar madhackmadhack! $Id: public,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: ON [#|+|-|^|&|@]PUBLIC [-|^] [action] This is activated whenever you receive a message from someone on a channel which is also one of your current channels. The parameters for the action are as follows: $0 nickname of person who sent the message $1 channel sent to $2- the message Listen to what the phonemaster says ;) public_msg is for a message from someone NOT on the channel public_other is for a message on a channel that doesn't belong to a window... public is for a message on a channel that belongs to a window! See also: ON PUBLIC_OTHER ON PUBLIC_MSG scrollz-2.2.3.orig/help/on/signoff0000644000175000017500000000126112251073235016631 0ustar madhackmadhack! $Id: signoff,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: ON [#|+|-|^|&|@]SIGNOFF [-|^] [action] This is activated whenever someone on a channel you are on leaves irc. Normally, the display would show: *** Signoff: () but, of course, you can change this. If is your own nickname, then the action will be taken when you exit from irc. The parameters are as follows: $0 Nickname of person who left irc $1- Reason for the sign-off. scrollz-2.2.3.orig/help/on/notify_signoff0000644000175000017500000000107112251073235020220 0ustar madhackmadhack! $Id: notify_signoff,v 1.4 2002-02-24 10:59:36 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: ON [#|+|-|^|&|@]NOTIFY_SIGNOFF [-|^] [action] This is activated when someone on your notify list (see NOTIFY) signs off of irc and both the username and the hostname of the person who signed off are not known. The parameters to the action are: $0 Nickname of person who signed off scrollz-2.2.3.orig/help/on/mode0000644000175000017500000000114612251073235016124 0ustar madhackmadhack! $Id: mode,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: ON [#|+|-|^|&|@]MODE_CHANGE [-|^] [action] This is activated whenever someone on a channel you are on changes the mode for that channel (see HELP MODE). The parameters for this function are: $0 The nickname of the person who changed the mode $1 The channel on which the mode was changed $2- The new mode settings for that channel scrollz-2.2.3.orig/help/on/notify_signoff_uh0000644000175000017500000000111112251073235020707 0ustar madhackmadhack! $Id: notify_signoff_uh,v 1.2 2003-01-08 20:00:54 f Exp $ ! ! Copyright (c) 1994-2003 Flier ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: ON [#|+|-|^|&|@]NOTIFY_SIGNOFF_UH [-|^] [action] This is activated when someone on your notify list (see NOTIFY) signs off of irc and both the username and the hostname for the person who signed off are known. The parameters to the action are: $0 Nickname of person who signed off $1 Username of person who signed off $2 Hostname of person who signed off scrollz-2.2.3.orig/help/on/invite0000644000175000017500000000077012251073235016500 0ustar madhackmadhack! $Id: invite,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: ON [#|+|-|^|&|@]INVITE [-|^] [action] This is activated whenever you receive an INVITE. The parameters for the action are as follows: $0 nickname of person who invited you $1 the channel to which you are being invited scrollz-2.2.3.orig/help/on/flood0000644000175000017500000000272112251073235016303 0ustar madhackmadhack! $Id: flood,v 1.4 2002-02-21 17:16:31 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: ON [#|+|-|^|&|@]FLOOD [-|^] [action] The FLOOD type is activated whenever someone sends a lot of information very rapidly to you, your channel, or the system at large (ie: a wallop). Usually, this is caused when someone dumps a file to your channel or to you. The parameters for this are: $0 The nick of the flooder $1 The type of flooding being done $2- The content of the flooding message General use for ON FLOOD is as follows: ON ^FLOOD * This will automatically prevent flooding messages from being displayed and automatically disable itself when the flooding has stopped. If you use services like IRCIIHelp or NickServ, these can appear to ScrollZ as floods, but if you add to following ON lines: ON FLOOD ^IRCIIHelp ON FLOOD ^NickServ These will not be treated as floods and will let their messages through. Warning: There are occasions where ON FLOOD can be inadvertantly activated (such as after a net-burp, or after you have ^Z'd for a while). Therefore, I strongly advise against using KILL or even KICK as the action taken by an ON FLOOD. See Also: SET FLOOD_AFTER SET FLOOD_RATE SET FLOOD_USERS SET FLOOD_WARNING scrollz-2.2.3.orig/help/on/help0000644000175000017500000000071212251073235016126 0ustar madhackmadhack! $Id: help,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: ON [#|+|-|^|&|@]HELP [-|^] [action] ON HELP is activated for each line of the HELP command that is displayed. There is probably no other use for this except by IRCIIHelp. So ignore it. scrollz-2.2.3.orig/help/on/list0000644000175000017500000000105612251073235016153 0ustar madhackmadhack! $Id: list,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: ON [#|+|-|^|&|@]LIST [-|^] [action] When LIST is activated any outputline will be modified by [action]. For example: ON LIST "* 5 *" /ECHO NUMBER OF USERS: 5 The parameters are as follows: $0 channel name $1 number of users on channel $2- topic of channel scrollz-2.2.3.orig/help/on/connect0000644000175000017500000000100312251073235016621 0ustar madhackmadhack! $Id: connect,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: ON [#|+|-|^|&|@]CONNECT [-|^] [action] This is activated whenever you receive a connect to a server. The parameters for the action are as follows: $0 The name of the server you connected to. $1 The port number you connected to. scrollz-2.2.3.orig/help/on/notify_signon0000644000175000017500000000105212251073235020061 0ustar madhackmadhack! $Id: notify_signon,v 1.4 2002-02-24 10:59:36 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: ON [#|+|-|^|&|@]NOTIFY_SIGNON [-|^] [action] This is activated when someone on your notify list (see NOTIFY) signs onto irc and the username and the hostname of person who signed on are not known. The parameters to the action are: $0 Nickname of person who signed on scrollz-2.2.3.orig/help/on/input0000644000175000017500000000222712251073235016340 0ustar madhackmadhack! $Id: input,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: ON [#|+|-|^|&|@]INPUT [-|^] [action] This is activated whenever you send a line of input to either a channel or a query user. This means that if you type in a message and hit return, ON INPUT can be activated. ON INPUT can catch and process any input line. Note: The fact that you can capture any line and suppress further normal processing means you can completely disable the client by accident or on purpose. Don't use this function if you don't know exactly what you are trying to do. Parameters are: $0 Text of line If you use ^ to suppress the processing of the line, you can do your own pre-processing and send the line back to the client with a call to SENDLINE. Note $[1]0 is the first character of the first word of the line. Also, the $T var can show you who or what you're talking to at any given moment. See Also: SET INPUT_PROTECTION ALIAS special scrollz-2.2.3.orig/help/on/server_notice0000644000175000017500000000134712251073235020052 0ustar madhackmadhack! $Id: server_notice,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: ON [#|+|-|^|&|@]SERVER_NOTICE [-|^] [action] This is activated whenever you receive a message from the server as a NOTICE. This is basically anything beginning with "***" which is sent to you by the server, and the MOTD. The parameters for the action are as follows: $0 The name of the server which sent you the message $1 The first word of the text sent - probably "***" or "MOTD" or the name of a channel, eg, "&LOCAL" $2- The message scrollz-2.2.3.orig/help/on/leave0000644000175000017500000000104212251073235016267 0ustar madhackmadhack! $Id: leave,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: ON [#|+|-|^|&|@]LEAVE [-|^] [action] This is activated whenever someone leaves a channel you are on. The parameters for the action are as follows: $0 nickname of person who left the channel $1 the channel which which was left $2 the optional part message scrollz-2.2.3.orig/help/on/public_other0000644000175000017500000000116412251073235017657 0ustar madhackmadhack! $Id: public_other,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: ON [#|+|-|^|&|@]PUBLIC_OTHER [-|^] [action] This is activated whenever you receive a message from someone on a channel that you are also on which is not one of your current channels. The parameters for the action are as follows: $0 nickname of person who joined the channel $1 name of channel message was sent to $2- the message scrollz-2.2.3.orig/help/on/cdcc_plist_footer0000644000175000017500000000102112251073235020655 0ustar madhackmadhack! $Id: cdcc_plist_footer,v 1.2 2003-01-08 20:00:54 f Exp $ ! ! Copyright (c) 1994-2003 Flier ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: ON [#|+|-|^|&|@]CDCC_PLIST_FOOTER [-|^] [action] This is activated after Cdcc pack is listed. The parameters for this function are: $0 Total number of packs $2 Value of CdccStats $4 Total number of bytes received $3 Total number of bytes sent You can use this hook to redefine the CDCC PLIST look. scrollz-2.2.3.orig/help/on/wall0000644000175000017500000000066112251073235016140 0ustar madhackmadhack! $Id: wall,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: ON [#|+|-|^|&|@]WALL [-|^] [action] This is activated whenever you receive a WALL (a global message from an irc operator). Note: WALL is dead.. Don't even bother. scrollz-2.2.3.orig/help/on/exec_exit0000644000175000017500000000104512251073235017153 0ustar madhackmadhack! $Id: exec_exit,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: ON [#|+|-|^|&|@]EXEC_EXIT [-|^] [action] This is activated when any EXEC'd process exits. The parameters are: $0 Process number or logical name (if assigned) $1 Signal that killed the process (or 0 if it exited normally) $2 Exit code for process (non-zero only if $1 is 0) scrollz-2.2.3.orig/help/on/ctcp0000644000175000017500000000225712251073235016135 0ustar madhackmadhack! $Id: ctcp,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: ON [#|+|-|^|&|@]CTCP [-|^] [action] This event is activated whenever someone sends a client-to-client protocol (CTCP) request. Certain CTCP types are have predefined actions that you can't override with the ^, but you can use the to create your own CTCP protocols. The parameters are: $0 nick of person who send CTCP $1 who the ctcp was to (either your nick or a channel) $2 The CTCP command word $3- Any additional arguments For example, if you want to set up a new ctcp function called CHEESE, you would do: ON -CTCP "* * CHEESE" CTCP $0 $2 Say Cheese! Using the /CTCP in an ON CTCP automatically sends the proper reply format. If someone no send you a: CTCP CHEESE you will see: *** CTCP CHEESE from : and they will see: *** CTCP REPLY CHEESE from : Say Cheese! See Also: CTCP ON CTCP_REPLY scrollz-2.2.3.orig/help/on/names0000644000175000017500000000101112251073235016272 0ustar madhackmadhack! $Id: names,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: ON [#|+|-|^|&|@]NAMES [-|^] [action] When NAMES is activated any outputline will be modified by [action]. For example: ON NAMES * /echo $0 $1- The parameters are as follows: $0 name of the channel $1 all users on this channel scrollz-2.2.3.orig/help/on/wallop0000644000175000017500000000114612251073235016476 0ustar madhackmadhack! $Id: wallop,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: ON [#|+|-|^|&|@]WALLOP [-|^] [action] This is activated whenever you receive a WALLOP (a message sent to all operators on irc). The parameters for the action are as follows: $0 Sender $1 + if sender is an oper, - if sender is a normal user, S if sender is a server $2- text of message scrollz-2.2.3.orig/help/on/join_me0000644000175000017500000000053012251073235016614 0ustar madhackmadhack! $Id: join_me,v 1.2 2003-01-08 20:00:54 f Exp $ ! ! Copyright (c) 1994-2003 Flier ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: ON [#|+|-|^|&|@]JOIN_ME [-|^] [action] This is activated whenever you join a channel. The parameters for this function are: $0 The channel name scrollz-2.2.3.orig/help/on/dcc_chat0000644000175000017500000000136212251073235016730 0ustar madhackmadhack! $Id: dcc_chat,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: ON [#|+|-|^|&|@]DCC_CHAT [-|^] [action] This is activated whenever you receive a DMSG from someone. The parameters for the action are as follows: $0 nickname of person who sent the DMSG $1- The message Warning: As DMSG is outside the IRC protocol, it allows you to send a DMSG from an ON DCC_CHAT. This has the potential to create loops. If you intend to send a DMSG from DCC_CHAT you are responsible for ensuring that it will not create a loop. scrollz-2.2.3.orig/help/on/timer0000644000175000017500000000167012251073235016322 0ustar madhackmadhack! $Id: timer,v 1.3 2002-02-19 19:43:28 f Exp $ ! ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, ! and other ircII contributors. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: ON [#|+|-|^|&|@]TIMER [-|^]