[GRASS5] G_done_msg()

Hamish hamish_nospam at yahoo.com
Tue Dec 6 06:39:49 EST 2005


> that can be all done in GUI without changes in GRASS modules,
> like it works in QGIS:
> http://mpa.itc.it/radim/qgis/grass-tools4.png

exactly what I think is needed.

> I think that GRASS modules talk too much,  I would be in favour
> of reducing messages instead of adding new.
> Regarding G_done_msg() I believe that exit(0) says the
> same and it is sufficient. It only depends on GIU around
> how it interprets the exit status.

Wasn't there a problem with the way GRASS Tcl code ran the modules,
where it the window never really knew when the module finished after you
hit "run"? (why we can't grey-out the "run" button while the module is
processing) I haven't really kept up with Michael and Glynn's spawning
changes, so this might be an outdated issue now. ??

Currently for long running number crunching modules run from the GUI,
unless you run top or gkrellm or somthing, you are left wondering as to
when it is done...

Agreed that G_done_msg() really isn't needed when run from the command
line. It is friendly though. Maybe add a debug level=1 test or something
if not run from the GUI.


Hamish




More information about the grass-dev mailing list