[GRASS5] Re: bugs in 5.7's tcltkgrass
Glynn Clements
glynn.clements at virgin.net
Fri Oct 15 10:13:15 EDT 2004
Markus Neteler wrote:
> > > 1. r.contour
> > > when invoked r.contour& from the grass terminal I get:
> > > (...)
> > > Continue?(y/n) [y]
> >
> > This is left over from porting this from 5.3. It needs to be changed in the
> > command module. Probably pretty easy to fix now it has been reported.
>
> Fixed now in 5.7-CVS.
> I have changed to:
>
> + if (!isatty(0)) {
> + if (!G_yes ("Continue?", 1)) exit (0);
> + }
Is there a reason why this can't be removed altogether?
Non-interactive commands should be completely non-interactive. Only
commands which are inherently interactive should be prompting.
--
Glynn Clements <glynn.clements at virgin.net>
More information about the grass-dev
mailing list