1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363
|
/*
* 'new' config.h:
* A configuration file designed to make best use of the abilities
* of ircII, and trying to make things more intuitively understandable.
*
* Original: Michael Sandrof
* V2 by Carl V. Loesch (lynx@dm.unirm1.it)
*/
#ifndef _CONFIG_H_
#define _CONFIG_H_
/*
* Notes to the unwary:
*
* -- You cant just add a ``#define DEFAULT_X'' and expect it to work.
* Those things that do not have defaults are that way on purpose.
* Either they have their own defaults, or a default is inappropriate.
*
* -- Unless the description expliclity says that the #define is optional,
* you may NOT remove it or #undef it, else the client will not compile
* properly.
*/
/*
* This is where you define a list of ``fallback'' servers in case the client
* cannot under other circumstances figure out where to connect. Normally,
* the server to use is determined by the ``SERVERS_FILE'' (see below), or
* by a server specified on the command line. But if for some reason your
* ``SERVERS_FILE'' isnt there or isnt readable, or the user doesnt specify
* a server, then this list will be used.
*
* The list should be a space seperated list of the form
* hostname:portnum:password. The portnum and password are optional.
* An example is:
*
* #define DEFAULT_SERVER "irc.iastate.edu irc-2.mit.edu:6666:lag-2sux"
*
* THIS DEFINE IS -!-NOT-!- OPTIONAL. You must provide a fallback list or
* the client will NOT compile and work properly! Use the default here if
* you dont have other servers to use.
*/
#define DEFAULT_SERVER "irc.debian.org"
/*
* By default we let OpenSSL choose the ciphers we wnat to use.
* But if you were really bent on overruling that, you could do it here.
* If you change this, you are expected to know what you are doing.
*/
#define DEFAULT_SSL_CIPHERS NULL
/*
* This is an experimental feature to thwart infinite recursion. It is not
* very sophisticated so it's not turned on by default. In the future I
* will probably do something less lame.
*
* When this many stack frames are created, epic will refuse to make any
* more. This will stop epic from crashing with a segfault when you do
* infinite recursion, but it's possible that epic may infinitely recurse
* if your alias is tricky enough. Pick your poison
*/
#define MAX_STACK_FRAMES 20000
/*
* This sets how you want to see the 368 numeric to be hooked. The default
* (#undef) is the traditional EPIC behavior.
* EPIC ircII
* $0 server server
* $1 number of bans channel name
* $2 channel name <nothing -- now number of bans>
*/
#undef IRCII_LIKE_BAN_SUMMARY
/*
* When this is define'd, the -z flag, the IRCUSER and USER environment
* variables, as well as the /IRCUSER command will be honored. This is
* not nearly as big a deal as it used to be, because every server uses
* identd and ignores the client-specified username. There is no compelling
* reason for any site using identd to forbid this behavior by default.
* Any site that wont run identd i dont have a lot of sympathy for.
*/
#define ALLOW_USER_SPECIFIED_LOGIN
/*
* I moved this here because it seemed to be the most appropriate
* place for it. Define this if you want support for ``/window create''
* and its related features. If you dont want it, youll save some code,
* and you wont need 'wserv'.
*/
#define WINDOW_CREATE
/*
* Define this if you want an mIRC compatable /dcc resume capability.
* Note that this BREAKS THE IRC PROTOCOL, and if you use this feature,
* the behavior is NON COMPLIANT. If this warning doesnt bother you,
* and you really want this feature, then go ahead and #define this.
*
* Unfortunately, due to popular pressure, im having to #define this by
* default. The capability wont be turned on, however, unless you also
* do a /set mirc_broken_dcc_resume on, which is OFF by default. No,
* there will not be a way to default it to ON short of modifying vars.c.
* This is a comprimise, and i wont give any further. Those who dont want
* this feature can #undef this, or can hook /on set "mirc_broken_dcc_resume".
*/
#define MIRC_BROKEN_DCC_RESUME
/*
* Youll want to define this if your system is missing the glob()
* call, or if its broken (solaris).
*
* Actually, you should #define this if you can compile the supplied
* glob.c. If it works, dont mess with it.
*/
#define NEED_GLOB
/* And here is the port number for default client connections. */
#define IRC_PORT 6667
/*
* If you want to have a file containing the list of irc servers to
* use, define SERVERS_FILE to be that filename. Put the file in the
* ircII library directory. This file should be whitespace seperated
* hostname:portnum:password (with the portnum and password being
* optional). This server list will supercede the DEFAULT_SERVER
*/
#define SERVERS_FILE "/etc/epic5/servers"
/*
* The /LOAD path is now generated at runtime, rather than at compile time.
* This is to allow you to change IRCLIB and have its script library be
* resepected without having to change IRCPATH as well. This is a printf
* format of what the default load path is to be. The %s format indicates
* the runtime IRCLIB value. This value is only used at startup time.
*/
#define DEFAULT_IRCPATH ".:~/.epic:~/.irc:/usr/local/share/epic5/script:%s/script"
#define IMPLIED_ON_HOOKS
/*
* 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.
*/
#define DEFAULT_ACCEPT_INVALID_SSL_CERT 1
#define DEFAULT_ALLOW_C1_CHARS 0
#define DEFAULT_ALT_CHARSET 1
#define DEFAULT_ALWAYS_SPLIT_BIGGEST 1
#define DEFAULT_AUTOMARGIN_OVERRIDE 0
#define DEFAULT_BANNER "***"
#define DEFAULT_BANNER_EXPAND 0
#define DEFAULT_BEEP 1
#define DEFAULT_BEEP_MAX 3
#define DEFAULT_BLANK_LINE_INDICATOR NULL
#define DEFAULT_BLINK_VIDEO 1
#define DEFAULT_BOLD_VIDEO 1
#define DEFAULT_BROKEN_AIXTERM 0
#define DEFAULT_CHANNEL_NAME_WIDTH 0
#define DEFAULT_CLOCK 1
#define DEFAULT_CLOCK_24HOUR 0
#define DEFAULT_CLOCK_FORMAT NULL
#define DEFAULT_CLOCK_INTERVAL 60
#define DEFAULT_CMDCHARS "/"
#define DEFAULT_COLOR 1
#define DEFAULT_COMMENT_HACK 1
#define DEFAULT_CONTINUED_LINE "+"
#define DEFAULT_CPU_SAVER_AFTER 0
#define DEFAULT_CPU_SAVER_EVERY 60
#define DEFAULT_CURRENT_WINDOW_LEVEL NULL
#define DEFAULT_DCC_AUTO_SEND_REJECTS 1
#define DEFAULT_DCC_CONNECT_TIMEOUT 30
#define DEFAULT_DCC_DEQUOTE_FILENAMES 1
#define DEFAULT_DCC_LONG_PATHNAMES 1
#define DEFAULT_DCC_SLIDING_WINDOW 1
#define DEFAULT_DCC_STORE_PATH NULL
#define DEFAULT_DCC_USE_GATEWAY_ADDR 0
#define DEFAULT_DEFAULT_SCRIPT_ENCODING "ISO-8859-1"
#define DEFAULT_DISPATCH_UNKNOWN_COMMANDS 0
#define DEFAULT_DISPLAY 1
#define DEFAULT_DISPLAY_ANSI 1
#define DEFAULT_DISPLAY_PC_CHARACTERS 4
#define DEFAULT_DO_NOTIFY_IMMEDIATELY 1
#define DEFAULT_EIGHT_BIT_CHARACTERS 1
#define DEFAULT_FIRST_LINE NULL
#define DEFAULT_FLOATING_POINT_MATH 0
#define DEFAULT_FLOATING_POINT_PRECISION 16
#define DEFAULT_HIDE_PRIVATE_CHANNELS 0
#define DEFAULT_HIGHLIGHT_CHAR "BOLD"
#define DEFAULT_HIGH_BIT_ESCAPE 0
#define DEFAULT_HOLD_SLIDER 100
#define DEFAULT_INDENT 0
#define DEFAULT_INPUT_INDICATOR_LEFT "+ "
#define DEFAULT_INPUT_INDICATOR_RIGHT " +"
#define DEFAULT_INPUT_PROMPT "> "
#define DEFAULT_INSERT_MODE 1
#define DEFAULT_INVERSE_VIDEO 1
#define DEFAULT_KEY_INTERVAL 1000
#define DEFAULT_LASTLOG 256
#define DEFAULT_LASTLOG_LEVEL "ALL"
#define DEFAULT_LASTLOG_REWRITE NULL
#define DEFAULT_LOG 0
#define DEFAULT_LOGFILE "irc.log"
#define DEFAULT_MAIL 2
#define DEFAULT_MAIL_INTERVAL 60
#define DEFAULT_MAIL_TYPE "mbox"
#define DEFAULT_METRIC_TIME 0
#define DEFAULT_MIRC_BROKEN_DCC_RESUME 0
#define DEFAULT_MODE_STRIPPER 0
#define DEFAULT_ND_SPACE_MAX 160
#define DEFAULT_NEW_SERVER_LASTLOG_LEVEL "ALL,-DCC"
#define DEFAULT_NOTIFY 1
#define DEFAULT_NOTIFY_INTERVAL 60
#define DEFAULT_NOTIFY_LEVEL "ALL"
#define DEFAULT_NOTIFY_ON_TERMINATION 1
#define DEFAULT_NOTIFY_USERHOST_AUTOMATIC 1
#define DEFAULT_NO_CONTROL_LOG 0
#define DEFAULT_NO_CTCP_FLOOD 1
#define DEFAULT_NO_FAIL_DISCONNECT 0
#define DEFAULT_OLD_MATH_PARSER 0
#define DEFAULT_OLD_SERVER_LASTLOG_LEVEL "NONE"
#define DEFAULT_PAD_CHAR ' '
#define DEFAULT_QUIT_MESSAGE "ircII %s -- Are we there yet?"
#define DEFAULT_SCREEN_OPTIONS NULL
#define DEFAULT_SCROLLBACK 256
#define DEFAULT_SCROLLBACK_RATIO 50
#define DEFAULT_SCROLL_LINES 1
#define DEFAULT_SHELL "/bin/sh"
#define DEFAULT_SHELL_FLAGS "-c"
#define DEFAULT_SHELL_LIMIT 0
#define DEFAULT_SHOW_CHANNEL_NAMES 1
#define DEFAULT_SHOW_NUMERICS 0
#define DEFAULT_SHOW_STATUS_ALL 0
#define DEFAULT_SSL_ROOT_CERTS_LOCATION NULL
#define DEFAULT_STATUS_AWAY " (Away)"
#define DEFAULT_STATUS_CHANNEL " %C"
#define DEFAULT_STATUS_CHANOP "@"
#define DEFAULT_STATUS_CLOCK " %T"
#define DEFAULT_STATUS_CPU_SAVER " (%L)"
#define DEFAULT_STATUS_FORMAT REV_TOG_STR "%T [%R] %*%=%@%N%#%S%{1}H%H%B%Q%A%C%+%I%O%M%F%L %D %U %W"
#define DEFAULT_STATUS_FORMAT1 REV_TOG_STR "%T [%R] %*%=%@%N%#%S%{1}H%H%B%Q%A%C%+%I%O%M%F%L %U "
#define DEFAULT_STATUS_FORMAT2 REV_TOG_STR "%W %X %Y %Z "
#define DEFAULT_STATUS_HALFOP "%"
#define DEFAULT_STATUS_HOLD " Held: "
#define DEFAULT_STATUS_HOLD_LINES "%B"
#define DEFAULT_STATUS_HOLDMODE " (Hold)"
#define DEFAULT_STATUS_INSERT ""
#define DEFAULT_STATUS_MAIL " (Mail: %M)"
#define DEFAULT_STATUS_MODE " (+%+)"
#define DEFAULT_STATUS_NICKNAME "%N"
#define DEFAULT_STATUS_NOSWAP "(NOSWAP)"
#define DEFAULT_STATUS_NOTIFY " (W: %F)"
#define DEFAULT_STATUS_NO_REPEAT 0
#define DEFAULT_STATUS_OPER "*"
#define DEFAULT_STATUS_OVERWRITE " (Overwrite)"
#define DEFAULT_STATUS_PREFIX_WHEN_CURRENT ""
#define DEFAULT_STATUS_PREFIX_WHEN_NOT_CURRENT ""
#define DEFAULT_STATUS_QUERY " (Query: %Q)"
#define DEFAULT_STATUS_SCROLLBACK " (Scroll)"
#define DEFAULT_STATUS_SEQUENCE_POINT " {{{%P}}}"
#define DEFAULT_STATUS_SERVER " (%S)"
#define DEFAULT_STATUS_SSL_OFF "*RAW*"
#define DEFAULT_STATUS_SSL_ON "*SSL*"
#define DEFAULT_STATUS_TRUNCATE_RHS 1
#define DEFAULT_STATUS_UMODE " (+%#)"
#define DEFAULT_STATUS_USER "EPIC5 -- Visit http://help.epicsol.org/ for help"
#define DEFAULT_STATUS_USER1 ""
#define DEFAULT_STATUS_USER2 ""
#define DEFAULT_STATUS_USER3 ""
#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_USER10 ""
#define DEFAULT_STATUS_USER11 ""
#define DEFAULT_STATUS_USER12 ""
#define DEFAULT_STATUS_USER13 ""
#define DEFAULT_STATUS_USER14 ""
#define DEFAULT_STATUS_USER15 ""
#define DEFAULT_STATUS_USER16 ""
#define DEFAULT_STATUS_USER17 ""
#define DEFAULT_STATUS_USER18 ""
#define DEFAULT_STATUS_USER19 ""
#define DEFAULT_STATUS_USER20 ""
#define DEFAULT_STATUS_USER21 ""
#define DEFAULT_STATUS_USER22 ""
#define DEFAULT_STATUS_USER23 ""
#define DEFAULT_STATUS_USER24 ""
#define DEFAULT_STATUS_USER25 ""
#define DEFAULT_STATUS_USER26 ""
#define DEFAULT_STATUS_USER27 ""
#define DEFAULT_STATUS_USER28 ""
#define DEFAULT_STATUS_USER29 ""
#define DEFAULT_STATUS_USER30 ""
#define DEFAULT_STATUS_USER31 ""
#define DEFAULT_STATUS_USER32 ""
#define DEFAULT_STATUS_USER33 ""
#define DEFAULT_STATUS_USER34 ""
#define DEFAULT_STATUS_USER35 ""
#define DEFAULT_STATUS_USER36 ""
#define DEFAULT_STATUS_USER37 ""
#define DEFAULT_STATUS_USER38 ""
#define DEFAULT_STATUS_USER39 ""
#define DEFAULT_STATUS_VOICE "+"
#define DEFAULT_STATUS_WINDOW "^^^^^^^^"
#define DEFAULT_SUPPRESS_FROM_REMOTE_SERVER 0
#define DEFAULT_SWITCH_CHANNELS_BETWEEN_WINDOWS 1
#define DEFAULT_TAB 1
#define DEFAULT_TAB_MAX 0
#define DEFAULT_TERM_DOES_BRIGHT_BLINK 0
#define DEFAULT_TMUX_OPTIONS NULL
#define DEFAULT_UNDERLINE_VIDEO 1
#define DEFAULT_USER_INFORMATION "EPIC5 -- Into the abyss"
#define DEFAULT_WORD_BREAK " \t"
#define DEFAULT_WSERV_TYPE "screen"
#define DEFAULT_XTERM "x-terminal-emulator"
#define DEFAULT_XTERM_OPTIONS NULL
/*
* People have wanted me to explain some of these #defines. Well,
* Ill tell you what i will do. I will tell you that some of these
* defines turn on obscure features, and others turn on features that
* are specificly placed there at the request of one of the debuggers,
* but i am making the option of using it available to the general
* public. You should always be aware of what changing one of these
* #defines might do to affect the operation of the client. You can get
* a good feel for the impact by grepping the source code for them.
* General "themes" of what the defines do are listed on the right.
* These "themes" describe the *spirit* of the define, but do NOT
* annotate every reprocussion of defining it!
*
* Also, i dont guarantee that changing any of these defines will
* or wont compile correctly, so you may have to be prepared to do
* some minor debugging in that case (send patches along to me if
* you do =) Dont change any of these unless you know what it will do.
*/
#undef HACKED_DCC_WARNING /* warn if handshake != sender */
#undef HARD_UNFLASH /* do a hard reset instead of soft on refresh */
#undef NO_BOTS /* no bots allowed */
#undef NO_CHEATING /* always do it the "right" way, no shortcuts */
#undef I_DONT_TRUST_MY_USERS /* There are certain things that the stock
ircII client doesnt allow users to do
that are neither illegal by the letter of
the protocol nor the spirit of the protocol.
These are the things that only a really
anal retentive person would want to totaly
prohibit his users from doing without any
exceptions. When i find these things, i
#ifdef them out under this define. The
specific list of what may or may not be
contained under this define can change
from release to release. This replaces
the I_AM_A_FASCIST_BASTARD define which
several people found offensive because
they wanted to define it =) */
#undef ALLOC_DEBUG
#endif /* _CONFIG_H_ */
|