
Treeps compiles and runs quite successfuly when build with LessTif 0.88.1 
or higher. There are a few minor problems, but they are mostly asthetic
and don't detract from the programs functionality. I now use the LessTif
version on Red Hat 6.0 on a regular basis and have now switching over to 
making this my development platform. The statically linked packages are 
still linked with Motif for backwards compatability.

To Build against LessTif:
------------------------

Version of LessTif I used: 	Lesstif-0.88.1

Treeps should now autodetect and build against LessTif. I configured
LessTif using the following

	configure --enable-default-12 --enable-static --prefix /usr/X11R6

Note: There may be an existing Xm.so in /usr/X11R6/lib, save it if you
      want to backup.

Red Hat 6.0 (2.2+ kernel's)
---------------------------

You may have to go through the following gyrations to get a setuid root
version of treeps to work on newer kernels. (You can always download the binary 
RPM, it installs and works out of the box and works a tiny bit better). 
Anyhow if you really want to run from source(I know, me too ;-)), here is what 
I did on Red Hat 6.0:

When I installed LessTif it created links for the includes into 

	/usr/X11R6/include/...

However (On Red Hat 6.0) the libs were not linked/installed into

	/usr/X11R6/lib/...

So I manually moved them there from /usr/X11R6/LessTif/Motif1.2/libs.
(Note: this might not be the right way to do this but it worked)

Build and install treeps as normal. Try and run it:

	treeps

If it works then your done. If you get an error message(I did) about
it not being able to find/read/load one of the LessTif shared libraries,
then you can fix it in a couple different ways. The problem is that
the libs are not "trusted" because they are not in the /etc/ld.so.cache
The easiest way is to fix this is to run(as root):

	/sbin/ldconfig -v

This should update /etc/ld.so.cache to include the newly installed libs.


To Run against LessTif
----------------------

On newer Versions of Linux(2.2+ ?)(after doing the above install), just run 
from a menu item/desktop icon or by entering on the command line:

	treeps

On older versions of Linux you may be able to just add something like

	LD_LIBRARY_PATH=/usr/local/lib
	export LD_LIBRARY_PATH

to your startup scripts(.bashrc) if the libs are installed somewhere
other than the default lib paths. Check /etc/ld.so.conf



LessTif Specific Issues(Bugs)
-----------------------------

  Some times the main tree gets improperly clipped by the scroll windows.
  The menu item:

	Program->Refresh Window

  can be used to reset the clipping parameters to sane values.


  The display list dialog does not appear to respond properly to the 
  VisibleItemCount resource. I had to increase the count by one to get
  it to work properly, so if this is fixed in a future LessTif release
  then the display list dialog may contain a blank entry at the end of 
  the list.

