Chimera Mailcap Configuration

Chimera can be configured to use other programs to view data. For example, if chimera downloads a DVI file then it can start xdvi to display the file.

Note that chimera's handling of mailcap files is pretty pathetic. It only handles the first and second fields and ignores the rest.

The file that describes the viewer configuration is called the mailcap file. Each viewer is described by a line in the mail file. Blank lines or lines beginning with '#' are ignored.

Each protocol entry is made up of the following semicolon delimited fields:

content-type; command

Content-Type

The content-type indicates that type of document that the command can display.

Command

The command is the command to use to display document.

Example Mailcap file

application/x-telnet; xterm -e dotelnet %s application/x-tn3270; xterm -e do3270 %s # text/x-dvi; xdvi %s 2> /dev/null # application/postscript; ghostview %s 2> /dev/null application/x-dvi; xdvi %s 2> /dev/null # image/x-fits; saoimage -fits %s 2> /dev/null image/x-xwindowdump; xwud -in %s 2> /dev/null image/x-xbitmap; xwud -in %s 2> /dev/null image/*; xv %s 2> /dev/null # video/mpeg; mpeg_play %s 1>&2 2> /dev/null # audio/basic; playaudio %s 2> /dev/null
Chimera Home Page
john@cs.unlv.edu