[GRASS-dev] [GRASS GIS] #2509: d.mon output overwrite

GRASS GIS trac at osgeo.org
Tue Feb 3 04:21:59 PST 2015


#2509: d.mon output overwrite
-------------------------+--------------------------------------------------
 Reporter:  martinl      |       Owner:  martinl    
     Type:  defect       |      Status:  assigned   
 Priority:  normal       |   Milestone:  7.0.0      
Component:  Display      |     Version:  unspecified
 Keywords:  d.mon        |    Platform:  Unspecified
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------

Comment(by martinl):

 Replying to [comment:20 glynn]:

 > If MONITOR is set, it names a program which will be executed with the
 complete argument list of the original program (including `argv[0]`). So
 e.g. if MONITOR is set to "wx-monitor", then running "d.rast
 elevation.dem" would execute "wx-monitor d.rast elevation.dem" then
 terminate (or would execute it using execve(), which has essentially the
 same result).

 I have implemented that in r64401 and document it in r64403. BTW, now we
 could remove D_save_command() from trunk which is after this modifications
 empty, any objections? Currently it's working only for file-based monitors
 (cairo, png), implementation for wxGUI monitors is in progress.

 I have update `d.mon` which writes currently only one variable, ie.
 `MONITOR`. Support files including python renderer are stored in .tmp dir.
 Also `d.erase` and `d.redraw` have been updated to the new architecture.

 Testing welcomed.

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



More information about the grass-dev mailing list