freeride-devel
[Top][All Lists]
Advanced

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

RE: [FR-devel] question for linux types


From: Curt Hibbs
Subject: RE: [FR-devel] question for linux types
Date: Sat, 16 Nov 2002 15:43:30 -0800

Laurent Julliard wrote:
>
> Rich Kilmer wrote:
> > How do you open an HTML file in Linux? (specifically from FreeRIDE).
> >
> > In win32 I can do this:
> >
> > `start file.html`
> >
> > And it opens IE or whatever is registered to view HTML.
> >
> > -rich
>
>
> netscape -remote "openurl(file://the/path/to/help/file.html)"
> netscape -remote
> "openurl(file://the/path/to/help/file.html,new-window)"  -> this one
> opens a new window
>
>
> I put netscape here because I use mozilla myself but we should ideally
> have a config parameter somewhere pointing to the favorite browser of
> the user or where the user can type the command to run to browse a
> file (e.g 'start %s' or 'netscape -remote "openurl(%s)')
>
> Now, for the very first release of FR it's probably safe to hardcode
> the IE way and the netscape way.
>
> Laurent

We don't have to hardcode a browser on Windows because all you have to do is
run:

    start file.html

and Windows will automatically run whatever browser the user has registered
as handling html file extensions (it doesn't have to be IE).

Curt





reply via email to

[Prev in Thread] Current Thread [Next in Thread]