[5312] | 1 | /* |
---|
| 2 | * |
---|
| 3 | * Copyright (C) 1988, 1989 by the Massachusetts Institute of Technology |
---|
| 4 | * Developed by the MIT Student Information Processing Board (SIPB). |
---|
| 5 | * For copying information, see the file mit-copyright.h in this release. |
---|
| 6 | * |
---|
| 7 | */ |
---|
| 8 | /* |
---|
| 9 | * |
---|
| 10 | * config.h -- Configuration file for DISCUSS. Fix this up with your |
---|
| 11 | * site specific options. |
---|
| 12 | * |
---|
| 13 | */ |
---|
| 14 | |
---|
| 15 | /* Descriptions of definitions: |
---|
| 16 | |
---|
| 17 | REALM: This is the name of the local Kerberos realm. This is used to |
---|
| 18 | identify the administrative realm when using the "disserve" subprocess |
---|
| 19 | server, and the identity of non-authenticated users "???@REALM". Set |
---|
| 20 | this to your local Kerberos realm if you have one, or a possible |
---|
| 21 | Kerberos realm name (the current convention is to use a Internet |
---|
| 22 | Domain name; e.g., "LCS.MIT.EDU"). |
---|
| 23 | |
---|
| 24 | INFO_DIR: This is the directory where the command-based Discuss client |
---|
| 25 | finds its help files. This would normally be under /usr/lib/discuss, |
---|
| 26 | or /usr/local/lib/discuss. The help files are in the distribution |
---|
| 27 | under source/client/info; to install, copy/tar the directory into the |
---|
| 28 | desired location. |
---|
| 29 | |
---|
| 30 | SERVICE_NAME: This is the service name used to find a port number. |
---|
| 31 | The default is "discuss", port 2100/tcp. |
---|
| 32 | |
---|
| 33 | SERVER: This is the location of the discuss subprocess server. When |
---|
| 34 | a client program accesses meetings on the same machine, discuss bypasses the |
---|
| 35 | network and creates a subprocess server. Set this to the location of |
---|
| 36 | the server program, where disserve will be installed. |
---|
| 37 | |
---|
| 38 | SERVER_LOCAL: This is the location of a copy of the subprocess server which |
---|
| 39 | is not a protected subsystem, but relies on filesystem protections instead. |
---|
| 40 | |
---|
| 41 | SERVER_NAME: The name of the server program (argv[0] of the subprocess). |
---|
| 42 | |
---|
| 43 | DSPIPE: This was used by dsmail.c to enter transactions into |
---|
| 44 | meetings; it is obsolete. |
---|
| 45 | |
---|
| 46 | DSC_SETUP: This name of the DSC_SETUP program. This program is |
---|
| 47 | invoked by the various clients when a user first runs Discuss, to |
---|
[14978] | 48 | create an initial .meetings file. |
---|
[5312] | 49 | |
---|
[14978] | 50 | CONN_TIMEOUT: This is the timeout for connecting to a remote discuss |
---|
| 51 | server, in seconds. */ |
---|
[5312] | 52 | |
---|
[14978] | 53 | |
---|
[5312] | 54 | /* Server to exec (assumed to be in SERVERDIR) */ |
---|
| 55 | #ifndef SERVER |
---|
[22845] | 56 | #define SERVER "SERVERDIR/disserve" |
---|
[5312] | 57 | #endif |
---|
| 58 | #ifndef SERVER_LOCAL |
---|
| 59 | /* this one is path-searched if it doesn't begin with slash... */ |
---|
| 60 | #define SERVER_LOCAL "disserve-fs" |
---|
| 61 | #endif |
---|
| 62 | #ifndef SERVER_NAME |
---|
| 63 | #define SERVER_NAME "disserve" |
---|
| 64 | #endif |
---|
| 65 | |
---|
| 66 | /* Info directory */ |
---|
| 67 | #ifndef INFO_DIR |
---|
[22845] | 68 | #define INFO_DIR "INFODIR" |
---|
[5312] | 69 | #endif |
---|
| 70 | |
---|
| 71 | /* Name server / Kerberos realm */ |
---|
| 72 | #ifndef REALM |
---|
| 73 | #define REALM "ATHENA.MIT.EDU" |
---|
| 74 | #endif |
---|
| 75 | |
---|
| 76 | /* Service name */ |
---|
| 77 | #ifndef SERVICE_NAME |
---|
| 78 | #define SERVICE_NAME "discuss" |
---|
| 79 | #endif |
---|
| 80 | |
---|
[22713] | 81 | /* Service fallback port */ |
---|
| 82 | #ifndef DISCUSS_FALLBACK_PORT |
---|
| 83 | #define DISCUSS_FALLBACK_PORT 2100 |
---|
| 84 | #endif |
---|
| 85 | |
---|
[5312] | 86 | /* Place where dsmail can find dspipe */ |
---|
| 87 | #ifndef DSPIPE |
---|
[22845] | 88 | #define DSPIPE "BINDIR/dspipe" |
---|
[5312] | 89 | #endif |
---|
| 90 | |
---|
| 91 | /* dsc_setup command */ |
---|
| 92 | #ifndef DSC_SETUP |
---|
| 93 | #define DSC_SETUP "dsc_setup" |
---|
| 94 | #endif |
---|
[14978] | 95 | |
---|
| 96 | /* Timeout for connecting to discuss server, in seconds */ |
---|
| 97 | #ifndef CONN_TIMEOUT |
---|
| 98 | #define CONN_TIMEOUT 20 |
---|
| 99 | #endif |
---|