|
CLAS-Notes Help
|
||||||
|
How to view gzipped PostScript files with Netscape In order to view gzipped PostScript files with Netscape, you need to tell it how to deal with them. Netscape uses external viewers for this purpose, but it doesn't know a priori how to use them, or when. Unix systems use two files for this purpose: .mime.types and .mailcap. .mime.types tells Netscape what type of file it's dealing with, based on the file extension (for example, "ps" for a PostScript file). Netscape already has all the types we need for this, so you don't need to create this file. Here are the types for the files in this archive:
.mailcap is another matter. Although Netscape may know that a file ending with .gz is a gzipped file, it still needs to know what to do with it. Here's an excerpt from my .mailcap: encoding/x-gzip; /usr/site2/gnu/bin/gunzip %s application/postscript; ghostview %sNote the two lines starting with "encoding/x-gzip" and "application/postscript". The next item in those lines is the application to be used to deal with such files. The "%s" is replaced by the file you're downloading.
|