<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Lorenzo,<DIV><BR class="khtml-block-placeholder"></DIV><DIV>Thanks to you and the others who responded.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I've commented out the rows where awk is checked, and I can now enter QGIS from GRASS.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Is there any problem because the software is not locating awk when it opens QGIS?</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Thanks again,</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Dave</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Dave Kindem</DIV><DIV>Grand Haven, MI</DIV><DIV><BR><DIV><DIV>On Jun 11, 2007, at 5:53 AM, Lorenzo Moretti wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV>Hi David</DIV><BLOCKQUOTE type="cite" cite=""><SPAN class="Apple-style-span" style="color: rgb(0, 0, 221); ">Hello,</SPAN><BR style="color: rgb(0, 0, 221); "></BLOCKQUOTE><BLOCKQUOTE type="cite" cite=""><SPAN class="Apple-style-span" style="color: rgb(0, 0, 221); ">I'm running Lorenzo's binaries (6.2.1) on OS X.  I've recently switched my default shell program from tcsh to bash.  When I try to launch QGIS from within GRASS, I receive the following:</SPAN></BLOCKQUOTE><BLOCKQUOTE type="cite" cite=""><BR style="color: rgb(0, 0, 221); "></BLOCKQUOTE><DIV><BR></DIV><DIV>Bash shell is required.</DIV><DIV><BR></DIV><DIV>In a new Terminal window enter:</DIV><DIV> % env</DIV><DIV>and see the result. If you see this row:</DIV><DIV>SHELL=/bin/bash</DIV><DIV><BR></DIV><DIV>Bash shell is used and you can use GRASS OS X.</DIV><DIV><BR></DIV><DIV>Or change your default shell inside OS X in two ways:</DIV><DIV><BR></DIV><DIV>Solid way:</DIV><DIV><FONT color="#333333"><SPAN class="Apple-style-span" style="color: rgb(51, 51, 51); ">Go to into the NetInfo Manager program (Applications -&gt; Utilities -&gt; NetInfo Manager). Click on "users" then find your account. In the lower pane is "shell" and see the path. If you see "/bin/tcsh" change it to /bin/bash, then quit NetInfo Manager and restart.</SPAN></FONT></DIV><DIV><BR></DIV><DIV>Light way:</DIV><DIV><FONT size="-4" color="#333333"><SPAN class="Apple-style-span" style="color: rgb(51, 51, 51); font-size: 9px; ">If you don't want to change the NetInfo database entry for your account, go to Terminal</SPAN></FONT><FONT size="-4" color="#111066"><SPAN class="Apple-style-span" style="color: rgb(17, 16, 102); font-size: 9px; "> application</SPAN></FONT><FONT size="-4" color="#333333"><SPAN class="Apple-style-span" style="color: rgb(51, 51, 51); font-size: 9px; "> (Applications -&gt; Utilities -&gt; Terminal) then go to Terminal -&gt; Terminal Preferences and select "Execute this command" and make sure it's the shell you want (usually is /bin/bash).</SPAN></FONT></DIV><DIV><BR></DIV><DIV>awk is used in many command inside Grass. It's checked at the start of script.</DIV><DIV>Go to Terminal and in the new window (not inside Grass) enter:</DIV><DIV> % which awk</DIV><DIV>and see the result. In OS X the path is:</DIV><DIV> % /usr/bin/awk</DIV><DIV><BR></DIV><DIV>If you want you can comment the rows where awk is checked ...</DIV><DIV>Edit with Text editor the file "/Applications/GrassGIS/Grass6.app/Contents/Resources/grass-6.2.<SPAN></SPAN>1/scripts/d.qgis"</DIV><DIV><BR></DIV><DIV>and comment these rows:</DIV><DIV># Check if we have awk.<BR># if [ ! -x "`which awk`" ] ; then<BR>#    echo "$SCRIPT: awk required, please install awk or gawk first" 2&gt;&amp;1<BR>#    exit 1<BR># fi<BR></DIV><DIV>Now restart d.qgis script (Open Qgis application under Xtns menu) and select QGIS to run or inside terminal enter:</DIV><DIV><BR></DIV><DIV><FONT color="#000000">---&gt; GRASS OS X</FONT></DIV><DIV><FONT color="#000000">GRASS 6.2.1 (location):~ &gt;  d.qgis file=/Applications/qgis-0.8.0/qgis.app &amp;</FONT></DIV><DIV><FONT color="#000000"><BR></FONT></DIV><DIV><FONT color="#000000">---&gt; GRASS X11</FONT></DIV><DIV><FONT color="#000000">GRASS 6.2.1 (location):~ &gt;  d.qgis file=/Applications/qgis-0.8.0/qgis.app/Contents/MacOS/qgis</FONT><SPAN class="Apple-converted-space"> </SPAN>&amp;</DIV><DIV><BR></DIV><DIV>Bye</DIV><DIV><BR></DIV><X-SIGSEP><PRE style="white-space: pre; ">-- 
</PRE></X-SIGSEP><DIV>____________________________________________________________________<SPAN></SPAN>______<BR>||      Lorenzo Moretti        e-mail: <A href="mailto:lorenzo.moretti@bologna.enea.it">lorenzo.moretti@bologna.enea.it</A>     <BR>||/|/|  ENEA ACS PROTIDR       Web: <A href="http://wwwamb.bologna.enea.it">http://wwwamb.bologna.enea.it</A>/    <BR>||   |  via Don Fiammelli, 2  <BR>~~~~~~  40128 BOLOGNA - ITALY  Ph: +39-0516098086<BR>ENEA - Ente Nazionale per le Nuove Tecnologie, l'Energia e l'Ambiente<BR>ENEA - The Italian Agency for New Technologies, Energy and the Environment<BR>_____________________________________________________________________<SPAN></SPAN>_____</DIV><BR class="Apple-interchange-newline"></SPAN></BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>