Re: [Evolution] Default Browser
- From: guenther <guenther rudersport de>
- To: peter milne <peter milneweb com>
- Cc: evolution lists ximian com
- Subject: Re: [Evolution] Default Browser
- Date: Sat, 30 Aug 2003 23:03:43 +0200
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 ---
This script *MUST* not be more than these 2 line.
#!/bin/sh
firebird -remote 'openURL('$1', ne\w-tab)' || firebird $1 &
The "---" lines only should indicate the file and must not be in the
script itself. Also, the script must start with the '#!' she-bang line.
Please remove the other lines, including empty ones.
You only should use the '$firebird', if you actually export a variable.
Your script has the variable uncommented. As you have 'firebird' in your
$PATH, you should adjust your script like the two lines above: Call
'firebird' directly.
The 'sh' shell should work. Anyway: As you don't have a bash installed,
I just checked it with csh -- works for me. You can try adjusting the
first line to call 'csh' instead of 'sh'.
Kinda puzzled...
You're puzzled!!!
Yep -- I am too used to my bash. ;) Don't use BSD systems often, and
have a bash even there.
No big deal, I can go to 'plan B' of this doesnt work.
Well, it *has* t work. I hate my scripts not working due to different
systems. Will grab the book about shell programming...
...guenther
--
char *t="\10pse\0r\0dtu\0 ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]