source: trunk/athena/bin/discuss/include/config.h.sed @ 22845

Revision 22845, 2.9 KB checked in by andersk, 17 years ago (diff)
Actually use SERVERDIR, BINDIR, and INFODIR in config.h.sed. (The Makefile already interpolates these variables.)
Line 
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
17REALM:  This is the name of the local Kerberos realm.  This is used to
18identify the administrative realm when using the "disserve" subprocess
19server, and the identity of non-authenticated users "???@REALM".  Set
20this to your local Kerberos realm if you have one, or a possible
21Kerberos realm name (the current convention is to use a Internet
22Domain name; e.g., "LCS.MIT.EDU").
23
24INFO_DIR: This is the directory where the command-based Discuss client
25finds its help files.  This would normally be under /usr/lib/discuss,
26or /usr/local/lib/discuss.  The help files are in the distribution
27under source/client/info; to install, copy/tar the directory into the
28desired location.
29
30SERVICE_NAME:  This is the service name used to find a port number.
31The default is "discuss", port 2100/tcp.
32
33SERVER:  This is the location of the discuss subprocess server.  When
34a client program accesses meetings on the same machine, discuss bypasses the
35network and creates a subprocess server.  Set this to the location of
36the server program, where disserve will be installed.
37
38SERVER_LOCAL: This is the location of a copy of the subprocess server which
39is not a protected subsystem, but relies on filesystem protections instead.
40
41SERVER_NAME:  The name of the server program (argv[0] of the subprocess).
42
43DSPIPE:  This was used by dsmail.c to enter transactions into
44meetings;  it is obsolete.
45
46DSC_SETUP:  This name of the DSC_SETUP program.  This program is
47invoked by the various clients when a user first runs Discuss, to
48create an initial .meetings file.
49
50CONN_TIMEOUT: This is the timeout for connecting to a remote discuss
51server, in seconds. */
52
53
54/* Server to exec (assumed to be in SERVERDIR) */
55#ifndef SERVER
56#define SERVER "SERVERDIR/disserve"
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
68#define INFO_DIR "INFODIR"
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
81/* Service fallback port */
82#ifndef DISCUSS_FALLBACK_PORT
83#define DISCUSS_FALLBACK_PORT 2100
84#endif
85
86/* Place where dsmail can find dspipe */
87#ifndef DSPIPE
88#define DSPIPE "BINDIR/dspipe"
89#endif
90
91/* dsc_setup command */
92#ifndef DSC_SETUP
93#define DSC_SETUP "dsc_setup"
94#endif
95
96/* Timeout for connecting to discuss server, in seconds */
97#ifndef CONN_TIMEOUT
98#define CONN_TIMEOUT 20
99#endif
Note: See TracBrowser for help on using the repository browser.