<!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=717280317-24112009><FONT face=Arial 
color=#0000ff size=2>Great!&nbsp; Good to hear :)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=717280317-24112009><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=717280317-24112009><FONT face=Arial 
color=#0000ff size=2>-- Ed</FONT></SPAN></DIV><BR>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
  <HR tabIndex=-1>
  <FONT face=Tahoma size=2><B>From:</B> ext Mustali Dalal 
  [mailto:archebyte@gmail.com] <BR><B>Sent:</B> Tuesday, November 24, 2009 11:02 
  AM<BR><B>To:</B> Swartz Ed (Nokia-D/Austin)<BR><B>Cc:</B> 
  esbox-users@garage.maemo.org<BR><B>Subject:</B> Re: [Esbox-users] cannot start 
  esbox. starting esbox displays empty dialog on Ubuntu 
  Karmic<BR></FONT><BR></DIV>
  <DIV></DIV>
  <DIV>sorry for the late reply.<BR></DIV>
  <DIV><BR></DIV>
  <DIV>This latest version of the script works fine. Thanks.</DIV>
  <DIV>arch:~/esbox$ ./esbox3.sh&nbsp;<BR>Using xulrunner: 
  /usr/lib/xulrunner/xulrunner<BR></DIV>
  <DIV><BR></DIV>
  <DIV><BR></DIV>
  <DIV class=gmail_quote>On Tue, Nov 17, 2009 at 6:27 PM, <SPAN dir=ltr>&lt;<A 
  href="mailto:Ed.Swartz@nokia.com">Ed.Swartz@nokia.com</A>&gt;</SPAN> 
wrote:<BR>
  <BLOCKQUOTE class=gmail_quote 
  style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
    <DIV>
    <DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff 
    size=2>Hi,</FONT></SPAN></DIV>
    <DIV dir=ltr align=left>&nbsp;</DIV>
    <DIV dir=ltr align=left><SPAN><FONT color=#000000><FONT face=Arial><FONT 
    size=2>
    <DIV class=im>Not that I know of. what environment variable do you 
    suspect?<BR></DIV><SPAN><FONT color=#0000ff>[[[ejs]]] Hmm, <SPAN><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>&nbsp;</DIV>
    <DIV dir=ltr align=left><SPAN><FONT color=#000000><FONT face=Arial><FONT 
    size=2><SPAN><FONT color=#0000ff><SPAN>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>&nbsp;</DIV>
    <BLOCKQUOTE style="MARGIN-RIGHT: 0px">
      <DIV class=im>
      <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>
      <DIV>
      <DIV class=im>I have to change the help() -&gt; help in order to get past 
      the script errors.<BR></DIV><SPAN><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>&nbsp;</DIV>
      <DIV><SPAN><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></SPAN>&nbsp;</DIV>
      <DIV><SPAN><FONT face=Arial color=#0000ff size=2>And continued thanks for 
      helping ferret out these issues...</FONT></SPAN></DIV>
      <DIV class=im>
      <DIV>&nbsp;</DIV>
      <DIV><SPAN><FONT face=Arial color=#0000ff size=2>-- Ed</FONT></SPAN></DIV>
      <DIV>&nbsp;</DIV>
      <DIV><SPAN><FONT face=Arial color=#0000ff 
      size=2>------------------------</FONT></SPAN></DIV>
      <DIV><SPAN><FONT face=Arial color=#0000ff 
      size=2>#!/bin/sh</FONT></SPAN></DIV>
      <DIV>&nbsp;</DIV>
      <DIV><SPAN><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>
      <DIV><SPAN><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 ""
      <DIV class=im><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" 
      target=_blank>https://garage.maemo.org/tracker/index.php?func=detail&amp;aid=4689&amp;group_id=192&amp;atid=1420</A>"<BR>}</DIV></FONT></SPAN></DIV>
      <DIV>&nbsp;</DIV>
      <DIV><SPAN><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><FONT face=Arial color=#0000ff size=2>
      <DIV class=im># first, Eclipse depends on an old version of 
      xulrunner.<BR></DIV>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><FONT face=Arial color=#0000ff size=2>
      <DIV class=im>XULOPTS=""<BR>if [ -z "$XULRUNNER" ] ; 
      then<BR>&nbsp;help<BR>else<BR></DIV>
      <DIV class=im>&nbsp;XULOPTS="-vmargs 
      -Dorg.eclipse.swt.browser.XULRunnerPath=$XULRUNNER"<BR></DIV>&nbsp;echo 
      "Using xulrunner: $XULRUNNER"<BR>fi</FONT></SPAN></DIV>
      <DIV>&nbsp;</DIV><SPAN><FONT face=Arial color=#0000ff size=2>
      <DIV class=im>
      <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>
      <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></DIV></FONT></SPAN></BLOCKQUOTE></DIV></BLOCKQUOTE></DIV><BR></BLOCKQUOTE></BODY></HTML>