scrollz-2.1.orig/0000755000176500017650000000000011314347602013562 5ustar madhackmadhackscrollz-2.1.orig/aclocal.m40000644000176500017650000000074006576006340015430 0ustar madhackmadhackdefine([AC_FIND_PROGRAM],dnl [if test x$3 = x; then _PATH=$PATH; else _PATH=$3; fi if test -z "[$]$1"; then # Extract the first word of `$2', so it can be a program name with args. set dummy $2; word=[$]2 AC_MSG_CHECKING(for $word) IFS="${IFS= }"; saveifs="$IFS"; IFS="${IFS}:" for dir in $_PATH; do test -z "$dir" && dir=. if test -f $dir/$word; then $1=$dir/$word break fi done IFS="$saveifs" fi AC_MSG_RESULT([$]$1) AC_SUBST($1)dnl ])dnl scrollz-2.1.orig/include/0000755000176500017650000000000011314347602015205 5ustar madhackmadhackscrollz-2.1.orig/include/ircterm.h0000644000176500017650000002044710521641037017030 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)); 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.1.orig/include/status.h0000644000176500017650000000435007607101566016712 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.1.orig/include/help.h0000644000176500017650000000320706576006340016315 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.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.1.orig/include/server.h0000644000176500017650000002221110603226150016654 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_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 *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 */ #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 *, int)); void build_server_list _((char *)); int connect_to_server _((char *, int, 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 *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.1.orig/include/ircaux.h0000644000176500017650000000637107607101566016667 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.1.orig/include/mystructs.h0000644000176500017650000000602611313704146017436 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.1.orig/include/if.h0000644000176500017650000000370406662107445015771 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.1.orig/include/ignore.h0000644000176500017650000000560707647307510016661 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_ALL (IGNORE_MSGS | IGNORE_PUBLIC | IGNORE_WALLS | \ IGNORE_WALLOPS | IGNORE_INVITES | IGNORE_NOTICES | IGNORE_NOTES | \ IGNORE_CTCPS | IGNORE_CRAP | IGNORE_PART | IGNORE_JOIN) /****************************************************************************/ #define IGNORED 1 #define DONT_IGNORE 2 #define HIGHLIGHTED -1 #endif /* __ignore_h_ */ scrollz-2.1.orig/include/stack.h0000644000176500017650000000422106576006340016467 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.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.1.orig/include/ctcp.h0000644000176500017650000000457707607101566016333 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.1.orig/include/fish.h0000644000176500017650000004003410765525147016323 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.1.orig/include/cdcc.h0000644000176500017650000000300607317564503016262 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 */ int 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 */ int 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.1.orig/include/log.h0000644000176500017650000000402707607101566016151 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.1.orig/include/scandir.h0000644000176500017650000001011307601374032016776 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.1.orig/include/window.h0000644000176500017650000001305111115002660016654 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.1.orig/include/whois.h0000644000176500017650000001022211012325764016504 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_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.1.orig/include/translat.h0000644000176500017650000000372110425143217017207 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.1.orig/include/parse.h0000644000176500017650000000345507146054265016507 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.1.orig/include/notify.h0000644000176500017650000000617007607101566016701 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.1.orig/include/debug.h0000644000176500017650000000366406576006340016462 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.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.1.orig/include/whowas.h0000644000176500017650000000357707151720512016701 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.1.orig/include/input.h0000644000176500017650000000603710425143217016521 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.1.orig/include/history.h0000644000176500017650000000377107607101566017076 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.1.orig/include/defs.h.in0000644000176500017650000002524011313676451016715 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 /****************************************************************************/ scrollz-2.1.orig/include/lastlog.h0000644000176500017650000000563307607101566017041 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.1.orig/include/menu.h0000644000176500017650000000442707607101566016340 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.1.orig/include/myssl.h0000644000176500017650000000124410603226150016520 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.1.orig/include/irc.h0000644000176500017650000002523211313707552016142 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 "Get ready to fly" #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.1.orig/include/rijndael-alg-ref.h0000644000176500017650000000175607423105037020472 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.1.orig/include/irc_std.h0000644000176500017650000001421010521641037017001 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.1.orig/include/config.h0000644000176500017650000003456011233625152016632 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_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.1.orig/include/output.h0000644000176500017650000000431711115002660016712 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.1.orig/include/exec.h0000644000176500017650000000655507607101566016324 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.1.orig/include/crypt.h0000644000176500017650000000475507607101566016541 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.1.orig/include/edit.h0000644000176500017650000000706507607101566016322 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.1.orig/include/queue.h0000644000176500017650000000322106576006340016505 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.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.1.orig/include/struct.h0000644000176500017650000003546210521641037016712 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; int 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.1.orig/include/blowfish.h0000644000176500017650000000103311313701271017163 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.1.orig/include/vars.h0000644000176500017650000002364011313701271016331 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, 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, 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 ******************************/ TRUNCATE_PUBLIC_CHANNEL_VAR, /****************************************************************************/ UNDERLINE_VIDEO_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.1.orig/include/buffer.h0000644000176500017650000000510510521641037016626 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.1.orig/include/flood.h0000644000176500017650000000105706576006340016471 0ustar madhackmadhack/* * flood.h: header file for flood.c * * $Id: flood.h,v 1.1.1.1 1998-09-10 17:31:12 f Exp $ */ #ifndef __flood_h_ #define __flood_h_ int check_flooding _((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.1.orig/include/dh1080.h0000644000176500017650000000171111313701271016255 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.1.orig/include/dcc.h0000644000176500017650000001045707607101566016125 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.1.orig/include/hold.h0000644000176500017650000000401107607101566016307 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.1.orig/include/mail.h0000644000176500017650000000341407607101566016311 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.1.orig/include/keys.h0000644000176500017650000000726611225677575016364 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.1.orig/include/screen.h0000644000176500017650000000722111115002660016626 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.1.orig/include/names.h0000644000176500017650000001237710425143217016471 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.1.orig/include/newio.h0000644000176500017650000000474410603226150016502 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.1.orig/include/rijndael-api-ref.h0000644000176500017650000001031207423105037020464 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.1.orig/include/cast_sbox.h0000644000176500017650000006206207423105037017351 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.1.orig/include/numbers.h0000644000176500017650000000353207607101566017043 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.1.orig/include/myvars.h0000644000176500017650000002000310662560040016670 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; #endif /* _myvars_h_ */ scrollz-2.1.orig/include/alias.h0000644000176500017650000000602107607101566016455 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.1.orig/include/hook.h0000644000176500017650000001377610521641037016332 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.1.orig/include/funny.h0000644000176500017650000000422307607101566016525 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.1.orig/include/celerity.h0000644000176500017650000000074606616653142017215 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.1.orig/include/list.h0000644000176500017650000000467707607101566016356 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.1.orig/doc/0000755000176500017650000000000011113545225014325 5ustar madhackmadhackscrollz-2.1.orig/doc/INSTALL.ScrollZ0000644000176500017650000001346107442446177016772 0ustar madhackmadhack$Id: INSTALL.ScrollZ,v 1.3 2002-03-09 17:55:11 f Exp $ to compile ScrollZ o using configure: - run the `configure' script in the top directory. eg: % cd ScrollZ-VERSION.NUMBER % ./configure if you are using an old version of system v, you might need `sh ./configure'. - this script tries to guess various things about your system that are important to it compiling. it creates various files in this process. configure takes a couple of minutes to run. WARNING: gnu sed version 2.05 (and maybe 2.04 -- i don't know) may not function properly with this configure script. gnu sed version 2.03 does. please do not send me a bug report if you are using gnu sed version 2.05 (such as linux systems), and configure fails to run correctly. also, please do not send me a bug report about this notice if it does work correctly for you. On fairly recent Linux systems the above warning does not apply. - when this has finished, you might want to check the Makefile for the places ScrollZ will be installed. the defaults are /usr/local/share, /usr/local/bin and /usr/local/man. you can either do `make prefix=/opt' or set it with configure, by calling configure with the `--prefix=/opt' switch. - you can set the compile-time paranoid switch (currently turns of CTCP VERSION and FINGER commands returning host system, and user details) with the `--with-paranoid' flag to configure. - you can set the various ScrollZ compile-time flags in the include/defs.h file (after the PATCHED by Flier line) - optionally you can do the above step (the ScrollZ compile time flags) by compiling the SZdist.c program. it is a rather simple program and thus simple `gcc -o SZdist SZdist.c' should suffice. run the program with `./SZdist' and you'll be presented with full screen menu which hopefully you know how to use. optionally the SZdist program can be given the flags on command line which comes very handy if you want to build the ScrollZ program with the same flags you used for older version. simply type `/eval echo $J' and press enter in your old ScrollZ binary and client will print something similar to: `1.8l [AEcTsdPYlN OV givJxZ OPER]'. just copy&paste the string between brackets like this: `./SZdist "AEcTsdPYlN OV givJxZ OPER"' and client will be configured the same way that old version was. note that quotes in the above command line ARE important. o to compile ScrollZ, type `make' in top directory. this will compile the `scrollz' program that resides in the source sub directory. o to compile ircII suplementary programs type `make everything' in top directory. this will compile the `ircflush', `ircio', and `wserv' programs that reside in the source sub directory. o once the programs are compiled, you can install them with `make installeverything'. this will install all the binaries and the ScrollZ manual page. o you can now delete the object files and binaries from your object directory with `make clean'. `make distclean' will also delete any file that `configure' created. this is useful for then using the same sources to compile on a different architecture. notes on SOCKS support. o in order to compile in SOCKS support, you must use `configure' and specify the `--with-socks' switch. you can optionally specify a path (e.g. `--with-socks=/usr/local/lib/libsocks.a'). otherwise, configure will look for the SOCKS library only in the directory specified by the `--prefix' option (`/usr/local/lib' by default). o an irc server getting a connection through a SOCKS proxy will not be able to do RFC1413 identification properly. if you have an identd running on the SOCKS proxy host, the irc server will incorrectly identify all users as `root'. o SOCKS support is incompatible with ScrollZ's support for non-blocking connects. if you don't know what this means, don't worry about it. notes on portability and bugs. o if you encounter a bug, send the bug report with as much details as possible to the ScrollZ mailing list. if you know how to fix the bug you are more than welcome to do so and send the patch along with your bug report. note that when sending bugs usually developers can't do much if you don't tell them how to reproduce the bug. o there is a bug in the compiler shipped with bsdi's operating sytem that causes ircii to fail to compile. if you use the `gcc2' compiler rather than `gcc' or `cc' this problem is alleviated. complain to bsdi about their broken compiler. o some exotic mips machines are not yet accounted for in the configuration process, and must have certain things set specially in the Makefile (these are noted in the Makefile itself). o apparently you will get errors of "__inet_addr" or "__inet_ntoa" as being undefined, if you have BIND version 8 installed into /usr/local (the default) and you use gcc. this is caused by the annoyingly stupid defines in the BIND provided header file, which gcc will happily pick up from /usr/local/include. the solution to this is to add -lbind to the LIBS= line in the Makefile, once configure has run. o on solaris systems with libresolv patches incorporated may see instability (crashes) in the client. (sunos 5.5.1 patches 103680-01, 103683-01, 103686-01, 103743-01, and 103663-01). o Under NEXTSTEP, after you have run configure, you can change the CFLAGS and add "-arch m68k -arch i486 -arch hppa -arch sparc" (without the quotes) to create a multiple architecture binary for all supported hardware platforms. scrollz-2.1.orig/doc/ScrollZ.doc0000644000176500017650000007711707476720117016435 0ustar madhackmadhack The ScrollZ IRC Client User Guide by JustMe_ Updated by Flier $Id: ScrollZ.doc,v 1.11 2002-06-03 16:58:55 f Exp $ This document describes how to install and use ScrollZ IRC client. It is the first document which a new ScrollZ user should read to get things started. 0. Contents 1. Introduction 1.1. Legal aspects 1.2. Purpose of this document 1.3. New versions of this document 1.4. Quoting and stuff 2. What is ScrollZ anyway ? 3. Installing it 3.1. Setting up ScrollZ directory 3.2. Setting up '~/.scrollzrc' 3.3. Coexistence with other IRC clients 3.4. Choosing compile time options 3.5. Setting up environment variables 3.6. Setting up things under Windows 4. ScrollZ features 4.1. 'ScrollZ.save' file 4.2. Friends + Shit list 4.3. Notify list 4.4. Channel protection 4.5. Netsplits, nethacks and netjoins 4.6. DCC - sending and receiving files, dcc chat 4.7. Logging 4.8. Other useful hints 5. ScrollZ key bindings 6. Things not found in ircII 6.1. New /set variables 6.2. Additional status_format modifiers 7. Additional stuff for scripters 7.1. $ functions 7.2. ON hooks 8. Miscellaneous stuff 8.1. How to enable DCCs if you are behind a firewall 8.2. How to connect via bouncer to multiple IRC networks 8.3. How to fix terminal size in screen 1. Introduction 1.1. Legal aspects This document is provided `as is'. I put great effort into writing it as accurately as I could, but you use the information contained in it at your own risk. In no event shall I be liable for any damages resulting from the use of this work. 1.2. Purpose of this document ScrollZ is an advanced IRC client based on ircII client. It was developed on Linux, but can be compiled on variety of Unix platforms. This document assumes that you have heard of and know about ScrollZ, and now want to sit down and use it. Those of you who don't know what IRC is shouldn't be reading this document, really. 1.3. New versions of this document New versions of the ScrollZ IRC Client User Guide will be periodically updated on ScrollZ home pages. 1.4. Quoting and stuff To make things more understandable I opted to enclose all multi word phrases in pairs of '', like 'This is really stupid.'. So if I say one has to type 'blah blah', they should really type blah blah without ' characters. This also avoids confusion when phrase ends with '.' and people are desperately trying to type the '.' character as well. 2. What is ScrollZ anyway ? Basically ScrollZ is ircII client plus it adds a lot of features found in all sorts of scripts. You should be aware that the main difference between these scripts and ScrollZ is the code - whereas ircII scripts take a lot of disk and memory space and run slow, ScrollZ only takes a couple of extra kilobytes compared to stock ircII client yet runs faster than any ircII script. This was accomplished by using C code instead of ircII scripting language. This reduces memory and CPU usage and code tends to run way faster. Besides that, scripts also take long time to load since most of them are larger than 100k in size. Here is a list of most important features : * supports colors * internal userlist and shitlist * a lot of things are stored in memory, so we don't have to contact server at all in some cases * improved file exchange (based on Sheik's cdcc.c) * improved cosmetics (based on TooLie Box by Zakath) * improved flood protection * adds channel protection * comes with user-friendly options like tab key, auto reply and URL catcher * logs events important to you when you're away (customizable) * adds OperVision (optional; coded by Zakath) * supports virtual IP As I have already said ScrollZ _is_ ircII so everything that can be done in ircII can be done in ScrollZ too and all ircII scripts work without a problem. NOTE: there is no ICB support nor DCC TALK support in ScrollZ so the ircII ICB or DCC TALK related stuff does NOT work! 3. Installing it 3.0. IMPORTANT Read INSTALL.ScrollZ file located in doc subdirectory. 3.1. Setting up ScrollZ directory By default the first time you run the client it will create directory named '~/.ScrollZ' in your home directory together with an empty ScrollZ.save file. You can use another directory if you wish so, make sure you 'set load_path' in that case. The default mode for newly created '~/.ScrollZ' directory is 700 so other users can not read your ScrollZ files. You should put files like ScrollZ.addon and/or your scripts in there. Scripts can be placed in any other directory as well but that will require path to script to be supplied in '/load' command. 3.2. Setting up '~/.scrollzrc' Second thing to do is to create file called '~/.scrollzrc'. You can use your favourite editor to create one. It should contain at least the following line: 'set load_path ~/.ScrollZ'. In reality one doesn't have to set load_path if their ScrollZ dir is ~/.ScrollZ because the client itself will do that for them. Of course one has to type in another directory if they opted to use another directory for ScrollZ stuff in step 3.1. If you want to use ScrollZ help files and keep them in directory other than /usr/local/share/scrollz/help/ be sure to add something like 'set help_path /home/user/irc/help/'. 3.3. Coexistence with other IRC clients ScrollZ will co-exist with other IRC clients such as ircII, Ctoolz or BitchX. Main thing how to accomplish this is by keeping each IRC client's files in their own directory. And as they can all use their own '~/.xxxrc' file users can safely use all of them at the same time. 3.4. Choosing compile time options I assume the source for your copy of ScrollZ client is one of the people from ScrollZ distro team. Now maybe they haven't notified you about this, but ScrollZ can be compiled in many ways which either add or remove some of the functionality. If you want to customize your copy of ScrollZ you will have to persuade your distro person to compile it for you. I leave it up to you to think of the way to do that ;^). Here's list of compile time options - some of them useful some of them not: Option Flag Description ------------------------------------------------------------------ WANTANSI A enables colors EXTRAS E adds a lot of commands like : autoinv, bki, bkt, dirlmk, dirlnk, dobans, llook, llookup, massdv, massv, modelock, modeunlock, msay and ranlk. BETTERTIMER T timer accurate to 0.01s (default accuracy is 1s) GENX G different look of whois NEWCSCAN C formatted cscan, similar to that of BitchX ACID I invite on notify for non +i channels SORTEDNICKS N sorted nicks in cscan SCKICKS S scatter (funny) kicks OPERVISION OV for IRC Opers CELE cy compile with celerity in client HYPERDCC D compile with HyperDCC (faster DCC) by Annatar VILAS V no ScrollZ trademarks in kicks and away msgs JIMMIE J better newhost command CTCPPAGE P CTCP PAGE for friends by Bighead TDF X different msgs, chat msgs and CDCC COUNTRY Y adds $country() function OGRE Z different OV cosmetics OPER OPER for IRC Opers You can check which options was your copy of ScrollZ compiled with by typing '/version' and look for string enclosed in []'s. Scripts can check for availability of certain features by examining the value of '$J'. Upper case letters mean that option was disable while lower case letters denote disabled options. 3.5. Setting up environment variables ScrollZ is aware of following environment variables: * IRCNICK - sets nick * IRCSERVER - sets servers to use * IRCHELP - sets path to ircII help directory * IRCLIB - sets path to irc lib directory * IRCUMODE - sets user mode * IRCNAME - sets gecos (shown in whois) * IRCPATH - much like 'set load_path' * IRCHOST - sets virtual host * IRCUSER - sets username (if your ident allows it) * IRCRC - sets rc file (instead of .scrollzrc) * IRCQUICK - sets quickrc file (instead of .scrollzquick) * DCCHOST - IP address for DCC sends * VIRTIP - sets IP address for client (system wide) * HOME - sets home directory * MAIL - sets mail file * TERM - sets terminal type * USER - sets username (if your ident allows it) Usually they can be set in ~/.profile file like this : a) for bash, ksh, zsh and sh users : IRCNICK="Nick" IRCSERVER="irc.server.com:port irc.server.org[:port]" ... export IRCNICK IRCSERVER b) csh and tcsh users : setenv IRCNICK "Nick" 3.6. Setting up things under Windows It is possible to compile and run ScrollZ under Windows using excellent CygWin product which is available for free from Cygnus. The compile process is exactly the same as under any U*IX platform using the configure script (see above for details). Once you have compiled the binary, create a directory that will hold ScrollZ : d: cd \ mkdir ScrollZ and copy scrollz.exe to this newly created directory. Optionally you can also copy the help directory to this directory. Now create a batch file called scrollz.bat that will be used to run the client with the following content : set HOME=/cygdrive/d/ScrollZ set IRCPATH=/cygdrive/d/ScrollZ set IRCHELP=/cygdrive/d/ScrollZ/help set IRCNICK=myircnick set IRCSERVER=irc.server.com:port scrollz.exe Note that you should replace d in the batch file above with the drive letter that holds your ScrollZ directory. Now you should be able to run ScrollZ by executing scrollz.bat. 4. ScrollZ features To start with let me just say I'm not going to explain every possible option out there but will rather focus on basic concepts of using it. Best way to learn all of its options is (like always) to use it for real - that way you will learn all about it. We will only deal with ScrollZ commands in this document and little or none attention will be payed to regular ircII commands. And remember, '/help' is your friend. 4.1. 'ScrollZ.save' file When you first start ScrollZ you should type '/sve' which will save all current options to 'ScrollZ.save' file located in first directory found in load_path variable. 'ScrollZ.save' file is a plain text file - thus it can be edited with every editor. But you will hardly ever need to edit it by hand, most of the settings can be changed via ScrollZ commands. Here are exceptions to this rule : * DEFSERVER - sets default server (for /S command) * DEFSIGNOFF - sets default sign-off message * DEFSETAWAY - sets default away reason * DEFSETBACK - sets default back reason * DEFUSERINFO - sets default user info reply (CTCP) * DEFFINGER - sets default finger reply (CTCP) * DEFK - sets default kick message * DEFBK - sets default ban-kick message * DEFBKI - sets default ban-kick-ignore message * DEFBKT - sets default ban-kick-time message * DEFFK - sets default filter-kick message * DEFLK - sets default lame-kick message * DEFABK - sets default auto-ban-kick message * DEFSK - sets default scatter-kick message * DEFKILL - sets default kill message You can edit 'ScrollZ.save' file in order to change those options. Don't forget to do '/reload' after editing file for changes to take effect. 4.2. Friends + Shit list Why friends list ? Why shit list ? It started when people wanted to "keep" control of channels they were hanging in and having friends and shit list helped them in a big way. People that are on your friends list can benefit from it by being auto-opped, auto-voiced etc. while shit list makes sure that those who you hate stay away from your channel(s). ScrollZ's user list is channel aware - meaning that user can have separate friends list entry for every channel you want. Commands that control friends list are : addf - add person to friends list addfflag - add flag to friends' list entry addfchan - add channel to friends' list entry frlist - sets friends list on/off listf - list people on friends list remf - remove person from friends list remfflag - remove flag from friends' list entry remfchan - remove channel from friends' list entry Commands that control shit list are : addbk - add person to shit list bklist - sets shit list on/off listbk - list people on shit list rembk - remove person from shit list Also be sure to read '/help levels' for more info on flags. 4.3. Notify list ScrollZ can notify you when certain nicks signs on/off. To select which nicks do you want to be notified about use this commands : addn - add person to notify list listn - list people on notify list remn - remove person form notify list ntfymode - toggle brief or verbose mode of '/listn' 4.4. Channel protection You can make ScrollZ "protect" channel from nasty stuff like mass deop, mass kick and the likes with this commands : dprot - sets deop protection on/off deops - sets deop protection sensor deopt - sets deop protection time kprot - sets kick protection on/off kicks - sets kick protection sensor kickt - sets kick protection time nprot - sets nick flood protection on/off nicks - sets nick flood protection sensor nickt - sets nick flood protection time kickonflood - sets kick-on-flood protection on/off addw - add word to word kick list listw - list words on word kick list remw - remove word from word kick list idlekick - kick idle users from a channel idletime - sets idle kick timeout 4.5. Netsplits, nethacks and netjoins This is one of the features where ScrollZ really excels. It is entirely controlled via '/nhprot' command - so '/help nhprot' for more info. If you have this option turned on you better make sure your userlist is pretty complete (most of regular channel ops should be on it) or else you will not be very popular channel op. 4.6. DCC - sending and receiving files, dcc chat ScrollZ is based on ircII and it has the same command as ircII for controlling DCC stuff (that is '/dcc'). But it also features '/cdcc' command which is by far more powerful and user friendly. So I suggest you to forget about '/dcc' and use only '/cdcc' + '/chat' and '/nochat'. Again everything is explained in help, so let me just remind you of '/help cdcc get' which will show you examples on how to use that fancy filter for selecting dccs. And be careful with '/cdcc autoget' being turned on! Oh yeah, some people don't like to see others flooding channels with their offer lists - so better set '/cdcc channels' and '/cdcc ptime'. 4.7. Logging Apart from ircII logging ScrollZ has logging on its own too. For more info try '/help awaysave'. Normally ScrollZ would log events to 'ScrollZ.away' only if you're set away - but you can change this with '/logon' command. You can set the file to log to by modifying the AWAY_FILE variable (example: '/set away_file ~/.away.log'). 4.8. Other useful hints Small things that will make your life with ScrollZ easier are : * get used to Tab key - what the hell is that you ask ? Well let me show how to use it. Say you want to send a file to 3 people from your current channel. Go and type '/cdcc send file1 file2, n1 n2 n3' where "n1", "n2" and "n3" are first two letters of first, second and third nick, respectively. Get it ? It expands the last word to nick if it finds a match for first two letters - if more nicks start with same prefix simply press Tab few more times. Of course you don't need to type first two letters of a nick, it can be any number (except 0 of course). You can complete channel names in much the same way. * Tab key, it acts much like ircII tabkey script - when someone sends you a msg his/her nick gets stored into an array and if you want to reply to that message just press Tab. ScrollZ will store up to 10 nicks for you. WARNING: this behaviour only works if your input line is empty! * turn auto-completion on ('/autocompl on :' for example) and learn how to use it * use Ctrl+R key - did you notice different color of nick on public messages which had your nick in them ? That's auto reply and Ctrl+R cycles through last 5 people's nicks that have triggered your auto-reply. You can change your autoreply word with '/repword' command. Hint : having '/repword' set to some very common word (like "just") will fill your away file with meaningless messages (for you) if you have AREPLY in your '/awaysave' setting. So add lines like this : 'alias setaway {^repword justme_ ;//setaway}' and 'alias setback {//setback ;^repword just,jm}' to '~/.scrollzrc'. * you hang in more channels and want each one in its own window ? Here's little alias to help you : alias wc { if ([$0]==[]) { echo $scrollz_string Usage : /WC [#]channel } { if ([$left(1 $0)]!=[#]) {^assign winchan #$0} {^assign winchan $0} echo $scrollz_string Creating new window for channel $winchan window new bind $winchan j $winchan window hide } ^assign -winchan } You also want channels to be in the same window all the time ? Ok add this to your '~/.scrollzrc' file : ^on -join_me "#chan1" window swap 1 bind $0 ^on -join_me "#chan2" window swap 2 bind $0 ^on -join_me "#chan3" window swap 3 bind $0 This will bind #chan1 to window 1, #chan2 to window 2 and #chan3 to window 3. You have bot on channel and want to identify to it automatically without your intervention ? Add this to '~/.scrollzrc' : on -channel_synch "#chan" { if ([$ischanop(botnick $0)]==[1] && [$checkuser($uh(botnick) $0)]!=[-1]) { m botnick identify password m botnick op } } Change botnick to your bot's nick and make sure bot is on your friends list (flags don't matter). * if you want ScrollZ to automatically join certain channels use '/ajoin' command like : '/ajoin auto #chan1,#chan2' - ScrollZ will try to join #chan1 and #chan2 every 10 minutes (if you haven't already joined those channels of course). * if you don't want to be automatically set away after certain amount of time elapses without your activity do '/awayt 0'. Some channels don't like clients announcing they're away/back and you can control that with '/showaway'. 5. ScrollZ key bindings Most of the key binds are the same as in ircII, here's a list of those that aren't : * meta5 has been added * F1, ..., F12 can be bound like '/bind f1 ..', ..., '/bind F12 ..', respectively * Tab/Ctrl+I is bound to insert_tabkey_next * Ctrl+K is bound to lastjoiner_kick * Ctrl+N is bound to accept_last_chat * Ctrl+R is bound to insert_autoreply * Ctrl+X is bound to switch_channels * Ctrl+Z is bound to stop_irc * End is bound to scroll_end * PageUp is bound to scroll_backward * PageDown is bound to scroll_forward * CursorUp is bound to backward_history * CursorDown is bound to forward_history * CursorLeft is bound to backward_character * CursorRight is bound to forward_character * F1 is bound to 'help keys' * F2 is bound to 'join -invite' * ^W is bound to META3 * ^W? is bound to 'help net' * ^Wh is bound to 'window hide' * ^Wn is bound to 'window next' * ^Wp is bound to 'window previous' * ^Wk is bound to 'window kill' * ^Wl is bound to 'window list' * ^Wc is bound to 'window clear' * ^Wg is bound to 'window grow 1' * ^Wr is bound to 'window shrink 1' * ^W1 is bound to 'window goto 1' * ^W2 is bound to 'window goto 2' * ^W3 is bound to 'window goto 3' * ^W4 is bound to 'window goto 4' * ^W5 is bound to 'window goto 5' * Alt-1 is bound to '^window swap 1' * Alt-2 is bound to '^window swap 2' * Alt-3 is bound to '^window swap 3' * Alt-4 is bound to '^window swap 4' * Alt-5 is bound to '^window swap 5' * Alt-6 is bound to '^window swap 6' * Alt-7 is bound to '^window swap 7' * Alt-8 is bound to '^window swap 8' * Alt-9 is bound to '^window swap 9' Additional bind choices are (together with their default bindings) : * insert_autoreply - Ctrl+R * lastjoiner_kick - Ctrl+K * accept_last_chat - Ctrl+N * meta5_character - read some 10 lines up * insert_tabkey_next - Tab/Ctrl+I * insert_tabkey_prev 6. Things not found in ircII 6.1. New /set variables List of variables that can be set via '/set' command and can't be found in ircII help (they are ScrollZ specific remember ?) : * auto_reconnect - automatically reconnect to server after disconnect ? * away_file - name of the away file * beep_on_mail - beep when new mail arrives ? * dcc_ports - ports to use for DCC (example: 1500-1505) * display_ansi - display ANSI colors ? * high_ascii - display high ASCII characters ? * lastlog_ansi - log ANSI colors ? ('/lastlog' command) * max_modes - max. number of modes to be sent to server in one mode line * max_wallop_nicks - max. number of nicks to send wall-op msg to in one msg line * notify_string - replaces *** in notify events * scrollz_string - replaces *** from ircII * status_channelcount - format for %U in status bar * status_uptime - format for %1 in status bar * status_format3 - sets 3rd status bar line (use '/window double 3' to turn it on and '/window double 2' to turn it off) * status_userX, X=4-9 - user status variables * status_reverse - if you want to use background colors for status_format turn this off 6.2. Additional status_format modifiers * %1 - client's uptime * %2 - lag (in seconds) * %3 - person that last joined one of the channels you're on * %4 - number of packs created with '/cdcc offer' * %5 - number of dcc sends * %6 - number of dcc gets * %7 - status of '/cdcc autoget', A=on, a=off * %8 - status of '/cdcc security', S=on, s=off * %9 - current channel's topic * %A - use '/set status_away' to format it, %A will be replaced with number of msgs and auto-reply msgs recorded since you've been set away * %D - status of '/frlist' for current channel, F=on, f=off * %E - status of '/nhprot', N=on, n=off, q=quiet, m=medium, f=full * %J - dcc status, '/cdcc status on' to enable it * %L - status of '/ctcpcloak', K=on, k=off, H=hide * %P - status of '/floodp', P=on, p=off, M=max * %U - use '/set status_channelcount' to format it, %O is repla- ced with number of chan ops on current channel, %N with number of non-ops and %T with total number of users * %!0 - status_user * %!1 - status_user1 ... ... * %!9 - status_user9 7. Additional stuff for scripters 7.1. $ functions General functions : * J - ScrollZ version * Y - Toolie version (if compiled with Toolie) * stripansi - stripansi(text), strips ANSI codes from test * topic - topic(#chan), returns nick, time when topic was set and topic for chan, empty on error * sar - sar(command/search/replace/data) command=empty or r (meaning data is variable, don't add leading $) g (replace all occurrences) * color - color(color1,color2,...) returns ANSI color string which represents color1,color2,... list. Recognizes this colors : off,bold,underline,flash,reverse,black, red,green,yellow,blue,purple,cyan,white,blackbg,redbg, greenbg,yellowbg,bluebg,purplebg,cyanbg,whitebg * country - country(2_letter_code) returns country name, unknown on error, only if compiled with COUNTRY * chanusers - like ircII but extended with second argument, if that argument is set to 1 channel operators will have @ in front of their nick and voiced users will have + * szvar - query ScrollZ settings (all not controllable by /set), example: '/eval echo $szvar(nhprot)' * topic - return channel's topic, who set it and when they did it * url - return URL from internally cached list of URLs, if number is given return given URL number * cdccslots - return number of free Cdcc slots * cdccqslots - return number of free Cdcc queue slots File operations : * open - open(filename R|W|A), returns file handle, -1 on error * close - close(filehandle) * read - read(filehandle), returns -1 on error * write - write(filehandle text), returns number of bytes written, -1 on error * eof - eof(filehandle), returns 1 on eof else 0, -1 on error * fsize - fsize(filename), returns file size, -1 on error (use it to check if file exists) * rename - rename(oldfile newfile), returns 0 if OK, -1 on error Friends and shit list functions : * uh - uh(nick #chan), returns n!u@h for nick, -1 on error * checkuser - checkuser(n!u@h #chan), returns flags, filter and channel of matching friends list entry, -1 on error * checkshit - checkshit(n!u@h #chan), same as $checkuser() * isvoiced - like ischanop(nick #chan) * uhost - uhost(n!u@h) returns u@h part, empty otherwise * hhost - hhost(n!u@h) returns h part, empty otherwise String functions : * strstr - search for a substring in given string, example: $strstr(/hello john/ john) * strlen - returns string length * strnum - returns number of words in given string * sar - search and replace data, $sar(command/search/replace/data) command = r - treat data as a variable name and return the replaced data to the variable g - Replace all instances, not just the first one 7.2. ON hooks * cdcc_plist - activated for every entry from the offer list * cdcc_plist_footer - activated when offer list is to be sent out * cdcc_plist_header - activated at the end of the offer list * channel_synch - activated when channel is synched * channel_wallop - activated when message is sent to channel operators * dcc_list - activated for every entry from the DCC list * dcc_list_footer - activated when DCC list is to be printed * dcc_list_header - activated at the end of the DCC list * join_me - activated when you join a channel * notify_signoff_uh - activated upon notify signoff and we have userhost * notify_signon_uh - activated when we have userhost for notify entry * send_ctcp - activated when CTCP is sent 8. Miscellaneous stuff 8.1. How to enable DCCs if you are behind a firewall This is dependant on your firewall of course. Example will be given for Linux 2.4.x kernels using iptables. Nevertheless the aproach is generic enough so it can be applied to other types of firewalls. Note that we don't use the ip_conntrack_irc kernel feature! In the example ports 50000 to 50010 will be allowed for the DCC. Whenever we say we mean the IP address that is visible on the Internet. Whenever we say we mean the IP address that is visible on the LAN (they could be the same if you are not using NAT or IP masquerading). 1. We have to allow packets to ports 50000-50010: iptables -I INPUT -p tcp -s 0/0 --dport 50000:50010 -j ACCEPT If your firewall configuration is more sophisticated (NAT or IP masquerading) you have to redirect incoming packets on ports 50000-50010 to the internal_ip ports 50000-50010 (we assume the incoming packets on Ethernet interface eth1): iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 50000:50010 \ -j REDIRECT --to 2. Tell the client to announce the router's IP address in the DCC requests: for ksh, sh, zsh, bash: DCCHOST="" export DCCHOST for csh, tcsh: setenv DCCHOST "" 3. We tell the client to only use ports 50000-50010 for the DCC stuff: /set dcc_ports 50000-50010 (or 50000:50010) 8.2. How to connect via bouncer to multiple IRC networks Suppose you have a shell account where you run IRC bouncer (a better name would be IRC proxy I guess) and connect to multiple IRC networks via it from your home machine. The problem is you can't connect to more than one IRC network from within the same client (it is an ircII limitation where you can't connect twice to the same server:port combination). You can work around this limitation, however. Here is what you have to do (on Linux at least, should work also on Solaris and HP-UX): 1. The IRC bouncer is running on shell.domain.com 2. Edit /etc/hosts on your home machine and add the following entries: shell_ipefnet.domain.com shell_ipircnet.domain.com shell_ipundernet.domain.com Insert the IP address of your shell in place of shell_ip. Where it says press TAB key. Change efnet/ircnet/undernet to whatever you prefer. 3. Edit /etc/nsswitch.conf on your home machine and make sure the entry for hosts looks like this: hosts: files dns 4. Run ScrollZ and do /server efnet.domain.com:bouncer_port Additionally do /net ircnet.domain.com:bouncer_port Now it works fine - you can connect through IRC bouncer to more than one IRC network from within the same client. 8.3. How to fix terminal size in screen If you are attaching to a screen session in a terminal whose size is different from the terminal size when you detached screen, client might be confused about the terminal size. Here is how to fix it: 1. Identify the terminal device client is using (ps -ef | grep scrollz) 2. stty -F /path/to/terminal/device cols X rows Y where /path/to/terminal/device is the full path to the terminal device your client is running on, X is number of columns and Y is number of rows (example: stty -F /dev/pts0 cols 80 rows 38) The above works at least on Linux, for other platforms you might have to read the manual page for stty command. scrollz-2.1.orig/mkinstalldirs0000755000176500017650000000140306576006340016373 0ustar madhackmadhack#!/bin/sh # mkinstalldirs --- make directory hierarchy # Author: Noah Friedman # Created: 1993-05-16 # Last modified: 1994-03-25 # Public domain # $Id: mkinstalldirs,v 1.1.1.1 1998-09-10 17:31:12 f Exp $ # @(#)$Id: mkinstalldirs,v 1.1.1.1 1998-09-10 17:31:12 f Exp $ errstatus=0 for file in ${1+"$@"} ; do set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` shift pathcomp= for d in ${1+"$@"} ; do pathcomp="$pathcomp$d" case "$pathcomp" in -* ) pathcomp=./$pathcomp ;; esac if test ! -d "$pathcomp"; then echo "mkdir $pathcomp" 1>&2 mkdir "$pathcomp" || errstatus=$? fi pathcomp="$pathcomp/" done done exit $errstatus # mkinstalldirs ends here scrollz-2.1.orig/README.ScrollZ0000644000176500017650000000216011247767117016044 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.1.orig/scrollz.1.in0000644000176500017650000001071411247767032015754 0ustar madhackmadhack.\" Hey, EMACS: -*- nroff -*- .TH SCROLLZ 1 "July 11, 2001" .\" Please adjust this date whenever revising the manpage. .SH NAME ScrollZ \- An advanced ircII-based IRC client .SH SYNOPSIS .B scrollz .RB [ \-c .IR chan ] .RB [ \-p .IR portno ] .RB [ \-f ] .RB [ \-F ] .RB [ \-h .IR host ] .RB [ \-H .IR host ] .RB [ \-C .IR name ] .RB [ \-s ] .RB [ \-S ] .RB [ \-n ] .RB [ \-d ] .RB [ \-q ] .RB [ \-a ] .RB [ \-b ] .RB [ \-l .IR file ] .RB [ \-I .IR file ] .RB [ \-L .IR file ] .RB [ nickname ] .RB [ serverlist ] .SH DESCRIPTION .B ScrollZ is advanced IRC client based on ircII code. It adds features normally found in ircII scripts. .PP The main difference between these scripts and .B ScrollZ is the code. Where ircII scripts take a lot of disk and memory space and run slow, .B ScrollZ only takes a couple of extra kilobytes compared to stock ircII client yet runs faster than any ircII script. This was accomplished by using C code instead of ircII scripting language. This reduces memory and CPU usage and code tends to run faster. .B ScrollZ includes features such as built-in userlist, shitlist, improved scripting, Blowfish based encryption, features for .B IRC operators and user friendly features such as completion for nicks and channels. .SH OPTIONS .TP .BI \-c " channel" Joins channel on startup .TP .BI \-p " port" .br Default server connection port (usually 6667) .TP .B \-f Your terminal uses flow controls (^S/^Q), so .B ScrollZ shouldn't .TP .B \-F Your terminal doesn't use flow control (default) .TP .BI \-h,\-H " host" Use host as source address (for virtual hosting) .TP .BI \-C " name" Cloak process as name .TP .B \-S/\-s Do/don't use separate server processes (ircio) .TP .B \-n Do not connect to a server on startup .TP .B \-d Runs .B ScrollZ in "dumb" terminal mode .TP .B \-q Does not load .scrollzrc or .scrollzquick .TP .B \-a Adds default servers and command line servers to server list .TP .B \-b Load .scrollzrc before connecting to a server .TP .BI \-l " file" Loads file in place of your .scrollzrc .TP .BI \-I " file" Loads file in place of your .scrollzquick .TP .BI \-L " file" Loads file in place of your .scrollzrc and expands $ expandos .TP .B \-\-help Show summary of options. .SH ENVIRONMENT .TP .B DCCHOST The hostname to use for the DCC file transfer .TP .B HOME Set home directory (overrides your home directory in .IR /etc/passwd ) .TP .B IRCHOST The hostname to use .TP .B IRCNAME The realname to use (defaults to .I /etc/passwd real name field) .TP .B IRCLIB The path for ScrollZ helpfiles/scripts/translations/docs (defaults to .IR SHAREDIR ) .TP .B IRCNICK The nickname to use (defaults to your username) .TP .B IRCPATH The path for loading files (defaults to .IR ~/.ScrollZ:SHAREDIR/script:. ) .TP .B IRCRC The initalization file to use (defaults to .IR ~/.scrollzrc ) .TP .B IRCSERVER The IRC server(s) to use .TP .B IRCUMODE The user mode to use .TP .B IRCUSER The username to use (defaults to your username) .TP .B MAIL Set mail file .TP .B TERM The terminal type to use .SH FILES .TP .B SHAREDIR/script/szglobal The global initialization file loaded when connection to a server is established. .TP .B ~/.scrollzrc The personal initialization file loaded when connection to a server is established. .TP .B ~/.scrollzquick The personal initialization file loaded when connection to a server is initiated. .SH NOTES .PP The nickname is limited to 9 characters on many IRC networks. .PP The server list is a whitespace-separated list of server names. .PP .B ScrollZ does NOT have the ICB support nor the DCC TALK support that are available in ircII. .SH AUTHORS This manual page was written by Mike Markley , for the Debian GNU/Linux system (but may be used by others). Updated for ScrollZ by Flier (the ScrollZ maintainer). .PP .B ScrollZ home page: http://www.scrollz.org/ .PP .B ScrollZ FTP site: ftp://ftp.scrollz.org/ .SH BUG REPORTS If you find a bug in .B ScrollZ you should report it. But first, you should make sure that it really is a bug, and that it appears in the latest version of .BR ScrollZ . .PP Once you have determined that a bug actually exists, report the bug in channel #ScrollZ on Efnet. If you have a fix, you are encouraged to provide that as well! .PP ALL bug reports should include: .PP .PD 0 .TP 22 The version number of .B ScrollZ .TP The hardware and operating system .TP The compiler used to compile .TP A description of the bug behaviour .TP A short script or `recipe' which exercises the bug scrollz-2.1.orig/ScrollZ.addon0000644000176500017650000004017406576006340016174 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.1.orig/ChangeLog0000644000176500017650000051613107607101565015351 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.1.orig/Makefile.in0000644000176500017650000001646610521641037015642 0ustar madhackmadhack# IRC II - written by Michael Sandrof # # Copyright (c) 1991 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: Makefile.in,v 1.23 2006-10-31 12:31:27 f Exp $ # targets recognised by this makefile: # all, everything - compiles ircii, ircio, ircflush and wserv # ircio - compiles ircio # ircflush - compiles ircflush # wserv - compiles wserv # install - installs ircii, ircio, ircflush and wserv # installirc - installs ircii # installio - installs ircio # installwserv - installs wserv # installflush - installs ircflush # installscript - installs the scripts # installhelp - installs the help files # installman - installs the manual pages. # installeverything - all of the above # clean - remove all .o files, core, and binaries # distclean - remove all files geneated by compilation/installation. prefix = @prefix@ exec_prefix = @exec_prefix@ bindir = @bindir@ sharedir = @prefix@/share mandir = @prefix@/man/man1 DESTDIR = # Where the ircII binary will be installed. # 'make install' will compile and install the program INSTALL_IRC = ${bindir}/scrollz # Where the ircII library will be. Generally this is the place that # you put the scripts and help pages. It is # very important that you set this correctly. IRCSHARE = ${sharedir}/scrollz # The documentation directory IRCDOC = ${IRCSHARE}/doc CC = @CC@ DEFS = @DEFS@ LIBS = @LIBS@ # Set this to -g if you want to be able to debug the client, otherwise # use -O to have the compiler do some optimization instead. CFLAGS = @CFLAGS@ # Set this to -s if you want the binary to be stripped. LDFLAGS = @LDFLAGS@ ## You probably don't need to change anything below this line # Full path of the directory for ircII help files. HELP_DIR = $(IRCSHARE)/help # Full path of the directory for the ircII scripts. INSTALL_SCRIPT = $(IRCSHARE)/script # Default setting for IRC_PATH where irc will look for # its script files if the environment variable is undefined. # Usually, this should contain the same path as used for INSTALL_SCRIPT in # the Makefile, but it can contain multiple path elements # separated by colons. The path MUST lead to an existing directory, # because the 'global' script is expected to be found there. IRC_PATH = ~/.ScrollZ:$(INSTALL_SCRIPT):. # Set the next line to the full path for installation of the ircio program # if you wish to use it. INSTALL_IRCIO = $(bindir)/ircio # This little program is necessary to have an interactive shell # in a window of ircII. The 'shell' script uses it, so also update # the path in there, if you want to enable this. INSTALL_IRCFLUSH = $(bindir)/ircflush # This program allows you to use screen/xterm's to put new irc windows # on new screen/xterm windows. INSTALL_WSERV = $(bindir)/wserv # This command will be used to install the irc help files. If you don't # want to install them, replace with the following: # INSTALL_HELP_CMD = @echo The help files have not been installed. INSTALL_HELP_CMD = @INSTALL_HELP_CMD@ ## You shouldn't have to change anything below here srcdir = . RM = @RM@ LN = @LN@ CP = cp MV = mv INSTALL = ./bsdinstall -c -m 755 INSTALL_DATA = ../bsdinstall -c -m 644 VERSION = @VERSION@ SHELL = /bin/sh MAKE = make $(MFLAGS) MFLAGS ='CC=$(CC)' \ 'CFLAGS=$(CFLAGS)' \ 'DEFS=$(DEFS)' \ 'HELP_DIR=$(HELP_DIR)' \ 'INSTALL_IRC=$(INSTALL_IRC)' \ 'INSTALL_IRCIO=$(INSTALL_IRCIO)' \ 'INSTALL_WSERV=$(INSTALL_WSERV)' \ 'IRCSHARE=$(IRCSHARE)' \ 'IRCPATH=$(IRC_PATH)' \ 'LDFLAGS=$(LDFLAGS)' \ 'LEX=$(LEX)' \ 'LEXLIB=$(LEXLIB)' \ 'LIBS=$(LIBS)' \ 'LN=$(LN)' \ 'RM=$(RM)' all: scrollz scrollz.1 install: all installbin installdirs installman installhelp scrollz: source/Makefile Makefile @cd source; $(MAKE) all scrollz.1: scrollz.1.in sed -e "s,SHAREDIR,$(IRCSHARE)," < scrollz.1.in > scrollz.1 installeverything: install installman installflush installio \ installwserv installhelp everything: all ircflush ircio wserv ircserv: ircio ircio: source/Makefile @cd source; $(MAKE) ircio ircflush: source/ircflush.c source/Makefile @cd source; $(MAKE) ircflush wserv: source/wserv.c source/term.c source/Makefile @cd source; $(MAKE) wserv installbin: installirc installirc: scrollz installdirs @if test -f $(DESTDIR)/$(INSTALL_IRC).old; then $(RM) $(DESTDIR)/$(INSTALL_IRC).old; fi @if test -f $(DESTDIR)/$(INSTALL_IRC); then $(MV) $(DESTDIR)/$(INSTALL_IRC) $(INSTALL_IRC).old; fi $(RM) $(DESTDIR)/$(INSTALL_IRC) $(INSTALL) source/scrollz $(DESTDIR)/$(INSTALL_IRC)-$(VERSION) @(cd $(DESTDIR)/$(bindir) ; $(LN) scrollz-$(VERSION) scrollz) @cp doc/ScrollZ.doc $(DESTDIR)/$(IRCDOC) installman: scrollz.1 $(INSTALL) scrollz.1 $(DESTDIR)/$(mandir) installserv: installio installio: ircio installdirs $(INSTALL) source/ircio $(DESTDIR)/$(INSTALL_IRCIO) installflush: ircflush installdirs $(INSTALL) source/ircflush $(DESTDIR)/$(INSTALL_IRCFLUSH) installwserv: wserv installdirs $(INSTALL) source/wserv $(DESTDIR)/$(INSTALL_WSERV) installdirs: umask 022; ./mkinstalldirs $(DESTDIR)/$(IRCSHARE) $(DESTDIR)/$(bindir) \ $(DESTDIR)/$(INSTALL_SCRIPT) \ $(DESTDIR)/$(HELP_DIR) $(DESTDIR)/$(IRCDOC) $(DESTDIR)/$(mandir) installhelp: $(INSTALL_HELP_CMD) find $(DESTDIR)/$(HELP_DIR) -type d -print | xargs chmod a+rx find $(DESTDIR)/$(HELP_DIR) -type f -print | xargs chmod a+r clena clean: @-if test -f source/Makefile; then cd source; $(MAKE) clean; fi distclean cleandir realclean: clean $(RM) Makefile source/Makefile source/sig.inc config.status config.cache config.log include/defs.h ircbug scrollz.1 lint: @if test -f source/Makefile; then cd source; $(MAKE) lint; fi autoconf: configure configure: configure.in acconfig.h aclocal.m4 autoconf autoheader: include/defs.h.in include/defs.h.in: configure.in acconfig.h aclocal.m4 autoheader autofiles: autoconf autoheader config_h: $(RM) include/config.h cp include/config.h.dist include/config.h export: distclean autoconf autoheader scrollz-2.1.orig/configure0000755000176500017650000051606411313706202015477 0ustar madhackmadhack#! /bin/sh # From configure.in Revision: 1.55 # Guess values for system-dependent variables and create Makefiles. # Generated automatically using autoconf version 2.13 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. # # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. # Defaults: ac_help= ac_default_prefix=/usr/local # Any additions from configure.in: ac_help="$ac_help --disable-utf8 Disable UTF-8 (iconv) support" ac_help="$ac_help --with-efence[=PATH] Compile with the ElectricFence debugging library." ac_help="$ac_help --with-paranoid Sets the compile-time paranoid flag." ac_help="$ac_help --with-default-server=SERVER[:PORT] Connect to SERVER by default." ac_help="$ac_help --with-socks Compile with SOCKS firewall traversal support." ac_help="$ac_help --with-socks5[=PATH] Compile with SOCKS5 firewall traversal support." ac_help="$ac_help --with-socks4[=PATH] Compile with SOCKS4 firewall traversal support." ac_help="$ac_help --enable-ipv6 Enable ipv6 (with ipv4) support" ac_help="$ac_help --with-ssl[=PATH] Prefix where GNU TLS is installed (optional)" ac_help="$ac_help --with-openssl[=PATH] Prefix where OpenSSL is installed (optional)" ac_help="$ac_help --enable-regexp Enable POSIX.2 regexp support" ac_help="$ac_help --enable-fish Enable FiSH encryption support" # Initialize some variables set by options. # The variables have the same names as the options, with # dashes changed to underlines. build=NONE cache_file=./config.cache exec_prefix=NONE host=NONE no_create= nonopt=NONE no_recursion= prefix=NONE program_prefix=NONE program_suffix=NONE program_transform_name=s,x,x, silent= site= srcdir= target=NONE verbose= x_includes=NONE x_libraries=NONE bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datadir='${prefix}/share' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' libdir='${exec_prefix}/lib' includedir='${prefix}/include' oldincludedir='/usr/include' infodir='${prefix}/info' mandir='${prefix}/man' # Initialize some other variables. subdirs= MFLAGS= MAKEFLAGS= SHELL=${CONFIG_SHELL-/bin/sh} # Maximum number of lines to put in a shell here document. ac_max_here_lines=12 ac_prev= for ac_option do # If the previous option needs an argument, assign it. if test -n "$ac_prev"; then eval "$ac_prev=\$ac_option" ac_prev= continue fi case "$ac_option" in -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; *) ac_optarg= ;; esac # Accept the important Cygnus configure options, so we can diagnose typos. case "$ac_option" in -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) bindir="$ac_optarg" ;; -build | --build | --buil | --bui | --bu) ac_prev=build ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) build="$ac_optarg" ;; -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) cache_file="$ac_optarg" ;; -datadir | --datadir | --datadi | --datad | --data | --dat | --da) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | --da=*) datadir="$ac_optarg" ;; -disable-* | --disable-*) ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` # Reject names that are not valid shell variable names. if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } fi ac_feature=`echo $ac_feature| sed 's/-/_/g'` eval "enable_${ac_feature}=no" ;; -enable-* | --enable-*) ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` # Reject names that are not valid shell variable names. if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } fi ac_feature=`echo $ac_feature| sed 's/-/_/g'` case "$ac_option" in *=*) ;; *) ac_optarg=yes ;; esac eval "enable_${ac_feature}='$ac_optarg'" ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | --exec | --exe | --ex) ac_prev=exec_prefix ;; -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) exec_prefix="$ac_optarg" ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; -help | --help | --hel | --he) # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat << EOF Usage: configure [options] [host] Options: [defaults in brackets after descriptions] Configuration: --cache-file=FILE cache test results in FILE --help print this message --no-create do not create output files --quiet, --silent do not print \`checking...' messages --version print the version of autoconf that created configure Directory and file names: --prefix=PREFIX install architecture-independent files in PREFIX [$ac_default_prefix] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [same as prefix] --bindir=DIR user executables in DIR [EPREFIX/bin] --sbindir=DIR system admin executables in DIR [EPREFIX/sbin] --libexecdir=DIR program executables in DIR [EPREFIX/libexec] --datadir=DIR read-only architecture-independent data in DIR [PREFIX/share] --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data in DIR [PREFIX/com] --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] --libdir=DIR object code libraries in DIR [EPREFIX/lib] --includedir=DIR C header files in DIR [PREFIX/include] --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] --infodir=DIR info documentation in DIR [PREFIX/info] --mandir=DIR man documentation in DIR [PREFIX/man] --srcdir=DIR find the sources in DIR [configure dir or ..] --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names EOF cat << EOF Host type: --build=BUILD configure for building on BUILD [BUILD=HOST] --host=HOST configure for HOST [guessed] --target=TARGET configure for TARGET [TARGET=HOST] Features and packages: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --x-includes=DIR X include files are in DIR --x-libraries=DIR X library files are in DIR EOF if test -n "$ac_help"; then echo "--enable and --with options recognized:$ac_help" fi exit 0 ;; -host | --host | --hos | --ho) ac_prev=host ;; -host=* | --host=* | --hos=* | --ho=*) host="$ac_optarg" ;; -includedir | --includedir | --includedi | --included | --include \ | --includ | --inclu | --incl | --inc) ac_prev=includedir ;; -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | --includ=* | --inclu=* | --incl=* | --inc=*) includedir="$ac_optarg" ;; -infodir | --infodir | --infodi | --infod | --info | --inf) ac_prev=infodir ;; -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) infodir="$ac_optarg" ;; -libdir | --libdir | --libdi | --libd) ac_prev=libdir ;; -libdir=* | --libdir=* | --libdi=* | --libd=*) libdir="$ac_optarg" ;; -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | --libexe | --libex | --libe) ac_prev=libexecdir ;; -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | --libexe=* | --libex=* | --libe=*) libexecdir="$ac_optarg" ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst \ | --locals | --local | --loca | --loc | --lo) ac_prev=localstatedir ;; -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) localstatedir="$ac_optarg" ;; -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ac_prev=mandir ;; -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) mandir="$ac_optarg" ;; -nfp | --nfp | --nf) # Obsolete; use --without-fp. with_fp=no ;; -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c) no_create=yes ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) no_recursion=yes ;; -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | --oldin | --oldi | --old | --ol | --o) ac_prev=oldincludedir ;; -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) oldincludedir="$ac_optarg" ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) prefix="$ac_optarg" ;; -program-prefix | --program-prefix | --program-prefi | --program-pref \ | --program-pre | --program-pr | --program-p) ac_prev=program_prefix ;; -program-prefix=* | --program-prefix=* | --program-prefi=* \ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) program_prefix="$ac_optarg" ;; -program-suffix | --program-suffix | --program-suffi | --program-suff \ | --program-suf | --program-su | --program-s) ac_prev=program_suffix ;; -program-suffix=* | --program-suffix=* | --program-suffi=* \ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) program_suffix="$ac_optarg" ;; -program-transform-name | --program-transform-name \ | --program-transform-nam | --program-transform-na \ | --program-transform-n | --program-transform- \ | --program-transform | --program-transfor \ | --program-transfo | --program-transf \ | --program-trans | --program-tran \ | --progr-tra | --program-tr | --program-t) ac_prev=program_transform_name ;; -program-transform-name=* | --program-transform-name=* \ | --program-transform-nam=* | --program-transform-na=* \ | --program-transform-n=* | --program-transform-=* \ | --program-transform=* | --program-transfor=* \ | --program-transfo=* | --program-transf=* \ | --program-trans=* | --program-tran=* \ | --progr-tra=* | --program-tr=* | --program-t=*) program_transform_name="$ac_optarg" ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) silent=yes ;; -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) sbindir="$ac_optarg" ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | --sharedst | --shareds | --shared | --share | --shar \ | --sha | --sh) ac_prev=sharedstatedir ;; -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) sharedstatedir="$ac_optarg" ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) site="$ac_optarg" ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) srcdir="$ac_optarg" ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) sysconfdir="$ac_optarg" ;; -target | --target | --targe | --targ | --tar | --ta | --t) ac_prev=target ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) target="$ac_optarg" ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; -version | --version | --versio | --versi | --vers) echo "configure generated by autoconf version 2.13" exit 0 ;; -with-* | --with-*) ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` # Reject names that are not valid shell variable names. if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } fi ac_package=`echo $ac_package| sed 's/-/_/g'` case "$ac_option" in *=*) ;; *) ac_optarg=yes ;; esac eval "with_${ac_package}='$ac_optarg'" ;; -without-* | --without-*) ac_package=`echo $ac_option|sed -e 's/-*without-//'` # Reject names that are not valid shell variable names. if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } fi ac_package=`echo $ac_package| sed 's/-/_/g'` eval "with_${ac_package}=no" ;; --x) # Obsolete; use --with-x. with_x=yes ;; -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | --x-incl | --x-inc | --x-in | --x-i) ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) x_includes="$ac_optarg" ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries="$ac_optarg" ;; -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } ;; *) if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then echo "configure: warning: $ac_option: invalid host type" 1>&2 fi if test "x$nonopt" != xNONE; then { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } fi nonopt="$ac_option" ;; esac done if test -n "$ac_prev"; then { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } fi trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 # File descriptor usage: # 0 standard input # 1 file creation # 2 errors and warnings # 3 some systems may open it to /dev/tty # 4 used on the Kubota Titan # 6 checking for... messages and results # 5 compiler messages saved in config.log if test "$silent" = yes; then exec 6>/dev/null else exec 6>&1 fi exec 5>./config.log echo "\ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. " 1>&5 # Strip out --no-create and --no-recursion so they do not pile up. # Also quote any args containing shell metacharacters. ac_configure_args= for ac_arg do case "$ac_arg" in -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c) ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) ac_configure_args="$ac_configure_args '$ac_arg'" ;; *) ac_configure_args="$ac_configure_args $ac_arg" ;; esac done # NLS nuisances. # Only set these to C if already set. These must not be set unconditionally # because not all systems understand e.g. LANG=C (notably SCO). # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! # Non-C LC_CTYPE values break the ctype check. if test "${LANG+set}" = set; then LANG=C; export LANG; fi if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -rf conftest* confdefs.h # AIX cpp loses on an empty file, so make sure it contains at least a newline. echo > confdefs.h # A filename unique to this package, relative to the directory that # configure is in, which we can look for to find out if srcdir is correct. ac_unique_file=${srcdir}/source/irc.c # Find the source files, if location was not specified. if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then its parent. ac_prog=$0 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. srcdir=$ac_confdir if test ! -r $srcdir/$ac_unique_file; then srcdir=.. fi else ac_srcdir_defaulted=no fi if test ! -r $srcdir/$ac_unique_file; then if test "$ac_srcdir_defaulted" = yes; then { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } else { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } fi fi srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` # Prefer explicitly selected file to automatically selected ones. if test -z "$CONFIG_SITE"; then if test "x$prefix" != xNONE; then CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" else CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" fi fi for ac_site_file in $CONFIG_SITE; do if test -r "$ac_site_file"; then echo "loading site script $ac_site_file" . "$ac_site_file" fi done if test -r "$cache_file"; then echo "loading cache $cache_file" . $cache_file else echo "creating cache $cache_file" > $cache_file fi ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cc_cross ac_exeext= ac_objext=o if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then ac_n= ac_c=' ' ac_t=' ' else ac_n=-n ac_c= ac_t= fi else ac_n= ac_c='\c' ac_t= fi # 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 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 CATEGORIES='build change-request doc pending runtime' echo '$Id: configure,v 1.56 2009-12-21 14:56:02 f Exp $' > /dev/null # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:578: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$PATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_prog_CC="gcc" break fi done IFS="$ac_save_ifs" fi fi CC="$ac_cv_prog_CC" if test -n "$CC"; then echo "$ac_t""$CC" 1>&6 else echo "$ac_t""no" 1>&6 fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:608: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_prog_rejected=no ac_dummy="$PATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" break fi done IFS="$ac_save_ifs" if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift if test $# -gt 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift set dummy "$ac_dir/$ac_word" "$@" shift ac_cv_prog_CC="$@" fi fi fi fi CC="$ac_cv_prog_CC" if test -n "$CC"; then echo "$ac_t""$CC" 1>&6 else echo "$ac_t""no" 1>&6 fi if test -z "$CC"; then case "`uname -s`" in *win32* | *WIN32*) # Extract the first word of "cl", so it can be a program name with args. set dummy cl; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:659: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$PATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_prog_CC="cl" break fi done IFS="$ac_save_ifs" fi fi CC="$ac_cv_prog_CC" if test -n "$CC"; then echo "$ac_t""$CC" 1>&6 else echo "$ac_t""no" 1>&6 fi ;; esac fi test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 echo "configure:691: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cc_cross cat > conftest.$ac_ext << EOF #line 702 "configure" #include "confdefs.h" main(){return(0);} EOF if { (eval echo configure:707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ac_cv_prog_cc_works=yes # If we can't run a trivial program, we are probably using a cross compiler. if (./conftest; exit) 2>/dev/null; then ac_cv_prog_cc_cross=no else ac_cv_prog_cc_cross=yes fi else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 ac_cv_prog_cc_works=no fi rm -fr conftest* ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cc_cross echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 if test $ac_cv_prog_cc_works = no; then { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 echo "configure:733: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 cross_compiling=$ac_cv_prog_cc_cross echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 echo "configure:738: checking whether we are using GNU C" >&5 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.c <&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then ac_cv_prog_gcc=yes else ac_cv_prog_gcc=no fi fi echo "$ac_t""$ac_cv_prog_gcc" 1>&6 if test $ac_cv_prog_gcc = yes; then GCC=yes else GCC= fi ac_test_CFLAGS="${CFLAGS+set}" ac_save_CFLAGS="$CFLAGS" CFLAGS= echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 echo "configure:766: checking whether ${CC-cc} accepts -g" >&5 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else echo 'void f(){}' > conftest.c if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then ac_cv_prog_cc_g=yes else ac_cv_prog_cc_g=no fi rm -f conftest* fi echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 if test "$ac_test_CFLAGS" = set; then CFLAGS="$ac_save_CFLAGS" elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" else CFLAGS="-g" fi else if test "$GCC" = yes; then CFLAGS="-O2" else CFLAGS= fi fi echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 echo "configure:798: checking how to run the C preprocessor" >&5 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else # This must be in double quotes, not single quotes, because CPP may get # substituted into the Makefile and "${CC-cc}" will confuse make. CPP="${CC-cc} -E" # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:819: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then : else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* CPP="${CC-cc} -E -traditional-cpp" cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:836: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then : else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* CPP="${CC-cc} -nologo -E" cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:853: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then : else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* CPP=/lib/cpp fi rm -f conftest* fi rm -f conftest* fi rm -f conftest* ac_cv_prog_CPP="$CPP" fi CPP="$ac_cv_prog_CPP" else ac_cv_prog_CPP="$CPP" fi echo "$ac_t""$CPP" 1>&6 echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6 echo "configure:878: checking for POSIXized ISC" >&5 if test -d /etc/conf/kconfig.d && grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1 then echo "$ac_t""yes" 1>&6 ISC=yes # If later tests want to check for ISC. cat >> confdefs.h <<\EOF #define _POSIX_SOURCE 1 EOF if test "$GCC" = yes; then CC="$CC -posix" else CC="$CC -Xp" fi else echo "$ac_t""no" 1>&6 ISC= fi srcdir=`(cd $srcdir; pwd)` objdir=`pwd` echo $ac_n "checking for NeXT""... $ac_c" 1>&6 echo "configure:906: checking for NeXT" >&5 cat > conftest.$ac_ext <&5 | egrep "yes" >/dev/null 2>&1; then rm -rf conftest* nextstep=1 fi rm -f conftest* if test -n "$nextstep"; then echo "$ac_t""yes" 1>&6 else echo "$ac_t""no" 1>&6 fi echo $ac_n "checking for AIX""... $ac_c" 1>&6 echo "configure:931: checking for AIX" >&5 cat > conftest.$ac_ext <&5 | egrep "yes" >/dev/null 2>&1; then rm -rf conftest* echo "$ac_t""yes" 1>&6 aix=1 cat >> confdefs.h <<\EOF #define _ALL_SOURCE 1 EOF else rm -rf conftest* echo "$ac_t""no" 1>&6 fi rm -f conftest* if test $ac_cv_prog_gcc = yes; then echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 echo "configure:959: checking whether ${CC-cc} needs -traditional" >&5 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_pattern="Autoconf.*'x'" cat > conftest.$ac_ext < Autoconf TIOCGETP EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "$ac_pattern" >/dev/null 2>&1; then rm -rf conftest* ac_cv_prog_gcc_traditional=yes else rm -rf conftest* ac_cv_prog_gcc_traditional=no fi rm -f conftest* if test $ac_cv_prog_gcc_traditional = no; then cat > conftest.$ac_ext < Autoconf TCGETA EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "$ac_pattern" >/dev/null 2>&1; then rm -rf conftest* ac_cv_prog_gcc_traditional=yes fi rm -f conftest* fi fi echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6 if test $ac_cv_prog_gcc_traditional = yes; then CC="$CC -traditional" fi fi echo $ac_n "checking for getpwnam in -lsun""... $ac_c" 1>&6 echo "configure:1005: checking for getpwnam in -lsun" >&5 ac_lib_var=`echo sun'_'getpwnam | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-lsun $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=no" fi rm -f conftest* LIBS="$ac_save_LIBS" fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 ac_tr_lib=HAVE_LIB`echo sun | sed -e 's/[^a-zA-Z0-9_]/_/g' \ -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` cat >> confdefs.h <&6 fi echo $ac_n "checking for qnx""... $ac_c" 1>&6 echo "configure:1053: checking for qnx" >&5 case "`uname -s`" in QNX*) echo "$ac_t""yes" 1>&6 if test -z "$GCC"; then LDFLAGS="-N256k -M" CFLAGS="-w4 -Otax -zc -Wc,-fr= -Wc,-wcd=121" fi ;; *) echo "$ac_t""no" 1>&6 esac echo $ac_n "checking for solaris""... $ac_c" 1>&6 echo "configure:1067: checking for solaris" >&5 if /bin/sun 2> /dev/null then uname=`uname -r` case "$uname" in 4.*) echo "$ac_t""no" 1>&6 sunos4=1 ;; 5.*) svr4=1 ;; esac else echo "$ac_t""no" 1>&6 echo $ac_n "checking for SVR4""... $ac_c" 1>&6 echo "configure:1083: checking for SVR4" >&5 cat > conftest.$ac_ext <&5 | egrep "yes" >/dev/null 2>&1; then rm -rf conftest* svr4=1 fi rm -f conftest* fi if test -n "$svr4" then echo "$ac_t""yes" 1>&6 LIBS="-L/usr/ccs/lib $LIBS" else if test ! -n "$sunos4" then echo "$ac_t""no" 1>&6 fi fi echo $ac_n "checking for -I/usr/netinclude""... $ac_c" 1>&6 echo "configure:1114: checking for -I/usr/netinclude" >&5 if test -d /usr/netinclude; then echo "$ac_t""yes" 1>&6 CFLAGS="$CFLAGS -I/usr/netinclude" else echo "$ac_t""no" 1>&6 fi echo $ac_n "checking for hpux version""... $ac_c" 1>&6 echo "configure:1124: checking for hpux version" >&5 if test -f /hp-ux -o -f /stand/vmunix; then echo "$ac_t""yes" 1>&6 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*) cat >> confdefs.h <<\EOF #define HPUX8 1 EOF ;; A.07* | A.B7* | A.7* | a.7* | a.07* | 7* | 07*) cat >> confdefs.h <<\EOF #define HPUX7 1 EOF ;; *) cat >> confdefs.h <<\EOF #define HPUXUNKNOWN 1 EOF ;; esac else echo "$ac_t""no" 1>&6 fi echo $ac_n "checking for ultrix""... $ac_c" 1>&6 echo "configure:1156: checking for ultrix" >&5 cat > conftest.$ac_ext <&5 | egrep "yes" >/dev/null 2>&1; then rm -rf conftest* ultrix=1 fi rm -f conftest* if test -n "$ultrix"; then echo "$ac_t""yes" 1>&6 test -z "$GCC" && CC="$CC -YBSD" else echo "$ac_t""no" 1>&6 fi echo $ac_n "checking for sequent/ptx""... $ac_c" 1>&6 echo "configure:1180: checking for sequent/ptx" >&5 cat > conftest.$ac_ext <&5 | egrep "yes" >/dev/null 2>&1; then rm -rf conftest* LIBS="$LIBS -lseq" seqptx=1 echo "$ac_t""yes" 1>&6 else rm -rf conftest* echo "$ac_t""no" 1>&6 fi rm -f conftest* echo $ac_n "checking whether to enable UTF-8 (iconv) support""... $ac_c" 1>&6 echo "configure:1201: checking whether to enable UTF-8 (iconv) support" >&5 # Check whether --enable-utf8 or --disable-utf8 was given. if test "${enable_utf8+set}" = set; then enableval="$enable_utf8" case "$enableval" in no) echo "$ac_t""no" 1>&6 ;; *) echo "$ac_t""yes" 1>&6 ;; esac else echo "$ac_t""yes" 1>&6 enable_utf8=yes fi if test "x$enable_utf8" = "xyes" ; then echo $ac_n "checking for FreeBSD""... $ac_c" 1>&6 echo "configure:1220: checking for FreeBSD" >&5 case "`uname -s`" in FreeBSD*) echo "$ac_t""yes" 1>&6 CFLAGS="$CFLAGS -I/usr/local/include" CPPFLAGS="$CPPFLAGS -I/usr/local/include" LIBS="$LIBS -L/usr/local/lib -liconv" ;; *) echo "$ac_t""no" 1>&6 esac fi for ac_hdr in 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 do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo "configure:1237: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:1247: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* eval "ac_cv_header_$ac_safe=yes" else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_header_$ac_safe=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` cat >> confdefs.h <&6 fi done for ac_hdr in unistd.h fcntl.h string.h memory.h netdb.h limits.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo "configure:1276: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:1286: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* eval "ac_cv_header_$ac_safe=yes" else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_header_$ac_safe=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` cat >> confdefs.h <&6 fi done for ac_hdr in stdarg.h varargs.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo "configure:1315: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:1325: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* eval "ac_cv_header_$ac_safe=yes" else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_header_$ac_safe=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` cat >> confdefs.h <&6 fi done for ac_hdr in process.h termcap.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo "configure:1354: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:1364: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* eval "ac_cv_header_$ac_safe=yes" else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_header_$ac_safe=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` cat >> confdefs.h <&6 fi done if test "x$enable_utf8" = "xyes" ; then for ac_hdr in iconv.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo "configure:1395: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:1405: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* eval "ac_cv_header_$ac_safe=yes" else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_header_$ac_safe=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` cat >> confdefs.h <&6 fi done 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. for ac_hdr in termio.h sgtty.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo "configure:1440: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:1450: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* eval "ac_cv_header_$ac_safe=yes" else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_header_$ac_safe=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` cat >> confdefs.h <&6 fi done else for ac_hdr in termios.h termio.h sgtty.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo "configure:1480: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:1490: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* eval "ac_cv_header_$ac_safe=yes" else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_header_$ac_safe=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` cat >> confdefs.h <&6 fi done fi echo $ac_n "checking for fchmod""... $ac_c" 1>&6 echo "configure:1518: checking for fchmod" >&5 if eval "test \"`echo '$''{'ac_cv_func_fchmod'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char fchmod(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_fchmod) || defined (__stub___fchmod) choke me #else fchmod(); #endif ; return 0; } EOF if { (eval echo configure:1546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_fchmod=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_fchmod=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'fchmod`\" = yes"; then echo "$ac_t""yes" 1>&6 : else echo "$ac_t""no" 1>&6 cat >> confdefs.h <<\EOF #define NEED_FCHMOD 1 EOF fi echo $ac_n "checking for getcwd""... $ac_c" 1>&6 echo "configure:1570: checking for getcwd" >&5 if eval "test \"`echo '$''{'ac_cv_func_getcwd'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char getcwd(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_getcwd) || defined (__stub___getcwd) choke me #else getcwd(); #endif ; return 0; } EOF if { (eval echo configure:1598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_getcwd=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_getcwd=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'getcwd`\" = yes"; then echo "$ac_t""yes" 1>&6 : else echo "$ac_t""no" 1>&6 cat >> confdefs.h <<\EOF #define NEED_GETCWD 1 EOF fi echo $ac_n "checking for getpgid""... $ac_c" 1>&6 echo "configure:1622: checking for getpgid" >&5 if eval "test \"`echo '$''{'ac_cv_func_getpgid'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char getpgid(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_getpgid) || defined (__stub___getpgid) choke me #else getpgid(); #endif ; return 0; } EOF if { (eval echo configure:1650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_getpgid=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_getpgid=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'getpgid`\" = yes"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF #define HAVE_GETPGID 1 EOF else echo "$ac_t""no" 1>&6 fi echo $ac_n "checking for getsid""... $ac_c" 1>&6 echo "configure:1673: checking for getsid" >&5 if eval "test \"`echo '$''{'ac_cv_func_getsid'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char getsid(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_getsid) || defined (__stub___getsid) choke me #else getsid(); #endif ; return 0; } EOF if { (eval echo configure:1701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_getsid=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_getsid=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'getsid`\" = yes"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF #define HAVE_GETSID 1 EOF else echo "$ac_t""no" 1>&6 fi echo $ac_n "checking for getloadavg""... $ac_c" 1>&6 echo "configure:1724: checking for getloadavg" >&5 if eval "test \"`echo '$''{'ac_cv_func_getloadavg'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char getloadavg(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_getloadavg) || defined (__stub___getloadavg) choke me #else getloadavg(); #endif ; return 0; } EOF if { (eval echo configure:1752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_getloadavg=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_getloadavg=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'getloadavg`\" = yes"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF #define HAVEGETLOADAVG 1 EOF else echo "$ac_t""no" 1>&6 fi echo $ac_n "checking for memmove""... $ac_c" 1>&6 echo "configure:1775: checking for memmove" >&5 if eval "test \"`echo '$''{'ac_cv_func_memmove'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char memmove(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_memmove) || defined (__stub___memmove) choke me #else memmove(); #endif ; return 0; } EOF if { (eval echo configure:1803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_memmove=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_memmove=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'memmove`\" = yes"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF #define HAVE_MEMMOVE 1 EOF else echo "$ac_t""no" 1>&6 fi echo $ac_n "checking for scandir""... $ac_c" 1>&6 echo "configure:1826: checking for scandir" >&5 if eval "test \"`echo '$''{'ac_cv_func_scandir'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char scandir(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_scandir) || defined (__stub___scandir) choke me #else scandir(); #endif ; return 0; } EOF if { (eval echo configure:1854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_scandir=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_scandir=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'scandir`\" = yes"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF #define HAVE_SCANDIR 1 EOF else echo "$ac_t""no" 1>&6 fi echo $ac_n "checking for setsid""... $ac_c" 1>&6 echo "configure:1877: checking for setsid" >&5 if eval "test \"`echo '$''{'ac_cv_func_setsid'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char setsid(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_setsid) || defined (__stub___setsid) choke me #else setsid(); #endif ; return 0; } EOF if { (eval echo configure:1905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_setsid=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_setsid=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'setsid`\" = yes"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF #define HAVE_SETSID 1 EOF else echo "$ac_t""no" 1>&6 fi echo $ac_n "checking for strerror""... $ac_c" 1>&6 echo "configure:1928: checking for strerror" >&5 if eval "test \"`echo '$''{'ac_cv_func_strerror'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char strerror(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_strerror) || defined (__stub___strerror) choke me #else strerror(); #endif ; return 0; } EOF if { (eval echo configure:1956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_strerror=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_strerror=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'strerror`\" = yes"; then echo "$ac_t""yes" 1>&6 : else echo "$ac_t""no" 1>&6 cat >> confdefs.h <<\EOF #define NEED_STRERROR 1 EOF fi echo $ac_n "checking for strftime""... $ac_c" 1>&6 echo "configure:1980: checking for strftime" >&5 if eval "test \"`echo '$''{'ac_cv_func_strftime'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char strftime(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_strftime) || defined (__stub___strftime) choke me #else strftime(); #endif ; return 0; } EOF if { (eval echo configure:2008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_strftime=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_strftime=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'strftime`\" = yes"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF #define HAVE_STRFTIME 1 EOF else echo "$ac_t""no" 1>&6 fi echo $ac_n "checking for uname""... $ac_c" 1>&6 echo "configure:2031: checking for uname" >&5 if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char uname(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_uname) || defined (__stub___uname) choke me #else uname(); #endif ; return 0; } EOF if { (eval echo configure:2059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_uname=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_uname=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'uname`\" = yes"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF #define HAVE_UNAME 1 EOF else echo "$ac_t""no" 1>&6 fi echo $ac_n "checking for writev""... $ac_c" 1>&6 echo "configure:2082: checking for writev" >&5 if eval "test \"`echo '$''{'ac_cv_func_writev'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char writev(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_writev) || defined (__stub___writev) choke me #else writev(); #endif ; return 0; } EOF if { (eval echo configure:2110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_writev=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_writev=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'writev`\" = yes"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF #define HAVE_WRITEV 1 EOF else echo "$ac_t""no" 1>&6 fi echo $ac_n "checking for vasprintf""... $ac_c" 1>&6 echo "configure:2133: checking for vasprintf" >&5 if eval "test \"`echo '$''{'ac_cv_func_vasprintf'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char vasprintf(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_vasprintf) || defined (__stub___vasprintf) choke me #else vasprintf(); #endif ; return 0; } EOF if { (eval echo configure:2161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_vasprintf=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_vasprintf=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'vasprintf`\" = yes"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF #define HAVE_VASPRINTF 1 EOF else echo "$ac_t""no" 1>&6 fi echo $ac_n "checking for fputc""... $ac_c" 1>&6 echo "configure:2184: checking for fputc" >&5 if eval "test \"`echo '$''{'ac_cv_func_fputc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char fputc(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_fputc) || defined (__stub___fputc) choke me #else fputc(); #endif ; return 0; } EOF if { (eval echo configure:2212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_fputc=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_fputc=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'fputc`\" = yes"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF #define HAVE_FPUTC 1 EOF else echo "$ac_t""no" 1>&6 fi echo $ac_n "checking for fwrite""... $ac_c" 1>&6 echo "configure:2235: checking for fwrite" >&5 if eval "test \"`echo '$''{'ac_cv_func_fwrite'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char fwrite(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_fwrite) || defined (__stub___fwrite) choke me #else fwrite(); #endif ; return 0; } EOF if { (eval echo configure:2263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_fwrite=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_fwrite=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'fwrite`\" = yes"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF #define HAVE_FWRITE 1 EOF else echo "$ac_t""no" 1>&6 fi echo $ac_n "checking for snprintf""... $ac_c" 1>&6 echo "configure:2286: checking for snprintf" >&5 if eval "test \"`echo '$''{'ac_cv_func_snprintf'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char snprintf(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_snprintf) || defined (__stub___snprintf) choke me #else snprintf(); #endif ; return 0; } EOF if { (eval echo configure:2314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_snprintf=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_snprintf=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'snprintf`\" = yes"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF #define HAVE_SNPRINTF 1 EOF else echo "$ac_t""no" 1>&6 fi echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6 echo "configure:2337: checking for vsnprintf" >&5 if eval "test \"`echo '$''{'ac_cv_func_vsnprintf'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char vsnprintf(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_vsnprintf) || defined (__stub___vsnprintf) choke me #else vsnprintf(); #endif ; return 0; } EOF if { (eval echo configure:2365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_vsnprintf=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_vsnprintf=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'vsnprintf`\" = yes"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF #define HAVE_VSNPRINTF 1 EOF else echo "$ac_t""no" 1>&6 fi if test "x$enable_utf8" = "xyes" ; then echo $ac_n "checking for iconv_open""... $ac_c" 1>&6 echo "configure:2390: checking for iconv_open" >&5 if eval "test \"`echo '$''{'ac_cv_func_iconv_open'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char iconv_open(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_iconv_open) || defined (__stub___iconv_open) choke me #else iconv_open(); #endif ; return 0; } EOF if { (eval echo configure:2418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_iconv_open=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_iconv_open=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'iconv_open`\" = yes"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF #define HAVE_ICONV_OPEN 1 EOF else echo "$ac_t""no" 1>&6 fi fi echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 echo "configure:2443: checking for ANSI C header files" >&5 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include #include #include EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:2456: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* ac_cv_header_stdc=yes else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* ac_cv_header_stdc=no fi rm -f conftest* if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat > conftest.$ac_ext < EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "memchr" >/dev/null 2>&1; then : else rm -rf conftest* ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat > conftest.$ac_ext < EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "free" >/dev/null 2>&1; then : else rm -rf conftest* ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. if test "$cross_compiling" = yes; then : else cat > conftest.$ac_ext < #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main () { int i; for (i = 0; i < 256; i++) if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); exit (0); } EOF if { (eval echo configure:2523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then : else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -fr conftest* ac_cv_header_stdc=no fi rm -fr conftest* fi fi fi echo "$ac_t""$ac_cv_header_stdc" 1>&6 if test $ac_cv_header_stdc = yes; then cat >> confdefs.h <<\EOF #define STDC_HEADERS 1 EOF fi echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 echo "configure:2547: checking whether time.h and sys/time.h may both be included" >&5 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include #include int main() { struct tm *tp; ; return 0; } EOF if { (eval echo configure:2561: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_header_time=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* ac_cv_header_time=no fi rm -f conftest* fi echo "$ac_t""$ac_cv_header_time" 1>&6 if test $ac_cv_header_time = yes; then cat >> confdefs.h <<\EOF #define TIME_WITH_SYS_TIME 1 EOF fi ac_header_dirent=no for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 echo "configure:2586: checking for $ac_hdr that defines DIR" >&5 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include <$ac_hdr> int main() { DIR *dirp = 0; ; return 0; } EOF if { (eval echo configure:2599: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "ac_cv_header_dirent_$ac_safe=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_header_dirent_$ac_safe=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` cat >> confdefs.h <&6 fi done # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. if test $ac_header_dirent = dirent.h; then echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 echo "configure:2624: checking for opendir in -ldir" >&5 ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-ldir $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=no" fi rm -f conftest* LIBS="$ac_save_LIBS" fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 LIBS="$LIBS -ldir" else echo "$ac_t""no" 1>&6 fi else echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 echo "configure:2665: checking for opendir in -lx" >&5 ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-lx $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=no" fi rm -f conftest* LIBS="$ac_save_LIBS" fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 LIBS="$LIBS -lx" else echo "$ac_t""no" 1>&6 fi fi echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 echo "configure:2708: checking return type of signal handlers" >&5 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include #ifdef signal #undef signal #endif #ifdef __cplusplus extern "C" void (*signal (int, void (*)(int)))(int); #else void (*signal ()) (); #endif int main() { int i; ; return 0; } EOF if { (eval echo configure:2730: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_type_signal=void else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* ac_cv_type_signal=int fi rm -f conftest* fi echo "$ac_t""$ac_cv_type_signal" 1>&6 cat >> confdefs.h <&6 echo "configure:2749: checking for mode_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS #include #include #endif EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then rm -rf conftest* ac_cv_type_mode_t=yes else rm -rf conftest* ac_cv_type_mode_t=no fi rm -f conftest* fi echo "$ac_t""$ac_cv_type_mode_t" 1>&6 if test $ac_cv_type_mode_t = no; then cat >> confdefs.h <<\EOF #define mode_t int EOF fi echo $ac_n "checking for pid_t""... $ac_c" 1>&6 echo "configure:2782: checking for pid_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS #include #include #endif EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then rm -rf conftest* ac_cv_type_pid_t=yes else rm -rf conftest* ac_cv_type_pid_t=no fi rm -f conftest* fi echo "$ac_t""$ac_cv_type_pid_t" 1>&6 if test $ac_cv_type_pid_t = no; then cat >> confdefs.h <<\EOF #define pid_t int EOF fi echo $ac_n "checking for size_t""... $ac_c" 1>&6 echo "configure:2815: checking for size_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS #include #include #endif EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then rm -rf conftest* ac_cv_type_size_t=yes else rm -rf conftest* ac_cv_type_size_t=no fi rm -f conftest* fi echo "$ac_t""$ac_cv_type_size_t" 1>&6 if test $ac_cv_type_size_t = no; then cat >> confdefs.h <<\EOF #define size_t unsigned EOF fi echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 echo "configure:2848: checking for uid_t in sys/types.h" >&5 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "uid_t" >/dev/null 2>&1; then rm -rf conftest* ac_cv_type_uid_t=yes else rm -rf conftest* ac_cv_type_uid_t=no fi rm -f conftest* fi echo "$ac_t""$ac_cv_type_uid_t" 1>&6 if test $ac_cv_type_uid_t = no; then cat >> confdefs.h <<\EOF #define uid_t int EOF cat >> confdefs.h <<\EOF #define gid_t int EOF fi echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 echo "configure:2882: checking for ssize_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_ssize_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS #include #include #endif EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "(^|[^a-zA-Z_0-9])ssize_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then rm -rf conftest* ac_cv_type_ssize_t=yes else rm -rf conftest* ac_cv_type_ssize_t=no fi rm -f conftest* fi echo "$ac_t""$ac_cv_type_ssize_t" 1>&6 if test $ac_cv_type_ssize_t = no; then cat >> confdefs.h <<\EOF #define ssize_t int EOF fi if test x$ac_cv_header_sys_twg_config_h = xyes then cat >> confdefs.h <<\EOF #define WINS 1 EOF fi 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 echo $ac_n "checking for struct linger""... $ac_c" 1>&6 echo "configure:2936: checking for struct linger" >&5 cat > conftest.$ac_ext < EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "struct( | )*linger" >/dev/null 2>&1; then rm -rf conftest* echo "$ac_t""yes" 1>&6 else rm -rf conftest* cat >> confdefs.h <<\EOF #define NO_STRUCT_LINGER 1 EOF echo "$ac_t""no" 1>&6 fi rm -f conftest* if test x$ac_cv_func_getsid != xyes && test x$ac_cv_func_getpgid != xyes then echo $ac_n "checking if getpgrp takes an argument""... $ac_c" 1>&6 echo "configure:2960: checking if getpgrp takes an argument" >&5 if test "$cross_compiling" = yes; then : else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then echo "$ac_t""yes" 1>&6 else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -fr conftest* echo "$ac_t""no your getpgrp is painful" 1>&6 cat >> confdefs.h <<\EOF #define BROKEN_GETPGRP 1 EOF fi rm -fr conftest* fi fi echo $ac_n "checking for waitpid""... $ac_c" 1>&6 echo "configure:3016: checking for waitpid" >&5 if eval "test \"`echo '$''{'ac_cv_func_waitpid'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char waitpid(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_waitpid) || defined (__stub___waitpid) choke me #else waitpid(); #endif ; return 0; } EOF if { (eval echo configure:3044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_waitpid=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_waitpid=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'waitpid`\" = yes"; then echo "$ac_t""yes" 1>&6 : else echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6 echo $ac_n "checking for bsd wait""... $ac_c" 1>&6 echo "configure:3063: checking for bsd wait" >&5 cat > conftest.$ac_ext < #include int main() { union wait x; int y; #ifdef WEXITSTATUS y = WEXITSTATUS(x); #endif ; return 0; } EOF if { (eval echo configure:3081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* cat >> confdefs.h <<\EOF #define BSDWAIT 1 EOF bsdwait=1 echo "$ac_t""yes" 1>&6 else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* echo "$ac_t""no" 1>&6 cat >> confdefs.h <<\EOF #define NEED_WAITPID 1 EOF fi rm -f conftest* fi olibs="$LIBS" echo $ac_n "checking for select""... $ac_c" 1>&6 echo "configure:3106: checking for select" >&5 if eval "test \"`echo '$''{'ac_cv_func_select'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char select(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_select) || defined (__stub___select) choke me #else select(); #endif ; return 0; } EOF if { (eval echo configure:3134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_select=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_select=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'select`\" = yes"; then echo "$ac_t""yes" 1>&6 : else echo "$ac_t""no" 1>&6 echo $ac_n "checking for select in -lsocket""... $ac_c" 1>&6 echo "configure:3152: checking for select in -lsocket" >&5 ac_lib_var=`echo socket'_'select | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-lsocket $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=no" fi rm -f conftest* LIBS="$ac_save_LIBS" fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 LIBS="$LIBS -lsocket" else echo "$ac_t""no" 1>&6 echo $ac_n "checking for select in -lnsl""... $ac_c" 1>&6 echo "configure:3190: checking for select in -lnsl" >&5 ac_lib_var=`echo nsl'_'select | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-lnsl $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=no" fi rm -f conftest* LIBS="$ac_save_LIBS" fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 LIBS="$LIBS -lnsl" else echo "$ac_t""no" 1>&6 echo $ac_n "checking for select in -linet""... $ac_c" 1>&6 echo "configure:3228: checking for select in -linet" >&5 ac_lib_var=`echo inet'_'select | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-linet $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=no" fi rm -f conftest* LIBS="$ac_save_LIBS" fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 LIBS="$LIBS -linet" else echo "$ac_t""no" 1>&6 echo $ac_n "checking for select in -lcposix""... $ac_c" 1>&6 echo "configure:3266: checking for select in -lcposix" >&5 ac_lib_var=`echo cposix'_'select | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-lcposix $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=no" fi rm -f conftest* LIBS="$ac_save_LIBS" fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 LIBS="$LIBS -lcposix" else echo "$ac_t""no" 1>&6 echo $ac_n "checking for select in -lnet""... $ac_c" 1>&6 echo "configure:3304: checking for select in -lnet" >&5 ac_lib_var=`echo net'_'select | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-lnet $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=no" fi rm -f conftest* LIBS="$ac_save_LIBS" fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 LIBS="$LIBS -lnet" else echo "$ac_t""no" 1>&6 echo "configure: warning: i can not find select. you might need to help me" 1>&2 fi fi fi fi fi fi if test x$aix = x1 then LIBS="-lcurses $LIBS" cat >> confdefs.h <<\EOF #define INCLUDE_CURSES_H 1 EOF else olibs="$LIBS" case "`uname -s`" in Linux*) if test -d /usr/include/ncurses; then CFLAGS="-I/usr/include/ncurses $CFLAGS" fi ;; esac echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 echo "configure:3372: checking for tgetent in -ltermcap" >&5 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-ltermcap $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=no" fi rm -f conftest* LIBS="$ac_save_LIBS" fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 LIBS="-ltermcap $olibs" else echo "$ac_t""no" 1>&6 echo $ac_n "checking for tgetent in -ltinfo""... $ac_c" 1>&6 echo "configure:3410: checking for tgetent in -ltinfo" >&5 ac_lib_var=`echo tinfo'_'tgetent | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-ltinfo $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=no" fi rm -f conftest* LIBS="$ac_save_LIBS" fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 LIBS="-ltinfo $olibs" else echo "$ac_t""no" 1>&6 echo $ac_n "checking for tgetent in -ltermlib""... $ac_c" 1>&6 echo "configure:3448: checking for tgetent in -ltermlib" >&5 ac_lib_var=`echo termlib'_'tgetent | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-ltermlib $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=no" fi rm -f conftest* LIBS="$ac_save_LIBS" fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 LIBS="-ltermlib $olibs" else echo "$ac_t""no" 1>&6 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 echo "configure:3486: checking for tgetent in -lcurses" >&5 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-lcurses $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=no" fi rm -f conftest* LIBS="$ac_save_LIBS" fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 LIBS="-lcurses $olibs" else echo "$ac_t""no" 1>&6 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 echo "configure:3524: checking for tgetent in -lncurses" >&5 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-lncurses $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=no" fi rm -f conftest* LIBS="$ac_save_LIBS" fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 LIBS="-lncurses $olibs" else echo "$ac_t""no" 1>&6 echo $ac_n "checking for tgetent in -lxtermcap""... $ac_c" 1>&6 echo "configure:3562: checking for tgetent in -lxtermcap" >&5 ac_lib_var=`echo xtermcap'_'tgetent | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-lxtermcap $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=no" fi rm -f conftest* LIBS="$ac_save_LIBS" fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 LIBS="-lxtermcap $olibs" else echo "$ac_t""no" 1>&6 echo "configure: warning: i can not find tgetent. you might need to help me" 1>&2 fi fi fi fi fi fi echo $ac_n "checking for tputs in curses.h""... $ac_c" 1>&6 echo "configure:3613: checking for tputs in curses.h" >&5 cat > conftest.$ac_ext < EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "tputs( | |\()" >/dev/null 2>&1; then rm -rf conftest* cat >> confdefs.h <<\EOF #define INCLUDE_CURSES_H 1 EOF echo "$ac_t""yes" 1>&6 else rm -rf conftest* blahhack=1; echo "$ac_t""no" 1>&6 fi rm -f conftest* fi if test "x$enable_utf8" = "xyes" ; then if test -n "$svr4" -a -n "$GCC" then echo $ac_n "checking for iconv_open in -liconv""... $ac_c" 1>&6 echo "configure:3639: checking for iconv_open in -liconv" >&5 ac_lib_var=`echo iconv'_'iconv_open | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-liconv $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=no" fi rm -f conftest* LIBS="$ac_save_LIBS" fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 LIBS="$LIBS -liconv" else echo "$ac_t""no" 1>&6 fi fi fi echo "checking signal implementation" 1>&6 echo "configure:3685: checking signal implementation" >&5 echo $ac_n "checking for sigaction""... $ac_c" 1>&6 echo "configure:3687: checking for sigaction" >&5 if eval "test \"`echo '$''{'ac_cv_func_sigaction'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char sigaction(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_sigaction) || defined (__stub___sigaction) choke me #else sigaction(); #endif ; return 0; } EOF if { (eval echo configure:3715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_sigaction=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_sigaction=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'sigaction`\" = yes"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF #define USE_SIGACTION 1 EOF echo using posix signals else echo "$ac_t""no" 1>&6 echo $ac_n "checking for sigset""... $ac_c" 1>&6 echo "configure:3738: checking for sigset" >&5 if eval "test \"`echo '$''{'ac_cv_func_sigset'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char sigset(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_sigset) || defined (__stub___sigset) choke me #else sigset(); #endif ; return 0; } EOF if { (eval echo configure:3766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_sigset=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_sigset=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'sigset`\" = yes"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF #define USE_SIGSET 1 EOF echo using ok system v signals else echo "$ac_t""no" 1>&6 echo checking for reliable signals if test "$cross_compiling" = yes; then you lose. else cat > conftest.$ac_ext < #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); } EOF if { (eval echo configure:3828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then echo using bsd signals else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -fr conftest* cat >> confdefs.h <<\EOF #define SYSVSIGNALS 1 EOF echo using system v signals fi rm -fr conftest* fi fi fi if test x$bsdwait = x1 then echo $ac_n "checking for wait3 declaration""... $ac_c" 1>&6 echo "configure:3853: checking for wait3 declaration" >&5 cat > conftest.$ac_ext < dnl ) #include #include EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "wait3( | |\()" >/dev/null 2>&1; then rm -rf conftest* cat >> confdefs.h <<\EOF #define WAIT3_DECLARED 1 EOF echo "$ac_t""yes" 1>&6 else rm -rf conftest* echo "$ac_t""no" 1>&6 fi rm -f conftest* else echo $ac_n "checking for waitpid declaration""... $ac_c" 1>&6 echo "configure:3877: checking for waitpid declaration" >&5 cat > conftest.$ac_ext < dnl ) #include #include EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "waitpid( | |\()" >/dev/null 2>&1; then rm -rf conftest* cat >> confdefs.h <<\EOF #define WAITPID_DECLARED 1 EOF echo "$ac_t""yes" 1>&6 else rm -rf conftest* echo "$ac_t""no" 1>&6 fi rm -f conftest* fi echo $ac_n "checking for errno declaration""... $ac_c" 1>&6 echo "configure:3903: checking for errno declaration" >&5 if test "$cross_compiling" = yes; then : else cat > conftest.$ac_ext < #include main() { int i = errno; exit(0); } EOF if { (eval echo configure:3920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF #define ERRNO_DECLARED 1 EOF else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -fr conftest* echo "$ac_t""no" 1>&6 fi rm -fr conftest* fi echo $ac_n "checking for sys_errlist declaration""... $ac_c" 1>&6 echo "configure:3939: checking for sys_errlist declaration" >&5 if test "$cross_compiling" = yes; then : else cat > conftest.$ac_ext < #include #include main() { char *s = sys_errlist[0]; exit(0); } EOF if { (eval echo configure:3957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF #define SYS_ERRLIST_DECLARED 1 EOF else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -fr conftest* echo "$ac_t""no" 1>&6 fi rm -fr conftest* fi if test "x$enable_utf8" = "xyes" ; then echo $ac_n "checking for const iconv 2nd argument""... $ac_c" 1>&6 echo "configure:3977: checking for const iconv 2nd argument" >&5 cat > conftest.$ac_ext < EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "\\.*\\(.*const" >/dev/null 2>&1; then rm -rf conftest* echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF #define ICONV_CONST_ARG2 1 EOF else rm -rf conftest* echo "$ac_t""no" 1>&6 fi rm -f conftest* fi echo $ac_n "checking for a 32 bit integer""... $ac_c" 1>&6 echo "configure:4001: checking for a 32 bit integer" >&5 if test "$cross_compiling" = yes; then : else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then echo "$ac_t""unsigned long" 1>&6 cat >> confdefs.h <<\EOF #define UNSIGNED_LONG32 1 EOF else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -fr conftest* if test "$cross_compiling" = yes; then : else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then echo "$ac_t""unsigned int" 1>&6 cat >> confdefs.h <<\EOF #define UNSIGNED_INT32 1 EOF else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -fr conftest* echo "$ac_t""none" 1>&6 cat >> confdefs.h <<\EOF #define UNKNOWN_32INT 1 EOF fi rm -fr conftest* fi fi rm -fr conftest* fi if test ! -n "$libsocket"; then echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6 echo "configure:4071: checking for socket in -lsocket" >&5 ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-lsocket $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=no" fi rm -f conftest* LIBS="$ac_save_LIBS" fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 LIBS="$LIBS -lsocket" else echo "$ac_t""no" 1>&6 fi fi if test ! -n "$libinet"; then echo $ac_n "checking for socket in -linet""... $ac_c" 1>&6 echo "configure:4113: checking for socket in -linet" >&5 ac_lib_var=`echo inet'_'socket | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-linet $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=no" fi rm -f conftest* LIBS="$ac_save_LIBS" fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 libnsl=1; LIBS="$LIBS -linet -lnsl_s" else echo "$ac_t""no" 1>&6 fi fi echo $ac_n "checking for gethostname""... $ac_c" 1>&6 echo "configure:4154: checking for gethostname" >&5 if eval "test \"`echo '$''{'ac_cv_func_gethostname'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gethostname(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_gethostname) || defined (__stub___gethostname) choke me #else gethostname(); #endif ; return 0; } EOF if { (eval echo configure:4182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_gethostname=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_gethostname=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'gethostname`\" = yes"; then echo "$ac_t""yes" 1>&6 : else echo "$ac_t""no" 1>&6 echo $ac_n "checking for gethostname in -lnsl""... $ac_c" 1>&6 echo "configure:4200: checking for gethostname in -lnsl" >&5 ac_lib_var=`echo nsl'_'gethostname | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-lnsl $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=no" fi rm -f conftest* LIBS="$ac_save_LIBS" fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 LIBS="$LIBS -lnsl" else echo "$ac_t""no" 1>&6 fi fi echo $ac_n "checking for inet_addr in -ldgc""... $ac_c" 1>&6 echo "configure:4242: checking for inet_addr in -ldgc" >&5 ac_lib_var=`echo dgc'_'inet_addr | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-ldgc $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=no" fi rm -f conftest* LIBS="$ac_save_LIBS" fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 LIBS="$LIBS -ldgc" else echo "$ac_t""no" 1>&6 fi echo $ac_n "checking for gethostbyname in -lresolv""... $ac_c" 1>&6 echo "configure:4282: checking for gethostbyname in -lresolv" >&5 ac_lib_var=`echo resolv'_'gethostbyname | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-lresolv $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=no" fi rm -f conftest* LIBS="$ac_save_LIBS" fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 olibs=$LIBS LIBS="$LIBS -lresolv" if test "$cross_compiling" = yes; then : else cat > conftest.$ac_ext < main() { struct hostent *hp; hp = gethostbyname("`uname -n`"); exit(0); } EOF if { (eval echo configure:4335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then : else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -fr conftest* LIBS=$olibs fi rm -fr conftest* fi else echo "$ac_t""no" 1>&6 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 echo "configure:4350: checking for gethostbyname in -lnsl" >&5 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-lnsl $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=no" fi rm -f conftest* LIBS="$ac_save_LIBS" fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 olibs=$LIBS LIBS="$LIBS -lnsl" else echo "$ac_t""no" 1>&6 fi fi echo $ac_n "checking for inet_aton in -lresolv""... $ac_c" 1>&6 echo "configure:4393: checking for inet_aton in -lresolv" >&5 ac_lib_var=`echo resolv'_'inet_aton | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-lresolv $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=no" fi rm -f conftest* LIBS="$ac_save_LIBS" fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 LIBS="$LIBS -lresolv" else echo "$ac_t""no" 1>&6 fi echo $ac_n "checking for non-blocking""... $ac_c" 1>&6 echo "configure:4434: checking for non-blocking" >&5 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); }' code="$precode O_NONBLOCK $postcode" if test "$cross_compiling" = yes; then : else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then cat >> confdefs.h <<\EOF #define NBLOCK_POSIX 1 EOF echo "$ac_t""posix" 1>&6 else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -fr conftest* code="$precode O_NDELAY $postcode" if test "$cross_compiling" = yes; then : else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then cat >> confdefs.h <<\EOF #define NBLOCK_BSD 1 EOF echo "$ac_t""bsd" 1>&6 else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -fr conftest* code="$precode FIONBIO $postcode" if test "$cross_compiling" = yes; then : else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then cat >> confdefs.h <<\EOF #define NBLOCK_SYSV 1 EOF echo "$ac_t""system v" 1>&6 else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -fr conftest* echo "configure: warning: i can't find a working non blocking system" 1>&2 fi rm -fr conftest* fi fi rm -fr conftest* fi fi rm -fr conftest* fi 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) 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 echo $ac_n "checking for unix mail directory""... $ac_c" 1>&6 echo "configure:4591: checking for unix mail directory" >&5 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\" echo "$ac_t""$mdir" 1>&6 cat >> confdefs.h <&6 echo $ac_n "checking for AMS mail""... $ac_c" 1>&6 echo "configure:4611: checking for AMS mail" >&5 if test "x$HOME" != "/" -o -z "x$HOME" && test -d "$HOME/Mailbox"; then echo "$ac_t""using Mailbox" 1>&6 cat >> confdefs.h <&6 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 if test ! -n "$IRCLIB"; then IRCLIB=\${datadir}/scrollz fi 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 echo $ac_n "checking for ElectricFence library""... $ac_c" 1>&6 echo "configure:4654: checking for ElectricFence library" >&5 # Check whether --with-efence or --without-efence was given. if test "${with_efence+set}" = set; then withval="$with_efence" case "$withval" in no) echo "$ac_t""no" 1>&6 ;; *) echo "$ac_t""yes" 1>&6 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 else echo "$ac_t""no" 1>&6 fi echo $ac_n "checking paranoia status""... $ac_c" 1>&6 echo "configure:4685: checking paranoia status" >&5 # Check whether --with-paranoid or --without-paranoid was given. if test "${with_paranoid+set}" = set; then withval="$with_paranoid" echo "$ac_t""yes" 1>&6 cat >> confdefs.h <&6 fi echo $ac_n "checking for /dev/urandom""... $ac_c" 1>&6 echo "configure:4701: checking for /dev/urandom" >&5 if test -c /dev/urandom; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <> confdefs.h <&6 echo $ac_n "checking for /dev/random""... $ac_c" 1>&6 echo "configure:4715: checking for /dev/random" >&5 if test -c /dev/random; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <> confdefs.h <&6 fi fi echo $ac_n "checking for default server""... $ac_c" 1>&6 echo "configure:4732: checking for default server" >&5 # Check whether --with-default-server or --without-default-server was given. if test "${with_default_server+set}" = set; then withval="$with_default_server" if test "$withval"; then echo "$ac_t""$withval" 1>&6 cat >> confdefs.h <&6 fi else echo "$ac_t""none" 1>&6 fi echo $ac_n "checking for crypt in -lc""... $ac_c" 1>&6 echo "configure:4752: checking for crypt in -lc" >&5 ac_lib_var=`echo c'_'crypt | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-lc $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=no" fi rm -f conftest* LIBS="$ac_save_LIBS" fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF #define HAVE_CRYPT 1 EOF LIBS="-lc $LIBS" else echo "$ac_t""no" 1>&6 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 echo "configure:4794: checking for crypt in -lcrypt" >&5 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-lcrypt $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=no" fi rm -f conftest* LIBS="$ac_save_LIBS" fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF #define HAVE_CRYPT 1 EOF LIBS="-lcrypt $LIBS" else echo "$ac_t""no" 1>&6 echo $ac_n "checking for des in -ldes""... $ac_c" 1>&6 echo "configure:4836: checking for des in -ldes" >&5 ac_lib_var=`echo des'_'des | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-ldes $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=no" fi rm -f conftest* LIBS="$ac_save_LIBS" fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF #define HAVE_CRYPT 1 EOF LIBS="-ldes $LIBS" else echo "$ac_t""no" 1>&6 fi fi fi echo $ac_n "checking whether to support SOCKS""... $ac_c" 1>&6 echo "configure:4885: checking whether to support SOCKS" >&5 # Check whether --with-socks or --without-socks was given. if test "${with_socks+set}" = set; then withval="$with_socks" case "$withval" in no) echo "$ac_t""no" 1>&6 ;; yes) echo "$ac_t""yes" 1>&6 echo $ac_n "checking for SOCKSconnect in -lsocks5""... $ac_c" 1>&6 echo "configure:4896: checking for SOCKSconnect in -lsocks5" >&5 ac_lib_var=`echo socks5'_'SOCKSconnect | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-lsocks5 $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=no" fi rm -f conftest* LIBS="$ac_save_LIBS" fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 socks=5 LIBS="-lsocks5 $LIBS" else echo "$ac_t""no" 1>&6 echo $ac_n "checking for Rconnect in -lsocks""... $ac_c" 1>&6 echo "configure:4937: checking for Rconnect in -lsocks" >&5 ac_lib_var=`echo socks'_'Rconnect | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-lsocks $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=no" fi rm -f conftest* LIBS="$ac_save_LIBS" fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 socks=4 LIBS="-lsocks $LIBS" else echo "$ac_t""no" 1>&6 { echo "configure: error: Could not find socks library. You must first install socks." 1>&2; exit 1; } fi fi ;; esac else echo "$ac_t""no" 1>&6 fi if test "x$socks" = "x"; then echo $ac_n "checking whether to support SOCKS5""... $ac_c" 1>&6 echo "configure:4992: checking whether to support SOCKS5" >&5 # Check whether --with-socks5 or --without-socks5 was given. if test "${with_socks5+set}" = set; then withval="$with_socks5" case "$withval" in no) echo "$ac_t""no" 1>&6 ;; *) echo "$ac_t""yes" 1>&6 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" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then : else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* { echo "configure: error: Could not find the $withval library. You must first install socks5." 1>&2; exit 1; } fi rm -f conftest* LIBS="$TMPLIBS" ;; esac else echo "$ac_t""no" 1>&6 fi fi if test "x$socks" = "x"; then echo $ac_n "checking whether to support SOCKS4""... $ac_c" 1>&6 echo "configure:5054: checking whether to support SOCKS4" >&5 # Check whether --with-socks4 or --without-socks4 was given. if test "${with_socks4+set}" = set; then withval="$with_socks4" case "$withval" in no) echo "$ac_t""no" 1>&6 ;; *) echo "$ac_t""yes" 1>&6 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" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then : else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* { echo "configure: error: Could not find the $withval library. You must first install socks." 1>&2; exit 1; } fi rm -f conftest* ;; esac else echo "$ac_t""no" 1>&6 fi fi if test "x$socks" = "x4"; then cat >> confdefs.h <<\EOF #define SOCKS 1 EOF cat >> confdefs.h <<\EOF #define SOCKS4 1 EOF cat >> confdefs.h <<\EOF #define connect Rconnect EOF cat >> confdefs.h <<\EOF #define getsockname Rgetsockname EOF cat >> confdefs.h <<\EOF #define bind Rbind EOF cat >> confdefs.h <<\EOF #define accept Raccept EOF cat >> confdefs.h <<\EOF #define listen Rlisten EOF cat >> confdefs.h <<\EOF #define select Rselect EOF fi if test "x$socks" = "x5"; then cat >> confdefs.h <<\EOF #define SOCKS 1 EOF cat >> confdefs.h <<\EOF #define SOCKS5 1 EOF cat >> confdefs.h <<\EOF #define connect SOCKSconnect EOF cat >> confdefs.h <<\EOF #define getsockname SOCKSgetsockname EOF cat >> confdefs.h <<\EOF #define getpeername SOCKSgetpeername EOF cat >> confdefs.h <<\EOF #define bind SOCKSbind EOF cat >> confdefs.h <<\EOF #define accept SOCKSaccept EOF cat >> confdefs.h <<\EOF #define listen SOCKSlisten EOF cat >> confdefs.h <<\EOF #define select SOCKSselect EOF cat >> confdefs.h <<\EOF #define recvfrom SOCKSrecvfrom EOF cat >> confdefs.h <<\EOF #define sendto SOCKSsendto EOF cat >> confdefs.h <<\EOF #define recv SOCKSrecv EOF cat >> confdefs.h <<\EOF #define send SOCKSsend EOF cat >> confdefs.h <<\EOF #define read SOCKSread EOF cat >> confdefs.h <<\EOF #define write SOCKSwrite EOF cat >> confdefs.h <<\EOF #define rresvport SOCKSrresvport EOF cat >> confdefs.h <<\EOF #define shutdown SOCKSshutdown EOF cat >> confdefs.h <<\EOF #define listen SOCKSlisten EOF cat >> confdefs.h <<\EOF #define close SOCKSclose EOF cat >> confdefs.h <<\EOF #define dup SOCKSdup EOF cat >> confdefs.h <<\EOF #define dup2 SOCKSdup2 EOF cat >> confdefs.h <<\EOF #define fclose SOCKSfclose EOF cat >> confdefs.h <<\EOF #define gethostbyname SOCKSgethostbyname EOF fi echo $ac_n "checking whether to enable ipv6""... $ac_c" 1>&6 echo "configure:5232: checking whether to enable ipv6" >&5 if test "x$socks" = "x4" -o "x$socks" = "x5"; then echo "$ac_t""no" 1>&6 else # Check whether --enable-ipv6 or --disable-ipv6 was given. if test "${enable_ipv6+set}" = set; then enableval="$enable_ipv6" case "$enableval" in yes) echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF #define INET6 1 EOF ipv6=yes ;; esac fi if test "x$ipv6" = "xno" -o "x$ipv6" = "x" ; then echo "$ac_t""no" 1>&6 ipv6=no fi ipv6type=unknown ipv6lib=none ipv6trylibc=no if test "x$ipv6" = "xyes"; then echo $ac_n "checking ipv6 stack type""... $ac_c" 1>&6 echo "configure:5261: checking ipv6 stack type" >&5 for i in inria kame linux-glibc linux-libinet6 toshiba v6d zeta; do case $i in inria) cat > conftest.$ac_ext < #ifdef IPV6_INRIA_VERSION yes #endif EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "yes" >/dev/null 2>&1; then rm -rf conftest* ipv6type=$i; cat >> confdefs.h <<\EOF #define INET6 1 EOF fi rm -f conftest* ;; kame) cat > conftest.$ac_ext < #ifdef __KAME__ yes #endif EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "yes" >/dev/null 2>&1; then rm -rf conftest* ipv6type=$i; ipv6lib=inet6; ipv6libdir=/usr/local/v6/lib; ipv6trylibc=yes; cat >> confdefs.h <<\EOF #define INET6 1 EOF fi rm -f conftest* ;; linux-glibc) cat > conftest.$ac_ext < #if defined(__GLIBC__) && __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1 yes #endif EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "yes" >/dev/null 2>&1; then rm -rf conftest* ipv6type=$i; cat >> confdefs.h <<\EOF #define INET6 1 EOF fi rm -f conftest* ;; linux-libinet6) 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" cat >> confdefs.h <<\EOF #define INET6 1 EOF fi ;; toshiba) cat > conftest.$ac_ext < #ifdef _TOSHIBA_INET6 yes #endif EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "yes" >/dev/null 2>&1; then rm -rf conftest* ipv6type=$i; ipv6lib=inet6; ipv6libdir=/usr/local/v6/lib; cat >> confdefs.h <<\EOF #define INET6 1 EOF fi rm -f conftest* ;; v6d) cat > conftest.$ac_ext < #ifdef __V6D__ yes #endif EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "yes" >/dev/null 2>&1; then rm -rf conftest* ipv6type=$i; ipv6lib=v6; ipv6libdir=/usr/local/v6/lib; CFLAGS="-I/usr/local/v6/include $CFLAGS" fi rm -f conftest* ;; zeta) cat > conftest.$ac_ext < #ifdef _ZETA_MINAMI_INET6 yes #endif EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "yes" >/dev/null 2>&1; then rm -rf conftest* ipv6type=$i; ipv6lib=inet6; ipv6libdir=/usr/local/v6/lib; cat >> confdefs.h <<\EOF #define INET6 1 EOF fi rm -f conftest* ;; esac if test "x$ipv6type" != "xunknown"; then break fi done echo "$ac_t""$ipv6type" 1>&6 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" echo "$ac_t""You have $ipv6lib library" 1>&6 else if test "x$ipv6trylibc" = "xyes"; then echo "$ac_t""You do not have (need) $ipv6lib library, using libc" 1>&6 else { echo "configure: error: Fatal: no $ipv6lib library found. cannot continue. You need to fetch lib$ipv6lib.a from appropriate ipv6 kit and compile beforehand." 1>&2; exit 1; } fi fi fi echo $ac_n "checking getaddrinfo bug""... $ac_c" 1>&6 echo "configure:5437: checking getaddrinfo bug" >&5 if test "$cross_compiling" = yes; then echo "$ac_t""buggy" 1>&6 buggygetaddrinfo=yes else cat > conftest.$ac_ext < #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); } EOF if { (eval echo configure:5532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then echo "$ac_t""good" 1>&6 buggygetaddrinfo=no else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -fr conftest* echo "$ac_t""buggy" 1>&6 buggygetaddrinfo=yes fi rm -fr conftest* fi fi if test "x$buggygetaddrinfo" = "xyes"; then if test "x$ipv6" = "xyes" -a "x$ipv6type" != "xlinux"; then { echo "configure: error: Fatal: You must get working getaddrinfo() function." 1>&2; exit 1; } { echo "configure: error: or you can specify "--disable-ipv6"." 1>&2; exit 1; } exit 1 elif test "x$ipv6type" = "xlinux"; then { echo "configure: error: Warning: getaddrinfo() implementation on your system seems be buggy." 1>&2; exit 1; } { echo "configure: error: Better upgreade your system library to newest version" 1>&2; exit 1; } { echo "configure: error: of GNU C library (aka glibc)." 1>&2; exit 1; } fi fi echo $ac_n "checking for struct sockaddr's sa_len""... $ac_c" 1>&6 echo "configure:5561: checking for struct sockaddr's sa_len" >&5 cat > conftest.$ac_ext < #include int main() { struct sockaddr sa; int i; i = sa.sa_len; exit(0); ; return 0; } EOF if { (eval echo configure:5579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* cat >> confdefs.h <<\EOF #define HAVE_SOCKADDR_SA_LEN 1 EOF echo "$ac_t""yes" 1>&6 else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* echo "$ac_t""no" 1>&6 fi rm -f conftest* echo $ac_n "checking whether to enable SSL""... $ac_c" 1>&6 echo "configure:5595: checking whether to enable SSL" >&5 # Check whether --with-ssl or --without-ssl was given. if test "${with_ssl+set}" = set; then withval="$with_ssl" case "$withval" in no) echo "$ac_t""no" 1>&6 ;; *) echo "$ac_t""yes" 1>&6 olibs="$LIBS" ocflags="$CFLAGS" if test "x$withval" = "xyes"; then gnutls_prefix="" else gnutls_prefix="$withval" fi echo $ac_n "checking for GNU TLS""... $ac_c" 1>&6 echo "configure:5612: checking for GNU TLS" >&5 pkg-config --exists gnutls >/dev/null 2>&1 if test $? -ne 0; then echo "$ac_t""no" 1>&6 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 cat > conftest.$ac_ext < int main() { gnutls_check_version(NULL); ; return 0; } EOF if { (eval echo configure:5639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF #define HAVE_SSL 1 EOF ssl=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* echo "$ac_t""no" 1>&6 LIBS="$olibs" CFLAGS="$ocflags" ssl=no fi rm -f conftest* fi esac else echo "$ac_t""no" 1>&6 fi echo $ac_n "checking whether to enable OpenSSL""... $ac_c" 1>&6 echo "configure:5666: checking whether to enable OpenSSL" >&5 if test "x$ssl" = "xyes"; then echo "$ac_t""no (you enabled GNU TLS support)" 1>&6 else # Check whether --with-openssl or --without-openssl was given. if test "${with_openssl+set}" = set; then withval="$with_openssl" case "$withval" in no) echo "$ac_t""no" 1>&6 ;; *) echo "$ac_t""yes" 1>&6 olibs="$LIBS" ocflags="$CFLAGS" if test "x$withval" = "xyes"; then openssl_prefix="" else openssl_prefix="$withval" fi echo $ac_n "checking for OpenSSL""... $ac_c" 1>&6 echo "configure:5686: checking for OpenSSL" >&5 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 cat > conftest.$ac_ext < int main() { return OPENSSL_VERSION_NUMBER; ; return 0; } EOF if { (eval echo configure:5705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF #define HAVE_OPENSSL 1 EOF openssl=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* echo "$ac_t""no" 1>&6 LIBS="$olibs" CFLAGS="$ocflags" openssl=no fi rm -f conftest* ;; esac else echo "$ac_t""no" 1>&6 fi fi echo $ac_n "checking whether to enable regexp support""... $ac_c" 1>&6 echo "configure:5733: checking whether to enable regexp support" >&5 # Check whether --enable-regexp or --disable-regexp was given. if test "${enable_regexp+set}" = set; then enableval="$enable_regexp" case "$enableval" in yes) cat > conftest.$ac_ext < #include int main() { int rc; regex_t preg; rc = regcomp(&preg, "blah", REG_EXTENDED); if (rc != 0) return 1; else return 0; ; return 0; } EOF if { (eval echo configure:5753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF #define HAVE_REGCOMP 1 EOF regexp=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* echo "$ac_t""no" 1>&6 LIBS="$ac_save_LIBS" regexp=no fi rm -f conftest* ;; esac fi if test "x$regexp" = "xno" -o "x$regexp" = "x" ; then echo "$ac_t""no" 1>&6 regexp=no fi echo $ac_n "checking whether to enable FiSH support""... $ac_c" 1>&6 echo "configure:5780: checking whether to enable FiSH support" >&5 # Check whether --enable-fish or --disable-fish was given. if test "${enable_fish+set}" = set; then enableval="$enable_fish" case "$enableval" in yes) olibs="$LIBS" LIBS="$LIBS -lgmp" cat > conftest.$ac_ext < #include int main() { int rc; mpz_t val; mpz_init(val); return 0; ; return 0; } EOF if { (eval echo configure:5801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF #define HAVE_GMP 1 EOF fish=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* LIBS="$olibs" fish=no fi rm -f conftest* ;; esac fi if test "x$fish" = "xno" -o "x$fish" = "x" ; then echo "$ac_t""no" 1>&6 fish=no fi if test -n "$hpux" then # HP-UX's pax is broken for ac_prog in tar cpio do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:5834: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_COPY_DIRECTORY'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test -n "$COPY_DIRECTORY"; then ac_cv_prog_COPY_DIRECTORY="$COPY_DIRECTORY" # Let the user override the test. else IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$PATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_prog_COPY_DIRECTORY="$ac_prog" break fi done IFS="$ac_save_ifs" fi fi COPY_DIRECTORY="$ac_cv_prog_COPY_DIRECTORY" if test -n "$COPY_DIRECTORY"; then echo "$ac_t""$COPY_DIRECTORY" 1>&6 else echo "$ac_t""no" 1>&6 fi test -n "$COPY_DIRECTORY" && break done else for ac_prog in pax tar cpio do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:5869: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_COPY_DIRECTORY'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test -n "$COPY_DIRECTORY"; then ac_cv_prog_COPY_DIRECTORY="$COPY_DIRECTORY" # Let the user override the test. else IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$PATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_prog_COPY_DIRECTORY="$ac_prog" break fi done IFS="$ac_save_ifs" fi fi COPY_DIRECTORY="$ac_cv_prog_COPY_DIRECTORY" if test -n "$COPY_DIRECTORY"; then echo "$ac_t""$COPY_DIRECTORY" 1>&6 else echo "$ac_t""no" 1>&6 fi test -n "$COPY_DIRECTORY" && break done 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 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 for ac_prog in gzcat zcat gunzip gzip uncompress uncompress do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:5939: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_ZCAT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test -n "$ZCAT"; then ac_cv_prog_ZCAT="$ZCAT" # Let the user override the test. else IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$PATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_prog_ZCAT="$ac_prog" break fi done IFS="$ac_save_ifs" fi fi ZCAT="$ac_cv_prog_ZCAT" if test -n "$ZCAT"; then echo "$ac_t""$ZCAT" 1>&6 else echo "$ac_t""no" 1>&6 fi test -n "$ZCAT" && break done 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 cat >> confdefs.h <> confdefs.h <> confdefs.h <&6 echo "configure:6014: checking for $word" >&5 IFS="${IFS= }"; saveifs="$IFS"; IFS="${IFS}:" for dir in $_PATH; do test -z "$dir" && dir=. if test -f $dir/$word; then SENDMAIL=$dir/$word break fi done IFS="$saveifs" fi echo "$ac_t""$SENDMAIL" 1>&6 trap '' 1 2 15 cat > confcache <<\EOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs. It is not useful on other systems. # If it contains results you don't want to keep, you may remove or edit it. # # By default, configure uses ./config.cache as the cache file, # creating it if it does not exist already. You can give configure # the --cache-file=FILE option to use a different cache file; that is # what configure does when it calls configure scripts in # subdirectories, so they share the cache. # Giving --cache-file=/dev/null disables caching, for debugging configure. # config.status only pays attention to the cache file if you give it the # --recheck option to rerun configure. # EOF # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, don't put newlines in cache variables' values. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. (set) 2>&1 | case `(ac_space=' '; set | grep ac_space) 2>&1` in *ac_space=\ *) # `set' does not quote correctly, so add quotes (double-quote substitution # turns \\\\ into \\, and sed turns \\ into \). sed -n \ -e "s/'/'\\\\''/g" \ -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" ;; *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' ;; esac >> confcache if cmp -s $cache_file confcache; then : else if test -w $cache_file; then echo "updating cache $cache_file" cat confcache > $cache_file else echo "not updating unwritable cache $cache_file" fi fi rm -f confcache trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' # Any assignment to VPATH causes Sun make to only execute # the first set of double-colon rules, so remove it if not needed. # If there is a colon in the path, we need to keep it. if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' fi trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 DEFS=-DHAVE_CONFIG_H # Without the "./", some shells look in PATH for config.status. : ${CONFIG_STATUS=./config.status} echo creating $CONFIG_STATUS rm -f $CONFIG_STATUS cat > $CONFIG_STATUS </dev/null | sed 1q`: # # $0 $ac_configure_args # # Compiler output produced by configure, useful for debugging # configure, is in ./config.log if it exists. ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" for ac_option do case "\$ac_option" in -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; -version | --version | --versio | --versi | --vers | --ver | --ve | --v) echo "$CONFIG_STATUS generated by autoconf version 2.13" exit 0 ;; -help | --help | --hel | --he | --h) echo "\$ac_cs_usage"; exit 0 ;; *) echo "\$ac_cs_usage"; exit 1 ;; esac done ac_given_srcdir=$srcdir trap 'rm -fr `echo "Makefile source/Makefile ircbug include/defs.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 EOF cat >> $CONFIG_STATUS < conftest.subs <<\\CEOF $ac_vpsub $extrasub s%@SHELL@%$SHELL%g s%@CFLAGS@%$CFLAGS%g s%@CPPFLAGS@%$CPPFLAGS%g s%@CXXFLAGS@%$CXXFLAGS%g s%@FFLAGS@%$FFLAGS%g s%@DEFS@%$DEFS%g s%@LDFLAGS@%$LDFLAGS%g s%@LIBS@%$LIBS%g s%@exec_prefix@%$exec_prefix%g s%@prefix@%$prefix%g s%@program_transform_name@%$program_transform_name%g s%@bindir@%$bindir%g s%@sbindir@%$sbindir%g s%@libexecdir@%$libexecdir%g s%@datadir@%$datadir%g s%@sysconfdir@%$sysconfdir%g s%@sharedstatedir@%$sharedstatedir%g s%@localstatedir@%$localstatedir%g s%@libdir@%$libdir%g s%@includedir@%$includedir%g s%@oldincludedir@%$oldincludedir%g s%@infodir@%$infodir%g s%@mandir@%$mandir%g s%@VERSION@%$VERSION%g s%@CATEGORIES@%$CATEGORIES%g s%@CC@%$CC%g s%@CPP@%$CPP%g s%@srcdir@%$srcdir%g s%@objdir@%$objdir%g s%@EXTRA_OBJECTS@%$EXTRA_OBJECTS%g s%@EXTRA_SOURCES@%$EXTRA_SOURCES%g s%@IRCLIB@%$IRCLIB%g s%@COPY_DIRECTORY@%$COPY_DIRECTORY%g s%@INSTALL_HELP_CMD@%$INSTALL_HELP_CMD%g s%@INSTALL_TRANSLATION_CMD@%$INSTALL_TRANSLATION_CMD%g s%@ZCAT@%$ZCAT%g s%@SENDMAIL@%$SENDMAIL%g s%@RM@%$RM%g s%@LN@%$LN%g CEOF EOF cat >> $CONFIG_STATUS <<\EOF # Split the substitutions into bite-sized pieces for seds with # small command number limits, like on Digital OSF/1 and HP-UX. ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. ac_file=1 # Number of current file. ac_beg=1 # First line for current file. ac_end=$ac_max_sed_cmds # Line after last line for current file. ac_more_lines=: ac_sed_cmds="" while $ac_more_lines; do if test $ac_beg -gt 1; then sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file else sed "${ac_end}q" conftest.subs > conftest.s$ac_file fi if test ! -s conftest.s$ac_file; then ac_more_lines=false rm -f conftest.s$ac_file else if test -z "$ac_sed_cmds"; then ac_sed_cmds="sed -f conftest.s$ac_file" else ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" fi ac_file=`expr $ac_file + 1` ac_beg=$ac_end ac_end=`expr $ac_end + $ac_max_sed_cmds` fi done if test -z "$ac_sed_cmds"; then ac_sed_cmds=cat fi EOF cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". case "$ac_file" in *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; *) ac_file_in="${ac_file}.in" ;; esac # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. # Remove last slash and all that follows it. Not all systems have dirname. ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then # The file is in a subdirectory. test ! -d "$ac_dir" && mkdir "$ac_dir" ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" # A "../" for each directory in $ac_dir_suffix. ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` else ac_dir_suffix= ac_dots= fi case "$ac_given_srcdir" in .) srcdir=. if test -z "$ac_dots"; then top_srcdir=. else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; *) # Relative path. srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" top_srcdir="$ac_dots$ac_given_srcdir" ;; esac echo creating "$ac_file" rm -f "$ac_file" configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." case "$ac_file" in *Makefile*) ac_comsub="1i\\ # $configure_input" ;; *) ac_comsub= ;; esac ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` sed -e "$ac_comsub s%@configure_input@%$configure_input%g s%@srcdir@%$srcdir%g s%@top_srcdir@%$top_srcdir%g " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file fi; done rm -f conftest.s* # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where # NAME is the cpp macro being defined and VALUE is the value it is being given. # # ac_d sets the value in "#define NAME VALUE" lines. ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)' ac_dB='\([ ][ ]*\)[^ ]*%\1#\2' ac_dC='\3' ac_dD='%g' # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE". ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' ac_uB='\([ ]\)%\1#\2define\3' ac_uC=' ' ac_uD='\4%g' # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE". ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' ac_eB='$%\1#\2define\3' ac_eC=' ' ac_eD='%g' if test "${CONFIG_HEADERS+set}" != set; then EOF cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF fi for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". case "$ac_file" in *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; *) ac_file_in="${ac_file}.in" ;; esac echo creating $ac_file rm -f conftest.frag conftest.in conftest.out ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` cat $ac_file_inputs > conftest.in EOF # Transform confdefs.h into a sed script conftest.vals that substitutes # the proper values into config.h.in to produce config.h. And first: # Protect against being on the right side of a sed subst in config.status. # Protect against being in an unquoted here document in config.status. rm -f conftest.vals cat > conftest.hdr <<\EOF s/[\\&%]/\\&/g s%[\\$`]%\\&%g s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp s%ac_d%ac_u%gp s%ac_u%ac_e%gp EOF sed -n -f conftest.hdr confdefs.h > conftest.vals rm -f conftest.hdr # This sed command replaces #undef with comments. This is necessary, for # example, in the case of _POSIX_SOURCE, which is predefined and required # on some systems where configure will not decide to define it. cat >> conftest.vals <<\EOF s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */% EOF # Break up conftest.vals because some shells have a limit on # the size of here documents, and old seds have small limits too. rm -f conftest.tail while : do ac_lines=`grep -c . conftest.vals` # grep -c gives empty output for an empty file on some AIX systems. if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi # Write a limited-size here document to conftest.frag. echo ' cat > conftest.frag <> $CONFIG_STATUS sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS echo 'CEOF sed -f conftest.frag conftest.in > conftest.out rm -f conftest.in mv conftest.out conftest.in ' >> $CONFIG_STATUS sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail rm -f conftest.vals mv conftest.tail conftest.vals done rm -f conftest.vals cat >> $CONFIG_STATUS <<\EOF rm -f conftest.frag conftest.h echo "/* $ac_file. Generated automatically by configure. */" > conftest.h cat conftest.in >> conftest.h rm -f conftest.in if cmp -s $ac_file conftest.h 2>/dev/null; then echo "$ac_file is unchanged" rm -f conftest.h else # Remove last slash and all that follows it. Not all systems have dirname. ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then # The file is in a subdirectory. test ! -d "$ac_dir" && mkdir "$ac_dir" fi rm -f $ac_file mv conftest.h $ac_file fi fi; done EOF cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF exit 0 EOF chmod +x $CONFIG_STATUS rm -fr confdefs* $ac_clean_files test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 #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.1.orig/configure.in0000644000176500017650000010604711313706202016075 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 if test "x$enable_utf8" = "xyes" ; then 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 -liconv" ;; *) AC_MSG_RESULT(no) esac 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_WARN(i can not find tgetent. you might need to help me))))))) 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.1.orig/SZdist.c0000644000176500017650000005207410522104410015142 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.1.orig/README0000644000176500017650000000114506576006340014450 0ustar madhackmadhack$Id: README,v 1.1.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.1.orig/acconfig.h0000644000176500017650000001515310764527445015526 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.1.orig/NEWS0000644000176500017650000002135107443211235014263 0ustar madhackmadhack@(#)$eterna: NEWS,v 1.48 2002/03/10 10:17:38 mrg Exp $ Changes since ircII 20011210: o fixes for server passwords o fix for linking on solaris o don't send notices that are flooding as if they are public notices o bug fix to keep track of my own nickname o /on foo will now show fuzzy matches again "foo" instead of complaining about ambiguity o /window create should work properly now, no i really mean it this time o random bug fixes o /window create windows now have input buffers that do not interfere with each other o new $filestat() function o /timer is now sub-second aware o raw DCC core dump bug fixes Changes since ircII 20010612: o new /on raw_send o new /exec -filter option o fixed mIRC colour code handling o enhanced redirection to multiple targets o bug fix for $mid() o bug fix for when resizing to a smaller window o other bug fixes Changes since ircII 4.4: o dcc source address can be edited (usable with masquerade) o japanese support (ISO2022_SUPPORT) o new /set star_prefix to replace the standard "*** " prefix. o new $windows(), $screens(), $notify() and $ignored() functions. o fixes for /nick problems. o new /set status_voice variable associated with new status_format modifier %v, and voice on the current channel. o many bugs fixes o /me support for ICB. o new AES/rijndael cipher (CBC mode) available o ircII is now version as YYYYMMDD only o new command line option -t to disable termcap ti/te sequences o new /window nostatus for no status line at all o new /set hide_channel_keys variable o new /set {fore,back}ground_colour variables o new /set xterm_geomoptstr variable o no more (insecure) ``priviledge port'' support o scrollback no longer goes beyond the end of the lastlog history o new /cat command o new $chatpeers() function o new /set make_notice_msg variable o /encrypt -showkeys option added o lastlog level HELP added o more bugs fixed o additional /bind-able metakeys: meta5_character, meta6_character, meta7_character, meta8_character o forward and backward scroll *really* works! o scrolling directly to the start also works! o most /ignore requests are now honoured by the ICB mode o new /set no_ask_password variable added o new /set xterm_path variable added o new /set irchost variable added o IPv6 [se:ve:er]:port support added o translation table support in dumb mode o new $wincols() and $winrows() functions which return the number of columns and rows in this window o /set auto_unmark_away fixed after many years o bunches of bugs fixed o if /dcc get fails due to local permissions, the offer is not removed any longer, allowing the problem to be fixed o +c (colourless) and +R (registered users only) channel modes o IRC 2.10 !channels supported o vasprintf(3) support o aliases of dynamic sizes! o channels *really* should stay attached to windows properly and hang around after reconnects, etc. o /join bug is gone o new /on window_swap that is triggered when you swap windows. o /window bind has original behaviour; stick to windows not channels. o ICB support extended. o IPv6 support has been integrated. o added hasvoice() and dcclist() functions. See help. o .ircquick file support for separate files to be executed between and after connection to server. o standard GNU configure --srcdir and object directory support has been added. o many more bugs have been fixed. o $servertype() function has been added, which returns ICB or IRC, including server version. o SOCKS version 5 support has been added. o ICB support had been added. o CAST-128 support has been changed from EBC mode to CBC mode, which make sit incompatible with interium releases of 4.4-Lite. o bugs fixed all over the place o colour support added o bugs in crypto code fixed. now works without crashing. o /exec -target ($T) works o "window query" works o new functions winvis() and querynick() o allow "window channel #chan,key" to work o various flash-style attacks have been fixed. o /timer, and several variables are now aware of the current server context. o several translation tables have been updated and added. o broken servers are handled better. o long nick names are supported. o many bugs have been fixed. o support for irc2.10 has been added. o messages typically always go the right window now, rather than just most of the time. o the paranoid may now easily turn of returning information about oneself to various ctcp commands with --with-paranoid o several enhancements to the encryption system: - the old external program interface is changed to not leak information via the command line. - a CAST-128 implementation has been added to provide strong encryption for both normal IRC channels, messages, and also DCC chat connections. - several bugs fixed. o ircII is now under a BSD-style copyright. thanks to troy rollo and mike sandrof for helping this process so much, so quickly! o fix core dumps in /queue o docmentation enhancements o new script `nocolour' for dealing with mIRC-style colour codes o fix several configuration time problems o fix the "encryption_program". o expand ctcp to dcc. queries only, no replies. dcc send, actions, ctcp UTC, etc. work. prints more information when connecting. o fixes stupid "channel leave" bug. o add new configure switch `--paranoid' which turns of then uname and finger information returned in ctcp version and finger replies. o avoid buffer overflows in dcc chat code, as noted on bugtraq. o fix problems with ctcp encryption o setting the logfile will expand `~user' expressions o fix the $rindex() function. 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. o new `/squery' and `/servlist' commands, for ircd 2.9.x. o annoying bug in `/server -delete' fixed. 0 several more bugs fixed. o window scroll now works better. scrollz-2.1.orig/ChangeLog.ScrollZ0000644000176500017650000013744311314347444016743 0ustar madhackmadhackThis is ScrollZ IRC client changelog Meaning of flags: + = new stuff ! = fixed stuff - = removed stuff ~ = changed stuff ------------------------------------------------------------------------------ ScrollZ v2.1, 23.12.2009 I'd like to dedicate this release to frash who passed away in September 2009. NOTICE: Mailing list is no longer operational. It only received spam so we have decided to turn it off. ! ISO 2022 JP encoding in lastlog ! compilation using older compilers (gcc 2.95, reported by aflux) ! IGNORE blah ^TYPE (reported by one) + SET DCC_HOST (requested by wiz) ! line wrapping improvements (patch by jm_) ! GNU TLS now uses pkg-config (patch by Mike Markley, thanks) + configure option to disable UTF-8 support + push line functionality, default bind is alt-q, see help for more info (patch by jm_) ! default STATUS_FORMAT now properly terminates colour sequence to prevent background colour overflowing to next lines (reported by TrN) ~ FiSH encryption now requires libgmp (patch by TrN based on implementation by Dcoder) + SET ENCRYPT_PAD_MSGS and SET ENCRYPT_PAD_PUBLIC (an effort to make encryption less prone to frequency analysis attacks) + SET SAVE_ENCRYPTION_KEYS, when enabled keys used for encryption are saved to ScrollZ.save (requires master password to be set as keys are encrypted using master password, requested by TrN, you are prompted to enter master password when client is restarted if keys are found in ScrollZ.save) + improvements to tabkey handling for directories (patch by jm_) + various small improvements ! fixes for 64-bit systems (reported by Jugernaut) ! some bugs that led to crashes (mostly dereferencing NULL pointers) ~ W without arguments uses current channel (patch by flashback) ! buffer overflow crash (reported by fet) ------------------------------------------------------------------------------ ScrollZ v2.0, 30.12.2008 ! IGNORE nick ignore_type works again (reported by -jff-) + URL catcher now saves nick and channel in publics + OpenSSL support (use configure --with-openssl) ! input encodings other than UTF-8 produced garbled non-ASCII characters when input history was used (reported by biini) ! crashes when iconv fails (reported by ShadowImg) + $stripcrap() which strips all non-printable characters from a string (requested by JohnnyM) + $tr() which translates characters in set1 from characters in set2 (similar to a Unix tr utility, requested by JohnnyM) + $pattern() which returns all words from a list that are matched by a pattern (requested by JohhnyM) + $chr() which returns string from a list of ascii codes ! DCC RAW connections executed connect hook too early when non blocking connections were enabled ! ScrollZ now runs fine on Mac OS X x86 + SHOWCHAN which allows one to hide certain channels from status bar (requested by juha) + LISTN now has options to list only online/offline notifies (requested by ol@fson) ! STRSTR() which returned wrong string ! SET AWAY_FILE now accepts full path for ScrollZ.away file (reported by gebion) + URL catcher now also handles channel topics ! don't print join sync msg when sending mode #chan +b, this happens upon receiveing channel operator status after join because we send MODE #chan e to obtain ban exceptions (reported by wiz) + ISO-2022-JP encoding support, /SET ISO2022_SUPPORT ON if you need it ! bug when nick ended with a tilde, client would still show nick as present even though they parted the channel (reported by juha) ! WHO -FILE fixes by flashback + support for numeric #479 (illegal channel name, coded by flashback) + FiSH support has been integrated in main src + MSG -SERVER (requested by smk) ~ DCC RAW no longer sends newline by default, fix your scripts in case you need this! + SET AUTO_RECONNECT_CHANNELS (coded by flashback) + -n CLI parameter, if specified no server is connected at startup (coded by flashback) ! configure should now properly find iconv.h on FreeBSD ! don't send disconnect notice in plain text when SSL connection is used (reported by wiz) ! crash when server connection is closed in case of SSL connections (if GNUTLS is used, reported by q) + tab completion for SET variables (implemented by flashback) + WHOIS now recognises numeric 671 (secure connection, implemented by flashback) + upon receipt of DCC REJECT CTCP reply the corresponding DCC is closed + SET SEND_USERHOST_ON_NICK_IN_USE (if set to off client will not send userhost query when server sends nickname already in use reply) + MONITOR support (available on ircd-ratbox, coded by flashback) + SET NETSPLIT_TIME (to set how long client keeps netsplit info, patch by flashback) ! stuck input prompt bug (thanks to wiz for testing) ! SZsetup was missing some colours (reported by jm_) ! crash upon exit if flood list was not yet initialized + SET NOTIFY_SHOW_NAME (if enabled activity includes window name, patch by flashback) + WINDOW UNNAME (unset window name, patch by flashback) ! long standing bug where client would send stuff from unnitialised buffer to server (thanks to Jugernaut for helping me with this) + SET CHANLOG_STRIP_ANSI (by flashback, when enabled ANSI colour codes are stripped from chanlog) + SET STATUS_NOTIFY_END and SET STATUS_NOTIFY_START (see help for more info, patch by jm_) ------------------------------------------------------------------------------ ScrollZ v1.9.99, 30.10.2006 NOTE: Homepage has been changed to http://www.scrollz.org/ + temporary ban shitlist type (see help on commands ADDBK and BANTIME, requested by duckdown) ! crash on SET -STATUS_FORMAT (reported on Debian BT) ! memory leak (ircII bug from UTF-8 code merge) + SET STATUS_LINES to set default number of status lines for new windows (requested by a Debian user) + SET STATUS_SCROLLED, SET STATUS_SCROLLED_LINES (ircII merge) - SET USE_OLD_MSG (ircII merge) ~ flood protection status bar variable has been renamed to %X ------------------------------------------------------------------------------ ScrollZ v1.9.98.1, 4.5.2006 ! compilation without ANSI colour support ! ANSI colour support when compiled without iconv support ------------------------------------------------------------------------------ ScrollZ v1.9.98, 1.5.2006 ! core dump on exit when FLOOD_USERS was increased (reported by jm_) ! crash on IrcNet when doing /FILINE (reported by kore) ! orig nick displaying server messages even if quiet mode was enabled (it happened if lag is greater than orig nick timer, reported by wood) ! GNU TLS 1.0 is required for SSL support now, OpenSSL is no longer supported + REGEXPREPL() which offers POSIX.2 compatible search & replace functionality with back references support, see HELP ALIAS FUNCTIONS for an example ! ncurses check during configure, should fix build on SuSE Linux + IGNORE nick!user@host now works (reported by pluto) ~ userlist takes precedence over shitlist (so you can shitlist *!*~*@* and still alow *!*user@*.host.com, requested by tel) ! DESTDIR errors for manual pages (fix provided by Matto Fransen) ! numeric 477 is properly handled on Freenode (reported by TrN) + merged UTF-8 support from ircII - some things might be broken because of that, please report bugs + support for channel modes gzQ on freenode (requested by TrN) + $chankey(#channel) returns channel key (requested by TrN) ------------------------------------------------------------------------------ ScrollZ v1.9.5, 23.4.2005 ~ attempt has been made to work around a limitation on efnet servers where you are not allowed to see ban exceptions unless opped, client will resend MODE #chan e when opped + REGEXP() which uses POSIX.2 regular expression matching, requested by Mc + SHOWIDLE -O|-N to display chan ops/non-ops only, requested by Blaxthos + SHOWKILL will now show when were you killed (requested by Blaxthos) ! weird crash upon channel join (seen on broken ircd, reported by kore) + ETOPIC to extend current topic (requested by hapan) + ETDELIM to set topic delimiter for ETOPIC (requested by hapan) + VOICE/DVOICE to voice/devoice users (requested by hapan) ! CDBAN not clearing all bans on channels with large ban list (reported by Blaxthos) ! wserv now compiles on FreeBSD (reported by sgm) ------------------------------------------------------------------------------ ScrollZ v1.9.4, 19.12.2004 + DESTDIR support in Makefile, patch submitted by MadHack- ! support for ! channels on IRCNet (reported by jups) ! ETA display on DCC REGET at connection startup ! DCC completed prematurely message when DCC REGET completes ! LIST -WIDE crashing/freezing the client (reported by Clemens Fischer) ! excess flood problems on newer Efnet servers should now be fixed (client queues channel joins, this results in slower joins though) ! don't use $color() in STAMP_FORMAT when LITE is defined (reported by Damm) ! FTRACE * irc.non-existing-server.com bug where FTRACE would no longer work (reported by taliz) + support for numeric 515 on freenode (need to be identified to join +r channels, requested by TrN) + partial support for ~ (channel owner) and & (channel admin) in unreal ircd (requested by Ahnberg) ! orignick not working for certain values of ORIGNTIME (reported by Tero) ! CDCC GET not working on filenames with spaces (reported by TrN) ! OV bugfixes ! compile with WANTANSI undefined (reported by vetere) ! crash with SET DISPLAY_ANSI set to OFF (reported by vetere) + support for channel mode R on ircd 2.11 (reop, requested by Tero) ------------------------------------------------------------------------------ ScrollZ v1.9.3, 11.5.2004 ! when ARINWIN was trigered by an action and current window did not match target window for the action, all messages would start showing in current window ------------------------------------------------------------------------------ ScrollZ v1.9.2, 9.5.2004 ! only characters with ASCII codes below 32 are printed in reverse when printing channel names returned by whois, fixes display of 8-bit national characters (reported by Tero) ------------------------------------------------------------------------------ ScrollZ v1.9.1, 1.5.2004 ! wserv now builds again (reported by aflux) + COLOR MISC color4 is now used to color <>s in publics for people from user list, COLOR MISC color5 is used for your publics (requested by salan) ! crash on PASSWD one_letter_password + SETBACK now decrypts away messages if master password is set and AWAYENCR is set to ON (requested by Metalfan) ! tab completion no longer assumes slash is the command character but honours value of CMDCHARS (reported by Anton Aksola) ! ETA calculation for DCC reget/resend (patch submitted by Freddie) ! parsing of @+ in names on hispano IRC network (reported by emux) + parsing of WHOIS actually (requested by braneded) + SET STAMP_FORMAT now supports strftime conversion specifiers if available (requested by wiz) + improved OperVision parsing ! lots of OperVision parsing bugs + ignore levels PART and JOIN for channels parts and joins, respectively (requested by TrN and tel) ! SET DISPLAY_ANSI OFF no longer cuts lines at 4 characters ! mIRC colours overflowing to input prompt if a line with mIRC colours was not terminated with a color off (reported by Una) + FDLINE to filter D/d lines in -DOPER (requested by wiZ) ! SET DISPLAY_ANSI OFF cutting lines at 4th character ! terminal resize bug with hidden windows (ircII bug, reported by Zid) + $stamp() which returns current timestamp as set by SET STAMP_FORMAT ! IDLETIME value being ignored when determining what users to kick (reported by taliz) ! delayed op no longer ops already opped users (reported by taliz) ! turn off all colours after user's IRCNAME in whois (reported by taliz) ! a possible buffer overflow + AWAYSAVE AWAY, it controls saving of SetAway/SetBack messages to ScrollZ.away (requested by taliz) ! timer + orignick related bug where ScrollZ would take all CPU time it could get (reported by Una, thanks to TrN for testing) + ADDF now accepts -QUIET to omit sending notice to target nick (requested by taliz) + SET HYPER_DCC which replaces compile time define HYPERDCC (suggested by Merlin) ! WINDOW LEVEL +level1,level2,... + URL catcher now also stores the source of the URL (nick if it was in a privmsg, or a channel for publics, requested by poorboy) + $url(number [string]) now returns given url and its source if called with two arguments ~ by default kick/nick/deop floods, showaway, kick on flood and kick on ban are turned off (suggested by b-) ! TIMER -REFNUM crash (ircII bug, reported by Adam Balogh) ! WHO -SHOW_SERVER command line parsing, fixes WHO -SHOW_SERVER -OPER (reported by braneded) ! CDBAN not clearing all bans (reported by enkil) ! crash on switch_channels with empty server list (reported by jups) + @ usermode support + wordkicks in actions (coded by braneded) + CDE to clear ban exceptions (requested by Blaxthos) ! compile with celerity enabled (bugfix by Pier) ! compile on FBSD 5.1+ with IPv6 enabled (patch from ircII by Damm) ! @%+nick support for some ircds + ADDW now support -BAN and -TIME, see help for more info (requested by eviilboy) + client should no longer excess flood when joining a lot of channels at once (when reconnecting on hybrid7/latest ratbox) ! compile using Apple GCC and IBM XLC (fix by TrN) ! crash when orignick kicks in and there are no servers in the list (reported by taliz) ! annoying bug where a character with hex code 0xff was entered in input prompt when input prompt was empty and a value of DISPLAY_ANSI variable has changed + support for numeric 379 (channel redirects on Freenode, suggested by nms) ! character translation screw up when scrolling back (ircII bug, reported by KOBAN) + translation tables to the tarball ! crash on numeric 351 on irc.winbeta.org (looks like weird ircd to me, reported by unstable) + ARINWIN support for actions (requested by taliz) ~ non-printable characters in channel names returned by WHOIS are now printed in reverse (requested by taliz) + FTRACE -E|-G (both use ETRACE from ircd-ratbox, -G does matching on gecos field, requested by taliz) ! don't parse operwalls as server notices (reported by taliz) ~ ignore level WALLOPS now also ignores operwalls (suggested by taliz) + channel based host ignore, example of usage: IGNORE *.no!#blah public (requested by several users) ! compilation with -DLITE ! NEWHOST problem with dummy net devices on Linux (reported by emux) ! translation screw up in input prompt (reported by KOBAN) ! it is now possible to send files from dirs with commas in dirname (reported by arc) ------------------------------------------------------------------------------ ScrollZ v1.9, 22.12.2002 + shitlist is now checked upon nick change (requested by Toch) + CJOIN and KNOCK (code submitted by braneded) + CDCC AUTOGET ALWAYS to autoget DCCs regardless of warnings about address mismatch, zero size etc (code submitted by braneded) ! WINDOW TITLE is now case insensitive ! compile under Cygwin now produces working executable (#define SZ32 in defs.h), this is actually quite useful under NT/2000/XP (reported by inf0rmer) ! no such nick/channel error when sending too long encrypted message to a server ! cut encrypted messages at 304 characters to avoid decryption problems at the other end when IRC server cuts the message (reported by [2am]) + all mass commands (MDOP, MOP etc) now support -A flag to operate on all users (requested by ogre) + server connect time information (it is displayed with SERVER for all servers and with SZINFO for current server, suggested by ogre) ! LASTLOG -TIME which was broken after SET STAMP_FORMAT was introduced ~ better SET STAMP_FORMAT handling, should save us some CPU cycles as it is processed only once per minute ! crash in CHANUSERS() without channel as argument (fix by braneded, now returns info for current channel if none is given) + L now accepts list of channels separated by comma (coded by braneded) + improved tabkey completion now cycles through channels as well, /DCC GET nick cycles through the files offered by nick /DCC SEND nick cycles through files on disk - if you use a relative path it looks in your CDCC ULDIR or current dir if that isn't set, also completes commands as in /M and /HELP M, path in /LOAD and DCC CHAT nicks (coded by braneded, many thanks!) + SHOWWALLOP to toggle whether to show included/excluded nicks with channel wallops ! don't core in completion routine if we're not on a server + SSL support: to enable it call configure with --with-ssl. to use it SERVER -SSL HOST:PORT or WINDOW [-]SSL HOST:PORT or prefix server hostname with a ! as in scrollz nick !server:port. SSL connections are indicated with a ! in the server list (thanks to Sharky and Darkie for permission to use their code from BitchX SSL port) ~ PASSWD, it now acts as a master password a-la Mozilla for ENCRMSG and log files encryption - because of this you can't decode pre ScrollZ 1.9 encrypted files! it can now be used in interactive mode for privacy reasons ~ changed interface to ENCRMSG, it is now possible to use it entirely in interactive mode for privacy reasons, see help for new usage (requested by ogre) ! core dump on page up on very long lines (thanks to braneded) ! core dump on long lines when logging was enabled + time stamping to wallops (coded by braneded) + merged CAST encrypt stuff from ircII to ensure compatibility (you need to obtain cast_sbox.h and cast.c, run configure --with-cast, requested by Anton) + -COUNT option to FTRACE to only count matches and not report them (requested by ogre) ! WHOLEFT formatting which broke with SET STAMP_FORMAT when STAMP was set to MAX (reported by jm_) ~ upon netsplit we don't display 'Press Control-F to see who split away' notice anymore to save screen space + per channel logging, check help for commands CHANLOG, CHANLOGDIR, CHANLOGPOST and CHANLOGPREFIX (requested by Ahnberg and his gang) ! PONG notice being displayed on servers without dot in the server name (reported by Ahnberg) + decrypter for log files to tools subdir ! don't allow FTRACE command if previous one hasn't completed yet (reported by ogre) + OperVision now displays IP and server name if available in SERVER command (requested by Tero) ! ignore case of nickname in IGNORE nickname (reported by braneded) ~ display channel mode +-I when mode compression is enabled (reported by ogre) + mIRC compatible DCC resume, it has to be enabled in defs.h (patch submitted by braneded) ~ DCC speed calculation for resend/reget (fixed by braneded) ~ merged ircii-20011210 changes (without ISO-2022-JP stuff and mIRC color stuff - sorry but my screen.c is too different these days from ircII and ircII won't allow for ANSI color codes, also removed ircII's SET SHOW_STARS and SET STAR_PREFIX in favour of my, more complete code, there is no support for %v (voice status) in status bar as ScrollZ already uses %@ for that) + ARINWIN BOTH to always display public in window with level USERLOG4 (even when public's channel is current channel, requested by fox) - checks for "/etc/" or "passwd" in DCC SEND/RESEND + BKT [-T unban time] to specify unban time (requested by poorboy) + support for uppercase usermodes (requested by a few users) ~ WINDOW SERVER server CHANNEL #chan,key now works (reported by qoreQyaS) ~ we now use HELP like ircII - all ScrollZ.help text was moved into help directory which is now part of the distribution (thanks braneded) plus I have also described all ScrollZ modifications such as additional functions, status variables and all SETs (I really hope someone is gonna take over the docs project as I simply don't have time to do both the coding and the docs) WARNING: SHELP is gone, use HELP from now on! + REPWORD is now taken in consideration on actions, we use COLOR ME color number 6 for this (requested by skuum) + NICKCHAN to display nick change in all user's channels (only once per window though, much like SHOWSIGN for signoffs, requested by fox) + AWAYENCR to toggle encryption of ScrollZ.away on or off (the file is encrypted using master password, a tool to decrypt such encrypted files can be found in tools directory) + hopefully made scandir() stuff work on all platforms by moving the #ifdef magic to scandir.h ! ircII NICK bug where entering existing nick twice resulted in client believing it gained the nick (reported by dethnite and braneded) ! don't select G0 character set null mapping so Putty works with ISO 8859-1 characters (reported by gamo) ! OV now handles whois on opers on ircd 2.10.3 (reported by KOBAN) + JOIN -NOWHO to enable joining large channels, however this disables some functionality built into the client (requested by Dolphin) ! topic in status bar bug where topic for current window's channel was displayed in all visible windows (reported by tlund) + CDCC FSEND to -DEXTRAS, it is like CDCC SEND except that it ignores Cdcc queue (requested by arc) + notify now supports grouping of people, see help for more information (requested by KOBAN) + possibility to have one OperVision window for several servers (define MULTI_SERVER_OV in defs.h, requested by MrDev) + scrollz irc.server.com now connects you directly to the specified IRC server (patch by braneded) + we now finally have a homepage, the URL is www.scrollz.com, thanks to largo for the design and to tel for hosting it ~ cursor is now immediately moved to input line (requested by salan) ! crash in SZINFO when not connected to a server (reported by Dolphin) ! bug where client would think it grabbed illegal nick ! client now keeps asking for a nickname if SET NO_ASK_NICKNAME is set to OFF (reported by Matt Mills) + support for numerics 320/330 (identifed user on OPN/QuakeNet, coded by braneded) ! don't report nicks multiple times in WALL when included with +nick (reported by Matt Mills) ! crash in RECONNECT/SERVER when IRCHOST was set to an invalid IP address (reported by kurd) ! don't allow unbindable IP address for virtual hostname, use hostname in that case to allow client to connect (reported by kurd) ! URL catcher was saving wrong URL to ScrollZ.notepad (reported by jaska) ! WINDOW NEW followed by WINDOW KILL crash when not connected to a server (reported by brain) ! ask user for new nick when NO_ASK_NICKNAME is OFF (reported by braneded) ! don't op/halfop user with MOP/MHOP if they're shitlisted with D flag (reported by Cnf--) + support for channel mode S for LinkNET (requested by ba8ak) ~ use SSLv3_client_method() in SSL connections to support greater number of ciphers (suggested by Cnf--) ! hopefully ANSI characters in input prompt now work fine in all terminal emulators ! ircII bug (crash) when splitting lines without spaces (reported by TrN) ! ircII bug with meta keys 6,7 and 8 being sticky (reported by nms) ! RECONNECT not working for IPv6 connections ! bantype E now creates good masks for IPv6 connections (reported by enkil) ! ircd 2.10 not returning userhost reply in HTM (thanks to Anton for the hint, reported by gamo) ! crypto support for notices now works the same as for messages (reported by jups) ! long standing bug where CDCC ULDIR was prepended twice when CDCC ULDIR was set to a relative path (reported by Ajdin) ------------------------------------------------------------------------------ ScrollZ v1.8m, 15.10.2001 ~ AUTORECON crash (reported by Tero) - debian subdirectory ~ default compile time flags in defs.h.in + man page (contributed by Debian maintainer Mike Markley) ~ distclean now removes auto generated header files ~ prefix/lib to prefix/share/scrollz ! compile without -DWANTANSI + EXTPUB to show status on public messages (@/+ in front of nick, requested by entropy) + WINDOW SIZE (requested by MadHack) ~ changed .ircquick to .scrollzquick + permanent ignores (the ones set with IGNORE command) are now saved to ScrollZ.save (requested by ogre) ! channel settings not being set upon join from .scrollzrc (thanks to gamo for figuring this out) + define for alphabetically sorted nicks in CSCAN to defs.h - AUTORECON since it is handled by a SET + anonymous channel topic handling on hybrid7 (reported by braneded) + numeric 308 (server admin) on hybrid7 (patch submitted by braneded) ! -DCELECOSM without -DCELE compile (reported by braneded) ! numeric 477 for IRCNet + numeric 276 (virtual channels) on hybrid7 (request by braneded) + INSTALL.ScrollZ in doc subdirectory (hello Exodus) ! handle ! channels on ircd 2.10 properly, not the ircII way (reported by Ahnberg) ~ tabkey handler, when line starts with /MSG we adhere to the pre 1.8l tabeky behaviour (line is cleared when tab is pressed and next nick from the list is inserted, requested by several users) + re-added ^T bind so one can use it to insert nicks when line starts with /MSG (see above) ! status bar bug where string was cut one column too early (reported by jaska) + CHPASS filter - now removes user's password (suggested by braneded) ! WHOIS in -DGENX now honours value of STAMP (reported by kore) + time stamping to CSCAN + -DALTERNATE_PUBLICS to defs.h which uses () in publics instead of <> (requested by several users) + halfops handling for hybrid7 (% denotes halfop status in status bar, EXTPUB, CSCAN, etc., coded by braneded) + halfops in friends lists, flag is h (coded by braneded) + WHO now accepts -HOPS for halfops (coded by braneded) + -H and -NH for SHOWUSER (coded by braneded) + $chanusers(#channel 1) returns %nick for halfops (coded by braneded) + HOP, DHOP, MHOP, MDHOP (coded by braneded) ~ mass commands take -F to mean affect/don't affect friends. we'll still accept -O in case scripts use it. MHOP only sends +h for non opped users. MASSV only sends +v for non halfopped / opped users. they're also more specific when nobody's to be affected. i.e. MOP -O said "no users to op on #channel". now says "no friends to op on #channel" (coded by braneded) + MC sends -a on hybrid7 servers (coded by braneded) + halfops stuff in CHANST and improved look (coded by braneded) ~ index is now a section in ScrollZ.help (idea by braneded) + handle numeric 263 (load too high). it resets internal links flag so we can do another LINKS et al. as soon as we like (coded by braneded) - Cdcc handling via messages + timestamp to DCC chat (requested by ogre) + TOPICLOCK and TOPICUNLOCK to lock/unlock topic (requested by acidflash) only available if compiled with -DEXTRAS ! don't lose mode lock when we part a channel ! don't lose mode lock when we have joined too many channels + FCLINE, FLLINE to filter C: and L: lines (requested by ogre) + timestamp to WHO reply ! ORIGNICK losing QUIET setting when ORIGNICK without args was executed (reported by fox) + semi-colon is now allowed in SET DCC_PORTS (a-la iptables or ipchains) + netsplit/netjoin messages and signon/signoff messages now use value of timestamp to format the output ! hash function to work with high ASCII nicks (used on Russian servers, reported by Koban) - orignick based on notify signoff + ORIGNICK now allows multiple nicks (separate them with comma, requested by fox) ~ annoying PONG notice when connecting through psyBNC (thanks to markalso for debugging) but other things might not work 100% because psyBNC mucks with the data stream between client and server ! don't crash doing MAP if no LINKS info is returned by ircd (reported by braneded) + customizable timestamp format (SET STAMP_FORMAT to see default example, code submitted by braneded, thanks) ! don't skip IRC operators in FTRACE (reported by Hans) ! show command that caused error in ScrollZ.save file ------------------------------------------------------------------------------ ScrollZ v1.8l, 3.7.2001 ! TOPIC ircII bug (reported by Tero) ! MOP/MDOP/MASSV/MASSDV bug in huge channels (reported by ogre) ! ORIGNICK saving to ScrollZ.save (reported by Tero) ~ new logo by juice + parsing of @#channel so it is recognised as channel wallop (requested by fox) + time stamping to notice display (thanks to fox for reminding me) ! crash when kicked from a channel during TBAN (reported by ogre) ~ MODELOCK w/o args now shows stored mode locks for all channels (requested by ogre) ~ MODELOCK info is no longer lost when we part channel, I wonder how no one reported this for the past 2 years ! status %! and %y ate one character when invalid args were supplied ! status bar and input prompt now honour the value of SET DISPLAY_ANSI (found out by ogre) + people with Cdcc flag in userlist are exempt from queue and minspeed checking (requested by Blaxthos) ! display all settings properly not just ORIGNICK ! close slow DCC if file transfer does not meet minimum speed (stale connections or when user disconnects but client does not notice it) + CTCP yournick CDCC QUEUE will tell user their queue position (requested by Blaxthos) + LLOOK can now store and load information from a file (requested by Ahnberg, see help for more information) ~ new and improved tabkey handling, if input line starts with /msg nick client cycles through msg list otherwise it cycles through nicks matching word to the left of the cursor, this can be used to complete one channel too (idea by Ahnberg and fox) - this means tabkey in the middle of input line is now possible - NICK_COMPLETION is gone because of the above ~ ^T is back to TRANSPOSE_CHARACTERS ! DIRLSM now sends encrypted message to a user if encrypted communication with that user is established (reported by Tero) ! use current channel for WHO SHOW_SERVER if none specified ~ FKLINE now accepts optional -TEMP argument, read shelp for more info (requested by ogre) + SET AWAY_FILE to specify away file (requested by Ahnberg) + user's publics can now be ignored for specific channel only (example: IGNORE nick!#channel PUBLIC, requested by blazini) + SHOWSIGN to show signoff in all channels user was in (requested by Ahnberg and fox) + quarantined nicks, full I: line and X: line warning parsing to OV (requested by ogre) ! crash in input line history search (ircII bug) + TIME option to LASTLOG (example: LASTLOG -TIME 19:00-20:00 would only print lastlog entries between 19:00 and 20:00), it works only with STAMP enabled, lines without time stamp are exempt from matching ------------------------------------------------------------------------------ ScrollZ v1.8k, 22.1.2001 + multiple channels can now be bound to one window (requested by Ahnberg) + WINDOW BIND #chan1,#chan2,... is now possible (requested by Ahnberg) ! SERVER + bug + exclusive REPWORD (see help for more info, requested by Ahnberg) ! WHO and MODE #channel b bug on ircnet servers when joining &oper channels (thanks to Tero for help) ! bug in ENCRMSG encryption, passwords test and testtest were both able to decrypt encrypted messages (read help for compatibility issues, thanks Viha) ~ better handling of server pings for splitted servers (requested by ogre) ~ upon loading of ScrollZ.save CDCC PTIME and NTIME are set to two hours (requested by many users) + environment variable DCCHOST can be set to IP address for DCC offers (this is useful in combination with SET DCC_PORTS if you are behind a firewall) ! FTRACE bugs with clients containing [ in nickname, also colorized and formatted the display (reported by Ahnberg) + WHO -SHOW_SERVER to show server in WHO (requested by Tero and others) ! prevented excess floods upon CTCP CDCC LIST with huge offers (reported by Myrlin) ! whois queue handling with servers that in some cases return only numeric 401 but not numeric 318 (thanks to markalso for helping me with this one) ~ STAMP to show time stamp for a lot more events, read help for more information (rule of thumb: time stamp is displayed where SCROLLZ_STRING would be displayed in older releases when STAMP is set to MAX) + new argument NOMODES in OV to supress sending user modes to server when OperVision is enabled/disabled (see help for more information, requested by crystlize) + SET AUTO_RECONNECT to enable/disable automatic reconnect, SET is used so it can be set prior to connect in ~/.scrollzrc (aparently some servers K: line you for doing this, requested by Jakes) ~ LASTJOINER_KICK will only kick target user from channel they joined (requested by ogre) ~ BK, BKI and BKT now accept (optional) channel name + parsing of SERVER to OperVision for IRCNet, also SQUIT now shows reason (requested by Tero) + encrypted communication is now indicated by [!] in publics and private messages (requested by Ahnberg) ! REMS failing when nicks were different ! core dump when removing last server from the server list (ircII bug) + merged ircII 4.4Z changes + optional QUIET arg in ORIGNICK to supress messages during attempt to gain nick (requested by kitten, read help for usage information) ------------------------------------------------------------------------------ ScrollZ v1.8j, 15.8.2000 Note that the below log is in some cases inconsistent because it was written accross the v1.8i# (#=1-6) series. Hopefully from now on I'll be releasing new version in shorter intervals. Also new web page is in works and will be announced when it will be ready! The changelog for versions pre 1.8j has been deleted and will be available on the web page. ! Cdcc min speed bug (reported by EA) + flags are now used in ScrollZ.save for userlist and shitlist entries instead of cryptic numbers ! auto nick completion bug ! CDCC LOAD now updates number of offered packages + added MKILL (in -DACID) by acidflash (DEFKILL is default reason, it is saved in ScrollZ.save) ! core dump on WHOIS in some cases when country was defined (reported by PreZ) ! userlist/shitlist bug related to whowas buffer ! keyboard handling when prompting for key (URL, SETAWAY,...) (reported by ack) + REMCHAN (opposite of ADDCHAN, requested by JMnemonic) + -ALL to LK (it will kick all non opped users) + IDLEKICK AUTO channels is now possible, it will kick non opped idle users (requested by JMnemonic) ! STATS K core dumping on FEFnet ! nasty ircII bug that sometimes led to crash on window kill (thanks to c9c1 for help and hints) ! bug when you join too many channels (reported by Fryguy) + encryption for userlist passwords (if you use this feature ask for utility that will update ScrollZ.save, requested by cain) ~ changed encryption for ScrollZ.save, if you use this feature ask for new decode utility ~ URL catcher now ignores dupes (requested by arc) ~ client will now start DCC send from queue when CDCC LIMIT is increased (requested by arc) ! reconnect on kill, should now work with multiple windows connected to different server + $8 to DCC_LIST hook, it stands for filesize (requested by nas) ~ INSERT_TABKEY to INSERT_TABKEY_NEXT + INSERT_TABKEY_PREV (default bind is alt-i, requested by Myrdraal) + DCC, Cdcc, tabkey and auto-reply are now multiple servers compliant (requested by several users) + SET DCC_PORTS, usage is /set dcc_ports low_port-high_port, this tells client to only use ports from range low-port-high_port for DCC connections (this is useful for people who are behind a firewall so they can open only a limited number of ports), when set to 0 it has no effect (requested by someone whose nick I forgot, if you are reading this please remind me to put your name here). Note that this is only used for DCC CHAT and DCC SEND. + CHSIGNOFF to -DEXTRAS, when set to on it will display list of channels when user quit IRC (requested by Merlin) + STAMP, when enabled client will show time in front of publics (requested by acidflash) + if channel in CDCC CHANNELS starts with + it means client will use CDCC NOTICE instead of CDCC PLIST for that channel (requested by Zig) ! when DCC chat is established nick is added to tabkey list (reported by ogre) ! JOIN 1,2,3 now joins #1, #2 and #3 (reported by Merlin) ! odd bug on join where channel would be suddenly bound to completely unrelated window, it had to do with the way ircII maintains window list and whowas buffer for channels ! crash when user sent large ammounts of files (reported by arc) ! shitlist bug with ident being 10 characters long ! CHSIGNOFF always showing regardless of setting (reported by kali) ! WALL ignoring SHOWWALLOP value from ScrollZ.save + WALL now accepts optional target channel as first argument (requested by Zero) ! status bar not showing usermode +z when set ~ DCC ACTIONs now go to window with level DCC or to window whose query nick matches DCC nick (reported by Myrdraal) ~ orignick will not react on notify signoff if your userhost matches userhost of person that signed off, but you have to be on a channel for this to work (requested by arc) ! wallops not displaying nick when OperVision was active (reported by pier) ! input prompt bugs shown with ANSI prompts (reported by [Una]) ~ Cdcc queue now ignores dupes and files already present in DCC list (requested by art3mis) ! fixed $szvar() core dumping with NULL strings (thanks to whitefang for figuring this one) + DIRLM, DIRLN, DIRLSM and DIRLSN are now multiple servers compliant (requested by several users) + last join in status bar and LASTJOINER_KICK are now multiple server compliant + CDCC VERBOSE, when set to off remote Cdcc messages are hidden from user (requested by Zig) + COLOR SBAR2 + new status modifier %y#, # is digit or letter in range a-c, digits 1-6 represent color1 through color6 from COLOR SBAR whereas digits 7-9 and letters a-c represent color1 through color6 from COLOR SBAR2 - take a look at default status bar variables to see use of this then try COLOR SBAR BLACKBG to see it at work (idea and coding by Zakath) ! crash when there were no servers in server list (there were two related bugs, one on my part and the other is from stock client - this is system dependant, reported by Myrdraal) ! bitch mode bug (reported by ogre) + ability to complete first matching channel name on ^T and TAB (try /M #first_few_letters_of_channel or #first_few_letters_of_channel<^T>) + Cdcc hooks now also work on CTCP your_nick CDCC LIST + FTRACE to -DACID + NWHOIS now accepts filter (requested by TrN) + MIRC STRIP which strips mIRC color crap (requested by Sparhawk) ! crash related to tabkey (reported by Psylocke) ~ SHOWUSER, it now allows multiple filters and N flags (check help for more information) + ability to send files with spaces in filenames (surround filename by double quotes ("), requested by arc) ! properly handle mIRC colors by ddd ! stock client logging bug for good (reported by justme_) + merged ircII 4.4F code + CDCC SAVE now saves number of gets for each pack, and CDCC LOAD restores it (requested by Zig) + AUTOOPDELAY (requested by enkil) ! IGNORE * CRAP preventing client from caching topic (reported by Sparhawk) + new friend list flag X for instant op + -A to NEWHOST to query more interfaces (requested by zero) ! channel loss bug when user joined maximum number of channels (reported by ogre) ~ the way auto replies work, now whole word is matched - if you want old style matching use *word* (requested by arc) ! closing DCCs with spaces in filenames (reported by arc) ! bug where client got all confused when user supplied illegal nick to NICK (reported by dds) ! bug with auto nick change routine when nick was 9 characters long (reported by dds) ! hopefully fixed ircII bug that is responsible for broken lastlog (reported by many users) ! crash when joining channel which wasn't successfully joined in previous attempt (reported by whytefang) ! crash upon ping reply in some cases (reported by Damm) + SENTMSG type to AWAYSAVE (it saves sent publics and private messages, requested by Ahnberg) ! XECHO -LEVEL ircII bug (reported by Ahnberg) + mnemonics to TIMER (ie. TIMER 1d2h30m4s SAY hi, requested by arc) + channel key reported via notice is stored and is used upon join (ScrollZ, Pupette, C-ToolZ and BitchX formats are supported, thanks to asylum and acidflash for snippets of code) ~ tabkey behaviour, if input line is /m nick it cycles through tabkey list and if there is no space after nick it cycles through matching nicks (this fixes most of tabkey bugs, reported by acidflash and Merlin) ! annoying PONG messages from server being displayed when client got confused about server name ! tabkey bug introduced with change in tabkey behaviour ! reconnect to server, it now uses WINDOW SERVER to reconnect + SHOWIDLE now displays idle times even if IDLEKICK is turned off and it also displays average idle time (requested by arc) + MODELOCK can now be given list of channels separated with comma (requested by arc) + LOGON setting is now saved to ScrollZ.save (requested by Zig) + ability to receive files enclosed in quotes, any spaces in filename are converted to underscore (requested by Infinii) + support for channel mode +e (ban exceptions) + CDCC VERBOSE QUIET is now possible, it prevents DCC and Cdcc stuff from being displayed for files you send out (requested by Zig) + IGNORE #channel CRAP now also ignores numerics 441 and 443 (requested by couple of users) + REMF #channel now works (requested by cain) + INV sends channel key if set (requested by acidflash) ~ moved some code to -DOPER which will be IRC opers related stuff (coded by acidflash) + AUTOINV now accepts list of channels if turned on (requested by ogre) ~ if compress modes and auto join on invite are enabled, client will show invite to a channel only once (requested by Zig) ~ replaced ENCRCHAT with ENCRMSG to allow for encrypted communication with users and/or channels (requested by several people) ! broken stock ircII /SET HISTORY_FILE on Linux ! REMF #number removing entries with channels set to * (reported by acidflash) + CHPASS to change users' password (requested by some-guy) ! CDCC SAVE to correctly save filenames with spaces (reported by Dynamix) + support for numeric 477 (requested by Vortexia) + CDCC QUEUE FLUSH to flush the Cdcc queue in case it gets stuck (requested by bad2da), this command is also called every 5 minutes ! notify bugs when switching servers (reported by cain) + merged ircII 4.4J code + improved OperVision code and added support for ircnet's ircd ! bug where client couldn't rejoin channels with key set (reported by ogre) ~ changed the way ADDW works, ScrollZ now does real word matching and not pattern matching on *word* like before (requested by khajah) + new cosmetics mode to OperVision, coded by ogre (fear!), this is activated by -DOGRE + OV HERE which enables OperVision in current window + support for WINDOW LEVEL +level1,level2... ! ircII bug where nickname was corrupted after ping timeout (thanks to ogre for information on this one) ! core dump in NEWHOST on non-Linux systems (I forgot who first mentioned this, also thanks to ogre for bringing attention about this one) ! core dump upon QUIT if started with -d (reported by Jaded) ! ircII bug where client core dumps in WINDOW BACK after WINDOW KILL (reported by emufreak) ! password encryption bug with high-ascii characters ! WHO problem when reconnecting to a server during channel join (reported by ogre) ! core dumping on hooks when compiling w/o support for stdarg (CDCC PLIST coredumps etc, reported by colrebel) ~ NEWHOST to query all available devices on Linux (hello IBM Suomi) ! encrypted DCC CHAT messages being saved to ScrollZ.away (reported by acidflash) ! crash in DCC actions (reported by frash) ! crash when joining channels with %s on some OSes (no it is not the same as BitchX bug and it only happened if you actually joined such channel) + added FILINE to filter I-lines to -DOPER (requested by ogre) ~ small changes for CygWin build + ARINWIN which replaces -DSTEFY, read help for more information (requested by Ahnberg) + LLOOKUP now also reports new servers in links info (requested by Ahnberg) + merged ircII 4.4X code (as a result of this certain things changed such as $isvoiced() is now $hasvoice()) ! fixed memory leak in DCC GET and REGET ! fixed bug in URL catcher where endless loop could be created and client would use all available CPU (found out by about 30+ Alternet clients) ! fixed couple of OperVision bugs, mainly related to windows (hi doxx) ! fixed ircII bug where client would think it is connected to two servers when connect to new server was issued while the connect to previous server was still in progress (reported by enkil) + BKLIST to enable shit list only for certain channels (requested by Zig) + time stamping in OperVision, read help on OV how to disable it (requested by Anton) Here's Zakath's list for Celerity: + STATUS_LOADAVG (%Z) for system load (works on Linux & BSD, Solaris support is being worked on) + random signoff messages + cele.sz script + COLOR CELE + SET TRUNCATE_PUBLIC_CHANNEL variable. When set to on, it limits the length of the channel shown in publics. For example: *** Wizner (w@blah.somehost.com) has joined channel #reallylongchannel hi *** Value of TRUNCATE_PUBLIC_CHANNEL set to OFF hi + QUICKSTAT command, which uses STATUS_FORMAT3. Default bind is F6. This should be considered work in progress. + SET BEEP_ON_MAIL - beeps when you receive new mail (this has been moved to general client, it is ON for Celerity and OFF otherwise) ~ updated cosmetics scrollz-2.1.orig/COPYRIGHT0000644000176500017650000000342407607101565015066 0ustar madhackmadhack/* * Copyright (c) 1990 Michael Sandrof. * Copyright (c) 1991, 1992 Troy Rollo. * Copyright (c) 1992-1998 Matthew R. Green. * Copyright (c) 1995-2003 Flier. * 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. */ One module of the source code, scandir.c is copyright (c) 1983 by the Regents of the University of California, with modifications by various contributors. All rights are reserved by the University of California. scrollz-2.1.orig/ircbug.in0000755000176500017650000003324506576006340015404 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.1.orig/help/0000755000176500017650000000000011313676451014520 5ustar madhackmadhackscrollz-2.1.orig/help/set/0000755000176500017650000000000011313676451015313 5ustar madhackmadhackscrollz-2.1.orig/help/set/set0000644000176500017650000000124407434525340016031 0ustar madhackmadhack! $Id: set,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: SET [-][ []] Sets a specified variable to a given value. If SET is used with no parameters, all variables and their current settings are listed. If SET is used with a variable name and no value, that variables current setting is listed. If a - preceeds a variable whose value is a string of text, it sets that variable to nothing. See also: HELP SET ? for a list of all variables scrollz-2.1.orig/help/set/auto_reconnect_channels0000644000176500017650000000057510766522042022125 0ustar madhackmadhack! $Id: auto_reconnect_channels,v 1.1 2008-03-14 16:13:22 f Exp $ ! ! Copyright (c) 1994-2008 Flier ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: SET AUTO_RECONNECT_CHANNELS [ON|OFF|TOGGLE] When ON, client will automatically rejoin channels in memory after reconnecting to a server. When OFF no rejoining takes place. scrollz-2.1.orig/help/set/dcc_block_size0000644000176500017650000000111507434525340020170 0ustar madhackmadhack! $Id: dcc_block_size,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: SET DCC_BLOCK_SIZE Controls the size of blocks sent when sending files using DCC SEND. The default is normally 512. Increasing this number increases network efficiency. Decreasing this number slows down the transfer, but also decreases the chances of the transfer being aborted over bad links. scrollz-2.1.orig/help/set/away_file0000644000176500017650000000062407607101566017201 0ustar madhackmadhack! $Id: away_file,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: SET AWAY_FILE Sets the filename for ScrollZ away logfile. The default is ScrollZ.away. See Also: AWAYSAVE AWAYT PLAYBACK REMLOG SETBACK SHOWAWAY SETBACK scrollz-2.1.orig/help/set/max_wallop_nicks0000644000176500017650000000106007607101566020566 0ustar madhackmadhack! $Id: max_wallop_nicks,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: SET MAX_WALLOP_NICKS This will limit the number of nicks that one wallop message will send to the IRC server. (default is 10). Some IRC servers put a limit on number of nicks one can specify per message/notice (for example on EFnet one should set this variable to 3). The valid number is between 1 and 70. See also: WALL scrollz-2.1.orig/help/set/decrypt_program0000644000176500017650000000163207607101566020442 0ustar madhackmadhack! $Id: decrypt_program,v 1.3 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: SET DECRYPT_PROGRAM Sets the program used to decrypt messages. The program selected must take a decryption key as the first line written to work with ircII, with the second and subsequent lines the text to be decrypted, which is expected on the programs standard output. Note that in ircII 4.4 and previous, this variables program API was different. Originally the decryption key was the command line argument, and the program a true filter. However, it is not secure from local users snooping the key and being able to encrypt messages, should they obtain them. Set the OLD_ENCRYPT_PROGRAM variable to ON to obtain this old behaviour. See also: SET ENCRYPT_PROGRAM scrollz-2.1.orig/help/set/xterm_geomoptstr0000644000176500017650000000102707435225557020667 0ustar madhackmadhack! $Id: xterm_geomoptstr,v 1.4 2002-02-21 17:16:31 f Exp $ ! ! Copyright (c) 2000 Matthew Green. ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: SET XTERM_GEOMOPTSTR This is a special case variable for when the "xterm" program does not take the default "-geom" option. E.g., rxvt is reported to take both "-g" and "-geometry". Note: -geom switches are already generated by ScrollZ, so these will be ignored. See also: SET XTERM_PATH SET XTERM_OPTIONS scrollz-2.1.orig/help/set/flood_warning0000644000176500017650000000102707434525340020065 0ustar madhackmadhack! $Id: flood_warning,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: SET FLOOD_WARNING [ON|OFF|TOGGLE] If ON, you will see a warning when flood protection is activated. This is used in conjuction with: ON ^FLOOD * which otherwise will simply cut off flooding messages without a warning to you. See Also: ON FLOOD scrollz-2.1.orig/help/set/show_who_hopcount0000644000176500017650000000063607434525340021016 0ustar madhackmadhack! $Id: show_who_hopcount,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: SET SHOW_WHO_HOPCOUNT [ON|OFF|TOGGLE] When ON, this will show the number of IRC-server hops between you and another user in any WHO output. scrollz-2.1.orig/help/set/input_encoding0000644000176500017650000000377610425143405020247 0ustar madhackmadhack! $Id: input_encoding,v 1.1 2006-04-30 14:17:41 f Exp $ ! ! Copyright (c) 2004 Joel Yliluoma. ! Usage: SET INPUT_ENCODING The INPUT_ENCODING variable defines which character encoding your terminal is using for the text you write. By default, ircII assumes that your terminal uses ISO-8859-1. Examples of common encodings: UTF-8 Unicode encoding, supports almost all languages ISO-8859-1 Most widely used "latin1" encoding. ISO-8859-2 Polish, Czech, Slovak, Slovenian, Hungarian ISO-8859-5 Cyrillic encoding: Russian, Ukrainian, Belarusian ISO-8859-6 An incomplete Arabic encoding ISO-8859-7 Greek encoding ISO-8859-8 Modern Hebrew encoding ISO-8859-9 Turkish, Maltese, Esperanto ISO-8859-10 Estonian, Latvian, Lithuanian, Greenlandic, Saami ISO-8859-11 Thai ISO-8859-15 Latin1 revised, with Euro for Finnish and French ISO-8859-16 Albanian, Croatian, Romanian, Gaelic etc with Euro EUC-JP Doublebyte Japanese JIS-X-0208 encoding SHIFT-JIS Microsoft doublebyte Japanese encoding GB18030 Chinese multibyte encoding CP437 Old IBM PC, compatibles and Atari ST. CP850 New IBM PC compatibles and IBM PS/2. HP-ROMAN8 Hewlett Packard Extended Roman 8. MACROMAN Apple Macintosh computers and boat anchors. ASCII For American terminals in 7-bit environments. ISO-2022-JP Traditional 7-bit Japanese JIS-X-0208 encoding FI For Finns who are stuck with 7-bit terminals. You can get the complete list of available encodings with the command /EXEC iconv -l if your system has it installed. This variable supersedes the TRANSLATION variable that existed in prior versions with support for multibyte encodings. See Also: SET IRC_ENCODING SET DISPLAY_ENCODING DIGRAPH BIND ENTER_DIGRAPH scrollz-2.1.orig/help/set/display_ansi0000644000176500017650000000071507607101566017721 0ustar madhackmadhack! $Id: display_ansi,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: SET DISPLAY_ANSI [ON|OFF|TOGGLE] When ON, client will display ANSI color sequences. When OFF, ANSI color sequences are stripped from output. Note that some terminals may have difficulties displaying the ANSI colors properly. See Also: SET LASTLOG_ANSI scrollz-2.1.orig/help/set/scroll_lines0000644000176500017650000000135407434525340017730 0ustar madhackmadhack! $Id: scroll_lines,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: SET SCROLL_LINES [] This allows you to set the number of lines the screen will scroll each time the cursor reaches the bottom of the screen. If SCROLL_LINES is set to 0, the SCROLL is turned OFF as well, and must be turned back on before scrolling can be resumed. The maximum number of lines that may be scrolled is the size of the display (the number of lines on the screen minus 2). Negative numbers are automatically changed to positive. scrollz-2.1.orig/help/set/high_ascii0000644000176500017650000000073507607101566017333 0ustar madhackmadhack! $Id: high_ascii,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: SET HIGH_ASCII [ON|OFF|TOGGLE] When ON, client will use IBM's extended ASCII characters for certain events (actions, links, private messages, DCC chat). Note that you need proper font to display these characters correctly. When OFF, normal ASCII characters are used instead. scrollz-2.1.orig/help/set/same_window_only0000644000176500017650000000110607434524747020622 0ustar madhackmadhack! $Id: same_window_only,v 1.2 2002-02-19 19:39:19 f Exp $ ! Usage: SET SAME_WINDOW_ONLY [ON|OFF|TOGGLE] Specifies whether or not a channel belonging to a different window can become the current channel of a window that has just lost its current channel. When ON, there is no difference between bound and unbound channels since no channel will be moved between windows. When OFF, the program will try to find a channel in the same window first and, if none is found, then looks for an unbound channel in a different window associated to the same server. scrollz-2.1.orig/help/set/flood_users0000644000176500017650000000113707434525340017563 0ustar madhackmadhack! $Id: flood_users,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: SET FLOOD_USERS FLOOD_USERS sets the maximum number of users you can have flood protection from at one time. If this number is too large, you may see performance degradations and the flood protection might not work as well as it should. See Also: ON FLOOD SET FLOOD_RATE SET FLOOD_AFTER scrollz-2.1.orig/help/set/logfile0000644000176500017650000000072207434525340016657 0ustar madhackmadhack! $Id: logfile,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: SET LOGFILE Sets the name of the file to be used for the session log. New session log messages are appended to the end of this file. See Also: SET LOG WINDOW LOG WINDOW LOGFILE scrollz-2.1.orig/help/set/netsplit_time0000644000176500017650000000041511063510664020111 0ustar madhackmadhack! $Id: netsplit_time,v 1.1 2008-09-15 16:47:48 f Exp $ ! ! Copyright (c) 1994-2008 Flier ! ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more ! information. ! Usage: SET NETSPLIT_TIME