[GRASS-dev] [GRASS GIS] #2287: MONITOR_*_(ENV|CMD|MAP)FILE variables

GRASS GIS trac at osgeo.org
Sat May 10 15:02:09 PDT 2014


#2287: MONITOR_*_(ENV|CMD|MAP)FILE variables
-----------------------------+----------------------------------------------
 Reporter:  hcho             |       Owner:  grass-dev@…              
     Type:  defect           |      Status:  new                      
 Priority:  major            |   Milestone:  7.0.0                    
Component:  Display          |     Version:  svn-releasebranch70      
 Keywords:  d.mon, g.gisenv  |    Platform:  Linux                    
      Cpu:  x86-64           |  
-----------------------------+----------------------------------------------
Changes (by neteler):

  * keywords:  g.gisenv => d.mon, g.gisenv
  * version:  unspecified => svn-releasebranch70


Comment:

 The related code seems to be here (rough "grep"):
 {{{
 grep MONITO * | grep '_'
 list.c:    G_asprintf(&env_name, "MONITOR_%s_ENVFILE", name);
 list.c:    G_asprintf(&cmd_name, "MONITOR_%s_CMDFILE", name);
 main.c: mon = G__getenv("MONITOR");
 main.c:         G_unsetenv("MONITOR");
 select.c:    curr_mon = G__getenv("MONITOR");
 select.c:       G_setenv("MONITOR", name);
 start.c:    G_asprintf(&env_name, "MONITOR_%s_MAPFILE", name);
 start.c:    G_asprintf(&env_name, "MONITOR_%s_MAPFILE", name);
 start.c:    curr_mon = G__getenv("MONITOR");
 start.c:    G_asprintf(&env_name, "MONITOR_%s_ENVFILE", name);
 start.c:    G_asprintf(&env_name, "MONITOR_%s_CMDFILE", name);
 start.c:        G_setenv("MONITOR", name);
 stop.c:    G_asprintf(&env_name, "MONITOR_%s_ENVFILE", name);
 stop.c:    G_asprintf(&env_name, "MONITOR_%s_PID", name);
 stop.c:    const char *env_prefix = "MONITOR_";
 stop.c:    G_unsetenv("MONITOR");
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/2287#comment:1>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list