Re: [Evolution] Default Browser



On Sat, 2003-08-30 at 13:44, guenther wrote:
$ cat firebird-remote.sh

--- firebird-remote.sh ---

#!/bin/sh

firebird=/usr/X11R6/bin/firebird
$firebird -remote 'openURL('$1', new-tab)' || $firebird $1 &

--- end --- 

Uhm... I *do* hope, the *first* line starts with '#' and there is *no*
line starting with an '-' char. Cut-n-paste from the terminal would be
the best to see this, please do not surround it with markers.


%ls -la firebird-remote.sh
-rwxrwxrwx  1 pete  pete  149 Aug 30 14:18 firebird-remote.sh
%cat firebird-remote.sh
--- firebird-remoste.sh ---

#!/bin/sh

#firebird=/usr/X11R6/bin/firebird
$firebird -remote 'openURL('$1', new-tab)' || $firebird $1 &

--- end --- 
%



Anyways, the error message is kinda strange. Maybe shell quoting
problems? As you are running FreeBSD (just remembered that bit): yeah,
it could matter. ;)

What is your default shell? What is sh on your system? (sh is the bash
on most GNU/Linux systems)

%echo $SHELL
/bin/csh



Please post the output of the following commands:

$ ls -la /bin/sh
dwarf# ls -la /bin/sh
-r-xr-xr-x  1 root  wheel  460328 Jul  4 19:39 /bin/sh




$ ls -la /bin/bash

no file




Have firebird running and then issue:

$ bash /usr/X11R6/bin/firebird -remote 'openURL(http://gnome.org, new-tab)'

Dont do bash so I did the above with csh:

%csh /usr/X11R6/bin/firebird -remote 'openURL(http://gnome.org,
new-tab)'
moz_libdir=/usr/X11R6/lib/firebird/lib/mozilla-1.5a: Command not found.
MRE_HOME=/usr/X11R6/lib/firebird/lib/mre/mre-1.5a: Command not found.
MOZILLA_FIVE_HOME: Undefined variable.

That is all it did.



Kinda puzzled...

You're puzzled!!!


No big deal, I can go to 'plan B' of this doesnt work.
-- 

Pete
http://milneweb.com
http://nomorevirus.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]