To compile do the following:

1.  Read and edit configure.h.
	(This is for configuration of defaults, plus some other stuff.)

2.  Read and edit knews.tmpl.
	(If your compiler is ANSI and your system supports POSIX.1
	 and POSIX.2 with some BSD compatibilities (sockets), you
	 will (hopefully) not need to change anything there.)

3.  If you skipped 1 or 2, go back to 1. :-)

4.  Execute the following commands in the top directory:

	xmkmf
	make Makefiles
	make all

5.  If all goes well, this will leave an executable named knews in src/.

6.  Read and edit the app-def file src/Knews.ad.  This is not absolutely
    necessary.

7.  If you're root, you can install knews by executing 'make install'
    and 'make install.man'.  This will also install the app-def file
    src/Knews.ad.

8.  If you're not root you'll have to install src/knews by hand. You'll
    also have to install the app-def file src/Knews.ad.  See that file
    for hints.

The code is expected to compile more or less without warnings. (Except
for a few dirty casts.  Also, some compilers may generate bogus warnings
about 'semantics change in ANSI'.)


If something in the make process goes wrong first check the files
configure.h and knews.tmpl for hints.  If that doesn't help, your best
bet is to hack the scr/Makefile.  E.g sometimes imake specifies libraries
to link against in EXTRA_LIBRARIES that can't be found.  Just remove them
from the Makefile. (The libraries that are needed are:  -lWidgets (my
widget library) and the X libraries, and maybe some system specific library
such as  -lsocket.)

Note that if you edit knews.tmpl , configure.h or any Imakefile, you must
redo 'xmkmf ; make Makefiles ; make clean'  to ensure that it takes effect.
