<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3603" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=939442017-17112009><FONT face=Arial 
color=#0000ff size=2>Hi,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=939442017-17112009><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN><FONT color=#000000><FONT face=Arial><FONT 
size=2>Not that I know of. what environment variable do you suspect?<BR><SPAN 
class=939442017-17112009><FONT color=#0000ff>[[[ejs]]] Hmm, <SPAN 
class=939442017-17112009><FONT face=Arial color=#0000ff size=2>it doesn't look 
there are actually any variables which would affect dash (at least not according 
to the man page).&nbsp; But who knows?&nbsp; 
</FONT></SPAN></FONT></SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT color=#000000><FONT face=Arial><FONT 
size=2><SPAN class=939442017-17112009><FONT color=#0000ff><SPAN 
class=939442017-17112009></SPAN></FONT></SPAN></FONT></FONT></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN><FONT color=#000000><FONT face=Arial><FONT 
size=2><SPAN class=939442017-17112009><FONT color=#0000ff><SPAN 
class=939442017-17112009>I guess now can you try: "dpkg -l bash" , "dpkg -l 
dash" to see what versions you have.&nbsp; Also, a "set" listing would be useful 
(excise any confidential info 
though).</SPAN></FONT></SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT color=#000000><FONT face=Arial><FONT 
size=2><SPAN class=939442017-17112009><FONT color=#0000ff><SPAN 
class=939442017-17112009></SPAN></FONT></SPAN></FONT></FONT></FONT></SPAN><SPAN><FONT 
color=#000000><FONT face=Arial><FONT size=2><SPAN class=939442017-17112009><FONT 
color=#0000ff><SPAN 
class=939442017-17112009></SPAN></FONT></SPAN></FONT></FONT></FONT></SPAN><SPAN><FONT 
color=#000000><FONT face=Arial><FONT size=2><SPAN class=939442017-17112009><FONT 
color=#0000ff><SPAN 
class=939442017-17112009></SPAN></FONT></SPAN></FONT></FONT></FONT></SPAN>&nbsp;</DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
  <DIV><FONT face=Arial><FONT size=2><SPAN><FONT color=#000000>No. using bash 
  gives this error:</FONT></SPAN></FONT></FONT><FONT face=Arial><FONT 
  size=2><SPAN><FONT color=#000000><BR></FONT></SPAN></FONT></FONT></DIV>
  <DIV>./esbox.sh: line 17: syntax error near unexpected token 
  `else'<BR>./esbox.sh: line 17: `else'<BR></DIV>
  <DIV>I have to change the help() -&gt; help in order to get past the script 
  errors.<BR><SPAN class=939442017-17112009><FONT face=Arial color=#0000ff 
  size=2>[[[ejs]]]&nbsp;The line number doesn't match with what I have, and I'm 
  not sure if your earlier edits are responsible. </FONT></SPAN></DIV>
  <DIV><SPAN class=939442017-17112009><FONT face=Arial color=#0000ff 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=939442017-17112009><FONT face=Arial color=#0000ff size=2>So 
  just to be extra sure, I'm attaching the latest and greatest version of the 
  script.&nbsp; Could you try it? &nbsp;It doesn't have your edits in it yet; I 
  just want to verify everything.</FONT></SPAN></DIV>
  <DIV><SPAN class=939442017-17112009>&nbsp;</SPAN></DIV>
  <DIV><SPAN class=939442017-17112009><FONT face=Arial color=#0000ff size=2>And 
  continued thanks for helping ferret out these issues...</FONT></SPAN></DIV>
  <DIV><SPAN class=939442017-17112009></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=939442017-17112009><FONT face=Arial color=#0000ff size=2>-- 
  Ed</FONT></SPAN></DIV>
  <DIV><SPAN class=939442017-17112009><FONT face=Arial color=#0000ff 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=939442017-17112009><FONT face=Arial color=#0000ff 
  size=2>------------------------</FONT></SPAN></DIV>
  <DIV><SPAN class=939442017-17112009><FONT face=Arial color=#0000ff 
  size=2>#!/bin/sh</FONT></SPAN></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><SPAN class=939442017-17112009><FONT face=Arial color=#0000ff size=2># 
  This script sets up the environment to run Eclipse in newer<BR># versions of 
  Linux which are slightly incompatible with Eclipse 3.4.2.</FONT></SPAN></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><SPAN class=939442017-17112009><FONT face=Arial color=#0000ff 
  size=2>help() {<BR>&nbsp;echo "Note: xulrunner 1.8 should be installed if 
  Eclipse crashes unexpectedly"<BR>&nbsp;echo "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; on 
  startup, hangs with an empty dialog, fails to show hover help,"<BR>&nbsp;echo 
  "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; crashes in certain wizards, 
  etc."<BR>&nbsp;echo ""<BR>&nbsp;echo "Try:&nbsp; sudo apt-get install 
  xulrunner&nbsp;&nbsp; in Ubuntu"<BR>&nbsp;echo ""<BR>&nbsp;echo "See <A 
  href="https://garage.maemo.org/tracker/index.php?func=detail&amp;aid=4689&amp;group_id=192&amp;atid=1420">https://garage.maemo.org/tracker/index.php?func=detail&amp;aid=4689&amp;group_id=192&amp;atid=1420</A>"<BR>}</FONT></SPAN></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><SPAN class=939442017-17112009><FONT face=Arial color=#0000ff 
  size=2>check_version() {<BR>&nbsp;PROG="$1"<BR>&nbsp;if [ ! -z "$PROG" ] 
  &amp;&amp; [ -e "$PROG" ] ; then<BR>&nbsp;&nbsp;VERSION=`$PROG -v 2&gt;&amp;1 
  | awk '{print $3}' | cut -d. -f1,2`<BR>&nbsp;&nbsp;test "$VERSION" = 
  "1.8"&nbsp; <BR>&nbsp;else<BR>&nbsp;&nbsp;return 
  1&nbsp;<BR>&nbsp;fi<BR>}</FONT></SPAN></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><SPAN class=939442017-17112009><FONT face=Arial color=#0000ff size=2># 
  first, Eclipse depends on an old version of xulrunner.<BR>if [ -z "$XULRUNNER" 
  ] ; then<BR>&nbsp;XULRUNNER=`which xulrunner`<BR>&nbsp;if ! check_version 
  $XULRUNNER ; 
  then<BR>&nbsp;&nbsp;XULRUNNER=/usr/lib/xulrunner/xulrunner<BR>&nbsp;&nbsp;if ! 
  check_version $XULRUNNER ; 
  then<BR>&nbsp;&nbsp;&nbsp;XULRUNNER=""<BR>&nbsp;&nbsp;fi<BR>&nbsp;fi<BR>fi</FONT></SPAN></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><SPAN class=939442017-17112009><FONT face=Arial color=#0000ff 
  size=2>XULOPTS=""<BR>if [ -z "$XULRUNNER" ] ; 
  then<BR>&nbsp;help<BR>else<BR>&nbsp;XULOPTS="-vmargs 
  -Dorg.eclipse.swt.browser.XULRunnerPath=$XULRUNNER"<BR>&nbsp;echo "Using 
  xulrunner: $XULRUNNER"<BR>fi</FONT></SPAN></DIV>
  <DIV>&nbsp;</DIV><SPAN class=939442017-17112009><FONT face=Arial color=#0000ff 
  size=2>
  <DIV><BR># This is a fix for dependencies on GTK 2.16 (and older) behavior, 
  which<BR># if unfixed, results in annoying dialog behavior where the mouse 
  cannot<BR># properly click buttons, use tables, etc.<BR>export 
  GDK_NATIVE_WINDOWS=true</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>PROGRAM=esbox<BR>INSTALL_DIR=`dirname $0`<BR>if [ ! -e 
  "$INSTALL_DIR/$PROGRAM" ]&nbsp; ; then INSTALL_DIR=. ; 
  fi<BR>"$INSTALL_DIR"/$PROGRAM $XULOPTS 
"$@"<BR></FONT></SPAN></DIV></BLOCKQUOTE></BODY></HTML>