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

GRASS GIS trac at osgeo.org
Wed Feb 4 05:35:30 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 glynn):

 Replying to [comment:25 martinl]:

 > > 1. It adds yet more cruft rather than simplifying. Hopefully this is
 just a transitional phase until existing modules are updated.
 >
 > Can you be more detailed?

 Rather than redefining MONITOR (as suggested in comment:20), it keeps that
 and adds yet another variable, GRASS_RENDER_COMMAND.

 The only thing that's actually required is a mechanism to allow all d.*
 commands to be "redirected" to another program. And that's all that should
 be provided by the display library. Everything else should be handled by
 that other program.

 So if you want to retain the existing semantics for MONITOR, all
 references to it should be removed from the display library. Instead,
 wxGUI would set GRASS_RENDER_COMMAND to refer to a program or script which
 implements the MONITOR behaviour. Any future changes to the wxGUI monitor
 mechanism would only affect wxGUI and its utility programs, not the
 display systems.

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



More information about the grass-dev mailing list