Re: [GRASS-dev] Re: [GRASS-user] g.manual tries to run C:\Program Files\Internet Exporer\iexplore (the 'L' is missing from 'Explorer')

2009-09-10 Thread Colin Nielsen
>From the two possible WinGrass command lines (either cmd.exe or msys) the following command will open the html index and returns the terminal: cmd /c "rundll32 url.dll,OpenURL "file:///C:/Program Files/GRASS-6-SVN/docs/html/full_index.html"" I incorporated this into g.manual in a bit of an ugly

Re: [GRASS-dev] Re: [GRASS-user] g.manual tries to run C:\Program Files\Internet Exporer\iexplore (the 'L' is missing from 'Explorer')

2009-07-29 Thread Glynn Clements
Hamish wrote: > For GRASS_HTML_BROWSER, it is read in a number of contexts by e.g. > by g.manual shell script (6.x), g.manual python (7.x), wxGUI, > tcl/tk GUI, grass-run.bat, gui startups, ... > > so it needs to be both cross-platform, cross-language, and cross- > environment (msys vs dos). thu

[GRASS-dev] Re: [GRASS-user] g.manual tries to run C:\Program Files\Internet Exporer\iexplore (the 'L' is missing from 'Explorer')

2009-07-28 Thread Hamish
Glynn wrote: > Can you modify the script to print its arguments? And > g.manual to print out $GRASS_HTML_BROWSER. note1 that until Maris's space-in-filename fixes in 6.5svn have been reviewed & backported to 6.4 we may just be chasing things already fixed and not being efficient in our use of time

[GRASS-dev] Re: [GRASS-user] g.manual tries to run C:\Program Files\Internet Exporer\iexplore (the 'L' is missing from 'Explorer')

2009-07-28 Thread Glynn Clements
Colin Nielsen wrote: > These failed: > export GRASS_HTML_BROWSER=/c/Program Files/Internet Explorer/iexplore.exe > export GRASS_HTML_BROWSER=c:\Program Files\Internet Explorer\iexplore.exe (no > quotes) This is down to the "export" command terminating the value at the first space. > export GRA

[GRASS-dev] Re: [GRASS-user] g.manual tries to run C:\Program Files\Internet Exporer\iexplore (the 'L' is missing from 'Explorer')

2009-07-28 Thread Colin Nielsen
The variable's value should point to a browser's exe, not the index.html of the docs folder. Given that, more odd behaviour of g.manual re the variable. When running wingrass through an msys terminal (r37101) The following all worked export GRASS_HTML_BROWSER="c:\Program Files\Internet Explorer\i

Re: [GRASS-dev] Re: [GRASS-user] g.manual tries to run C:\Program Files\Internet Exporer\iexplore (the 'L' is missing from 'Explorer')

2009-07-27 Thread Maris Nartiss
On Linux proper default would be calling "xdg-open file|URL". Maris. 2009/7/27, Glynn Clements : > > BTW: > > AFAICT, the "right" way to open files on Windows is to simply run them > via the shell, e.g. pointing GRASS_HTML_BROWSER at a batch file > containing: > -- > Glynn Clements ___

[GRASS-dev] Re: [GRASS-user] g.manual tries to run C:\Program Files\Internet Exporer\iexplore (the 'L' is missing from 'Explorer')

2009-07-27 Thread Glynn Clements
Hamish wrote: > > Could anyone clarify which of the following are valid > > arguments to GRASS_HTML_BROWSER? > > > > 1. A native filename, e.g.: > > > >     C:\GRASS\docs\html\index.html > > > > 2. A Unix-ish filename, e.g.: > > > >     C:/GRASS/docs/html/index.html > > the above failed on m

[GRASS-dev] Re: [GRASS-user] g.manual tries to run C:\Program Files\Internet Exporer\iexplore (the 'L' is missing from 'Explorer')

2009-07-26 Thread Hamish
Glynn Clements wrote: > Could anyone clarify which of the following are valid > arguments to GRASS_HTML_BROWSER? > > 1. A native filename, e.g.: > >     C:\GRASS\docs\html\index.html > > 2. A Unix-ish filename, e.g.: > >     C:/GRASS/docs/html/index.html the above failed on ms windows, which s

[GRASS-dev] Re: [GRASS-user] g.manual tries to run C:\Program Files\Internet Exporer\iexplore (the 'L' is missing from 'Explorer')

2009-07-26 Thread Glynn Clements
Hamish wrote: > > rem Path to your web browser > > rem set > > GRASS_HTML_BROWSER=%SYSTEMDRIVE%\PROGRA~1\INTERN~1\IEXPLORE.EXE > > ... > > > > I also tried changing the above statement to: > > set GRASS_HTML_BROWSER=%PROGRAMFILES%\Internet > > Explorer\iexplore.exe > > > > but I still got the s