<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>&nbsp;<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:&nbsp;&nbsp;<I>"Radim Blazek" &lt;radim.blazek@gmail.com&gt;</I><BR>To:&nbsp;&nbsp;<I>"godofredo contreras" &lt;frdcn@hotmail.com&gt;</I><BR>CC:&nbsp;&nbsp;<I>qgis-developer@lists.qgis.org</I><BR>Subject:&nbsp;&nbsp;<I>Re: [Qgis-developer] about grass plugin (windows)</I><BR>Date:&nbsp;&nbsp;<I>Tue, 28 Nov 2006 12:09:18 +0100</I><BR>&gt;On 11/27/06, godofredo contreras &lt;frdcn@hotmail.com&gt; wrote:<BR>&gt;&gt;Hi:<BR>&gt;&gt;<BR>&gt;&gt;I have been working in a debugging environment for qgis based on : <BR>&gt;&gt;msys and<BR>&gt;&gt;eclipse cdt with some success. I was analizing grass plugin source <BR>&gt;&gt;and the<BR>&gt;&gt;notes that Benjamin posted in http://blog.qgis.org/?q=node/35. I <BR>&gt;&gt;saw in some<BR>&gt;&gt;notes in plugin code that there were some problems opening a cmd or <BR>&gt;&gt;command<BR>&gt;&gt;shell. I am very new to grass and I would 
know if grass shell is <BR>&gt;&gt;simply an<BR>&gt;&gt;operating system shell with grass executables in path, if this is <BR>&gt;&gt;the case<BR>&gt;&gt;we could solve the problem calling a grass.bat in qgis folder that <BR>&gt;&gt;sets all<BR>&gt;&gt;environment variables and open a cmd window, if not, could somebody <BR>&gt;&gt;tell me<BR>&gt;&gt;what is needed from a grass shell ?<BR>&gt;<BR>&gt;GRASS shell is using MSYS terminal, i.e. qgis/msys/msys.bat<BR>&gt;but some variables must be set previously by the plugin (GISBASE,<BR>&gt;GISRC).<BR>&gt;<BR>&gt;&gt;Also I got a weird problem, I copy shared folder from a previous<BR>&gt;&gt;installation of qgis and every time a try to execute a grass <BR>&gt;&gt;command, the<BR>&gt;&gt;plugin looks for executables in the old path. Are there any <BR>&gt;&gt;configuration to<BR>&gt;&gt;set the grass executables path?<BR>&gt;<BR>&gt;The plugin 
is looking for modules in GISBASE directory. Normaly<BR>&gt;you dont need to specify the directory especially on windows where<BR>&gt;it attempts to use qgis/grass directory. If a directory with GRASS<BR>&gt;is not found in the expected path you are asked to select a <BR>&gt;directory.<BR>&gt;In that case the path is stored in QGIS settings and it is used<BR>&gt;in future if the directory is valid. If that directory was removed<BR>&gt;you should be asked to select another one.<BR>&gt;The only way to change GISBASE if previously dir still exists<BR>&gt;is to edit QGIS settings manualy.<BR>&gt;<BR>&gt;Radim<BR>&gt;<BR>&gt;&gt;thanks in advance.<BR>&gt;&gt;<BR>&gt;&gt;Freddy<BR>&gt;&gt;<BR>&gt;&gt;<BR>&gt;&gt;<BR>&gt;&gt;<BR>&gt;&gt;<BR>&gt;&gt;________________________________<BR>&gt;&gt;&nbsp;&nbsp;Get free, personalized commercial-free online radio with MSN <BR>&gt;&gt;Radio 
powered<BR>&gt;&gt;by Pandora<BR>&gt;&gt;_______________________________________________<BR>&gt;&gt;Qgis-developer mailing list<BR>&gt;&gt;Qgis-developer@lists.qgis.org<BR>&gt;&gt;http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-developer<BR>&gt;&gt;<BR>&gt;&gt;<BR>&gt;&gt;<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>