1 /***********************************************
2  *          MANDATORY CONFIGURATION            *
3  ***********************************************/
4 
5 
6 /*  This is the command used to send mail. This should be a non-interactive
7  *  command that reads an rfc822 format message from standard input, adds
8  *  the necessary headers (Date, Message-ID, etc...) and dispatches it
9  *  according to the Cc: and To: headers.
10  *
11  *  You'll probably want to leave this as sendmail, but:
12  *
13  *      MAKE SURE THE PATH IS RIGHT.
14  *
15  *  If you don't have sendmail, use /bin/false :-).
16  */
17 #define MAIL_COMMAND "/usr/sbin/sendmail -t"
18 /* #define MAIL_COMMAND "/usr/lib/sendmail -t"  */
19 
20 
21 
22 /*  The following macros control the generation of email addresses.
23  *  (In particular, the part that goes after the @.)  If DOMAIN_FILE
24  *  is defined, the first line of that file is taken as the domain
25  *  name.  Otherwise, if DOMAIN_NAME is defined, it is taken as the
26  *  domin name.
27  *
28  *  At no point will a domain name not containing a '.' be accepted.
29  *
30  *  (Note: Filenames not beginning with / are relative to $HOME.)
31  */
32 
33 /* #define DOMAIN_FILE "/your/file/here" */
34 /* #define DOMAIN_NAME "your domain here" */
35 
36 
37 
38 
39 /***********************************************
40  *             MISC CONFIGURATION              *
41  ***********************************************/
42 
43 
44 
45 /*  This is the deafult editor.  This can be overridden with X resources,
46  *  so you need not change this here.
47  *
48  *  %s   is the name of the file to edit, and
49  *  %i   is the line where the cursor will initially be positioned.
50  *
51  *  Both %s and %i are optional, although the editor will not be much use
52  *  if you don't specify %s...
53  */
54 #define DEFAULT_EDIT_COMMAND "xterm -e vi +%i %s"
55 
56 
57 
58 /*  The default nntp server.  Basically: don't set this, use $NNTPSERVER
59  *  or the resource Knews.nntpServer instead.
60  */
61 /* #define DEFAULT_NNTPSERVER "your.server" */
62 
63 /*  If both the resource Knews.nntpServer and $NNTPSERVER are
64  *  unset, this will be used for nntp server.  No need to set it.
65  */
66 /* #define DEFAULT_DEFAULT_NNTPSERVER "your.server" */
67 
68 /*  The path of the standard shell, no need to set this unless you
69  *  have no /bin/sh.  Don't put a bogus shell here.
70  */
71 /* #define BIN_SH "/bin/sh" */
72 
73 
74 
75 
76 
77 /*
78  *  Set these to 1 if you have libjpeg, libpng and/or libcompface
79  *  installed on your system.  Knews will then be able to display
80  *  inline images and/or X-Faces.
81  *
82  *  If you set either of these you will probably need to set up
83  *  library search paths in knews.tmpl for libjpeg, libpng and
84  *  libcompface.
85  */
86 
87 #define HAVE_JPEG	1
88 #define HAVE_PNG	1
89 #define HAVE_COMPFACE	1
90 
91 
92 
93 
94 
95 /***************************************
96  *                HACKS                *
97  ***************************************/
98 
99 /*
100  *  Below are a few quick hacks for weird systems.  No need to bother
101  *  with this unless you get errors during compilation.
102  */
103 
104 
105 /*  If you don't have POSIX.2 regexps, set the following to 0 to use
106  *  Henry Spencer's package provided in the directory regexp/.
107  *
108  *  To see if your system has this, check for a global include file
109  *  <regex.h> that defines the type  regex_t  and the functions
110  *  regcomp() and regexec().  But that's no guarantee:  To the best
111  *  of my knowledge, the Solaris 2.4 regex implementation is bogus,
112  *  so you will need this anyway.
113  *
114  *  Note that the GNU regex package provides sufficient POSIX support
115  *  plus a few extensions, so you can get that and link against it
116  *  if you prefer.
117  */
118 #define HAVE_POSIX_REGEXPS	1
119 
120 
121 
122 /*  If your C library doesn't have memmove (e.g. SunOS 4.1.x), set this to 0.
123  */
124 #define HAVE_MEMMOVE		1
125 
126 
127 /*  If you don't have an up-to-date Xmu library (i.e. R5 or later),
128  *  set this to 0.  This library is needed for editres support (editres
129  *  is a nice application that allows you to set resources interactively).
130  *  This may be needed on some HP/UX X11R4/5 hybrids.
131  */
132 #define HAVE_XMU		1
133 
134 
135 /*  If your system has the Xpm library, set this to 1.  The Xpm library
136  *  is needed for knews' string-to-xpm converter, which make things like
137  *  this possible:
138  *
139  *  Knews*backgroundPixmap:	~/dir/texture.xpm
140  */
141 #define HAVE_XPM		1
142 
143 
144 /*  If your system doesn't have the POSIX sigaction() function, defining
145  *  this to 0 will make knews use the old, unreliable signal() funtion
146  *  instead.  You'll need this if you get errors while compiling src/child.c.
147  */
148 #define HAVE_SIGACTION		1
149 
150 
151 /*  If your system doesn't have the (completely non-standard) socketpair()
152  *  function, you may set this to 0.  This will make knews incapable of
153  *  talking to 'fake' servers, but that's no great loss.  You'll need this
154  *  if you get errors while compiling src/server.c.
155  */
156 #define HAVE_SOCKETPAIR		1
157