/* 'new' config.h:
 *	A configuration file designed to make best use of the abilities
 *	of ircII, and trying to make things more intuitively understandable.
 *
 * Replacement config.h by LynX 
 * Based on the 'classic' config.h by Michael Sandrof.
 * Copyright(c) 1991 - See the COPYRIGHT file, or do a HELP IRCII COPYRIGHT 
 *
 * Warning!  You will most likely have to make changes to your .ircrc file to
 * use this version of IRCII!  Please read the INSTALL and New2.2 files
 * supplied with the distribution for details!
 */

#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 'servers' file
 * and the ircII can find it, this setting is overridden.
 *
 * With this version IRCII help services are being regionalised, so you
 * will need to set that to your nearest help service (see below).
 */
#define DEFAULT_SERVER	"irc"		/* change this to a server! */

/*
 * 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

/*
 * Below you can set what type of mail your system uses and the path to the
 * appropriate mail file/directory.  Only one may be selected. 
 * You may also undefine both if you think mail checking in irc clients is
 * silly.
 */
/* UNIX_MAIL is the normal unix mail format.  */
#ifndef UNIX_MAIL
# define UNIX_MAIL "/usr/spool/mail"
#endif

/* #define AMS_MAIL /**/

/* AMS_MAIL is the Andrew Mail System mail format. */
#ifdef AMS_MAIL
# define AMS_MAIL "Mailbox"
#endif

/* 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 "

/* Thanks to Allanon a very useful feature, when this is defined, ircII will
 * be able to read help files in compressed format (it will recognize the .Z)
 * If you undefine this you will spare some code, though, so better only
 * set if you are sure you are going to keep your help-files compressed.
 */
#define ZCAT "/usr/ucb/zcat"

/* Define ZSUFFIX in case we are using ZCAT */
#ifdef ZCAT
# define ZSUFFIX ".Z"
#endif

/* If you keep this disabled you spare some K of code. This feature is needed
 * for irciid installations or any other situation when you have 'guest'
 * users and you want to allow them to use ircII, but at the same time don't
 * want them to be able to use /exec and all the other 'unsecure' commands.
 * If ircII runs under the uid that you define herein as DAEMON_UID it will
 * not allow the 'daemon' user to do anything dangerous.
 */
#undef DAEMON_UID 1

/* 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

/*
 * Help services are now regionalised.  Set DEFAULT_HELP_SERVICE to
 * one of the following, or to NULL, if you wish no have no default.
 *
 *      "IrcIIhelp"
 *      "help_AU"
 *      "help_US"
 *      "help_EU"
 *      "help_UK"
 */

#define DEFAULT_HELP_SERVICE	"ircIIhelp"

/*
 * Uncomment the following to make ircII read a list of irc servers from
 * the '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 "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

/*
 * set this is you want have debugging in the client... really pretty
 * boring..and mostly does nothing.
 */
#undef DEBUG

/* To obtain an ircII, which has many of its useful features activated by
 * default, use this. Without it you will get a conservatively configured
 * ircII (the way they have been in the past).
 */
#define FULL_BLOWN

