[GRASS-dev] ps.map fprintf -> G_
Jachym Cepicky
jachym.cepicky at centrum.cz
Wed Jan 3 11:50:26 EST 2007
Hi,
nice job, thanks for the patch, but when I'm thinking about it, ...
this patch makes ps.map set it's verbosity not by the --quiet
or --verbose flags, but also according to the input configuration file.
imho, the simplest solution should be, remove the VERBOSE keyword from
ps.map. It would not harm to anythink. I doubt, some people are parsing
output from ps.map in their scripts.
If so, G_set_verbose function is the best solution.
What do others think?
Jachym
On Tue, Dec 26, 2006 at 11:16:44AM +0100, Martin Landa wrote:
> Hi all,
>
> trying to change fprintf to G_message/warning/fatal_error in ps.map
> module I found one complication. There is a special mapping
> instruction --- VERBOSE. I think this instruction should overwrite
> GRASS_VERBOSE environment variable(??). There is also need to have a
> special function G_set_verbose() which allows to set a given verbosity
> level after first calling of G_verbose() fn. Please look at the patch
> (especially at verbose.c.diff). Thanks a lot.
>
> Best regards, Martin
>
> --
> Martin Landa <landa.martin at gmail.com> * http://gama.fsv.cvut.cz/~landa *
> _______________________________________________
> grass-dev mailing list
> grass-dev at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass-dev
--
Jachym Cepicky
e-mail: jachym.cepicky at centrum.cz
URL: http://les-ejk.cz
GPG: http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub
-----------------------------------------
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20070103/e4662400/attachment.bin
More information about the grass-dev
mailing list