<!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> </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). But who knows?
</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> </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. 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> </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() -> help in order to get past the script
errors.<BR><SPAN class=939442017-17112009><FONT face=Arial color=#0000ff
size=2>[[[ejs]]] 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> </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. Could you try it? It doesn't have your edits in it yet; I
just want to verify everything.</FONT></SPAN></DIV>
<DIV><SPAN class=939442017-17112009> </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> </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> </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> </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> </DIV>
<DIV><SPAN class=939442017-17112009><FONT face=Arial color=#0000ff
size=2>help() {<BR> echo "Note: xulrunner 1.8 should be installed if
Eclipse crashes unexpectedly"<BR> echo " on
startup, hangs with an empty dialog, fails to show hover help,"<BR> echo
" crashes in certain wizards,
etc."<BR> echo ""<BR> echo "Try: sudo apt-get install
xulrunner in Ubuntu"<BR> echo ""<BR> echo "See <A
href="https://garage.maemo.org/tracker/index.php?func=detail&aid=4689&group_id=192&atid=1420">https://garage.maemo.org/tracker/index.php?func=detail&aid=4689&group_id=192&atid=1420</A>"<BR>}</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=939442017-17112009><FONT face=Arial color=#0000ff
size=2>check_version() {<BR> PROG="$1"<BR> if [ ! -z "$PROG" ]
&& [ -e "$PROG" ] ; then<BR> VERSION=`$PROG -v 2>&1
| awk '{print $3}' | cut -d. -f1,2`<BR> test "$VERSION" =
"1.8" <BR> else<BR> return
1 <BR> fi<BR>}</FONT></SPAN></DIV>
<DIV> </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> XULRUNNER=`which xulrunner`<BR> if ! check_version
$XULRUNNER ;
then<BR> XULRUNNER=/usr/lib/xulrunner/xulrunner<BR> if !
check_version $XULRUNNER ;
then<BR> XULRUNNER=""<BR> fi<BR> fi<BR>fi</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=939442017-17112009><FONT face=Arial color=#0000ff
size=2>XULOPTS=""<BR>if [ -z "$XULRUNNER" ] ;
then<BR> help<BR>else<BR> XULOPTS="-vmargs
-Dorg.eclipse.swt.browser.XULRunnerPath=$XULRUNNER"<BR> echo "Using
xulrunner: $XULRUNNER"<BR>fi</FONT></SPAN></DIV>
<DIV> </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> </DIV>
<DIV>PROGRAM=esbox<BR>INSTALL_DIR=`dirname $0`<BR>if [ ! -e
"$INSTALL_DIR/$PROGRAM" ] ; then INSTALL_DIR=. ;
fi<BR>"$INSTALL_DIR"/$PROGRAM $XULOPTS
"$@"<BR></FONT></SPAN></DIV></BLOCKQUOTE></BODY></HTML>