/*
 * 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_ALWAYS_SPLIT_BIGGEST 1
#define DEFAULT_AUTO_UNMARK_AWAY 0
#define DEFAULT_AUTO_WHOWAS 0
#define DEFAULT_BEEP 1
#define DEFAULT_BEEP_MAX 3
#define DEFAULT_BEEP_ON_MSG "NONE"
#define DEFAULT_BEEP_WHEN_AWAY 0
#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_COMMAND_MODE 0
#define DEFAULT_CONTINUED_LINE "  "
#define	DEFAULT_DCC_BLOCK_SIZE 512
#define DEFAULT_DISPLAY 1
#define DEFAULT_EIGHT_BIT_CHARACTERS 1
#define DEFAULT_ENCRYPT_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_FULL_STATUS_LINE 1
#define DEFAULT_HELP_PAGER 1
#define DEFAULT_HELP_PROMPT 1
#define DEFAULT_HELP_WINDOW 0
#define DEFAULT_HIDE_PRIVATE_CHANNELS 1
#define DEFAULT_HIGHLIGHT_CHAR "INVERSE"
#define DEFAULT_HISTORY 30
#define DEFAULT_HISTORY_FILE NULL

#ifndef FULL_BLOWN
# define DEFAULT_HOLD_MODE 0
#else
# define DEFAULT_HOLD_MODE 1
#endif

#define DEFAULT_HOLD_MODE_MAX 0

#ifndef FULL_BLOWN
# define DEFAULT_INDENT 0
#else
# define DEFAULT_INDENT 1
#endif

#define DEFAULT_INPUT_ALIASES 0

#ifndef FULL_BLOWN
# define DEFAULT_INPUT_PROMPT NULL
#else
# define DEFAULT_INPUT_PROMPT "$T> "
#endif

#define DEFAULT_INPUT_PROTECTION 1
#define DEFAULT_INSERT_MODE 1
#define DEFAULT_INVERSE_VIDEO 1
#define DEFAULT_LASTLOG 100
#define DEFAULT_LASTLOG_LEVEL "ALL -CRAP"
#define DEFAULT_LOG 0
#define DEFAULT_LOGFILE "IrcLog"

#ifndef FULL_BLOWN
# define DEFAULT_MAIL 0
#else
# define DEFAULT_MAIL 1
#endif

#define DEFAULT_MAX_RECURSIONS 10
#define DEFAULT_MINIMUM_SERVERS 0
#define DEFAULT_MINIMUM_USERS 0
#define DEFAULT_NO_CTCP_FLOOD 1
#define DEFAULT_NOTIFY_HANDLER "QUIET"
#define DEFAULT_NOTIFY_LEVEL "ALL DCC"
#define DEFAULT_NOTIFY_ON_TERMINATION 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

#ifndef FULL_BLOWN
# define DEFAULT_SHOW_CHANNEL_NAMES 0
#else
# define DEFAULT_SHOW_CHANNEL_NAMES 1
#endif

#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_STATUS_AWAY " (away)"
#define DEFAULT_STATUS_CHANNEL " on %C"
#define DEFAULT_STATUS_CHANOP "@"
#define DEFAULT_STATUS_CLOCK " %T"

#ifndef FULL_BLOWN
# define DEFAULT_STATUS_FORMAT \
	"[%R]%T %*%@%N%#%S%H%Q%A%C%+%I%O%M%F%X%U%Y %W"
# define DEFAULT_STATUS_HOLD " --- more ---"
# define DEFAULT_STATUS_HOLD_LINES " (%B)"
#else
# define DEFAULT_STATUS_FORMAT \
	"%T [%R] %N%#%@ %S%B%Q%A%C%+%I%O%M%F%X%U%Y %W"
# define DEFAULT_STATUS_HOLD ""
# define DEFAULT_STATUS_HOLD_LINES " -- %B more --"
#endif

#define DEFAULT_STATUS_INSERT ""
#define DEFAULT_STATUS_MODE " (+%+)"
#define DEFAULT_STATUS_MAIL " [Mail: %M]"
#define DEFAULT_STATUS_NOTIFY " [Activity: %F]"
#define DEFAULT_STATUS_OPER "*"
#define DEFAULT_STATUS_OVERWRITE "(overtype) "
#define DEFAULT_STATUS_QUERY " [Query: %Q]"
#define DEFAULT_STATUS_SERVER " via %S"

#ifndef FULL_BLOWN
# define DEFAULT_STATUS_UMODE " (+%#)"
#else
# define DEFAULT_STATUS_UMODE "<%#>"
#endif

#define DEFAULT_STATUS_USER " * type /help for help"
#define DEFAULT_STATUS_USER1 ""
#define DEFAULT_STATUS_USER2 ""
#define DEFAULT_STATUS_USER3 ""
#define DEFAULT_STATUS_WINDOW "^^^^^^^"
#define DEFAULT_SUPPRESS_SERVER_MOTD 0
#define DEFAULT_TAB 1
#define DEFAULT_TAB_MAX 8
#define DEFAULT_TRANSLATION "LATIN_1"
#define DEFAULT_UNDERLINE_VIDEO 1
#define DEFAULT_USE_OLD_MSG 0
#define DEFAULT_USERINFO ""
#define DEFAULT_USER_WALLOPS 0
#define DEFAULT_VERBOSE_CTCP 0

#ifndef FULL_BLOWN
# define DEFAULT_WARN_OF_IGNORES 0
#else
# define DEFAULT_WARN_OF_IGNORES 1
#endif

#define DEFAULT_XTERM_OPTIONS NULL

/*
 * define this if you want to have the -l and -L command line
 * options.
 */
#undef COMMAND_LINE_L

#endif /* __config_h_ */
