[GRASS5] New initialization code

Andreas Lange Andreas.Lange at Rhein-Main.de
Tue Nov 28 15:12:03 EST 2000


Hi again,

it was not my intention to start a GUI/commandline flame war.

My only fear is that users install the new GRASS and rush out to start
"grass5" as outlined in all documentation and get:
on Linux the very nice new startup sceen (happy user!)
on Cygwin/Win32: a popup-window that says something like:
--- -geometry xxxyy: no such command ... 
OK Cancel Trace ....
(completely lost and confused user, will think that GRASS is
non-usable!)
other UNIX systems:
either startup screen (ok!)
or:
wish8.0: no such file ...
(confused user!).

Please consider that even most Linux users today are no Unix/Linux
gurus.

I think best would be:
grass5 -> start shell login, echo message on how to start tcltkgrass and
how to start with grass5 -tcltk 
If user starts with grass5 -tcltk save this in the ~/grass5rc and
startup tcltkgrass next time. 
The other way round as Markus proposed. 

The problem will be IMHO that under the cygwin setup there is a wish
shell, but this will not work with tcltkgrass for reasons i have
explained several times (itkwish uses Win API and runs in cygwin
environment, so that all X11 related geometry/window options are not
available and ps/kill etc. will not work the same as in Unix
environments). 

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.


> >
> > A proposal:
> > We keep the graphical startup as default, *but*, if the users starts:
> >   grass5 -text
> > this is stored as new default in .grassrc5. Next time simply
> >   grass5
> > would start GRASS in *text* mode. Of course the new default would be
> > overridden if
> >   grass5 -tcltk
> > was started. Like that only once the user's preference has to be set,
> > and all can feel happy :-)
> > What about this idea as a compromise (if it's feasible, hi Justin)?
> >
> > Markus
> >
> 
> Happy proposal :-)
> 
> Huidae Cho
> 
> ----------------------------------------
> If you want to unsubscribe from GRASS Development Team mailing list write to:
> minordomo at geog.uni-hannover.de with
> subject 'unsubscribe grass5'

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



---------------------------------------- 
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