[GRASS-dev] GRASS_HTML_BROWSER=explorer

hi,

in the grass64-source there seems to be now 3 scripts with informations for wingrass startup:

(1) http://trac.osgeo.org/grass/browser/grass/branches/releasebranch_6_4/lib/init/init.bat
(2) http://trac.osgeo.org/grass/browser/grass/branches/releasebranch_6_4/mswindows/env.bat
(3) http://trac.osgeo.org/grass/browser/grass/branches/releasebranch_6_4/mswindows/osgeo4w/env.bat.tmpl

in (2) and (3) there is
set GRASS_HTML_BROWSER=explorer

but in (1)

rem Should do something with "assoc .html" and ftype here but would require
rem a new g.manual.bat too so leaving it like this for now...
if "%GRASS_HTML_BROWSER%"=="" set GRASS_HTML_BROWSER=%SYSTEMDRIVE%/PROGRA~1/INTERN~1/IEXPLORE.EXE

this should also be changed according to (1) and (2) for invoking the system default webbrowser.

why are there env.bat and env.bat.tmpl with similar content?

best regards
Helmut

___________________________________________________________
WEB.DE DSL Doppel-Flat ab 19,99 €/mtl.! Jetzt mit
gratis Handy-Flat! http://produkte.web.de/go/DSL_Doppel_Flatrate/2

Hi,

2011/3/14 Helmut Kudrnovsky <hellik@web.de>:

why are there env.bat and env.bat.tmpl with similar content?

`env.bat.tmpl` is used by osgeo4w installer (installed in
`$GISBASE\etc\env.bat`)
`env.bat` is used by stand-alone installer (overwrites `$GISBASE\etc\env.bat`)

Martin

--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa

Hi,

2011/3/14 Helmut Kudrnovsky <hellik@web.de>:

rem Should do something with "assoc .html" and ftype here but would require
rem a new g.manual.bat too so leaving it like this for now...
if "%GRASS_HTML_BROWSER%"=="" set GRASS_HTML_BROWSER=%SYSTEMDRIVE%/PROGRA~1/INTERN~1/IEXPLORE.EXE

this should also be changed according to (1) and (2) for invoking the system default webbrowser.

right, Martin

--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa