1/* 'new' config.h: 2 * A configuration file designed to make best use of the abilities 3 * of ircII, and trying to make things more intuitively understandable. 4 * 5 * Based on the 'classic' config.h by Michael Sandrof. 6 * 7 * Copyright (c) 1990 Michael Sandrof. 8 * Copyright (c) 1991 Carl V. Loesch 9 * Copyright (c) 1991, 1992 Troy Rollo. 10 * Copyright (c) 1992-2019 Matthew R. Green. 11 * All rights reserved. 12 * 13 * Redistribution and use in source and binary forms, with or without 14 * modification, are permitted provided that the following conditions 15 * are met: 16 * 1. Redistributions of source code must retain the above copyright 17 * notice, this list of conditions and the following disclaimer. 18 * 2. Redistributions in binary form must reproduce the above copyright 19 * notice, this list of conditions and the following disclaimer in the 20 * documentation and/or other materials provided with the distribution. 21 * 3. The name of the author may not be used to endorse or promote products 22 * derived from this software without specific prior written permission. 23 * 24 * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR 25 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 26 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 27 * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, 28 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 29 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 30 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 31 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 32 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 * 36 * @(#)$eterna: config.h.dist,v 1.59 2019/01/17 04:29:45 mrg Exp $ 37 */ 38 39#ifndef irc__config_h_ 40#define irc__config_h_ 41 42/* 43 * Set your favorite default server list here. This list should be a 44 * whitespace separated hostname:portnum:password list (with portnums and 45 * passwords optional). This IS NOT an optional definition. Please set this 46 * to your nearest servers. However if you use a seperate 'ircII.servers' 47 * file and the ircII can find it, this setting is overridden. 48 */ 49#ifndef DEFAULT_SERVER 50# define DEFAULT_SERVER "change.this.to.a.server" 51#endif 52 53/* 54 * Uncomment the following if the gecos field of your /etc/passwd has other 55 * information in it that you don't want as the user name (such as office 56 * locations, phone numbers, etc). The default delimiter is a comma, change 57 * it if you need to. If commented out, the entire gecos field is used. 58 */ 59#define GECOS_DELIMITER ',' 60 61/* 62 * Set the following to 1 if you wish for IRCII not to disturb the tty's flow 63 * control characters as the default. Normally, these are ^Q and ^S. You 64 * may have to rebind them in IRCII. Set it to 0 for IRCII to take over the 65 * tty's flow control. 66 */ 67#define USE_FLOW_CONTROL 1 68 69/* 70 * MAIL_DELIMITER specifies the unique text that separates one mail message 71 * from another in the mail spool file when using UNIX_MAIL. 72 */ 73#define MAIL_DELIMITER "From " 74 75/* Make ^Z stop the irc process by default, 76 * if undefined, ^Z will self-insert by default 77 */ 78#define ALLOW_STOP_IRC /**/ 79 80/* And here is the port number for default client connections. */ 81#define IRC_PORT 6667 82#define ICB_PORT 7326 83 84/* 85 * Uncomment the following to make ircII read a list of irc servers from 86 * the ircII.servers file in the ircII library. This file should be 87 * whitespace separated hostname:portnum:password (with the portnum and 88 * password being optional). This server list will supercede the 89 * DEFAULT_SERVER. 90*/ 91#define SERVERS_FILE "ircII.servers" 92 93/* Uncomment the following if you want ircII to display the file 94 * ircII.motd in the ircII library at startup. 95 */ 96#define MOTD_FILE "ircII.motd" 97 98/* 99 * Below are the IRCII variable defaults. For boolean variables, use 1 for 100 * ON and 0 for OFF. You may set string variable to NULL if you wish them to 101 * have no value. None of these are optional. You may *not* comment out or 102 * remove them. They are default values for variables and are required for 103 * proper compilation. 104 * 105 * CTCP reply flood protection sidenote : 106 * 1 - Do not put NULL in any of the three DEFAULT_CTCP_REPLY values. 107 * 2 - Do not change them if you don't understand them, these ones 108 * do work without being a pain. 109 */ 110 111#define DEFAULT_ALWAYS_SPLIT_BIGGEST 1 112#define DEFAULT_AUTO_UNMARK_AWAY 0 113#define DEFAULT_AUTO_WHOWAS 0 114#define DEFAULT_BACKGROUND_COLOUR 1 115#define DEFAULT_BEEP 1 116#define DEFAULT_BEEP_MAX 3 117#define DEFAULT_BEEP_ON_MSG "NONE" 118#define DEFAULT_BEEP_WHEN_AWAY 0 119#define DEFAULT_BIND_LOCAL_DCCHOST 1 120#define DEFAULT_BOLD_VIDEO 1 121#define DEFAULT_CHANNEL_NAME_WIDTH 10 122#define DEFAULT_CLOCK 1 123#define DEFAULT_CLOCK_24HOUR 1 124#define DEFAULT_CLOCK_ALARM NULL 125#define DEFAULT_CMDCHARS "/" 126#define DEFAULT_COLOUR 0 127#define DEFAULT_COMMAND_MODE 0 128#define DEFAULT_CONTINUED_LINE "+" 129#define DEFAULT_CTCP_REPLY_BACKLOG_SECONDS 5 130#define DEFAULT_CTCP_REPLY_FLOOD_SIZE_VAR 256 131#define DEFAULT_CTCP_REPLY_IGNORE_SECONDS 10 132#define DEFAULT_DCC_BLOCK_SIZE 512 133#define DEFAULT_DCCPORT 0 134#define DEFAULT_DISPLAY 1 135#define DEFAULT_DISPLAY_ENCODING "ISO-8859-1" 136#define DEFAULT_EIGHT_BIT_CHARACTERS 1 137#define DEFAULT_ENCRYPT_PROGRAM NULL 138#define DEFAULT_DECRYPT_PROGRAM NULL 139#define DEFAULT_EXEC_PROTECTION 1 140#define DEFAULT_FLOOD_AFTER 3 141#define DEFAULT_FLOOD_RATE 3 142#define DEFAULT_FLOOD_USERS 3 143#define DEFAULT_FLOOD_WARNING 0 144#define DEFAULT_FOREGROUND_COLOUR 15 145#define DEFAULT_FULL_STATUS_LINE 1 146#define DEFAULT_HELP_PAGER 1 147#define DEFAULT_HELP_PROMPT 1 148#define DEFAULT_HELP_WINDOW 0 149#define DEFAULT_HIDE_CHANNEL_KEYS 0 150#define DEFAULT_HIDE_PRIVATE_CHANNELS 1 151#define DEFAULT_HIGHLIGHT_CHAR "INVERSE" 152#define DEFAULT_HISTORY 30 153#define DEFAULT_HISTORY_FILE NULL 154#define DEFAULT_HOLD_MODE 0 155#define DEFAULT_HOLD_MODE_MAX 0 156#define DEFAULT_INDENT 0 157#define DEFAULT_INPUT_ALIASES 0 158#define DEFAULT_INPUT_ENCODING "ISO-8859-1" 159#define DEFAULT_INPUT_PROMPT NULL 160#define DEFAULT_INPUT_PROTECTION 1 161#define DEFAULT_IRC_ENCODING "ISO-8859-1" 162#define DEFAULT_INSERT_MODE 1 163#define DEFAULT_INVERSE_VIDEO 1 164#define DEFAULT_ISO2022_SUPPORT 0 165#define DEFAULT_LASTLOG 440 166#define DEFAULT_LASTLOG_LEVEL "ALL -CRAP" 167#define DEFAULT_LOG 0 168#define DEFAULT_LOGFILE "IrcLog" 169#define DEFAULT_MAIL 0 170#define DEFAULT_MAKE_NOTICE_MSG 1 171#define DEFAULT_MAX_RECURSIONS 10 172#define DEFAULT_MINIMUM_SERVERS 0 173#define DEFAULT_MINIMUM_USERS 0 174#define DEFAULT_NOTIFY_HANDLER "QUIET" 175#define DEFAULT_NOTIFY_LEVEL "ALL DCC" 176#define DEFAULT_NOTIFY_ON_TERMINATION 0 177#define DEFAULT_NOVICE 1 178#define DEFAULT_NO_ASK_NICKNAME 0 179#define DEFAULT_NO_CTCP_FLOOD 1 180#define DEFAULT_SAME_WINDOW_ONLY 0 181#define DEFAULT_SCROLL 1 182#define DEFAULT_SCROLL_LINES 1 183#define DEFAULT_SEND_IGNORE_MSG 0 184#define DEFAULT_SHELL "/bin/sh" 185#define DEFAULT_SHELL_FLAGS "-c" 186#define DEFAULT_SHELL_LIMIT 0 187#define DEFAULT_SHOW_AWAY_ONCE 1 188#define DEFAULT_SHOW_CHANNEL_NAMES 0 189#define DEFAULT_SHOW_END_OF_MSGS 0 190#define DEFAULT_SHOW_NUMERICS 0 191#define DEFAULT_SHOW_STATUS_ALL 0 192#define DEFAULT_SHOW_WHO_HOPCOUNT 0 193#define DEFAULT_STAR_PREFIX "*** " 194#define DEFAULT_SSL_CA_CHAIN_FILE NULL 195#define DEFAULT_SSL_CA_FILE NULL 196#define DEFAULT_SSL_CA_PATH NULL 197#define DEFAULT_SSL_CA_PRIVATE_KEY_FILE NULL 198#define DEFAULT_STATUS_AWAY " (away)" 199#define DEFAULT_STATUS_CHANNEL " on %C" 200#define DEFAULT_STATUS_CHANOP "@" 201#define DEFAULT_STATUS_CLOCK " %T" 202#define DEFAULT_STATUS_FORMAT "[%R]%T %*%@%N%#%S%H%B%P%s%Q%A%C%+%I%O%M%F%U%X%Y%Z %W" 203#define DEFAULT_STATUS_FORMAT1 "[%R]%T %*%@%N%#%S%H%B%P%s%Q%A%C%+%I%O%M%F%U" 204#define DEFAULT_STATUS_FORMAT2 "%W %X %Y %Z" 205#define DEFAULT_STATUS_GROUP " [%G]" 206#define DEFAULT_STATUS_HOLD " --- more ---" 207#define DEFAULT_STATUS_HOLD_LINES " (%B)" 208#define DEFAULT_STATUS_INSERT "" 209#define DEFAULT_STATUS_MAIL " [Mail: %M]" 210#define DEFAULT_STATUS_MODE " (+%+)" 211#define DEFAULT_STATUS_NOTIFY " [Activity: %F]" 212#define DEFAULT_STATUS_OPER "*" 213#define DEFAULT_STATUS_OVERWRITE "(overtype) " 214#define DEFAULT_STATUS_QUERY " [Query: %Q]" 215#define DEFAULT_STATUS_SCROLLED " --- scrolled ---" 216#define DEFAULT_STATUS_SCROLLED_LINES " (-%s)" 217#define DEFAULT_STATUS_SERVER " via %S" 218#define DEFAULT_STATUS_UMODE " (+%#)" 219#define DEFAULT_STATUS_USER " * type /help for help " 220#define DEFAULT_STATUS_USER1 "" 221#define DEFAULT_STATUS_USER2 "" 222#define DEFAULT_STATUS_USER3 "" 223#define DEFAULT_STATUS_VOICE "" 224#define DEFAULT_STATUS_WINDOW "^^^^^^^^" 225#define DEFAULT_SUPPRESS_SERVER_MOTD 0 226#define DEFAULT_SWITCH_TO_QUIET_CHANNELS 0 227#define DEFAULT_TAB 1 228#define DEFAULT_TAB_MAX 8 229#define DEFAULT_UNDERLINE_VIDEO 1 230#define DEFAULT_USERINFO "" 231#define DEFAULT_USER_WALLOPS 0 232#define DEFAULT_VERBOSE_CTCP 0 233#define DEFAULT_WARN_OF_IGNORES 0 234#define DEFAULT_WSERV_PATH "wserv" 235#define DEFAULT_XTERM_GEOMOPTSTR "-geom" 236#define DEFAULT_XTERM_OPTIONS NULL 237#define DEFAULT_XTERM_PATH "xterm" 238 239#endif /* irc__config_h_ */ 240