The mailcap
module in Example 6-7 contains code that deals with mailcap files,
which contain information on how to handle different document
formats (on Unix platforms).
In Example 6-7, the system uses pilview
for
all kinds of images, and ghostscript
viewer for
PostScript documents. Example 6-8 shows how to find a viewer using mailcap
.
18.224.54.136