]>
Commit | Line | Data |
---|---|---|
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] "\ | |
6450b4c9 | 87 | "poznan.irc.pl " \ |
88 | "warszawa.irc.pl " \ | |
89 | "lublin.irc.pl " \ | |
90 | "krakow.irc.pl " \ | |
6da48ba8 | 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 "\ | |
6450b4c9 | 149 | "irc.dude-suit.net "\ |
150 | "irc.krushnet.org "\ | |
151 | "irc.solarconnections.com" | |
6da48ba8 | 152 | #endif |
153 | ||
154 | /* | |
155 | * You must always define this. If you can't compile glob.c, let us know. | |
156 | */ | |
157 | #define NEED_GLOB | |
158 | ||
159 | /* | |
160 | * Uncomment the following if the gecos field of your /etc/passwd has other | |
161 | * information in it that you don't want as the user name (such as office | |
162 | * locations, phone numbers, etc). The default delimiter is a comma, change | |
163 | * it if you need to. If commented out, the entire gecos field is used. | |
164 | */ | |
165 | #define GECOS_DELIMITER ',' | |
166 | ||
167 | /* | |
168 | * MAIL_DELIMITER specifies the unique text that separates one mail message | |
169 | * from another in the mail spool file when using UNIX_MAIL. | |
170 | */ | |
171 | #define MAIL_DELIMITER "From " | |
172 | ||
173 | /* | |
174 | * Uncomment the following to make ircII read a list of irc servers from | |
175 | * the ircII.servers file in the ircII library. This file should be | |
176 | * whitespace separated hostname:portnum*password (with the portnum and | |
177 | * password being optional). This server list will supercede the | |
178 | * DEFAULT_SERVER. | |
179 | */ | |
180 | #if defined(WINNT) || defined(__EMX__) | |
181 | #define SERVERS_FILE "irc-serv" | |
182 | #else | |
183 | #define SERVERS_FILE "/etc/irc/ircII.servers" | |
184 | #endif | |
185 | ||
186 | /* | |
187 | * Certain versions of Tcl lib have a PLUS version which preloads the scripts | |
188 | * into the binary so that the script directory is not required to run the | |
189 | * tcllib. This offers some benefit at the expense of a slightly larger binary. | |
190 | */ | |
191 | #undef TCL_PLUS | |
192 | ||
193 | /* | |
194 | * we define the default network type for server groups. Do not just | |
195 | * undefine this. | |
196 | */ | |
197 | #define DEFAULT_NETWORK "ircnet" | |
198 | ||
199 | /* | |
200 | * Below are the IRCII variable defaults. For boolean variables, use 1 for | |
201 | * ON and 0 for OFF. You may set string variable to NULL if you wish them to | |
202 | * have no value. None of these are optional. You may *not* comment out or | |
203 | * remove them. They are default values for variables and are required for | |
204 | * proper compilation. | |
205 | */ | |
206 | ||
207 | #if !defined(__EMX__) && !defined(WINNT) | |
208 | #include "../.config.h" | |
209 | #endif | |
210 | /* if this file has something in it, then we'll use it instead. */ | |
211 | ||
212 | #if !defined(_USE_LOCAL_CONFIG) | |
213 | ||
214 | /* NO _USE_LOCAL_CONFIG so use these instead */ | |
215 | ||
216 | /* On some channels mass modes can be confusing and in some case | |
217 | * spectacular so in the interest of keeping sanity, Jordy added this | |
218 | * mode compressor to the client. It reduces the duplicate modes that | |
219 | * might occur on a channel.. it's explained in names.c much better. | |
220 | */ | |
221 | #define COMPRESS_MODES | |
222 | ||
223 | ||
224 | /* | |
225 | * Define this if you want the $glob() function to be in your client. | |
226 | * There is a case for having this functino and a case against having | |
227 | * this function: | |
228 | * | |
229 | * Pro: makes it easier to write scripts like xdcc, since they can easily | |
230 | * get at the filenames in your xdcc directory | |
231 | * ConS8 with $unlink(), $rmdir(), etc, it makes it that much easier for | |
232 | * a backdoor to do damage to your account. | |
233 | * | |
234 | * You will have to weigh the evidence and decide if you want to include it. | |
235 | */ | |
236 | #define INCLUDE_GLOB_FUNCTION | |
237 | ||
238 | /* crisk graciously allowed me to include his hebrew modification to ircII | |
239 | * in the client. defining this variable to 1 allows that happen. It also | |
240 | * adds a HEBREW_TOGGLE variable which can turn this feature on/off | |
241 | */ | |
242 | #undef WANT_HEBREW | |
243 | ||
244 | /* if you use cidentd the filename is called .authlie instead of .noident. | |
245 | * as well some modifications to the format of the file were made. So we | |
246 | * require some pre-knowledge of what to expect. WinNT identd servers will | |
247 | * also require this. | |
248 | */ | |
249 | /* one or the other of these. not both */ | |
250 | #define CIDENTD ON | |
251 | /*#define WDIDENT 1*/ | |
252 | ||
253 | /* | |
254 | * Define this if your using a hacked ident and want to fake your username. | |
255 | * maybe we could also use this to specify what file to write this hack to. | |
256 | * Some examples are ~/.noident and ~/.authlie | |
257 | */ | |
258 | #define IDENT_FAKE ON | |
259 | ||
260 | /* | |
261 | * I moved this here because it seemed to be the most appropriate | |
262 | * place for it. Define this if you want support for ``/window create'' | |
263 | * and its related features. If you dont want it, youll save some code, | |
264 | * and you wont need 'wserv', and if you do want it, you can have it in | |
265 | * all of its broken glory (no, i dont have plans to fix it =) | |
266 | * window create doesn't make any sense on Windows 95/NT. | |
267 | */ | |
268 | #if !defined(WINNT) | |
269 | #define WINDOW_CREATE | |
270 | #else | |
271 | #undef WINDOW_CREATE | |
272 | #endif | |
273 | ||
274 | /* | |
275 | * Define this if you want an mIRC compatable /dcc resume capability. | |
276 | * Note that this BREAKS THE IRC PROTOCOL, and if you use this feature, | |
277 | * the behavior is NON COMPLIANT. If this warning doesnt bother you, | |
278 | * and you really want this feature, then go ahead and #define this. | |
279 | */ | |
280 | #define MIRC_BROKEN_DCC_RESUME ON | |
281 | ||
282 | /* | |
283 | * Set the following to 1 if you wish for IRCII not to disturb the tty's flow | |
284 | * control characters as the default. Normally, these are ^Q and ^S. You | |
285 | * may have to rebind them in IRCII. Set it to 0 for IRCII to take over the | |
286 | * tty's flow control. | |
287 | */ | |
288 | #define USE_FLOW_CONTROL ON | |
289 | ||
290 | /* | |
291 | * Make ^Z stop the irc process by default, if undefined, ^Z will self-insert | |
292 | * by default | |
293 | */ | |
294 | #define ALLOW_STOP_IRC | |
295 | ||
296 | /* And here is the port number for default client connections. */ | |
297 | #define IRC_PORT 6667 | |
298 | ||
299 | /* | |
300 | * If you define UNAME_HACK, the uname information displayed in the | |
301 | * CTCP VERSION info will appear as "*IX" irregardless of any other | |
302 | * settings. Useful for paranoid users who dont want others to know | |
303 | * that theyre running a buggy SunOS machine. >;-) | |
304 | */ | |
305 | #undef UNAME_HACK | |
306 | ||
307 | /* | |
308 | * If you define ONLY_STD_CHARS, only "normal" characters will displayed. | |
309 | * This is recommended when you want to start BitchX in an xterm without | |
310 | * the usage of the special "vga"-font. | |
311 | */ | |
6450b4c9 | 312 | #define ONLY_STD_CHARS |
6da48ba8 | 313 | |
314 | /* | |
315 | * Normally BitchX uses only the IBMPC (cp437) charset. | |
316 | * Define LATIN1, if you want to see the standard Latin1 characters | |
317 |