[GRASS5] New initialization code
Eric Mitchell
emitchell at altaira.com
Wed Nov 29 10:51:07 EST 2000
Andreas Lange wrote:
> And again for the wish-path:
>
> why not use this fragment:
> #!/bin/sh
> # the next line restarts using wish \
> exec wish "$0" "$@"
>
> for all modules? There may be a more complicated version of this around,
> but this would do IMHO.
> A short explanation how the user can add the wish-path to her/his
> executable path would suffice in this case. If there is no link from
> wish8.x to wish the system is broken, not GRASS.
I just had an idea:
On Unix systems, "ln -s `which wish` $GISBASE/bin/grasswish".
Any desired wish could be used, configure could take a
--with-wish=/path/to/mywish argument for configurability,
or check for "wish, wish8.0, etc." for known working versions.
On WinXX systems, The tcl-restart hack doesn't work anyway,
and you have to either type "wish /path/to/tcltkgrass", or
even better, create a tcltkgrass.bat file that does the same
thing, i.e. "wish /path/to/tcltkgrass %1 %2 %3 %4 ... %9".
This way, the user can update their wish, and grass doesn't
necessarily rely on a particular version of wish, just a link
from (or copy in) $GISBASE/bin/grasswish to the "real" wish.
-- ebm
+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+
| Eric B. Mitchell mailto:emitchell at altaira.com |
| tel: (301) 809 - 3534 Altair Aerospace Corporation |
| tel: (800) 7 - ALTAIR 4201 Northview Dr. Suite 410 |
| fax: (301) 805 - 8122 Bowie, MD 20716 |
+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+
,___
/"\ / o=\ /"""---===/
/ \_/ \__/ ---===/
| //\ || /""TT""/ //\ || ||""\
| // \ || || // \ || ||__/
| //--==\ |L--/ || //--==\ || || "=,
\ ---===/
\____---===/
----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'
More information about the grass-dev
mailing list