<html><div style='background-color:'><DIV class=RTE>
<P>Hi Radim:</P>
<P>What do you think about using cmd or command instead of msys shell for windows version of plugin? it could eliminate the necessity of distribute msys shell with qgis.</P>
<P>Freddy</P>
<P> <BR><BR></P></DIV>
<DIV></DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #a0c6e5 2px solid; MARGIN-RIGHT: 0px"><FONT style="FONT-SIZE: 11px; FONT-FAMILY: tahoma,sans-serif">
<HR color=#a0c6e5 SIZE=1>
<DIV></DIV>From: <I>"Radim Blazek" <radim.blazek@gmail.com></I><BR>To: <I>"godofredo contreras" <frdcn@hotmail.com></I><BR>CC: <I>qgis-developer@lists.qgis.org</I><BR>Subject: <I>Re: [Qgis-developer] about grass plugin (windows)</I><BR>Date: <I>Tue, 28 Nov 2006 12:09:18 +0100</I><BR>>On 11/27/06, godofredo contreras <frdcn@hotmail.com> wrote:<BR>>>Hi:<BR>>><BR>>>I have been working in a debugging environment for qgis based on : <BR>>>msys and<BR>>>eclipse cdt with some success. I was analizing grass plugin source <BR>>>and the<BR>>>notes that Benjamin posted in http://blog.qgis.org/?q=node/35. I <BR>>>saw in some<BR>>>notes in plugin code that there were some problems opening a cmd or <BR>>>command<BR>>>shell. I am very new to grass and I would
know if grass shell is <BR>>>simply an<BR>>>operating system shell with grass executables in path, if this is <BR>>>the case<BR>>>we could solve the problem calling a grass.bat in qgis folder that <BR>>>sets all<BR>>>environment variables and open a cmd window, if not, could somebody <BR>>>tell me<BR>>>what is needed from a grass shell ?<BR>><BR>>GRASS shell is using MSYS terminal, i.e. qgis/msys/msys.bat<BR>>but some variables must be set previously by the plugin (GISBASE,<BR>>GISRC).<BR>><BR>>>Also I got a weird problem, I copy shared folder from a previous<BR>>>installation of qgis and every time a try to execute a grass <BR>>>command, the<BR>>>plugin looks for executables in the old path. Are there any <BR>>>configuration to<BR>>>set the grass executables path?<BR>><BR>>The plugin
is looking for modules in GISBASE directory. Normaly<BR>>you dont need to specify the directory especially on windows where<BR>>it attempts to use qgis/grass directory. If a directory with GRASS<BR>>is not found in the expected path you are asked to select a <BR>>directory.<BR>>In that case the path is stored in QGIS settings and it is used<BR>>in future if the directory is valid. If that directory was removed<BR>>you should be asked to select another one.<BR>>The only way to change GISBASE if previously dir still exists<BR>>is to edit QGIS settings manualy.<BR>><BR>>Radim<BR>><BR>>>thanks in advance.<BR>>><BR>>>Freddy<BR>>><BR>>><BR>>><BR>>><BR>>><BR>>>________________________________<BR>>> Get free, personalized commercial-free online radio with MSN <BR>>>Radio
powered<BR>>>by Pandora<BR>>>_______________________________________________<BR>>>Qgis-developer mailing list<BR>>>Qgis-developer@lists.qgis.org<BR>>>http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-developer<BR>>><BR>>><BR>>><BR></FONT></BLOCKQUOTE></div><br clear=all><hr> <a href="http://g.msn.com/8HMAENUS/2743??PS=47575" target="_top">MSN Shopping has everything on your holiday list. Get expert picks by style, age, and price. Try it!</a> </html>