[Evolution] Re: Netscape as default browser (was: Re: [Evolution] ImproperMozillastart aft



#!/bin/bash
netscape -remote='openURL('$1', new-tab)' || netscape $1     - This worked
for netscape

This is the same as I posted (basically, beside some very minor
changes). Just curious: Why did you do those changes?

To be honest with you, this is all real new to me and I thought 
gnome-moz-remote applied specifically to gnome and mozilla.  I didn't know 
if gnome-netscape-remote would work.  Does "sh" in #!/bin/sh stand for any 
shell?  Now, my script is like the one below, but I subsituted "netscape" 
for mozilla.

Hey, that's legitimate. As long as it works, the resolution is very
fine. :)

I was just curious. The substitution of netscape for mozilla was
mentioned by me -- but there was an additional '='. That was the reason
why I asked: Where did you get that from?


On most modern GNU/Linux systems, sh is simply a symlink to bash and
therefore it is really the same. It's just shorter... ;)

$ ls -la /bin/sh
lrwxrwxrwx    1 root     root            4 Mar 30 05:36 /bin/sh -> bash*


guenther, thanks a million for your patience, understanding, and for helping 
others.  :-)

You're very welcome. :)

...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]