]> git.pld-linux.org Git - packages/BitchX.git/blame - BitchX-config.h
reniced
[packages/BitchX.git] / BitchX-config.h
CommitLineData
6da48ba8 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