This procedure will usually only work when access the files with a file:/-style URL. If a http://-style URL is used, then the HTTP server must also be configured to understand the LC MIME types.
To set this up, you must configure the MIME (Multipurpose Internet Mail Extention) types for LC. In Netscape 3, use
Options -> General Preferences... -> Helpers -> New...
from the main menubar, then enter
|
Save the result, and then add |
|
Alternatively, you can add these entries to the appropriate configuration files manually. This method works with browsers which do not have an interface for specifying MIME types.
Add the following lines to the file .mime.types in your home directory:
application/x-lcx lcx application/lcplot xyThen add the following lines to the file .mailcap in your home directory:
application/x-lcx;lc -q %s application/lcplot;lcplot %s
If you have lcdemo, the demonstration version of LC instead of the full version, then specify lcdemo instead of lc above.
Once configured, selecting a LC model or plot file from a web page should bring up the LC or LCPlot programs with the selected file.