[GRASS5] Messages and GUI
Hamish
hamish_nospam at yahoo.com
Sun Nov 14 23:37:16 EST 2004
> >>>>I have added G_messages and modified a bit G_percent, G_warning
> >>>>and G_fatal_error. If GRASS_MESSAGE_FORMAT enviroment (not GRASS)
> >variable>>>is set to 'gui', those functions print messages in format
> >>>>suitable for parsing by GUI. gui.tcl was also modified and
> >>>>displays progress bar if G_percent is used and adds icons to
> >output box.>>>http://mpa.itc.it/radim/g51/messages1.png
Should d.m set GRASS_MESSAGE_FORMAT=gui? and if so, should it pop up a
window or draw on the main screen?
right now it dumps to the term that started d.m:
[...]
GRASS_INFO_PERCENT: 78
GRASS_INFO_PERCENT: 81
GRASS_INFO_PERCENT: 84
GRASS_INFO_PERCENT: 87
GRASS_INFO_PERCENT: 90
GRASS_INFO_PERCENT: 93
GRASS_INFO_PERCENT: 96
GRASS_INFO_PERCENT: 99
GRASS_INFO_PERCENT: 100
Hamish
More information about the grass-dev
mailing list