Penguin
Annotated edit history of compose(1) version 4, including all changes. View license author blame.
Rev Author # Line
1 perry 1 RUN-MAILCAP
2 !!!RUN-MAILCAP
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 SEE ALSO
7 AUTHOR
8 COPYRIGHT
9 ----
10 !!NAME
11
12
13 run-mailcap, see, edit, compose, print - execute programs via entries in the ''mailcap'' file
14 !!SYNOPSIS
15
16
17 __run-mailcap__ --action=
18 __
19
20
21 The __see__, __edit__, __compose__ and __print__
22 versions are just aliases that default to the view, edit,
23 compose, and print actions (respectively).
24
25
26 You can make this your default pager and/or editor by adding
27 the following to your shell startup:
28
29
30 shell file line(s) to add ~~~~~ ~~~~~~~~~~
31 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sh ~/.profile
32 PAGER=/usr/bin/see; export PAGER EDITOR=/usr/bin/edit;
33 export EDITOR csh ~/.login setenv PAGER /usr/bin/see setenv
34 EDITOR /usr/bin/edit
35 !!DESCRIPTION
36
37
38 __run-mailcap__ (or any of its aliases) will use the
39 given action to process each mime-type/file in turn. Each
40 file is is specified as its mime-type, its encoding (eg.
41 compression), and filename together, separated by colons. If
42 the mime-type is omitted, an attempt to determine the type
43 is made by trying to match the file's extension with those
44 in the ''mime.types'' files. If the encoding is omitted,
45 it will also be determined from the file's extensions.
46 Currently supported encodings are __gzip__ (.gz) and
47 __compress__ (.Z). A filename of
48 __must__ be specied.
49
50
51 Both the user's files (~/.mailcap; ~/.mime.types) and the
52 system files (/etc/mailcap; /etc/mime.types) are searched in
53 turn for information.
54
55
56 __OPTIONS__
57
58
59 All options are in the form
60 --
61
62
63 __--action=__
64
65
66 Performs the specified action on the files. Valid actions
67 are ''view'', ''compose'', ''composetyped'',
68 ''edit'' and ''print''. If no action is specified, the
69 action will be determined by how the program was
70 called.
71
72
73 __--debug=__
74
75
76 Turns on extra information to find out what is happening.
77 Any value other than zero (0) will turn on debugging
78 output.
79 !!SEE ALSO
80
81
4 perry 82 update-mime(8)
1 perry 83 !!AUTHOR
84
85
86 __run-mailcap__ (and its aliases) was written by Brian
87 White __
88 !!COPYRIGHT
89
90
91 __run-mailcap__ (and its aliases) is in the public domain
92 (the only true __
93 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.