.TH XFMMAILCAP 1 "20 April, 2006" "xfm" XFM .SH NAME xfmmailcap \- show mailcap information as parsed by xfm .SH SYNOPSIS .B xfmmailcap \-\-help .B xfmmailcap \fImime-type\fP \fR[(\fPdefault\fR|\fBall\fR|\fPedit\fR|\fPview\fR) [\fP\fIfilename\fP\fR]]\fP .SH DESCRIPTION xfmmailcap parses the \fBxfm\fP(1)'s mailcap file (see \fBxfm_mailcap\fP(5) for its format) and prints information about what command xfm would use when told to open a file of the given \fImime-type\fP. If there is no second argument, the default it \fBdefault\fP. If there is a third argument, xfmmailcap will insert this filename into the action. (This is not yet implemented) .SH ACTIONS .SS all Show all information collected about this mime-type. .SS default Show the action \fBxfm\fP(1) would start when confronted with this action, together with all debug output xfm would show when the \fBechoMimeSearch\fP resource represents True. It first tries everything the \fBedit\fP action would show and if nothing is found there, then it tries the \fBview\fP action. .SS edit Find the best (in the sense of highest priority) command to edit this mime type. .SS view Find the best (in the sense of highest priority) command to view this mime type. (There is yet no way to trigger that from within xfm). .SH CAVEAT xfmmailcap has the paths \fI$HOME\fP\fB/.xfm/xfm_mailcap\fP and .B /etc/X11/xfm/xfm_mailcap built in statically. This differs from \fBxfm\fP(1), where all of these can be changed by means of X resources. .SH FILES .TP .B \fI$HOME\fP/.xfm/xfm_mailcap If this file exists, it is read and its content used as mailcap database. See \fBxfm_mailcap\fP(5) for its format. .TP .B /etc/X11/xfm/xfm_mailcap If the previous file is not found, this one is used instead. Same format. .SH "SEE ALSO" .BR xfm (1), .BR xfm_mailcap (5). .SH COPYRIGHT Copyright \(co 2006 Bernhard R. Link .br This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.