/* 'new' config.h: * A configuration file designed to make best use of the abilities * of ircII, and trying to make things more intuitively understandable. * * Based on the 'classic' config.h by Michael Sandrof. * * Copyright (c) 1990 Michael Sandrof. * Copyright (c) 1991 Carl V. Loesch * Copyright (c) 1991, 1992 Troy Rollo. * Copyright (c) 1992-2006 Matthew R. Green. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. The name of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * @(#)$eterna: config.h.dist,v 1.51 2006/07/25 11:11:06 mrg Exp $ */ #ifndef __config_h_ #define __config_h_ /* * Set your favorite default server list here. This list should be a * whitespace separated hostname:portnum:password list (with portnums and * passwords optional). This IS NOT an optional definition. Please set this * to your nearest servers. However if you use a seperate 'ircII.servers' * file and the ircII can find it, this setting is overridden. */ #ifndef DEFAULT_SERVER # define DEFAULT_SERVER "change.this.to.a.server" #endif /* * Uncomment the following if the gecos field of your /etc/passwd has other * information in it that you don't want as the user name (such as office * locations, phone numbers, etc). The default delimiter is a comma, change * it if you need to. If commented out, the entire gecos field is used. */ #define GECOS_DELIMITER ',' /* * Set the following to 1 if you wish for IRCII not to disturb the tty's flow * control characters as the default. Normally, these are ^Q and ^S. You * may have to rebind them in IRCII. Set it to 0 for IRCII to take over the * tty's flow control. */ #define USE_FLOW_CONTROL 1 /* * MAIL_DELIMITER specifies the unique text that separates one mail message * from another in the mail spool file when using UNIX_MAIL. */ #define MAIL_DELIMITER "From " /* Make ^Z stop the irc process by default, * if undefined, ^Z will self-insert by default */ #define ALLOW_STOP_IRC /**/ /* And here is the port number for default client connections. */ #define IRC_PORT 6667 #define ICB_PORT 7326 /* * Uncomment the following to make ircII read a list of irc servers from * the ircII.servers file in the ircII library. This file should be * whitespace separated hostname:portnum:password (with the portnum and * password being optional). This server list will supercede the * DEFAULT_SERVER. */ #define SERVERS_FILE "ircII.servers" /* Uncomment the following if you want ircII to display the file * ircII.motd in the ircII library at startup. */ #define MOTD_FILE "ircII.motd" #define PAUSE_AFTER_MOTD 1 /* * 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. * * CTCP reply flood protection sidenote : * 1 - Do not put NULL in any of the three DEFAULT_CTCP_REPLY values. * 2 - Do not change them if you don't understand them, these ones * do work without being a pain. */ #define DEFAULT_ALWAYS_SPLIT_BIGGEST 1 #define DEFAULT_AUTO_UNMARK_AWAY 0 #define DEFAULT_AUTO_WHOWAS 0 #define DEFAULT_BACKGROUND_COLOUR 1 #define DEFAULT_BEEP 1 #define DEFAULT_BEEP_MAX 3 #define DEFAULT_BEEP_ON_MSG "NONE" #define DEFAULT_BEEP_WHEN_AWAY 0 #define DEFAULT_BIND_LOCAL_DCCHOST 1 #define DEFAULT_BOLD_VIDEO 1 #define DEFAULT_CHANNEL_NAME_WIDTH 10 #define DEFAULT_CLOCK 1 #define DEFAULT_CLOCK_24HOUR 1 #define DEFAULT_CLOCK_ALARM NULL #define DEFAULT_CMDCHARS "/" #define DEFAULT_COLOUR 0 #define DEFAULT_COMMAND_MODE 0 #define DEFAULT_CONTINUED_LINE "+" #define DEFAULT_CTCP_REPLY_BACKLOG_SECONDS 5 #define DEFAULT_CTCP_REPLY_FLOOD_SIZE_VAR 256 #define DEFAULT_CTCP_REPLY_IGNORE_SECONDS 10 #define DEFAULT_DCC_BLOCK_SIZE 512 #define DEFAULT_DCCPORT 0 #define DEFAULT_DISPLAY 1 #define DEFAULT_DISPLAY_ENCODING "ISO-8859-1" #define DEFAULT_EIGHT_BIT_CHARACTERS 1 #define DEFAULT_ENCRYPT_PROGRAM NULL #define DEFAULT_DECRYPT_PROGRAM NULL #define DEFAULT_EXEC_PROTECTION 1 #define DEFAULT_FLOOD_AFTER 3 #define DEFAULT_FLOOD_RATE 3 #define DEFAULT_FLOOD_USERS 3 #define DEFAULT_FLOOD_WARNING 0 #define DEFAULT_FOREGROUND_COLOUR 15 #define DEFAULT_FULL_STATUS_LINE 1 #define DEFAULT_HELP_PAGER 1 #define DEFAULT_HELP_PROMPT 1 #define DEFAULT_HELP_WINDOW 0 #define DEFAULT_HIDE_CHANNEL_KEYS 0 #define DEFAULT_HIDE_PRIVATE_CHANNELS 1 #define DEFAULT_HIGHLIGHT_CHAR "INVERSE" #define DEFAULT_HISTORY 30 #define DEFAULT_HISTORY_FILE NULL #define DEFAULT_HOLD_MODE 0 #define DEFAULT_HOLD_MODE_MAX 0 #define DEFAULT_INDENT 0 #define DEFAULT_INPUT_ALIASES 0 #define DEFAULT_INPUT_ENCODING "ISO-8859-1" #define DEFAULT_INPUT_PROMPT NULL #define DEFAULT_INPUT_PROTECTION 1 #define DEFAULT_IRC_ENCODING "ISO-8859-1" #define DEFAULT_INSERT_MODE 1 #define DEFAULT_INVERSE_VIDEO 1 #define DEFAULT_ISO2022_SUPPORT 0 #define DEFAULT_LASTLOG 44 #define DEFAULT_LASTLOG_LEVEL "ALL -CRAP" #define DEFAULT_LOG 0 #define DEFAULT_LOGFILE "IrcLog" #define DEFAULT_MAIL 0 #define DEFAULT_MAKE_NOTICE_MSG 1 #define DEFAULT_MAX_RECURSIONS 10 #define DEFAULT_MINIMUM_SERVERS 0 #define DEFAULT_MINIMUM_USERS 0 #define DEFAULT_NOTIFY_HANDLER "QUIET" #define DEFAULT_NOTIFY_LEVEL "ALL DCC" #define DEFAULT_NOTIFY_ON_TERMINATION 0 #define DEFAULT_NOVICE 1 #define DEFAULT_NO_ASK_NICKNAME 0 #define DEFAULT_NO_CTCP_FLOOD 1 #define DEFAULT_SAME_WINDOW_ONLY 0 #define DEFAULT_SCROLL 1 #define DEFAULT_SCROLL_LINES 1 #define DEFAULT_SEND_IGNORE_MSG 0 #define DEFAULT_SHELL "/bin/sh" #define DEFAULT_SHELL_FLAGS "-c" #define DEFAULT_SHELL_LIMIT 0 #define DEFAULT_SHOW_AWAY_ONCE 1 #define DEFAULT_SHOW_CHANNEL_NAMES 0 #define DEFAULT_SHOW_END_OF_MSGS 0 #define DEFAULT_SHOW_NUMERICS 0 #define DEFAULT_SHOW_STATUS_ALL 0 #define DEFAULT_SHOW_WHO_HOPCOUNT 0 #define DEFAULT_STAR_PREFIX "*** " #define DEFAULT_STATUS_AWAY " (away)" #define DEFAULT_STATUS_CHANNEL " on %C" #define DEFAULT_STATUS_CHANOP "@" #define DEFAULT_STATUS_CLOCK " %T" #define DEFAULT_STATUS_FORMAT "[%R]%T %*%@%N%#%S%H%B%P%s%Q%A%C%+%I%O%M%F%U%X%Y%Z %W" #define DEFAULT_STATUS_FORMAT1 "[%R]%T %*%@%N%#%S%H%B%P%s%Q%A%C%+%I%O%M%F%U" #define DEFAULT_STATUS_FORMAT2 "%W %X %Y %Z" #define DEFAULT_STATUS_GROUP " [%G]" #define DEFAULT_STATUS_HOLD " --- more ---" #define DEFAULT_STATUS_HOLD_LINES " (%B)" #define DEFAULT_STATUS_INSERT "" #define DEFAULT_STATUS_MAIL " [Mail: %M]" #define DEFAULT_STATUS_MODE " (+%+)" #define DEFAULT_STATUS_NOTIFY " [Activity: %F]" #define DEFAULT_STATUS_OPER "*" #define DEFAULT_STATUS_OVERWRITE "(overtype) " #define DEFAULT_STATUS_QUERY " [Query: %Q]" #define DEFAULT_STATUS_SCROLLED " --- scrolled ---" #define DEFAULT_STATUS_SCROLLED_LINES " (-%s)" #define DEFAULT_STATUS_SERVER " via %S" #define DEFAULT_STATUS_UMODE " (+%#)" #define DEFAULT_STATUS_USER " * type /help for help " #define DEFAULT_STATUS_USER1 "" #define DEFAULT_STATUS_USER2 "" #define DEFAULT_STATUS_USER3 "" #define DEFAULT_STATUS_VOICE "" #define DEFAULT_STATUS_WINDOW "^^^^^^^^" #define DEFAULT_SUPPRESS_SERVER_MOTD 0 #define DEFAULT_SWITCH_TO_QUIET_CHANNELS 0 #define DEFAULT_TAB 1 #define DEFAULT_TAB_MAX 8 #define DEFAULT_UNDERLINE_VIDEO 1 #define DEFAULT_USERINFO "" #define DEFAULT_USER_WALLOPS 0 #define DEFAULT_VERBOSE_CTCP 0 #define DEFAULT_WARN_OF_IGNORES 0 #define DEFAULT_XTERM_GEOMOPTSTR "-geom" #define DEFAULT_XTERM_OPTIONS NULL #define DEFAULT_XTERM_PATH "xterm" #endif /* __config_h_ */