The source currently hardcodes netscape as the help browser. Although $BROWSER can be used for the benefit of Debian we should default to mozilla first, then try netscape.
Logged In: NO
Please see the Debian figurine package, which uses mozilla; from the diff by Muhammad Yusuf:
--- figurine-1.0.5.orig/src/handle_menu.c +++ figurine-1.0.5/src/handle_menu.c @@ -196,7 +196,7 @@
/\* if user has already set netscape, we'd like to still use remote functionality \*/
- if (f && streq(f,"netscape")) + if (f && streq(f,"mozilla")) f=NULL;
/\* strip terminating / if there \*/
@@ -213,7 +213,7 @@ if (f) sprintf(s,"%s '%s/index.html' &",f,e); else - sprintf(s, "sh -c 'netscape -remote \"openURL(%s/index.html,new-window)\"; if test \"$?\" -ne 0 ; then (netscape \"%s/index.html\" &) ; fi'",e,e); + sprintf(s, "sh -c 'mozilla -remote \"openURL(%s/index.html,new-window)\"; if test \"$?\" -ne 0 ; then (mozilla 'file:%s/index.html' &) ; fi'",e,e); } else { @@ -221,7 +221,7 @@ if (f) sprintf(s,"%s '%s/index.html' &",f,FIGINTDIR); else - sprintf(s, "sh -c 'netscape -remote \"openURL(%s/index.html,new-window)\"; if test \"$?\" -ne 0 ; then (netscape \"%s/index.html\" &) ; fi'",FIGINTDIR,FIGINTDIR); + sprintf(s, "sh -c 'mozilla -remote \"openURL(%s/index.html,new-window)\"; if test \"$?\" -ne 0 ; then (mozilla 'file:%s/index.html' &) ; fi'",FIGINTDIR,FIGINTDIR); };
/\* spawn browser \*/
Log in to post a comment.
Logged In: NO
Please see the Debian figurine package, which uses mozilla;
from the diff by Muhammad Yusuf:
--- figurine-1.0.5.orig/src/handle_menu.c
+++ figurine-1.0.5/src/handle_menu.c
@@ -196,7 +196,7 @@
- if (f && streq(f,"netscape"))
+ if (f && streq(f,"mozilla"))
f=NULL;
@@ -213,7 +213,7 @@
if (f)
sprintf(s,"%s '%s/index.html' &",f,e);
else
- sprintf(s, "sh -c 'netscape -remote
\"openURL(%s/index.html,new-window)\"; if test \"$?\" -ne 0
; then (netscape \"%s/index.html\" &) ; fi'",e,e);
+ sprintf(s, "sh -c 'mozilla -remote
\"openURL(%s/index.html,new-window)\"; if test \"$?\" -ne 0
; then (mozilla 'file:%s/index.html' &) ; fi'",e,e);
}
else
{
@@ -221,7 +221,7 @@
if (f)
sprintf(s,"%s '%s/index.html' &",f,FIGINTDIR);
else
- sprintf(s, "sh -c 'netscape -remote
\"openURL(%s/index.html,new-window)\"; if test \"$?\" -ne 0
; then (netscape \"%s/index.html\" &) ;
fi'",FIGINTDIR,FIGINTDIR);
+ sprintf(s, "sh -c 'mozilla -remote
\"openURL(%s/index.html,new-window)\"; if test \"$?\" -ne 0
; then (mozilla 'file:%s/index.html' &) ;
fi'",FIGINTDIR,FIGINTDIR);
};