Copyright (C) 2000-2012 |
Manpages RUN-MAILCAPSection: Run Mailcap Programs (1)Updated: 14th Mar 1998 Index Return to Main Contents NAMErun-mailcap, see, edit, compose, print - execute programs via entries in the mailcap fileSYNOPSISrun-mailcap --action=<action> [--debug=<value>] [<mime-type>:[<encoding>:]]<filename> [...]The see, edit, compose and print versions are just aliases that default to the view, edit, compose, and print actions (respectively). You can make this your default pager and/or editor by adding the following to your shell startup:
DESCRIPTIONrun-mailcap (or any of its aliases) will use the given action to process each mime-type/file in turn. Each file is is specified as its mime-type, its encoding (eg. compression), and filename together, separated by colons. If the mime-type is omitted, an attempt to determine the type is made by trying to match the file's extension with those in the mime.types files. If the encoding is omitted, it will also be determined from the file's extensions. Currently supported encodings are gzip (.gz) and compress (.Z). A filename of "-" can be used to mean "standard input", but then a mime-type must be specied. Both the user's files (~/.mailcap; ~/.mime.types) and the system files (/etc/mailcap; /etc/mime.types) are searched in turn for information. OPTIONSAll options are in the form --<opt>=<value>.
SEE ALSOupdate-mime(8)AUTHORrun-mailcap (and its aliases) was written by Brian White <bcwhite@pobox.com>.COPYRIGHTrun-mailcap (and its aliases) is in the public domain (the only true "free").
IndexThis document was created by man2html, using the manual pages. Time: 19:26:54 GMT, March 28, 2024 |