[GRASS-SVN] r71502 - in grass/trunk/display: . d.mon

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Sep 24 09:48:39 PDT 2017


Author: neteler
Date: 2017-09-24 09:48:39 -0700 (Sun, 24 Sep 2017)
New Revision: 71502

Modified:
   grass/trunk/display/d.mon/main.c
   grass/trunk/display/displaydrivers.html
Log:
d.mon: notes on functionality added

Modified: grass/trunk/display/d.mon/main.c
===================================================================
--- grass/trunk/display/d.mon/main.c	2017-09-24 13:19:07 UTC (rev 71501)
+++ grass/trunk/display/d.mon/main.c	2017-09-24 16:48:39 UTC (rev 71502)
@@ -12,6 +12,18 @@
  *
  *****************************************************************************/
 
+/*
+ Functionality:
+
+ d.mon delegates rendering to Python script [1] through GRASS_RENDER_COMMAND [2].
+ See also document [3].
+
+ [1] https://trac.osgeo.org/grass/browser/grass/trunk/display/d.mon/render_cmd.py
+ [2] https://trac.osgeo.org/grass/browser/grass/trunk/lib/display/r_raster.c#L107
+ [3] https://grass.osgeo.org/grass72/manuals/displaydrivers.html
+
+*/
+
 #include <stdlib.h>
 #include <string.h>
 

Modified: grass/trunk/display/displaydrivers.html
===================================================================
--- grass/trunk/display/displaydrivers.html	2017-09-24 13:19:07 UTC (rev 71501)
+++ grass/trunk/display/displaydrivers.html	2017-09-24 16:48:39 UTC (rev 71502)
@@ -27,7 +27,7 @@
 Lets start with simple example of Python script called <i>render.py</i>:
 
 <div class="code"><pre>
-#!/usr/bin/evn python
+#!/usr/bin/env python
 
 import os
 import sys



More information about the grass-commit mailing list