Jean-Marc Lasgouttes wrote:
> 
> > Since Mozilla has reached the 1.0.0 version, it'll be nice to
> > add mozilla to the checklist of HTML viewers in lib/configure.m4.
> >
> > Patch attached.
> 
> Did you actually check that it works? AFAIK, mozilla requires
> filenames of the form
> 
> mozilla file:///foo/bar.html

I see.
The following works for both, netscape and mozilla:

  ${Viewer} file:/full/path/document.html

If the Viewer is already running, the following would be better:

   ${Viewer} -remote "openurl(file:/full/path/document.html, new-window)" 



When netscape is not yet running, the call can omit "file:/full/path/".
However, when netscape is already running, the netscape-wrapper takes over
control to invoke new instances of netscape; and then the "file:/full/path/"
is needed again!

So even for netscape, it's better to avoid the short form
and always use the long one, as is required by mozilla.

Regards,
Rob.

Reply via email to