[GRASS5] Re: General and gis.m module running (stdout,stderr,exit status) issues

Michael Barton michael.barton at asu.edu
Tue Apr 4 01:10:44 EDT 2006

Sound eminently reasonable.


On 4/3/06 9:17 PM, "Glynn Clements" <glynn at gclements.plus.com> wrote:

> Michael Barton wrote:
>> One thing I just thought of that might be a good idea in general at this
>> juncture. For the few modules that require an xterm for display, is there
>> some way to build in a button (referenced in the C code lines that format
>> the module gui) that can be used to start an xterm? Or is running anything
>> like this through parser.c problematic at the moment?
> The obvious solution is for parser.c to provide a G_terminal_required()
> function and for modules which need a terminal to call it before calling
> G_parser(). This information can then be made available to gui.tcl.
> The other side of the coin is for modules which don't absolutely /need/
> a terminal to stop assuming that there is one. I.e. no gratuitous use of
> the terminal by modules which are essentially useable without one.

Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

WWW - http://www.public.asu.edu/~cmbarton
Phone: 480-965-6262
Fax: 480-965-7671

More information about the grass-dev mailing list