                     The Hessling Editor

               Installation Notes for Un*x Port
               --------------------------------

Please read ALL of these notes before building THE!

To install THE, you first need to configure it.  This is done by
executing the configure script provided in this archive.  Because
THE can be configured to run with different Curses libraries and
with different REXX interpreters, there are quite a few options
available when configuring.  To see these options, run:

configure --help

If you are interested in building different versions of THE on the
one platform; like the X11 version and a text mode version, then you can
do something like this.

To build a text-mode version of THE with "standard" curses:

mkdir curses
cd curses
../configure
make the

To build the X11 version of THE with PDCurses (aka XCurses):

**** THE requires the file; xcurses.h.  This file is actually the curses.h
**** that is distributed with PDCurses.  Either make a copy of this file
**** called xcurses.h or make a symbolic link to it.

mkdir xcurses
cd xcurses
../configure --with-xcurses --with-cursesincdir=somewhere --with-curseslibdir=somewhere
make the

The configure script looks in some common places for all the libraries (both
curses and REXX).  These are defined in the configure script. Some of the
common directories are $HOME/include, /usr/local/include for header files
and $HOME/lib and /usr/local/lib for libraries.  There are several others;
see configure for the full list.

Once you have THE compiled, it can then be installed.  By default, the
THE executable will be installed into /usr/local/bin, while the supplied
macros will be installed into /usr/local/THE.  The base path "/usr/local"
can be changed by adding the --prefix=path (where path is the base path)
to the configure command.
eg. to install THE into /opt/bin and /opt/THE, configure --prefix=/opt ...

