Re: Thot does not start ...

Daniel Veillard (Daniel.Veillard@imag.fr)
Fri, 16 Aug 1996 13:21:56 +0200

>I tried to install the new version of Thot but:
>
>#!/bin/sh
>THOT=/usr/local/thot/bin/thot
>LANG=en_US ; export LANG
>if [ -x $THOT ]
>then
> exec $THOT $*
>else
> echo "$THOT not found !"
>fi
>
>When this script is placed in /usr/local/thot/bin/thot, nothing much
>is happening (try set -x): it loops in calls to itself.

It shouldn't be placed in /usr/local/thot/bin/thot but in
/usr/local/bin/thot. before extracting the new version you should
remove the old link /usr/local/bin/thot pointing to
/usr/local/thot/bin/thot. What appened is that tar first extracted a new
and correct version of /usr/local/thot/bin/thot and tried to install
later the /usr/local/bin/thot script. Unfortunately tar followed the
link and overwrote /usr/local/thot/bin/thot.
Just "rm /usr/local/bin/thot" and reextract the tar distribution, this would
be fine ... I think you are not the first one to had this problem.

BTW, I have placed a correct version of the /usr/local/thot/bin/thot
script in ftp://opera.inrialpes.fr/pub/patch/thot in case you removed the
original tar file.

hope this help,

Daniel