[winGRASS] GRASS_HTML_BROWSER

Huidae Cho grass4u at gmail.com
Fri Mar 11 18:15:51 EST 2005


Hi,

I've submitted cygwin hack for g.manual and applied it to my 6.0.0
distribution.

Huidae Cho

On Fri, Mar 11, 2005 at 11:23:56AM +0100, Marco Lechner wrote:
> 
>    Hi Scott,
> 
>    if you used the CygwinGRASS-CD from
>    [1]https://www.geographie.uni-freiburg.de/~mlechner/CygwinGRASS/ to
>    install your GRASS on M$ this problem is normal. (By the way the CD is
>    not created by Huidae Cho, it's created by Marco Lechner - that's me
>    ;-)
> 
>    theres no Browserinstallation (konqueror) included in the
>    Cygwin-Installation (because most M$-Machines come with a browser.
>    Read this first:
>    [2]http://grass.itc.it/pipermail/wingrass/2004-December/000643.html
>    afterwards you could create links like written down there:
> 
>    ln -s '/cygdrive/c/Programme/Mozilla Firefox/firefox.exe'
>    /bin/firefox.exe or
>    ln -s '/cygdrive/c/Programme/Internet Explorer/iexplore.exe'
>    /bin/iexplore.exe
>    if you create a link like this GRASS starts firefox from within the
>    GRASS-environment withput setting GRASS_HTML_BROWSER:
>    ln -s '/cygdrive/c/Programme/Mozilla Firefox/firefox.exe'
>    /bin/konqueror or
>    ln -s '/cygdrive/c/Programme/Internet Explorer/iexplore.exe'
>    /bin/konqueror
> 
>    of course you have to change the path if your Browser-executables are
>    in different locations
> 
>    The problem is, that the command created by g.manual is i.e.:
>    GRASS 6.0.cvs:~ >konqueror
>    "/usr/local/grass6.0.cvs/docs/html/index.html" -> couldn't display
> 
>    the result is attached as an screenshot.
> 
> 
> 
>    The command that should be generated within Cygwin should be one of
>    those:
> 
> 
> 
>    GRASS 6.0.cvs:~ >iexplore
>    "c:/cygwin/usr/local/grass6.0.cvs/docs/html/index.html" O.K.
>    GRASS 6.0.cvs:~ > iexplore
>    "c:\cygwin\usr\local\grass6.0.cvs\docs\html\index.html" O.K.
>    GRASS 6.0.cvs:~ > firefox
>    "c:\cygwin\usr\local\grass6.0.cvs\docs\html\index.html" O.K.
> 
>    The IE handles \ and / firefox needs / otherwise firefox creates
>    an errormessage or opens from within GRASS with displaying the default
>    startup-page.
> 
> 
> 
>    GRASS 6.0.cvs:~ > firefox
>    "c:/cygwin/usr/local/grass6.0.cvs/docs/html/index.html" -> ERROR
> 
>    Does anybody have time to add a Cygwin-hack into g.manual, ... ??
> 
> 
> 
> 
> 
>    Marco
> 
> 
> 
>    --------------------------------
>    Marco Lechner
>    office:
>    Department of Physische Geographie
>    University of Freiburg
>    Werderring 4
>    D-79085 Freiburg
>    Germany
>    phone +49 (0)761 / 203-3548
>    email marco.lechner at geographie.uni-freiburg.de
> 
>    -----Urspr�ngliche Nachricht-----
>    Von: wingrass-admin at grass.itc.it
>    [mailto:wingrass-admin at grass.itc.it]Im Auftrag von Scott
>    Gesendet: Donnerstag, 10. M�rz 2005 18:00
>    An: wingrass at grass.itc.it
>    Betreff: [winGRASS] GRASS_HTML_BROWSER
> 
>    I am having a problem viewing the help documents within grass60
>    (CygwinGRASS_CD-0.2.iso installation from Huidae Cho).  No matter what
>    I set the GRASS_HTML_BROWSER  variable to using g.gisenv, it still
>    gives the same error message (included below).  It could be that I
>    just don't know what to set the variable to.  I tried the full path to
>    the executable files for the browsers (mozilla firefox and netscape)
>    and then just the names but with no success. I also tried a couple of
>    phrases I knew wouldn't work but still the same message.
> 
> 
>    Any suggestions?
> 
> 
>    Thanks in advance.
> 
> 
>    Scott Shouse
> 
> 
>    "Error: couldn't execute "knonqueror": no such file or directory"
> 
> 
>    couldn't execute "konqueror": no such file or directory
> 
>    couldn't execute "konqueror": no such file or directory
> 
>        while executing
> 
>    "exec $env(GRASS_HTML_BROWSER) $env(GISBASE)/docs/html/index.html & "
> 
>        invoked from within
> 
>    ".#menubar.#menubar#menu8 invoke active"
> 
>        ("uplevel" body line 1)
> 
>        invoked from within
> 
>    "uplevel #0 [list $w invoke active]"
> 
>        (procedure "tk::MenuInvoke" line 47)
> 
>        invoked from within
> 
>    "tk::MenuInvoke .#menubar.#menubar#menu8 1"
> 
>        (command bound to event)
> 
> References
> 
>    1. https://www.geographie.uni-freiburg.de/~mlechner/CygwinGRASS/
>    2. http://grass.itc.it/pipermail/wingrass/2004-December/000643.html



More information about the grass-windows mailing list