git-svn-id: https://svn.osgeo.org/grass/grass/trunk@71502 15284696-431f-4ddb-bdfa-cd5b030d7da7
@@ -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>
@@ -27,7 +27,7 @@ defined by this variable. Currently only Python scrips are supported.
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