<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Feb 7, 2014 at 11:49 AM, Glynn Clements <span dir="ltr"><<a href="mailto:glynn@gclements.plus.com" target="_blank">glynn@gclements.plus.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><br>
Markus Neteler wrote:<br>
<br>
> > It's fairly trivial to set a valid GRASS environment globally, so that<br>
> > commands are usable in any shell. That's how I've had it on Linux<br>
> > since roughly forever; I don't run the grass70 script unless I'm<br>
> > testing it.<br>
> ><br>
> > FWIW, I want to make that the default mode of operation.<br>
><br>
> Could you please elaborate? Say, what would be the difference to the<br>
> current way?<br>
<br>
</div>The difference is that you don't "start" GRASS. You set the required<br>
environment variables from e.g. ~/.profile so that GRASS commands work<br>
in any shell (or via any other execution mechanism, e.g. M-! from<br>
within Emacs).<br>
<span class="HOEnZb"><font color="#888888"><br></font></span></blockquote><div><br></div><div>I'm still not sure if this is the best practice. I though I saw on mailing list that somebody claimed that it is not safe. Not sure why, perhaps because you are not getting the cleaning up procedures at the beginning and at the end of GRASS session? Or how this is supposed to work with multiple grass installations, which is a pretty common case?</div>

<div><br></div><div>Vaclav</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="HOEnZb"><font color="#888888">
--<br>
Glynn Clements <<a href="mailto:glynn@gclements.plus.com">glynn@gclements.plus.com</a>><br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
grass-dev mailing list<br>
<a href="mailto:grass-dev@lists.osgeo.org">grass-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-dev</a><br>
</div></div></blockquote></div><br></div></div>