[GRASS5] another command needing terminal interaction

Hamish hamish_nospam at yahoo.com
Sun Feb 13 01:38:35 EST 2005


> > >Personally, I like the 'is this what you intend to do' message.
> > >More than once I have looked at that list and thought, " oh crap...
> > >that is not at all what I intended to do". Although I use it on the
> > >command line and not through the gui...
> > >Just my 2 cents...
> > 
> > I think the same - many times the "Do you really want to remove
> > this?"  saved my life. Please don't remove this functionality
> > neither from GUI nor  command line. May lead to disaster and heavy
> > frustration. No apriori  warning can replace it.
> > 
> 
> I fully agree. 


For the general case "G_ask()" (or whatever it is called) could use a
GUI pop-up window along the same lines as G_percent() when called from
GUI. For scripts, this might be an option of a g.message module (with
return codes for [Yes] [No])?

Maybe getting too complicated for a simple problem.



Hamish




More information about the grass-dev mailing list