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>