[GRASS5] d.siter/wish invocation

Hi,

tcltkgrass, d.siter and other tcl/tk scripts use a terribly complicated
script to find the wish executable.

Until know i used the fragment:
#!/bin/sh
# next line restarts wish \
exec wish "$0" "$@"

to restart wish. This depends on a symbolic link from the wish8.x
executable to wish. I think that something that isn't broken should not
be fixed and believe that systems that do not have the correct link are
broken. But please correct me if many systems are missing this setup by
default.

The other problems with d.siter are ok now and it works as expected.

cu,

Andreas

--
Andreas Lange, 65187 Wiesbaden, Germany, Tel. +49 611 807850
Andreas.Lange@Rhein-Main.de - A.C.Lange@GMX.net

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

On Thu, Oct 19, 2000 at 05:23:38PM +0200, Andreas Lange wrote:

Hi,

tcltkgrass, d.siter and other tcl/tk scripts use a terribly complicated
script to find the wish executable.

Until know i used the fragment:
#!/bin/sh
# next line restarts wish \
exec wish "$0" "$@"

to restart wish. This depends on a symbolic link from the wish8.x
executable to wish. I think that something that isn't broken should not
be fixed and believe that systems that do not have the correct link are
broken. But please correct me if many systems are missing this setup by
default.

As far as I know some systems are missing a link from
wish to wish8.something. Therefore this complex statement.

If I am wrong, we can remove it. At least in tcltkgrass
the wish8.0 was hardcoded.

Markus

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

Hi,

Sorry to insist on this, but i think that those systems are broken. With
the link from wish to wish8.x you can accomodate your system to
different versions of wish or to a extended version of wish. You can
even have around two versions of wish and tclsh, which is sometimes the
only solution.

Perhaps others can comment on this, if this complicated setup is really
necessary i think i should write a more general solution (like a central
startwish script). The other solution is a nightmare to support/test
(think of the number of tcl/tk scripts in grass).

cu,

Andreas

Markus Neteler wrote:

On Thu, Oct 19, 2000 at 05:23:38PM +0200, Andreas Lange wrote:
> Hi,
>
> tcltkgrass, d.siter and other tcl/tk scripts use a terribly complicated
> script to find the wish executable.
>
> Until know i used the fragment:
> #!/bin/sh
> # next line restarts wish \
> exec wish "$0" "$@"
>
> to restart wish. This depends on a symbolic link from the wish8.x
> executable to wish. I think that something that isn't broken should not
> be fixed and believe that systems that do not have the correct link are
> broken. But please correct me if many systems are missing this setup by
> default.

As far as I know some systems are missing a link from
wish to wish8.something. Therefore this complex statement.

If I am wrong, we can remove it. At least in tcltkgrass
the wish8.0 was hardcoded.

--
Andreas Lange, 65187 Wiesbaden, Germany, Tel. +49 611 807850
Andreas.Lange@Rhein-Main.de - A.C.Lange@GMX.net

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'