[GRASS-user] i.vpoints

Glynn Clements glynn at gclements.plus.com
Wed Jun 28 11:25:16 EDT 2006


Hamish wrote:

> To prevent the GUI startup from the command line, in each term-only module
> we can add:
>  
>     /* must run in a term window */
>     setenv("GRASS_UI_TERM","1",TRUE);
> 
> before  G_gisinit (argv[0]); 

setenv() is a BSD-ism; please use putenv() instead.

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-user mailing list