[GRASS-SVN] r56741 - in grass/branches/develbranch_6: lib/init mswindows

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Jun 16 20:22:27 PDT 2013


Author: hamish
Date: 2013-06-16 20:22:27 -0700 (Sun, 16 Jun 2013)
New Revision: 56741

Modified:
   grass/branches/develbranch_6/lib/init/init.bat
   grass/branches/develbranch_6/mswindows/GRASS-Installer.nsi.tmpl
   grass/branches/develbranch_6/mswindows/env.bat
Log:
use more as the default pager on wingrass (#945)

Modified: grass/branches/develbranch_6/lib/init/init.bat
===================================================================
--- grass/branches/develbranch_6/lib/init/init.bat	2013-06-17 02:43:40 UTC (rev 56740)
+++ grass/branches/develbranch_6/lib/init/init.bat	2013-06-17 03:22:27 UTC (rev 56741)
@@ -7,14 +7,14 @@
 rem  PURPOSE:  	The source file for this batch script is lib/init/init.bat.
 rem             It sets up some environment variables, default GISRC file
 rem             if necessary, etc. prior to starting GRASS proper.
-rem             It is intended to be a native Windows replacement for Init.bat,
+rem             It is intended to be a native Windows replacement for Init.sh,
 rem             but does not (yet) contain all the same functionality.
 rem
 rem             In particular also, GUI mode prints nothing to the terminal
 rem             and does not expect or provide an interactive terminal
 rem             running in addition to the GUI display.
 rem 
-rem  COPYRIGHT: (C) 2006, 2011 by the GRASS Development Team
+rem  COPYRIGHT: (C) 2006-2013 by the GRASS Development Team
 rem
 rem             This program is free software under the GNU General Public
 rem   	    	License (>=v2). Read the file COPYING that comes with GRASS
@@ -55,7 +55,6 @@
 FOR /F "usebackq delims==" %%i IN (`"%GISBASE%\etc\winlocale"`) DO @set LANG=%%i
 :langset
 
-set GRASS_PAGER=more
 if "%GRASS_WISH%"=="" set GRASS_WISH=wish.exe
 if "%GRASS_SH%"=="" set GRASS_SH=c:\msys\1.0\bin\sh.exe
 

Modified: grass/branches/develbranch_6/mswindows/GRASS-Installer.nsi.tmpl
===================================================================
--- grass/branches/develbranch_6/mswindows/GRASS-Installer.nsi.tmpl	2013-06-17 02:43:40 UTC (rev 56740)
+++ grass/branches/develbranch_6/mswindows/GRASS-Installer.nsi.tmpl	2013-06-17 03:22:27 UTC (rev 56741)
@@ -759,7 +759,7 @@
 	FileWrite $0 '#   	    	requires a source file because the definition of GISBASE$\r$\n'
 	FileWrite $0 '#   	    	is not known until compile time and is substituted from the$\r$\n'
 	FileWrite $0 '#   	    	Makefile. Any command line options are passed to Init.sh.$\r$\n'
-	FileWrite $0 '# COPYRIGHT:  	(C) 2000-2010 by the GRASS Development Team$\r$\n'
+	FileWrite $0 '# COPYRIGHT:  	(C) 2000-2013 by the GRASS Development Team$\r$\n'
 	FileWrite $0 '#$\r$\n'
 	FileWrite $0 '#             	This program is free software under the GNU General Public$\r$\n'
 	FileWrite $0 '#   	    	License (>=v2). Read the file COPYING that comes with GRASS$\r$\n'
@@ -785,6 +785,10 @@
 	FileWrite $0 'PATH="$$GISBASE/extrabin:$$GISBASE/extralib:$$PATH"$\r$\n'
 	FileWrite $0 'PATH="$$GISBASE/tcl-tk/bin:$$GISBASE/sqlite/bin:$$PATH"$\r$\n'
 	FileWrite $0 'export PATH$\r$\n'
+	FileWrite $0 '$\r$\n'
+	FileWrite $0 'GRASS_PAGER=more$\r$\n'
+	FileWrite $0 'export GRASS_PAGER$\r$\n'
+	FileWrite $0 '$\r$\n'
 	FileWrite $0 '# Set the PYTHONPATH variable$\r$\n'
 	FileWrite $0 'PYTHONPATH="$$GISBASE/etc/python:$$GISBASE/Python27:$$PYTHONPATH"$\r$\n'
 	FileWrite $0 'export PYTHONPATH$\r$\n'
@@ -795,7 +799,7 @@
 	FileWrite $0 '   export GRASS_PYTHON$\r$\n'
 	FileWrite $0 'fi$\r$\n'
 	FileWrite $0 '$\r$\n'
-	FileWrite $0 '# Set to default web browser$\r$\n'
+	FileWrite $0 '# Set the default web browser$\r$\n'
 	FileWrite $0 'GRASS_HTML_BROWSER=explorer$\r$\n'
 	FileWrite $0 'export GRASS_HTML_BROWSER$\r$\n'
 	FileWrite $0 '$\r$\n'

Modified: grass/branches/develbranch_6/mswindows/env.bat
===================================================================
--- grass/branches/develbranch_6/mswindows/env.bat	2013-06-17 02:43:40 UTC (rev 56740)
+++ grass/branches/develbranch_6/mswindows/env.bat	2013-06-17 03:22:27 UTC (rev 56741)
@@ -5,6 +5,7 @@
 set GRASS_PROJSHARE=%GISBASE%\proj
 set GRASS_HTML_BROWSER=explorer
 set GRASS_SH=%GISBASE%\msys\bin\sh.exe
+set GRASS_PAGER=more
 
 set PYTHONHOME=%GISBASE%\Python27
 set GDAL_DATA=%GISBASE%\share\gdal



More information about the grass-commit mailing list