Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
BitchX
GitHub Repository: BitchX/BitchX1.3
Path: blob/master/include/config.h
1069 views
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 <[email protected]>
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: config.h 160 2012-03-06 11:14:51Z keaston $
15
*/
16
17
#ifndef __config_h_
18
#define __config_h_
19
20
#include "defs.h"
21
22
#define OFF 0
23
#define ON 1
24
25
/*
26
* Set your favorite default server list here. This list should be a
27
* whitespace separated hostname:portnum:password list (with portnums and
28
* passwords optional). This IS NOT an optional definition. Please set this
29
* to your nearest servers. However if you use a seperate 'ircII.servers'
30
* file and the ircII can find it, this setting is overridden.
31
*/
32
#ifndef DEFAULT_SERVER
33
/*
34
* some caution is required here. the \ is a continuation char and is required
35
* on any servers you add into this list. also the very last server should not
36
* have a continuation char.
37
*
38
* List last updated: 15-Aug-2009 (caf).
39
*/
40
#define DEFAULT_SERVER "[efnet] "\
41
"irc.eversible.com "\
42
"irc.choopa.net "\
43
"irc.easynews.com "\
44
"irc.blessed.net "\
45
"irc.servercentral.net "\
46
"irc.umich.edu "\
47
"irc.he.net "\
48
"irc.mzima.net "\
49
"irc.paraphysics.net "\
50
"irc.shoutcast.com "\
51
"irc.vel.net "\
52
"irc.wh.verio.net "\
53
"[xsirc] "\
54
"irc.BitchX.org "\
55
"ircd.ircii.org "\
56
"irc.gibbed.net "\
57
"[ircnet US] "\
58
"ircnet.eversible.com "\
59
"ircnet.choopa.net "\
60
"us.ircnet.org "\
61
"[ircnet EU] "\
62
"irc.dotsrc.org "\
63
"uk.ircnet.org "\
64
"irc.xs4all.nl "\
65
"irc.belwue.de "\
66
"ircnet.nerim.fr "\
67
"irc.eutelia.it "\
68
"krakow.irc.pl "\
69
"ircnet.netvision.net.il "\
70
"[dalnet] "\
71
"irc.dal.net "\
72
"[Undernet US] "\
73
"Dallas.TX.US.Undernet.org "\
74
"mesa.az.us.undernet.org "\
75
"newyork.ny.us.undernet.org "\
76
"SantaAna.CA.US.Undernet.org "\
77
"Tampa.FL.US.Undernet.org "\
78
"[Undernet CA] "\
79
"Vancouver.BC.CA.Undernet.org "\
80
"[Undernet EU] "\
81
"Diemen.NL.EU.Undernet.Org "\
82
"Helsinki.FI.EU.Undernet.org "\
83
"trondheim.no.eu.undernet.org "\
84
"graz.at.Eu.UnderNet.org "\
85
"Elsene.Be.Eu.undernet.org "\
86
"bucharest.ro.eu.undernet.org "\
87
"Ede.NL.EU.UnderNet.Org "\
88
"oslo.no.eu.undernet.org "\
89
"Zagreb.Hr.EU.UnderNet.org "\
90
"Lelystad.NL.EU.UnderNet.Org "\
91
"[Anynet] "\
92
"irc.bluecherry.net "\
93
"irc.irule.net "\
94
"[AfterNet] "\
95
"irc.afternet.org "\
96
"[oftc] "\
97
"irc.oftc.net "\
98
"[SlashNET] "\
99
"pinky.slashnet.org "\
100
"blago.slashnet.org "\
101
"moo.slashnet.org "\
102
"coruscant.slashnet.org "
103
#endif
104
105
/*
106
* You must always define this. If you can't compile glob.c, let us know.
107
*/
108
#define NEED_GLOB
109
110
/* On some channels mass modes can be confusing and in some case
111
* spectacular so in the interest of keeping sanity, Jordy added this
112
* mode compressor to the client. It reduces the duplicate modes that
113
* might occur on a channel.. it's explained in names.c much better.
114
*/
115
#define COMPRESS_MODES
116
117
/*
118
* Uncomment the following if the gecos field of your /etc/passwd has other
119
* information in it that you don't want as the user name (such as office
120
* locations, phone numbers, etc). The default delimiter is a comma, change
121
* it if you need to. If commented out, the entire gecos field is used.
122
*/
123
#define GECOS_DELIMITER ','
124
125
/*
126
* MAIL_DELIMITER specifies the unique text that separates one mail message
127
* from another in the mail spool file when using UNIX_MAIL.
128
*/
129
#define MAIL_DELIMITER "From "
130
131
/*
132
* Uncomment the following to make ircII read a list of irc servers from
133
* the ircII.servers file in the ircII library. This file should be
134
* whitespace separated hostname:portnum*password (with the portnum and
135
* password being optional). This server list will supercede the
136
* DEFAULT_SERVER.
137
*/
138
#if defined(WINNT) || defined(__EMX__)
139
#define SERVERS_FILE "irc-serv"
140
#else
141
#define SERVERS_FILE "ircII.servers"
142
#endif
143
144
/*
145
* Certain versions of Tcl lib have a PLUS version which preloads the scripts
146
* into the binary so that the script directory is not required to run the
147
* tcllib. This offers some benefit at the expense of a slightly larger binary.
148
*/
149
#undef TCL_PLUS
150
151
/*
152
* we define the default network type for server groups. Do not just
153
* undefine this.
154
*/
155
#define DEFAULT_NETWORK "efnet"
156
157
/*
158
* Below are the IRCII variable defaults. For boolean variables, use 1 for
159
* ON and 0 for OFF. You may set string variable to NULL if you wish them to
160
* have no value. None of these are optional. You may *not* comment out or
161
* remove them. They are default values for variables and are required for
162
* proper compilation.
163
*/
164
165
#if !defined(__EMX__) && !defined(WINNT)
166
/* if this file has something in it, then we'll use it instead. */
167
#include "../.config.h"
168
#endif
169
170
#if !defined(_USE_LOCAL_CONFIG)
171
/* NO _USE_LOCAL_CONFIG so use these instead */
172
173
/* On some channels mass modes can be confusing and in some case
174
* spectacular so in the interest of keeping sanity, Jordy added this
175
* mode compressor to the client. It reduces the duplicate modes that
176
* might occur on a channel.. it's explained in names.c much better.
177
*/
178
#define COMPRESS_MODES
179
180
181
/*
182
* Define this if you want the $glob() function to be in your client.
183
* There is a case for having this functino and a case against having
184
* this function:
185
*
186
* Pro: makes it easier to write scripts like xdcc, since they can easily
187
* get at the filenames in your xdcc directory
188
* ConS8 with $unlink(), $rmdir(), etc, it makes it that much easier for
189
* a backdoor to do damage to your account.
190
*
191
* You will have to weigh the evidence and decide if you want to include it.
192
*/
193
#define INCLUDE_GLOB_FUNCTION
194
195
/* crisk graciously allowed me to include his hebrew modification to ircII
196
* in the client. defining this variable to 1 allows that happen. It also
197
* adds a HEBREW_TOGGLE variable which can turn this feature on/off
198
*/
199
#undef WANT_HEBREW
200
201
/* if you use cidentd the filename is called .authlie instead of .noident.
202
* as well some modifications to the format of the file were made. So we
203
* require some pre-knowledge of what to expect. WinNT identd servers will
204
* also require this.
205
*/
206
/* one or the other of these. not both */
207
#undef CIDENTD
208
#undef WDIDENT
209
210
/*
211
* Define this if your using a hacked ident and want to fake your username.
212
* maybe we could also use this to specify what file to write this hack to.
213
* Some examples are ~/.noident and ~/.authlie
214
*/
215
#undef IDENT_FAKE
216
217
/*
218
* I moved this here because it seemed to be the most appropriate
219
* place for it. Define this if you want support for ``/window create''
220
* and its related features. If you dont want it, youll save some code,
221
* and you wont need 'wserv', and if you do want it, you can have it in
222
* all of its broken glory (no, i dont have plans to fix it =)
223
* window create doesn't make any sense on Windows 95/NT.
224
*/
225
#if !defined(GUI) && defined(WINNT)
226
#undef WINDOW_CREATE
227
#else
228
#define WINDOW_CREATE
229
#endif
230
231
/*
232
* Define this if you want an mIRC compatable /dcc resume capability.
233
* Note that this BREAKS THE IRC PROTOCOL, and if you use this feature,
234
* the behavior is NON COMPLIANT. If this warning doesnt bother you,
235
* and you really want this feature, then go ahead and #define this.
236
*/
237
#define MIRC_BROKEN_DCC_RESUME ON
238
239
/*
240
* Set the following to 1 if you wish for IRCII not to disturb the tty's flow
241
* control characters as the default. Normally, these are ^Q and ^S. You
242
* may have to rebind them in IRCII. Set it to 0 for IRCII to take over the
243
* tty's flow control.
244
*/
245
#define USE_FLOW_CONTROL ON
246
247
/*
248
* Make ^Z stop the irc process by default, if undefined, ^Z will self-insert
249
* by default
250
*/
251
#define ALLOW_STOP_IRC
252
253
/* And here is the port number for default client connections. */
254
#define IRC_PORT 6667
255
256
/*
257
* If you define UNAME_HACK, the uname information displayed in the
258
* CTCP VERSION info will appear as "*IX" irregardless of any other
259
* settings. Useful for paranoid users who dont want others to know
260
* that theyre running a buggy SunOS machine. >;-)
261
*/
262
#undef UNAME_HACK
263
264
/*
265
* If you define ONLY_STD_CHARS, only "normal" characters will displayed.
266
* This is recommended when you want to start BitchX in an xterm without
267
* the usage of the special "vga"-font.
268
*/
269
#undef ONLY_STD_CHARS
270
271
/*
272
* Normally BitchX uses only the IBMPC (cp437) charset.
273
* Define LATIN1, if you want to see the standard Latin1 characters
274
* (i.e. � � � � � � � <-> "A "O "U "a "o "u \qs ).
275
*
276
* You will still be able to see ansi graphics, but there will be some
277
* smaller problems (i.e. after a PageUp).
278
*
279
* If you use xterm there is no easy way to use both fonts at the same
280
* time. You have to decide if you use the standard (latin1) fonts or
281
* vga.pcf (cp437).
282
*
283
* Is here there any solution to use both fonts nethertheless ?
284
*/
285
#undef LATIN1
286
287
/*
288
* If you use LINUX and non ISO8859-1 fonts with custom screen mapping,
289
* and if your see some pseudographics instead of your national characters,
290
* define this to solve the problem.
291
*
292
*/
293
#undef CHARSET_CUSTOM
294
295
/*
296
* If you want the non-ansi BitchX logo only define this ASCII_LOGO
297
*
298
* Note: On the console ansi graphics can be displayed just fine, even
299
* when you've defined LATIN1. The problem is that ansi graphics will look
300
* ugly if you use the scroll up feature (PageUp/PageDown)
301
*/
302
#undef ASCII_LOGO
303
304
/* If you define REVERSE_WHITE_BLACK, then the format codes for black and
305
* white color are revepsed. (%W, %w is bold black and black, %K, %k is bold
306
* white and white). This way the default format-strings are readable on
307
* a display with white background and black foreground.
308
*/
309
#undef REVERSE_WHITE_BLACK
310
311
/*
312
* Define this if you want support for ircII translation tables.
313
*/
314
#define TRANSLATE
315
316
/*
317
* WinNT and EMX probably need an ident server, so define this unless you have
318
* an external one, or don't want ident support (bad idea).
319
*/
320
#if defined(WINNT) || defined(__EMX__)
321
#define WANT_IDENTD
322
#endif
323
324
/*
325
* Define the name of your ircrc file here.
326
*/
327
#if defined(WINNT) || defined(__EMX__)
328
#define IRCRC_NAME "/irc-rc"
329
#else
330
#define IRCRC_NAME "/.ircrc"
331
#endif
332
333
#define DEFAULT_PING_TYPE 1
334
#define DEFAULT_MSGLOG ON
335
#define DEFAULT_AUTO_NSLOOKUP OFF
336
#define DEFAULT_ALT_CHARSET ON
337
#define DEFAULT_FLOOD_KICK ON
338
#define DEFAULT_FLOOD_PROTECTION ON
339
#define DEFAULT_CTCP_FLOOD_PROTECTION ON
340
#define DEFAULT_MAX_AUTOGET_SIZE 2000000
341
#define DEFAULT_LLOOK_DELAY 120
342
#define DEFAULT_ALWAYS_SPLIT_BIGGEST ON
343
#define DEFAULT_AUTO_UNMARK_AWAY OFF
344
#define DEFAULT_AUTO_WHOWAS OFF
345
#define DEFAULT_BANTIME 600
346
#define DEFAULT_BEEP ON
347
#define DEFAULT_BEEP_MAX 3
348
#define DEFAULT_BEEP_WHEN_AWAY OFF
349
#define DEFAULT_BOLD_VIDEO ON
350
#define DEFAULT_BLINK_VIDEO ON
351
#define DEFAULT_CHANNEL_NAME_WIDTH 10
352
#define DEFAULT_CLOCK ON
353
#define DEFAULT_CLOCK_24HOUR OFF
354
#define DEFAULT_COMMAND_MODE OFF
355
#define DEFAULT_COMMENT_HACK ON
356
#define DEFAULT_DCC_BLOCK_SIZE 2048
357
#define DEFAULT_DISPLAY ON
358
#define DEFAULT_DO_NOTIFY_IMMEDIATELY ON
359
#define DEFAULT_EIGHT_BIT_CHARACTERS ON
360
#define DEFAULT_EXEC_PROTECTION ON
361
#define DEFAULT_FLOOD_AFTER 4
362
#define DEFAULT_FLOOD_RATE 5
363
#define DEFAULT_FLOOD_USERS 10
364
#define DEFAULT_FLOOD_WARNING OFF
365
#define DEFAULT_FULL_STATUS_LINE ON
366
#define DEFAULT_HELP_PAGER ON
367
#define DEFAULT_HELP_PROMPT ON
368
#define DEFAULT_HIGH_BIT_ESCAPE OFF
369
#define DEFAULT_HIDE_PRIVATE_CHANNELS OFF
370
#define DEFAULT_HISTORY 100
371
#define DEFAULT_HOLD_MODE OFF
372
#define DEFAULT_HOLD_MODE_MAX 0
373
#define DEFAULT_INDENT ON
374
#define DEFAULT_INPUT_ALIASES OFF
375
#define DEFAULT_INSERT_MODE ON
376
#define DEFAULT_INVERSE_VIDEO ON
377
#define DEFAULT_LASTLOG 1000
378
#define DEFAULT_LOG OFF
379
#define DEFAULT_MAIL 2
380
#define DEFAULT_NO_CTCP_FLOOD ON
381
#define DEFAULT_NOTIFY_HANDLER "QUIET"
382
#define DEFAULT_NOTIFY_INTERVAL 60
383
#define DEFAULT_NOTIFY_LEVEL "ALL DCC"
384
#define DEFAULT_NOTIFY_ON_TERMINATION OFF
385
#define DEFAULT_NOTIFY_USERHOST_AUTOMATIC ON
386
#define DEFAULT_SCROLL_LINES ON
387
#define DEFAULT_SEND_IGNORE_MSG OFF
388
#define DEFAULT_SEND_OP_MSG ON
389
#define DEFAULT_SHELL_LIMIT 0
390
#define DEFAULT_SHOW_AWAY_ONCE ON
391
#define DEFAULT_SHOW_CHANNEL_NAMES ON
392
#define DEFAULT_SHOW_END_OF_MSGS OFF
393
#define DEFAULT_SHOW_NUMERICS OFF
394
#define DEFAULT_SHOW_STATUS_ALL OFF
395
#define DEFAULT_SHOW_WHO_HOPCOUNT OFF
396
#define DEFAULT_META_STATES 5
397
#define DEFAULT_IGNORE_TIME 600
398
#define DEFAULT_MAX_DEOPS 2
399
#define DEFAULT_MAX_IDLEKICKS 2
400
#define DEFAULT_NUM_BANMODES 4
401
#define DEFAULT_NUM_KICKS 1
402
#define DEFAULT_NUM_OF_WHOWAS 4
403
#define DEFAULT_NUM_OPMODES 4
404
#define DEFAULT_SEND_AWAY_MSG OFF
405
#define DEFAULT_SEND_CTCP_MSG ON
406
#define DEFAULT_SOCKS_PORT 1080
407
#define DEFAULT_AUTO_AWAY_TIME 600
408
#define DEFAULT_AUTO_RECONNECT ON
409
#define DEFAULT_AUTO_UNBAN 600
410
#define DEFAULT_CDCC ON
411
#define DEFAULT_CDCC_FLOOD_AFTER 3
412
#define DEFAULT_CDCC_FLOOD_RATE 4
413
#define DEFAULT_CTCP_DELAY 3
414
#define DEFAULT_CTCP_FLOOD_BAN ON
415
#define DEFAULT_DCC_AUTORENAME ON
416
#define DEFAULT_DCC_AUTORESUME OFF
417
#define DEFAULT_DCC_AUTORENAME_ON_NICKNAME OFF
418
#define DEFAULT_DCC_BAR_TYPE 0 /* 0 or 1 */
419
#define DEFAULT_DOUBLE_STATUS_LINE ON
420
#define DEFAULT_FTP_GRAB OFF
421
#define DEFAULT_HTTP_GRAB OFF
422
#define DEFAULT_HELP_WINDOW OFF
423
#define DEFAULT_NICK_COMPLETION ON
424
#define DEFAULT_NICK_COMPLETION_CHAR ':'
425
#define DEFAULT_NICK_COMPLETION_LEN 2
426
#define DEFAULT_NICK_COMPLETION_TYPE 0 /* 0 1 2 */
427
#define DEFAULT_NOTIFY ON
428
#define DEFAULT_QUEUE_SENDS 0
429
#define DEFAULT_MAX_SERVER_RECONNECT 2
430
#define DEFAULT_SERVER_GROUPS OFF
431
#define DEFAULT_WINDOW_DESTROY_PART OFF
432
#define DEFAULT_WINDOW_DESTROY_QUERY OFF
433
#define DEFAULT_SUPPRESS_SERVER_MOTD ON
434
#define DEFAULT_TAB ON
435
#define DEFAULT_TAB_MAX 8
436
#define DEFAULT_TIMESTAMP OFF
437
#define DEFAULT_TIMESTAMP_AWAYLOG_HOURLY ON
438
#define DEFAULT_TIMESTAMP_STR "%I:%M%p "
439
#define DEFAULT_UNDERLINE_VIDEO ON
440
#define DEFAULT_VERBOSE_CTCP ON
441
#define DEFAULT_DISPLAY_ANSI ON
442
#define DEFAULT_DISPLAY_PC_CHARACTERS 4
443
#define DEFAULT_DCC_AUTOGET OFF
444
#define DEFAULT_DCC_GET_LIMIT 0
445
#define DEFAULT_DCC_SEND_LIMIT 5
446
#define DEFAULT_DCC_QUEUE_LIMIT 10
447
#define DEFAULT_DCC_LIMIT 10
448
#define DEFAULT_DCCTIMEOUT 600
449
#define DEFAULT_FLOATING_POINT_MATH OFF
450
#define DEFAULT_LLOOK OFF
451
#define DEFAULT_CLOAK OFF
452
#define DEFAULT_AINV 0
453
#define DEFAULT_ANNOY_KICK OFF
454
#define DEFAULT_AOP_VAR OFF
455
#define DEFAULT_AUTO_AWAY ON
456
#define DEFAULT_KICK_OPS ON
457
#define DEFAULT_AUTO_REJOIN ON
458
#define DEFAULT_DEOPFLOOD ON
459
#if defined(__EMXPM__) || defined(WIN32)
460
#define DEFAULT_CODEPAGE 437
461
#endif
462
#define DEFAULT_CTCP_FLOOD_AFTER 3
463
#define DEFAULT_CTCP_FLOOD_RATE 10
464
#define DEFAULT_DEOPFLOOD_TIME 30
465
#define DEFAULT_DEOP_ON_DEOPFLOOD 3
466
#define DEFAULT_DEOP_ON_KICKFLOOD 3
467
#define DEFAULT_KICK_IF_BANNED OFF
468
#define DEFAULT_HACKING 0 /* 0 1 2 */
469
#define DEFAULT_JOINFLOOD ON
470
#define DEFAULT_JOINFLOOD_TIME 50
471
#define DEFAULT_KICKFLOOD ON
472
#define DEFAULT_KICKFLOOD_TIME 30
473
#define DEFAULT_KICK_ON_DEOPFLOOD 3
474
#define DEFAULT_KICK_ON_JOINFLOOD 4
475
#define DEFAULT_KICK_ON_KICKFLOOD 4
476
#define DEFAULT_KICK_ON_NICKFLOOD 3
477
#define DEFAULT_KICK_ON_PUBFLOOD 30
478
#define DEFAULT_NICKFLOOD ON
479
#define DEFAULT_NICKFLOOD_TIME 30
480
#ifdef __EMXPM__
481
#define DEFAULT_NICKLIST 10
482
#else
483
#define DEFAULT_NICKLIST 100
484
#endif
485
#define DEFAULT_NICKLIST_SORT 0
486
#define DEFAULT_LAME_IDENT OFF
487
#define DEFAULT_LAMELIST ON
488
#define DEFAULT_SHITLIST ON
489
#define DEFAULT_USERLIST ON
490
#define DEFAULT_PUBFLOOD OFF
491
#define DEFAULT_PUBFLOOD_TIME 20
492
#define DEFAULT_CONNECT_DELAY 1
493
#define DEFAULT_CONNECT_TIMEOUT 30
494
#define DEFAULT_STATUS_NO_REPEAT ON
495
#define DEFAULT_STATUS_DOES_EXPANDOS OFF
496
#define DEFAULT_DISPATCH_UNKNOWN_COMMANDS OFF
497
#define DEFAULT_SCROLLBACK_LINES 512
498
#define DEFAULT_SCROLLBACK_RATIO 50
499
#define DEFAULT_SCROLLERBARS ON
500
#define DEFAULT_ND_SPACE_MAX 160
501
#define DEFAULT_CPU_SAVER_AFTER 0
502
#define DEFAULT_CPU_SAVER_EVERY 0
503
#define DEFAULT_NO_FAIL_DISCONNECT OFF
504
#define DEFAULT_MAX_URLS 20 /* this defines the MAX number of urls saved */
505
#undef BITCHX_LITE
506
#undef EMACS_KEYBINDS /* change this is you have problems with
507
* your keyboard
508
*/
509
#define EXEC_COMMAND
510
#undef PUBLIC_ACCESS /*
511
* this define removes /load /exec commands
512
*/
513
#define DEFAULT_OPERVIEW_HIDE 0 /* defines the operview window. if hidden or not */
514
#define WANT_OPERVIEW ON
515
#define WANT_EPICHELP ON /* epic help command. /ehelp. */
516
#define WANT_LLOOK ON /* do we want built-in llooker. */
517
#define WANT_CDCC ON /* do we want the cdcc system */
518
#define WANT_FTP ON /* do we want the ftp dcc comamnd */
519
#if defined(HAVE_RESOLV) && defined(HAVE_ARPA_NAMESER_H) && defined(HAVE_RESOLV_H)
520
#define WANT_NSLOOKUP ON
521
#else
522
#undef WANT_NSLOOKUP
523
#endif
524
#define WANT_TABKEY ON
525
#define WANT_CHELP ON
526
#define WANT_USERLIST ON
527
#undef HUMBLE /* define this for a hades look */
528
529
#define WANT_DETACH OFF /* this is here for the detach/re-attach code
530
which is essentially a mini-screen */
531
532
#define ALLOW_DETACH ON
533
#define DEFAULT_DETACH_ON_HUP OFF
534
535
#undef OLD_RANDOM_BEHAVIOR /* semi randomness for random() */
536
537
#ifdef WANT_OPERVIEW
538
#define DEFAULT_OPER_VIEW OFF
539
#endif
540
541
#if defined(NON_BLOCKING_CONNECTS)
542
#define DEFAULT_DCC_FAST ON
543
#else
544
#define DEFAULT_DCC_FAST OFF
545
#endif
546
547
#endif
548
/* _USE_LOCAL_CONFIG */
549
550
#define DEFAULT_KICK_REASON "Bitch-X BaBy!"
551
#define DEFAULT_PROTECT_CHANNELS "*"
552
#define DEFAULT_SHITLIST_REASON "Surplus Lamerz must go!!!!"
553
#define DEFAULT_BEEP_ON_MSG "MSGS"
554
#define DEFAULT_CMDCHARS "/"
555
#define DEFAULT_CONTINUED_LINE " "
556
#define DEFAULT_HIGHLIGHT_CHAR "INVERSE"
557
#define DEFAULT_LASTLOG_LEVEL "ALL"
558
#define DEFAULT_MSGLOG_LEVEL "MSGS NOTICES SEND_MSG"
559
#define DEFAULT_LOGFILE "IrcLog"
560
#define DEFAULT_SHELL "/bin/sh"
561
#define DEFAULT_SHELL_FLAGS "-c"
562
#define DEFAULT_USERINFO ""
563
#define DEFAULT_XTERM "rxvt"
564
#define DEFAULT_XTERM_OPTIONS "-bg black -fg white"
565
#define DEFAULT_DCC_DLDIR "~"
566
567
#define DEFAULT_PAD_CHAR ' '
568
#define DEFAULT_USERMODE "+iw" /* change this to the default usermode */
569
#define DEFAULT_OPERMODE "swfck"
570
#define DEFAULT_CHANMODE "+nt" /* default channel mode */
571
572
#define DEFAULT_SWATCH "KILLS,CLIENTS,TRAFFIC,REHASH,KLINE,BOTS,OPER,SQUIT,SERVER,CONNECT,FLOOD,USER,STATS,NICK,ACTIVEK"
573
574
#define DEFAULT_WORD_BREAK " \t"
575
576
#define DEFAULT_JOIN_NEW_WINDOW 0
577
#define DEFAULT_QUERY_NEW_WINDOW 0
578
#ifdef GUI
579
#define DEFAULT_JOIN_NEW_WINDOW_TYPE "create hide swap last double on split on"
580
#define DEFAULT_QUERY_NEW_WINDOW_TYPE "create hide swap last double on split on"
581
#else
582
#define DEFAULT_JOIN_NEW_WINDOW_TYPE "new hide_others double on"
583
#define DEFAULT_QUERY_NEW_WINDOW_TYPE "new hide_others double on"
584
#endif
585
586
#define DEFAULT_MDI OFF
587
588
#ifdef __EMX__
589
#define DEFAULT_FONT "6x10"
590
#elif defined(GTK)
591
#define DEFAULT_FONT "vga"
592
#else
593
#define DEFAULT_FONT "-fn vga11x19"
594
#endif
595
596
/*#define CLOAKED "emacs"*/ /*
597
* define this to the program you want to
598
* show up in "ps" and "top" to hide irc
599
* from evil sys-admins.
600
*/
601
602
#if !defined(NON_BLOCKING_CONNECTS) && defined(DEFAULT_DCC_FAST)
603
#undef DEFAULT_DCC_FAST
604
#define DEFAULT_DCC_FAST OFF
605
#endif
606
607
#if defined LATIN1
608
/* Make sure the keyboard works */
609
#undef EMACS_KEYBINDS
610
/* No line chars available, so better define this: */
611
#define ONLY_STD_CHARS 1
612
#endif
613
614
/*
615
* on certain systems we can define NON_BLOCKING to 1
616
* connects are then done alot differantly. We can perform actual work
617
* in the background, while connecting. This also protects us from certain
618
* "bombs" that are available. If you have trouble with this undef
619
* the NON_BLOCKING_CONNECTS. DCC sends/gets are much improved with this.
620
*/
621
622
#if defined(HEBREW) && !defined(TRANSLATE)
623
#define TRANSLATE 1
624
#endif
625
#if defined(TRANSLATE) && !defined(HEBREW)
626
#define HEBREW 1
627
#endif
628
629
#if defined(PUBLIC_ACCESS)
630
#undef EXEC_COMMAND
631
#undef WANT_TCL
632
#undef WANT_FTP
633
#endif
634
635
#if defined(WINNT) || defined(__EMX__) || defined(GUI)
636
#undef WANT_DETACH
637
#endif
638
639
/*
640
* This is the filename of the identd file to use
641
*/
642
#ifdef CIDENTD
643
#define DEFAULT_IDENT_HACK ".authlie"
644
#elif defined(WDIDENT)
645
#define DEFAULT_IDENT_HACK ".noident"
646
#else
647
#define DEFAULT_IDENT_HACK ".noident"
648
#endif
649
650
#if !defined(WANT_CHATNET)
651
#undef WANT_CHATNET /* define just for codelogic */
652
#endif
653
654
#if defined(_USE_LOCAL_CONFIG) && !defined(SHOULD_NOTIFY_BITCHX_COM)
655
#undef WANT_NOTIFY_BITCHX_COM
656
#endif
657
658
#undef PARANOID /* #define this if your paranoid about dcc hijacking */
659
#undef WANT_CHAN_NICK_SERV /* do we want to include some chan/nick/oper server commands */
660
661
/* new epic stuff */
662
#define OLD_STATUS_S_EXPANDO_BEHAVIOR
663
#define DEFAULT_NEW_SERVER_LASTLOG_LEVEL "NONE"
664
#define DEFAULT_RANDOM_LOCAL_PORTS 0
665
#define DEFAULT_RANDOM_SOURCE 0
666
#define DEFAULT_TERM_DOES_BRIGHT_BLINK 0
667
668
669
#if defined(BITCHX_LITE) && defined(WANT_TCL)
670
#undef BITCHX_LITE
671
#endif
672
673
#if defined(BITCHX_LITE)
674
#undef WANT_DLL
675
#undef WANT_TRANSLATE
676
#undef WANT_DETACH
677
#undef WANT_NSLOOKUP
678
#undef HEBREW
679
#undef CLOAKED
680
#undef WANT_OPERVIEW
681
#undef WANT_EPICHELP
682
#undef WANT_LLOOK
683
#undef WANT_CDCC
684
#undef WANT_FTP
685
#undef WANT_TABKEY
686
#undef WANT_CHELP
687
#undef WANT_USERLIST
688
#undef COMPRESS_MODES
689
#undef ALLOW_DETACH
690
#endif
691
692
#define DEFAULT_TKLINE_TIME 10
693
#define DEFAULT_BOTCHAR '.' /* default char to enter dcc chat. */
694
/* oper serv's tend to send .'s */
695
696
#define WANT_CORE
697
698
#undef OFF
699
#undef ON
700
701
#include "color.h" /* all color options here. */
702
703
#endif /* __config_h_ */
704
705