]> git.pld-linux.org Git - packages/BitchX.git/blob - BitchX-config.h
prepared config.h for BitchX
[packages/BitchX.git] / BitchX-config.h
1 /*
2  * 'new' config.h:
3  *      A configuration file designed to make best use of the abilities
4  *      of ircII, and trying to make things more intuitively understandable.
5  *
6  * Done by Carl v. Loesch <lynx@dm.unirm1.it>
7  * Based on the 'classic' config.h by Michael Sandrof.
8  * Copyright(c) 1991 - See the COPYRIGHT file, or do a HELP IRCII COPYRIGHT 
9  *
10  * Warning!  You will most likely have to make changes to your .ircrc file to
11  * use this version of IRCII!  Please read the INSTALL and New2.2 files
12  * supplied with the distribution for details!
13  *
14  * @(#)$Id$
15  */
16
17 #ifndef __config_h_
18 #define __config_h_
19
20
21 #define ON 1
22 #define OFF 0
23
24 /* 
25  * this is something new and I'm a little scared of it.. We've always been
26  * curious as to how many users of bx there actually are. So starting with
27  * with this version there is something in BitchX that will send 1 udp
28  * packet too BitchX.com describing the version and the OS your running.
29  * The ENTIRE source for this function is in cl.c and can be excluded by
30  * recompiling the BitchX source after turning this option off. IF YOU DONT
31  * WANT THIS, FEEL FREE TOO TURN IT OFF, by using the following, 
32  * #undef WANT_NOTIFY_BITCHX_COM 
33  * THIS IS NOT REQUIRED. It's only curious minds wanna know. Feel free 
34  * too peruse this function all you like. It's not a BACKDOOR in any way, 
35  * shape or form.
36  */
37 #define WANT_NOTIFY_BITCHX_COM ON
38
39
40 /*
41  * Set your favorite default server list here.  This list should be a
42  * whitespace separated hostname:portnum:password list (with portnums and
43  * passwords optional).  This IS NOT an optional definition. Please set this
44  * to your nearest servers.  However if you use a seperate 'ircII.servers'
45  * file and the ircII can find it, this setting is overridden.
46  */
47
48 #ifndef DEFAULT_SERVER
49 /* 
50  * some caution is required here. the \ is a continuation char and is required
51  * on any servers you add into this list. also the very last server should not 
52  * have a continuation char.
53  */
54 #define DEFAULT_SERVER  "[HybridNet] "\
55                         "irc.bitchx.com "\
56                         "[efnet] "\
57                         "irc.total.net "\
58                         "ircd.c-com.net "\
59                         "irc.pacbell.net "\
60                         "irc.home.com "\
61                         "irc.mbnet.mb.ca "\
62                         "irc.magic.ca "\
63                         "irc.rift.com "\
64                         "irc.lightning.net "\
65                         "irc.ais.net "\
66                         "irc.exodus.net "\
67                         "irc.emory.edu "\
68                         "irc.colorado.edu "\
69                         "irc.nbnet.nb.ca "\
70                         "irc.powersurfr.com "\
71                         "irc.polymtl.ca "\
72                         "irc.exodus.net "\
73                         "irc.anet-stl.com "\
74                         "ircd.txdirect.net "\
75                         "irc.best.net "\
76                         "irc.cerf.net "\
77                         "irc.psinet.com "\
78                         "irc.mindspring.com "\
79                         "ircd.netcom.com "\
80                         "efnet.demon.co.uk "\
81                         "irc.nijenrode.nl "\
82                         "irc.ced.chalmers.se "\
83                         "irc.df.lth.se "\
84                         "irc.homelien.no "\
85                         "irc.rt.ru "\
86                         "[ircnet] "\
87                         "poznan.irc.pl" \
88                         "warszawa.irc.pl" \
89                         "lublin.irc.pl" \
90                         "krakow.irc.pl" \
91                         "irc.webbernet.net "\
92                         "irc.stealth.net "\
93                         "irc.funet.fi "\
94                         "[dalnet] "\
95                         "irc.dal.net "\
96                         "dalnet.nac.net "\
97                         "radius2.stlnet.com "\
98                         "dsle01781.adsl.telusplanet.net "\
99                         "dalnet.webbernet.net "\
100                         "echoes.qis.net "\
101                         "[Undernet US] "\
102                         "irc.cic.net "\
103                         "irc.erols.com "\
104                         "irc3.concentric.net "\
105                         "irc.wwa.com "\
106                         "irc.oc.com "\
107                         "irc.wfire.net "\
108                         "irc.connectnet.com "\
109                         "[Undernet Canada] "\
110                         "step.polymtl.ca "\
111                         "oceanus.magic.ca "\
112                         "irc.direct.ca "\
113                         "[Undernet EU] "\
114                         "irc.tip.nl "\
115                         "th2-eth0.aladdin.net "\
116                         "ns.ensicaen.ismra.fr "\
117                         "irc.sol.no "\
118                         "alaska.mdv.gwdg.de "\
119                         "irc.iconz.co.nz "\
120                         "[AfterNet] "\
121                         "irc.afternet.org "\
122                         "digitald.uk.afternet.org "\
123                         "boston.afternet.org "\
124                         "EU.afternet.org "\
125                         "US.afternet.org "\
126                         "infinet.ca.afternet.org "\
127                         "sanity.afternet.org "\
128                         "Frodo.AfterNet.org "\
129                         "Before-R.Afternet.Org "\
130                         "Agora.us.AfterNet.org "\
131                         "[Duh-Net IRC Network] "\
132                         "murlin.duh-net.org "\
133                         "wildstar.duh-net.org "\
134                         "rexx.duh-net.org "\
135                         "[eggdrop] "\
136                         "irc.eggdrop.net "\
137                         "raistlin.toledolink.com "\
138                         "[relicnet] "\
139                         "convicts.us.relic.net "\
140                         "[other] "\
141                         "irc.myweb.net "\
142                         "irc-rr.vitamina.ca "\
143                         "irc.phrozen.org "\
144                         "irc.openface.ca "\
145                         "irc.skie.net "\
146                         "irc.anynet.org "\
147                         "irc.slashnet.org "\
148                         "radon.slashnet.org "\
149                         "irc.dude-suit.net"
150 #endif
151
152 /*
153  * You must always define this. If you can't compile glob.c, let us know.
154  */
155 #define NEED_GLOB
156
157 /*
158  * Uncomment the following if the gecos field of your /etc/passwd has other
159  * information in it that you don't want as the user name (such as office
160  * locations, phone numbers, etc).  The default delimiter is a comma, change
161  * it if you need to. If commented out, the entire gecos field is used. 
162  */
163 #define GECOS_DELIMITER ','
164
165 /*
166  * MAIL_DELIMITER specifies the unique text that separates one mail message
167  * from another in the mail spool file when using UNIX_MAIL.
168  */
169 #define MAIL_DELIMITER "From "
170
171 /*
172  * Uncomment the following to make ircII read a list of irc servers from
173  * the ircII.servers file in the ircII library. This file should be
174  * whitespace separated hostname:portnum*password (with the portnum and
175  * password being optional). This server list will supercede the
176  * DEFAULT_SERVER. 
177 */
178 #if defined(WINNT) || defined(__EMX__)
179 #define SERVERS_FILE "irc-serv"
180 #else
181 #define SERVERS_FILE "/etc/irc/ircII.servers"
182 #endif
183
184 /*
185  * Certain versions of Tcl lib have a PLUS version which preloads the scripts
186  * into the binary so that the script directory is not required to run the 
187  * tcllib. This offers some benefit at the expense of a slightly larger binary.
188  */
189 #undef TCL_PLUS
190
191 /*
192  * we define the default network type for server groups. Do not just
193  * undefine this.
194  */
195  #define DEFAULT_NETWORK "ircnet"
196
197 /*
198  * Below are the IRCII variable defaults.  For boolean variables, use 1 for
199  * ON and 0 for OFF.  You may set string variable to NULL if you wish them to
200  * have no value.  None of these are optional.  You may *not* comment out or
201  * remove them.  They are default values for variables and are required for
202  * proper compilation.
203  */
204
205 #if !defined(__EMX__) && !defined(WINNT)
206 #include "../.config.h"
207 #endif
208 /* if this file has something in it, then we'll use it instead. */
209
210 #if !defined(_USE_LOCAL_CONFIG)
211
212 /* NO _USE_LOCAL_CONFIG so use these instead */
213
214 /* On some channels mass modes can be confusing and in some case
215  * spectacular so in the interest of keeping sanity, Jordy added this
216  * mode compressor to the client. It reduces the duplicate modes that
217  * might occur on a channel.. it's explained in names.c much better.
218  */
219  #define COMPRESS_MODES
220
221
222 /*
223  * Define this if you want the $glob() function to be in your client.
224  * There is a case for having this functino and a case against having
225  * this function:
226  *
227  * Pro: makes it easier to write scripts like xdcc, since they can easily
228  *      get at the filenames in your xdcc directory
229  * ConS8 with $unlink(), $rmdir(), etc, it makes it that much easier for
230  *      a backdoor to do damage to your account.
231  *
232  * You will have to weigh the evidence and decide if you want to include it.
233  */
234 #define INCLUDE_GLOB_FUNCTION
235
236 /* crisk graciously allowed me to include his hebrew modification to ircII
237  * in the client. defining this variable to 1 allows that happen. It also
238  * adds a HEBREW_TOGGLE variable which can turn this feature on/off
239  */
240 #undef WANT_HEBREW
241
242 /* if you use cidentd the filename is called .authlie instead of .noident.
243  * as well some modifications to the format of the file were made. So we 
244  * require some pre-knowledge of what to expect. WinNT identd servers will 
245  * also require this.
246  */
247 /* one or the other of these. not both */
248 #define CIDENTD ON
249 /*#define WDIDENT 1*/
250
251 /* 
252  * Define this if your using a hacked ident and want to fake your username.
253  * maybe we could also use this to specify what file to write this hack to. 
254  * Some examples are ~/.noident and ~/.authlie
255  */
256 #define IDENT_FAKE ON
257
258 /*
259  * I moved this here because it seemed to be the most appropriate
260  * place for it.  Define this if you want support for ``/window create''
261  * and its related features.  If you dont want it, youll save some code,
262  * and you wont need 'wserv', and if you do want it, you can have it in
263  * all of its broken glory (no, i dont have plans to fix it =)
264  * window create doesn't make any sense on Windows 95/NT.
265  */
266 #if !defined(WINNT)
267 #define WINDOW_CREATE
268 #else
269 #undef WINDOW_CREATE
270 #endif
271
272 /*
273  * Define this if you want an mIRC compatable /dcc resume capability.
274  * Note that this BREAKS THE IRC PROTOCOL, and if you use this feature,
275  * the behavior is NON COMPLIANT.  If this warning doesnt bother you,
276  * and you really want this feature, then go ahead and #define this.
277  */
278 #define MIRC_BROKEN_DCC_RESUME ON
279
280 /*
281  * Set the following to 1 if you wish for IRCII not to disturb the tty's flow
282  * control characters as the default.  Normally, these are ^Q and ^S.  You
283  * may have to rebind them in IRCII.  Set it to 0 for IRCII to take over the
284  * tty's flow control.
285  */
286 #define USE_FLOW_CONTROL ON
287
288 /* 
289  * Make ^Z stop the irc process by default, if undefined, ^Z will self-insert
290  * by default
291  */
292 #define ALLOW_STOP_IRC
293
294 /* And here is the port number for default client connections.  */
295 #define IRC_PORT 6667
296
297 /* 
298  * If you define UNAME_HACK, the uname information displayed in the
299  * CTCP VERSION info will appear as "*IX" irregardless of any other
300  * settings.  Useful for paranoid users who dont want others to know
301  * that theyre running a buggy SunOS machine. >;-)
302  */
303 #undef UNAME_HACK
304
305 /* 
306  * If you define ONLY_STD_CHARS, only "normal" characters will displayed.
307  * This is recommended when you want to start BitchX in an xterm without
308  * the usage of the special "vga"-font. 
309  */
310 #undef ONLY_STD_CHARS
311
312 /*
313  * Normally BitchX uses only the IBMPC (cp437) charset.
314  * Define LATIN1, if you want to see the standard Latin1 characters
315  * (i.e. Ã„ Ã– Ãœ Ã¤ Ã¶ Ã¼ ÃŸ <-> "A "O "U "a "o "u \qs ).
316  *
317  * You will still be able to see ansi graphics, but there will be some
318  * smaller problems (i.e. after a PageUp).
319  *
320  * If you use xterm there is no easy way to use both fonts at the same
321  * time.  You have to decide if you use the standard (latin1) fonts or
322  * vga.pcf (cp437).
323  *
324  * Is here there any solution to use both fonts nethertheless ?
325  */
326 #undef LATIN1
327
328 /*
329  * If you use LINUX and non ISO8859-1 fonts with custom screen mapping,
330  * and if your see some pseudographics instead of your national characters,
331  * define this to solve the problem.
332  *
333  */
334 #define CHARSET_CUSTOM
335
336 /* 
337  * If you want the non-ansi BitchX logo only define this ASCII_LOGO
338  *
339  * Note: On the console ansi graphics can be displayed just fine, even 
340  * when you've defined LATIN1. The problem is that ansi graphics will look
341  * ugly if you use the scroll up feature (PageUp/PageDown)
342  */
343 #undef ASCII_LOGO
344
345 /* If you define REVERSE_WHITE_BLACK, then the format codes for black and
346  * white color are revepsed. (%W, %w is bold black and black, %K, %k is bold
347  * white and white). This way the default format-strings are readable on
348  * a display with white background and black foreground.
349  */ 
350 #undef REVERSE_WHITE_BLACK
351
352 /*
353  * Define this if you want support for ircII translation tables.
354  */
355 #define TRANSLATE
356
357 /*
358  * IPv6 support by wojtekka@irc.pl (thanks to Cron and thorgi)
359  * If you have a Linux box with glibc-2.x change the following line to
360  * `#define IPV6 1'. For older libc and libinet6 run configure script
361  * with `--enable-ipv6' parameter.
362  */
363 #undef IPV6
364
365 #define DEFAULT_PING_TYPE 1
366
367 #define DEFAULT_MSGLOG ON
368
369
370 #define DEFAULT_AUTO_NSLOOKUP OFF
371 #define DEFAULT_ALT_CHARSET ON
372 #define DEFAULT_FLOOD_KICK ON
373 #define DEFAULT_FLOOD_PROTECTION ON
374 #define DEFAULT_CTCP_FLOOD_PROTECTION ON
375 #define DEFAULT_MAX_AUTOGET_SIZE 2000000
376
377 #define DEFAULT_LLOOK_DELAY 120
378 #define DEFAULT_LLOOK OFF
379
380 #define DEFAULT_ALWAYS_SPLIT_BIGGEST ON
381 #define DEFAULT_AUTO_UNMARK_AWAY OFF
382 #define DEFAULT_AUTO_WHOWAS OFF
383 #define DEFAULT_BANTIME 600
384 #define DEFAULT_BEEP ON
385 #define DEFAULT_BEEP_MAX 3
386 #define DEFAULT_BEEP_WHEN_AWAY OFF
387 #define DEFAULT_BOLD_VIDEO ON
388 #define DEFAULT_BLINK_VIDEO ON
389 #define DEFAULT_CHANNEL_NAME_WIDTH 10
390 #define DEFAULT_CLOCK ON
391 #define DEFAULT_CLOCK_24HOUR OFF
392 #define DEFAULT_COMMAND_MODE OFF
393 #define DEFAULT_COMMENT_HACK ON
394 #define DEFAULT_DCC_BLOCK_SIZE 2048
395 #define DEFAULT_DISPLAY ON
396 #define DEFAULT_DO_NOTIFY_IMMEDIATELY ON
397 #define DEFAULT_EIGHT_BIT_CHARACTERS ON
398 #define DEFAULT_EXEC_PROTECTION ON
399 #define DEFAULT_FLOOD_AFTER 4
400 #define DEFAULT_FLOOD_RATE 5
401 #define DEFAULT_FLOOD_USERS 10
402 #define DEFAULT_FLOOD_WARNING OFF
403 #define DEFAULT_FULL_STATUS_LINE ON
404 #define DEFAULT_HELP_PAGER ON
405 #define DEFAULT_HELP_PROMPT ON
406 #define DEFAULT_HIGH_BIT_ESCAPE OFF
407 #define DEFAULT_HIDE_PRIVATE_CHANNELS OFF
408 #define DEFAULT_HISTORY 100
409 #define DEFAULT_HOLD_MODE OFF
410 #define DEFAULT_HOLD_MODE_MAX 0
411 #define DEFAULT_INDENT ON
412 #define DEFAULT_INPUT_ALIASES OFF
413
414
415 #define DEFAULT_INSERT_MODE ON
416 #define DEFAULT_INVERSE_VIDEO ON
417 #define DEFAULT_LASTLOG 1000
418
419 #define DEFAULT_LOG OFF
420 #define DEFAULT_MAIL 2
421 #define DEFAULT_NO_CTCP_FLOOD ON
422 #define DEFAULT_NOTIFY_INTERVAL 15000
423 #define DEFAULT_NOTIFY_ON_TERMINATION OFF
424 #define DEFAULT_NOTIFY_USERHOST_AUTOMATIC ON
425 #define DEFAULT_SCROLL_LINES ON
426 #define DEFAULT_SEND_IGNORE_MSG OFF
427 #define DEFAULT_SEND_OP_MSG ON
428 #define DEFAULT_SHELL_LIMIT 0
429 #define DEFAULT_SHOW_AWAY_ONCE ON
430 #define DEFAULT_SHOW_CHANNEL_NAMES ON
431 #define DEFAULT_SHOW_END_OF_MSGS OFF
432 #define DEFAULT_SHOW_NUMERICS OFF
433 #define DEFAULT_SHOW_STATUS_ALL OFF
434 #define DEFAULT_SHOW_WHO_HOPCOUNT OFF
435
436
437 #define DEFAULT_META_STATES 5
438 #define DEFAULT_IGNORE_TIME 600
439 #define DEFAULT_MAX_DEOPS 2
440 #define DEFAULT_MAX_IDLEKICKS 2
441
442 #define DEFAULT_NUM_BANMODES 4
443 #define DEFAULT_NUM_KICKS 4
444 #define DEFAULT_NUM_OF_WHOWAS 4
445 #define DEFAULT_NUM_OPMODES 4
446 #define DEFAULT_SEND_AWAY_MSG OFF
447 #define DEFAULT_SEND_CTCP_MSG ON
448 #define DEFAULT_SOCKS_PORT 1080
449 #define DEFAULT_AUTO_AWAY_TIME 600
450 #define DEFAULT_AUTO_RECONNECT ON
451 #define DEFAULT_AUTO_UNBAN 600
452
453 #define DEFAULT_CDCC ON
454 #define DEFAULT_CDCC_FLOOD_AFTER 3
455 #define DEFAULT_CDCC_FLOOD_RATE 4
456 #define DEFAULT_CTCP_DELAY 3
457 #define DEFAULT_CTCP_FLOOD_BAN ON
458 #define DEFAULT_DCC_AUTORENAME ON
459 #define DEFAULT_DCC_BAR_TYPE 0 /* 0 or 1 */
460 #define DEFAULT_DOUBLE_STATUS_LINE ON
461 #define DEFAULT_FTP_GRAB OFF
462
463 #define DEFAULT_HTTP_GRAB OFF
464 #define DEFAULT_HELP_WINDOW OFF
465 #define DEFAULT_NICK_COMPLETION ON
466 #define DEFAULT_NICK_COMPLETION_LEN 2
467 #define DEFAULT_NICK_COMPLETION_TYPE 0  /* 0 1 2 */
468 #define DEFAULT_NOTIFY ON
469
470 #define DEFAULT_QUEUE_SENDS 0
471 #define DEFAULT_MAX_SERVER_RECONNECT 2
472 #define DEFAULT_SERVER_GROUPS OFF
473 #define DEFAULT_WINDOW_DESTROY_PART OFF
474
475
476 #define DEFAULT_SUPPRESS_SERVER_MOTD ON
477 #define DEFAULT_TAB ON
478 #define DEFAULT_TAB_MAX 8
479 #define DEFAULT_TIMESTAMP OFF
480
481 #define DEFAULT_UNDERLINE_VIDEO ON
482 #define DEFAULT_VERBOSE_CTCP ON
483
484 #define DEFAULT_DISPLAY_ANSI ON
485 #define DEFAULT_DISPLAY_PC_CHARACTERS 4
486
487 #define DEFAULT_DCC_AUTOGET OFF
488 #define DEFAULT_DCC_GET_LIMIT 0
489 #define DEFAULT_DCC_SEND_LIMIT 5
490 #define DEFAULT_DCC_QUEUE_LIMIT 10
491 #define DEFAULT_DCC_LIMIT 10
492 #define DEFAULT_DCCTIMEOUT 600
493
494 #define DEFAULT_FLOATING_POINT_MATH OFF
495 #define DEFAULT_CLOAK OFF
496
497 #define DEFAULT_AINV 0
498 #define DEFAULT_ANNOY_KICK OFF
499 #define DEFAULT_AOP_VAR OFF
500 #define DEFAULT_AUTO_AWAY ON
501 #define DEFAULT_KICK_OPS ON
502 #define DEFAULT_AUTO_REJOIN ON
503 #define DEFAULT_DEOPFLOOD ON
504 #define DEFAULT_CTCP_FLOOD_AFTER 3
505 #define DEFAULT_CTCP_FLOOD_RATE 10
506 #define DEFAULT_DEOPFLOOD_TIME 30
507 #define DEFAULT_DEOP_ON_DEOPFLOOD 3
508 #define DEFAULT_DEOP_ON_KICKFLOOD 3
509 #define DEFAULT_KICK_IF_BANNED OFF
510 #define DEFAULT_HACKING 0  /* 0 1 2 */
511 #define DEFAULT_JOINFLOOD ON
512 #define DEFAULT_JOINFLOOD_TIME 50
513 #define DEFAULT_KICKFLOOD ON
514 #define DEFAULT_KICKFLOOD_TIME 30
515 #define DEFAULT_KICK_ON_DEOPFLOOD 3
516 #define DEFAULT_KICK_ON_JOINFLOOD 4
517 #define DEFAULT_KICK_ON_KICKFLOOD 4
518 #define DEFAULT_KICK_ON_NICKFLOOD 3
519 #define DEFAULT_KICK_ON_PUBFLOOD 30
520 #define DEFAULT_NICKFLOOD ON
521 #define DEFAULT_NICKFLOOD_TIME 30
522 #ifdef __EMXPM__
523 #define DEFAULT_NICKLIST 10
524 #else
525 #define DEFAULT_NICKLIST 100
526 #endif
527 #define DEFAULT_LAME_IDENT OFF
528 #define DEFAULT_LAMELIST ON
529 #define DEFAULT_SHITLIST ON
530 #define DEFAULT_USERLIST ON
531 #define DEFAULT_PUBFLOOD OFF
532 #define DEFAULT_PUBFLOOD_TIME 20
533 #define DEFAULT_CONNECT_TIMEOUT 30
534 #define DEFAULT_STATUS_NO_REPEAT ON
535 #define DEFAULT_STATUS_DOES_EXPANDOS OFF
536 #define DEFAULT_DISPATCH_UNKNOWN_COMMANDS OFF
537 #define DEFAULT_SCROLLBACK_LINES 512
538 #define DEFAULT_SCROLLBACK_RATIO 50
539
540 #define DEFAULT_SCROLLERBARS ON
541
542 #define DEFAULT_ND_SPACE_MAX 160
543
544 #define DEFAULT_CPU_SAVER_AFTER 0
545 #define DEFAULT_CPU_SAVER_EVERY 0
546 #define DEFAULT_NO_FAIL_DISCONNECT OFF
547 #define DEFAULT_MAX_URLS 20     /* this defines the MAX number of urls saved */
548
549
550 #undef BITCHX_LITE
551 #undef EMACS_KEYBINDS          /* change this is you have problems with 
552                                 * your keyboard
553                                 */
554 #define EXEC_COMMAND
555 #undef PUBLIC_ACCESS            /* 
556                                  * this define removes /load /exec commands
557                                  */
558
559 #define DEFAULT_OPERVIEW_HIDE 0 /* defines the operview window. if hidden or not */ 
560 #define WANT_OPERVIEW ON
561
562 #define WANT_EPICHELP   ON      /* epic help command. /ehelp. */
563 #define WANT_LLOOK      ON      /* do we want built-in llooker. */
564 #define WANT_CDCC       ON      /* do we want the cdcc system */
565 #define WANT_FTP        ON      /* do we want the ftp dcc comamnd */
566 #define WANT_NSLOOKUP   ON
567 #define WANT_TABKEY     ON
568 #define WANT_CHELP      ON
569 #define WANT_USERLIST   ON
570
571
572 /* #define HUMBLE       ON */           /* define this for a hades look */
573
574 #define WANT_DETACH ON  /* this is here for the detach/re-attach code
575                            which is essentially a mini-screen */
576 #define ALLOW_DETACH ON
577
578
579 #undef OLD_RANDOM_BEHAVIOR   /* semi randomness for randm() */
580
581
582 #ifdef WANT_OPERVIEW
583 #define DEFAULT_OPER_VIEW OFF
584 #endif
585
586 #if defined(NON_BLOCKING_CONNECTS)
587 #define DEFAULT_DCC_FAST ON
588 #else
589 #define DEFAULT_DCC_FAST OFF
590 #endif
591
592 #endif 
593 /* _USE_LOCAL_CONFIG */
594
595
596
597 #define DEFAULT_NOTIFY_HANDLER "QUIET"
598 #define DEFAULT_NOTIFY_LEVEL "ALL DCC"
599 #define DEFAULT_TIMESTAMP_STR "%I:%M%p "
600 #define DEFAULT_KICK_REASON "Bitch-X BaBy!"
601 #define DEFAULT_PROTECT_CHANNELS "*"
602
603 #define DEFAULT_SHITLIST_REASON "Surplus Lamerz must go!!!!"
604 #define DEFAULT_BEEP_ON_MSG "MSGS"
605 #define DEFAULT_CMDCHARS "/"
606 #define DEFAULT_CONTINUED_LINE "          "
607 #define DEFAULT_HIGHLIGHT_CHAR "INVERSE"
608 #define DEFAULT_LASTLOG_LEVEL "ALL"
609 #define DEFAULT_MSGLOG_LEVEL "MSGS NOTICES SEND_MSG"
610 #define DEFAULT_LOGFILE "IrcLog"
611 #define DEFAULT_SHELL "/bin/sh"
612 #define DEFAULT_SHELL_FLAGS "-c"
613 #define DEFAULT_USERINFO ""
614 #define DEFAULT_XTERM "rxvt"
615 #define DEFAULT_XTERM_OPTIONS "-bg black -fg white"
616 #define DEFAULT_DCC_DLDIR "~"
617
618 #if defined(WINNT) || defined(__EMX__)
619 #define DEFAULT_MSGLOGFILE "BitchX.awy"
620 #ifdef __EMX__
621 #define DEFAULT_CTOOLZ_DIR "."
622 #else
623 #define DEFAULT_CTOOLZ_DIR "~/bx-conf"
624 #endif
625 #define DEFAULT_SCRIPT_HELP_FILE DEFAULT_CTOOLZ_DIR"/BitchX.hlp"
626 #define DEFAULT_BITCHX_HELP_FILE DEFAULT_CTOOLZ_DIR"/BitchX.hlp"
627 #else
628 #define DEFAULT_MSGLOGFILE "BitchX.away"
629 #define DEFAULT_CTOOLZ_DIR "~/.BitchX"
630 #define DEFAULT_SCRIPT_HELP_FILE "BitchX.help"
631 #define DEFAULT_BITCHX_HELP_FILE "BitchX.help"
632 #endif
633
634 #define DEFAULT_PAD_CHAR ' '
635 #define DEFAULT_USERMODE "+iw"  /* change this to the default usermode */
636 #define DEFAULT_OPERMODE "swfck"
637 #define DEFAULT_CHANMODE "+nt" /* default channel mode */
638
639 #define DEFAULT_SWATCH "KILLS,CLIENTS,TRAFFIC,REHASH,KLINE,BOTS,OPER,SQUIT,SERVER,CONNECT,FLOOD,USER,STATS,NICK,ACTIVEK"
640
641 #define DEFAULT_WORD_BREAK ",; \t"
642
643 #define DEFAULT_JOIN_NEW_WINDOW 0
644 #define DEFAULT_JOIN_NEW_WINDOW_TYPE "new hide swap last"
645 #define DEFAULT_QUERY_NEW_WINDOW 0
646 #define DEFAULT_QUERY_NEW_WINDOW_TYPE "new hide swap last"
647
648 #define DEFAULT_MDI OFF
649
650 #ifdef __EMX__
651 #define DEFAULT_FONT "6x10"
652 #elif defined(GTK)
653 #define DEFAULT_FONT "vga"
654 #else
655 #define DEFAULT_FONT "-fn vga11x19"
656 #endif
657
658 /*#define CLOAKED  "emacs"*/    /*
659                                  * define this to the program you want to
660                                  * show up in "ps" and "top" to hide irc
661                                  * from evil sys-admins.
662                                  */
663
664 #if !defined(NON_BLOCKING_CONNECTS) && defined(DEFAULT_DCC_FAST)
665 #undef DEFAULT_DCC_FAST
666 #define DEFAULT_DCC_FAST OFF
667 #endif
668
669
670 #if defined LATIN1
671 /* Make sure the keyboard works */
672 #undef EMACS_KEYBINDS
673 /* No line chars available, so better define this: */
674 #define ONLY_STD_CHARS 1
675 #endif
676
677 /*
678  * on certain systems we can define NON_BLOCKING to 1
679  * connects are then done alot differantly. We can perform actual work
680  * in the background, while connecting. This also protects us from certain
681  * "bombs" that are available.  If you have trouble with this undef
682  * the NON_BLOCKING_CONNECTS. DCC sends/gets are much improved with this.
683  */
684
685 #if defined(HAVE_DLLIB)
686 #define WANT_DLL        1       /* define this for DLL and /loaddll commands */
687 #else
688 #if defined(WINNT) || defined(__EMX__)
689 #define WANT_DLL        1
690 #elif defined(_AIX) || defined(__OPENNT)
691 #undef WANT_DLL
692 #else
693 #undef WANT_DLL
694 #endif
695 #endif
696
697 #if defined(HEBREW) && !defined(TRANSLATE)
698 #define TRANSLATE 1
699 #endif
700 #if defined(TRANSLATE) && !defined(HEBREW)
701 #define HEBREW 1
702 #endif
703
704
705
706
707 #if defined(PUBLIC_ACCESS)
708 #undef EXEC_COMMAND
709 #undef WANT_TCL
710 #undef WANT_FTP
711 #endif
712
713
714
715 #if defined(WINNT) || defined(__EMX__)
716 #undef WANT_DETACH
717 #endif                     
718
719 /*
720  * This is the filename of the identd file to use
721  */
722 #ifdef CIDENTD
723 #define DEFAULT_IDENT_HACK ".authlie"
724 #elif defined(WDIDENT)
725 #define DEFAULT_IDENT_HACK ".noident"
726 #else
727 #define DEFAULT_IDENT_HACK ".noident"
728 #endif
729
730 #if !defined(WANT_CHATNET)
731 #undef WANT_CHATNET      /* define just for codelogic */
732 #endif
733
734 #if defined(_USE_LOCAL_CONFIG) && !defined(SHOULD_NOTIFY_BITCHX_COM)
735 #undef WANT_NOTIFY_BITCHX_COM
736 #endif
737
738 #undef PARANOID         /* #define this if your paranoid about dcc hijacking */
739 #undef WANT_CHAN_NICK_SERV      /* do we want to include some chan/nick/oper server commands */
740
741 /* new epic stuff */
742 #define OLD_STATUS_S_EXPANDO_BEHAVIOR
743 #define DEFAULT_NEW_SERVER_LASTLOG_LEVEL "NONE"
744 #define DEFAULT_RANDOM_LOCAL_PORTS 0
745 #define DEFAULT_RANDOM_SOURCE 0
746 #define DEFAULT_TERM_DOES_BRIGHT_BLINK 0
747
748
749 #if defined(BITCHX_LITE) && defined(WANT_TCL)
750 #undef BITCHX_LITE
751 #endif
752
753 #if defined(BITCHX_LITE)
754 #undef WANT_DLL
755 #undef WANT_TRANSLATE
756 #undef WANT_DETACH
757 #undef WANT_NSLOOKUP
758 #undef HEBREW
759 #undef CLOAKED
760 #undef WANT_OPERVIEW
761 #undef WANT_EPICHELP
762 #undef WANT_LLOOK
763 #undef WANT_CDCC
764 #undef WANT_FTP
765 #undef WANT_TABKEY
766 #undef WANT_CHELP
767 #undef WANT_USERLIST
768 #undef COMPRESS_MODES
769 #undef ALLOW_DETACH
770 #endif
771
772 #define DEFAULT_TKLINE_TIME 10
773
774 #undef OFF
775 #undef ON
776
777 #include "color.h"              /* all color options here. */
778
779 #endif /* __config_h_ */
This page took 0.155389 seconds and 4 git commands to generate.