[GRASS-dev] verbosity and G_done_msg

Markus Neteler neteler at itc.it
Sun Oct 22 10:55:15 EDT 2006


Hi Jachym,

for several commands where G_percent() isn't used, the
G_done_msg("") is quite useful. Otherwise you don't
understand from the TclTk GUI when the command finishes.

Markus

On Sun, Oct 22, 2006 at 02:22:02PM +0200, Jachym Cepicky wrote:
> Hallo,
> 
> I'm not shure, if I should leave G_done_msg("") at end of some modules. 
> 
> User actually does not care, that some module is done - he allready
> knows it.
> 
> It could be useful for scripts, so that the user does see progress of
> the module. 
> 
> But this can be done trough "echo"s 
> 
> What do you think: should I remove G_done_msg("") funcitions from the
> end of each main() function of each module or should we add this
> function to end of each module? 
> 
> I would remove it, IMHO it has no sence to report end of the program,
> when it ends.
> 
> Jachym
> -- 
> Jachym Cepicky
> e-mail: jachym.cepicky at centrum.cz
> URL: http://les-ejk.cz
> GPG: http://les-ejk.cz/gnupg_public_key/jachym_cepicky-gpg_public_key.asc
> -----------------------------------------   
> OFFICE:                                     
> Department of Geoinformation Technologies 
> Zemedelska 3
> 613 00, Brno
> Czech Republick
> e-mail: xcepicky at node.mendelu.cz
> URL:    http://mapserver.mendelu.cz
> Tel.:   +420 545 134 514



> _______________________________________________
> grass-dev mailing list
> grass-dev at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass-dev

-- 
Markus Neteler  <neteler itc it>  http://mpa.itc.it/markus/
ITC-irst -  Centro per la Ricerca Scientifica e Tecnologica
MPBA - Predictive Models for Biol. & Environ. Data Analysis
Via Sommarive, 18        -       38050 Povo (Trento), Italy




More information about the grass-dev mailing list