How To View LC Models And Plot Files

You can, of course, view the models and plot files outside of your web browser with the lc and lcplot commands. It's also possible to configure your browser to execute these commands when a web link is activated.

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

DescriptionLC Model
Typeapplication/x-lc
Suffixlcx
Applicationlc -q %s
Save the result,
and then add
DescriptionLC Plot
Typeapplication/x-lcplot
Suffixxy
Applicationlcplot %s

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:

Then add the following lines to the file .mailcap in your home directory:

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.


Last modified Thu Mar 05 14:23:41 CST 1998