1 /****************************************************************************/
2 /* YOUR SYSTEM CONFIGURATION */
3 /* Set all the values in this file appropriately BEFORE compiling any of the*/
4 /* C programs. If you are upgrading from an older version of Citadel/UX, it */
5 /* is vitally important that the #defines which are labelled "structure size*/
6 /* variables" are EXACTLY the same as they were in your old system, */
7 /* otherwise your files will be munged beyond repair. */
8 /****************************************************************************/
10 /* NOTE THAT THIS FILE IS MUCH, MUCH SMALLER THAN IT USED TO BE.
11 * That's because the setup program now creates a citadel.config file with
12 * all of the settings that don't really need to be in a header file.
13 * You can now run setup whenever you want, and change lots of parameters
14 * without having to recompile the whole system!
18 * If you want to keep a transcript of all multiuser chats that go across
19 * your system, define CHATLOG to the filename to be saved to. Otherwise,
20 * set CHATLOG to "/dev/null".
22 #define CHATLOG "./chat.log"
25 * SLEEPING refers to the watchdog timer. If a user sits idle without typing
26 * anything for this number of seconds, the session will automatically be
27 * logged out. Set it to zero to disable this feature.
28 * Note: the watchdog timer only functions when the parent is 1 (init) - in
29 * other words, only if Citadel is the login shell.
34 * S_KEEPALIVE is also a watchdog timer, except it is used to send "keep
35 * alive" messages to the server to prevent the server from assuming the
36 * client is dead and terminating the session. 30 seconds is the recommended
37 * value; I can't think of any good reason to change it.
39 #define S_KEEPALIVE 30
42 * This is the command that gets executed when a user hits <E>nter message:
43 * presses the <E>nter message key. The possible values are:
44 * 46 - .<E>nter message with <E>ditor
45 * 4 - .<E>nter <M>essage
46 * 36 - .<E>nter message with <A>scii
47 * Normally, this value will be set to 4, to cause the <E>nter message
48 * command to run Citadel's built-in editor. However, if you have an external
49 * editor installed, and you want to make it the default, set this to 46
50 * to make it use your editor by default.
52 #define DEFAULT_ENTRY 4
55 /*** STRUCTURE SIZE VARIABLES ***/
57 /* You may NOT change these values once you set up your system. */
58 #define MAXROOMS 128 /* Number of rooms in system */
59 #define MAXFLOORS 16 /* Do not set higher than 127 */
60 #define MAILSLOTS 35 /* Number of mail slots per user */
61 #define MSGSPERRM 150 /* Messages per room */
62 #define CALLLOG 1000 /* Number of entries in call log */
63 /* Do not set MAILSLOTS higher than MSGSPERRM */
65 /* These may be changed at any time. */
66 #define MAXUCACHE 10 /* Entries in server user cache */
69 /*** END OF STRUCTURE SIZE VARIABLES ***/