1
.\" Hey, Emacs! This is an -*- nroff -*- source file.
2
.\" run-mailcap and this manpage were written by Brian White and
3
.\" have been placed in the public domain (the only true "free").
5
.TH RUN-MAILCAP 1 "14th Mar 1998" "Debian Project" "Run Mailcap Programs"
7
run-mailcap, see, edit, compose, print \- execute programs via entries in the
12
\-\-action=<action> [\-\-debug=<value>]
13
[<mime-type>:[<encoding>:]]<filename> [...]
21
versions are just aliases that default to the view, edit, compose, and
22
print actions (respectively).
24
You can make this your default pager and/or editor by adding the
25
following to your shell startup:
27
shell file line(s) to add
28
~~~~~ ~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
29
sh ~/.profile PAGER=/usr/bin/see; export PAGER
30
EDITOR=/usr/bin/edit; export EDITOR
31
csh ~/.login setenv PAGER /usr/bin/see
32
setenv EDITOR /usr/bin/edit
37
(or any of its aliases) will use the given action to process each
38
mime-type/file in turn. Each file is is specified as its mime-type,
39
its encoding (eg. compression), and filename together, separated by
40
colons. If the mime-type is omitted, an attempt to determine the type
41
is made by trying to match the file's extension with those in the
43
files. If the encoding is omitted, it will also be determined from
44
the file's extensions. Currently supported encodings are
48
(.Z). A filename of "-" can be used to mean "standard input", but
53
Both the user's files (~/.mailcap; ~/.mime.types) and the system files
54
(/etc/mailcap; /etc/mime.types) are searched in turn for information.
56
All options are in the form --<opt>=<value>.
58
.BI \-\-action=<action>
59
Performs the specified action on the files. Valid actions are
66
If no action is specified, the action will be determined by how the
70
Turns on extra information to find out what is happening. Any value
71
other than zero (0) will turn on debugging output.
76
(and its aliases) was written by Brian White <bcwhite@pobox.com>.
79
(and its aliases) is in the public domain (the only true "free").