⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 config.h

📁 EPIC IRC客户端。来源于IRCII客户端但做了很多性能和功能的优化。
💻 H
📖 第 1 页 / 共 2 页
字号:
 * define this if you want your irc client to exit after an  * operator kill.  I have no idea why you would, though. */#undef QUIT_ON_OPERATOR_KILL/* * The compile sequence records the user/host/time of the compile, * which can be useful for tampering and newbie reasons.  If you want * the compile to remain anonymous, define this option.  In this case, * the host and the time will remain, but the 'user' field will not * be displayed to the user. *  * Please dont define this on a whim -- be sure you really want it. */#undef ANONYMOUS_COMPILE/* * 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:%s/script:."/* * 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_ALLOW_C1_CHARS 0#define DEFAULT_ALT_CHARSET 1#define DEFAULT_ALWAYS_SPLIT_BIGGEST 1#define DEFAULT_AUTO_NEW_NICK 1#define DEFAULT_AUTO_RECONNECT 1#define DEFAULT_AUTO_RECONNECT_DELAY 0#define DEFAULT_AUTO_REJOIN 0#define DEFAULT_AUTO_REJOIN_CONNECT 1#define DEFAULT_AUTO_REJOIN_DELAY 0#define DEFAULT_AUTO_UNMARK_AWAY 0#define DEFAULT_AUTO_WHOWAS 1#define DEFAULT_BAD_STYLE 0#define DEFAULT_BANNER "***"#define DEFAULT_BEEP 1#define DEFAULT_BEEP_MAX 3#define DEFAULT_BEEP_ON_MSG "NONE"#define DEFAULT_BEEP_WHEN_AWAY 1#define DEFAULT_BLINK_VIDEO 1#define	DEFAULT_BOLD_VIDEO 1#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_COMMAND_MODE 0#define DEFAULT_COMMENT_HACK 1#define DEFAULT_CONNECT_TIMEOUT 30#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_DEQUOTE_FILENAMES 1#define DEFAULT_DCC_LONG_PATHNAMES 1#define DEFAULT_DCC_SLIDING_WINDOW 1#define DEFAULT_DCC_TIMEOUT 3600#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_EXEC_PROTECTION 0#define DEFAULT_FLOATING_POINT_MATH 0#define DEFAULT_FLOATING_POINT_PRECISION 16#define DEFAULT_FLOOD_AFTER 3#define DEFAULT_FLOOD_IGNORE 0#define DEFAULT_FLOOD_MASKUSER 0#define DEFAULT_FLOOD_RATE 3#define DEFAULT_FLOOD_RATE_PER 1#define DEFAULT_FLOOD_USERS 3#define DEFAULT_FLOOD_WARNING 0#define DEFAULT_FULL_STATUS_LINE 1#define DEFAULT_HELP_PAGER 1#define DEFAULT_HELP_PROMPT 1#define DEFAULT_HELP_WINDOW 0#define DEFAULT_HIDE_PRIVATE_CHANNELS 0#define DEFAULT_HIGH_BIT_ESCAPE 2#define DEFAULT_HIGHLIGHT_CHAR "BOLD"#define DEFAULT_HISTORY 150#define DEFAULT_HISTORY_CIRCLEQ 1#define DEFAULT_HOLD_INTERVAL 10#define DEFAULT_HOLD_MODE 0#define DEFAULT_HOLD_SLIDER 100#define DEFAULT_INDENT 0#define DEFAULT_INPUT_ALIASES 0#define DEFAULT_INPUT_PROMPT "> "#define DEFAULT_INPUT_PROTECTION 1#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_LOG 0#define DEFAULT_LOGFILE "irc.log"#define DEFAULT_MAIL 2#define DEFAULT_MAIL_INTERVAL 60/* #define DEFAULT_MAIL_TYPE "mbox" */#define DEFAULT_MAX_RECONNECTS 4#define DEFAULT_METRIC_TIME 0#define DEFAULT_MODE_STRIPPER 0#define DEFAULT_ND_SPACE_MAX 160#define DEFAULT_NEW_SERVER_LASTLOG_LEVEL "ALL,-DCC"#define DEFAULT_NO_CTCP_FLOOD 1#define DEFAULT_NO_FAIL_DISCONNECT 0#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_NUM_OF_WHOWAS 1#define DEFAULT_PAD_CHAR ' '#define DEFAULT_QUIT_MESSAGE "ircII %s -- Are we there yet?"#define DEFAULT_RANDOM_LOCAL_PORTS 0#define DEFAULT_RANDOM_SOURCE 0#define DEFAULT_REVERSE_STATUS_LINE 1#define DEFAULT_SCROLLBACK 256#define DEFAULT_SCROLLBACK_RATIO 50#define DEFAULT_SCROLL_LINES 1#define DEFAULT_SECURITY 0#define DEFAULT_SHELL "/bin/sh"#define DEFAULT_SHELL_FLAGS "-c"#define DEFAULT_SHELL_LIMIT 0#define DEFAULT_SHOW_CHANNEL_NAMES 1#define DEFAULT_SHOW_END_OF_MSGS 1#define DEFAULT_SHOW_NUMERICS 0#define	DEFAULT_SHOW_STATUS_ALL 0#define DEFAULT_SHOW_WHO_HOPCOUNT 1#define DEFAULT_STATUS_AWAY " (Away)"#define DEFAULT_STATUS_CHANNEL " %C"#define DEFAULT_STATUS_CHANOP "@"#define DEFAULT_STATUS_HALFOP "%"#define DEFAULT_STATUS_SSL_ON "*SSL*"#define DEFAULT_STATUS_SSL_OFF "*RAW*"#define DEFAULT_STATUS_CLOCK " %T"#define DEFAULT_STATUS_CPU_SAVER " (%L)"#define DEFAULT_STATUS_FORMAT "%T [%R] %*%=%@%N%#%S%H%B%Q%A%C%+%I%O%M%F%L %D %U %W"#define DEFAULT_STATUS_FORMAT1 "%T [%R] %*%=%@%N%#%S%H%B%Q%A%C%+%I%O%M%F%L %U "#define DEFAULT_STATUS_FORMAT2 "%W %X %Y %Z "#define DEFAULT_STATUS_HOLD " Held: "#define DEFAULT_STATUS_HOLD_LINES "%B"#define DEFAULT_STATUS_INSERT ""#define DEFAULT_STATUS_MODE " (+%+)"#define DEFAULT_STATUS_MAIL " (Mail: %M)"#define DEFAULT_STATUS_NICK "%N"#define DEFAULT_STATUS_NO_REPEAT 0#define	DEFAULT_STATUS_NOSWAP "(NOSWAP)"#define	DEFAULT_STATUS_NOTIFY " (W: %F)"#define DEFAULT_STATUS_OPER "*"#define DEFAULT_STATUS_OVERWRITE " (Overwrite)"#define DEFAULT_STATUS_QUERY " (Query: %Q)"#define DEFAULT_STATUS_SCROLLBACK " (Scroll)"#define DEFAULT_STATUS_SERVER " (%S)"#define DEFAULT_STATUS_TRUNCATE_RHS 1#define DEFAULT_STATUS_UMODE " (+%#)"#define DEFAULT_STATUS_USER "ircII-EPIC4 -- Type /help 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_SUPPRESS_SERVER_MOTD 0#define DEFAULT_SWITCH_CHANNEL_ON_PART 1#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_UNDERLINE_VIDEO 1#define DEFAULT_USERINFO "EPIC4 -- Get your laundry brighter, not just whiter!"#define DEFAULT_VERBOSE_CTCP 1#define DEFAULT_WORD_BREAK ".,; \t"#define DEFAULT_WSERV_TYPE "screen"#define DEFAULT_XTERM "xterm"#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 EMACS_KEYBINDINGS	/* meta-key keybindings. */#undef EPIC_DEBUG		/* force coredump on panic */#define EXEC_COMMAND		/* allow /exec comamnd */#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 STRIP_EXTRANEOUS_SPACES	/* strip leading and trailing spaces */#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 =) *//* Dont change these -- theyre important. */#if defined(VALID_UIDS) && !defined(HARD_SECURE)#undef VALID_UIDS#endif#if defined(PASSWORD) && !defined(HARD_SECURE) && !defined(SOFT_SECURE)#undef PASSWORD#endif#if defined(HARD_SECURE) && !defined(VALID_UIDS)#error You must #define VALID_UIDS if you #define HARD_SECURE#endif#if defined(VALID_UID_FILE) && !defined(SOFT_SECURE)#undef VALID_UID_FILE#endif#if defined(SOFT_SECURE) && !defined(VALID_UID_FILE)#error You must #define VALID_UID_FILE if you #define SOFT_SECURE#endif#ifndef SPOOF_PROGRAM#define SPOOF_PROGRAM "/bin/sh"#endif/* end of section not to change */#undef ALLOC_DEBUG#endif /* _CONFIG_H_ */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -