Commit fac53e72 authored by Brian White's avatar Brian White

git-debimport mime-support_3.5-1.tar.gz

parent 07e6e1e8
File added
File added
mime-support (3.5-1) frozen unstable; urgency=low
* fix ordering problem
-- Brian White <bcwhite@pobox.com> Mon, 30 Nov 1998 12:35:40 -0500
mime-support (3.4-1) frozen unstable; urgency=low
* automatically fix mailcap lines to put '' around %s (#28604)
* temporarily disabled "install-mime is obsolete" warning
-- Brian White <bcwhite@pobox.com> Thu, 12 Nov 1998 09:45:04 -0500
mime-support (3.3-1) unstable; urgency=low
* added conflict for older a2ps with /usr/bin/compose (#25875 and friends)
-- Brian White <bcwhite@pobox.com> Tue, 13 Oct 1998 13:23:16 -0400
mime-support (3.2-1) unstable; urgency=low
* added filename pattern matching if ext match fails (#26810)
* added new mime-type: text/x-crontab (#26810)
* fixed wildcard matching (broke in 3.1)
-- Brian White <bcwhite@pobox.com> Fri, 18 Sep 1998 11:08:51 -0400
mime-support (3.1-1) unstable; urgency=low
* added new mime types
* fixed typo in update-mime man page (prerm -> postrm) (#26561)
* removed x-gzip and x-compress types (they are encodings)
* added gzip and compress encoding support to run-mailcap
* added "copiousoutput" support to run-mailcap
-- Brian White <bcwhite@pobox.com> Mon, 14 Sep 1998 17:32:40 -0400
mime-support (3.0-1) unstable; urgency=low
* complete redesign (#25516, #22377, #7860)
* added new mime types (#24151, #25036)
* moved run-mailcap man page (#25130)
-- Brian White <bcwhite@pobox.com> Sun, 16 Aug 1998 19:06:55 -0400
mime-support (2.17-1) frozen unstable; urgency=low
* added new mime.types for .bz2, .hqx, & .sit
......
/etc/mime.types
/etc/mailcap
/etc/mailcap.order
/var/lib/mime/mime-db
......@@ -2,17 +2,20 @@ Source: mime-support
Section: net
Priority: standard
Maintainer: Brian White <bcwhite@pobox.com>
Standards-Version: 2.1.1.0
Standards-Version: 2.4.1.0
Package: mime-support
Architecture: all
Depends: perl | perl-base
Conflicts: a2ps(<<4.10.4)
Description: MIME files 'mime.types' & 'mailcap', and support programs
As these files can be used by all MIME compliant programs, they
have been moved into their own package that others can depend upon.
.
Other packages add themselves as viewers/editors/composers/etc by
using the provided "install-mime" program.
using the provided "update-mime" program.
.
In addition, the command "show" will display any file based on
the entries in the mime.types and mailcap files.
In addition, the commands "see", "edit", "compose", and "print"
will display, alter, create, and print (respectively) any file using
a program determined from the entries in the mime.types and mailcap
files.
#! /bin/sh -e
###############################################################################
#
# Postinst for mime-support to add useful MIME utility programs
#
###############################################################################
# Support installation of debian packages
install-mime --install --package=mime-support --content=application/x-debian-package \
--description="Debian GNU/Linux Package" --nametemplate="%s.deb" \
--view="/usr/lib/mime/debian-view %s" --needsterminal=t \
--comment="This entry should probably appear after any entries with test conditions."
# Support basic audio files
install-mime --install --package=mime-support --content=audio/basic \
--description="Basic uLaw Audio" --nametemplate="%s.au" \
--view="/usr/lib/mime/playaudio %s"
# Remove old mime stuff
install-mime --remove --package=mime-support --noparmcheck
# Remove test-hack directory
......
#! /bin/sh
###############################################################################
#
# Prerm for mime-support to remove MIME utility programs
#
###############################################################################
# Ignore any errors on this remove. Otherwise, trying to reinstall because
# of a bad /etc/mailcap file will fail.
install-mime --remove --package=mime-support
#! /usr/bin/make -f
#
# Debian rules for building Mime-Support 2.0
# Debian rules for building Mime-Support
#
......@@ -24,38 +24,47 @@ binary-indep:
test -f debian/rules
test root = "`whoami`"
-rm -rf debian/tmp
mkdir -p debian/tmp/DEBIAN debian/tmp/etc debian/tmp/var/lib/mime debian/tmp/usr/lib/mime
mkdir -p debian/tmp/DEBIAN debian/tmp/etc debian/tmp/var/lib/mime debian/tmp/usr/lib/mime/packages
mkdir -p debian/tmp/usr/doc/$(package) debian/tmp/usr/sbin debian/tmp/usr/bin
mkdir -p debian/tmp/usr/man/man1 debian/tmp/usr/man/man8
# mkdir -p debian/tmp/var/lib/mime/tests
mkdir -p debian/tmp/usr/man/man1 debian/tmp/usr/man/man5 debian/tmp/usr/man/man8
chmod -R 755 debian/tmp
install -m 644 mime.types debian/tmp/etc/
install -m 644 mailcap debian/tmp/etc/
install -m 644 debian/changelog debian/tmp/usr/doc/$(package)/changelog.Debian
install -m 755 install-mime debian/tmp/usr/sbin/
install -m 644 install-mime.8 debian/tmp/usr/man/man8/
install -m 755 run-mailcap debian/tmp/usr/bin/
install -m 644 run-mailcap.man debian/tmp/usr/man/man8/run-mailcap.8
# install -m 644 rfc1521.txt debian/tmp/usr/doc/$(package)/
# install -m 644 rfc1522.txt debian/tmp/usr/doc/$(package)/
# install -m 644 rfc1524.txt debian/tmp/usr/doc/$(package)/
install -m 644 basic-mime debian/tmp/usr/doc/$(package)/mime-install.HOWTO
install -m 644 mime-db debian/tmp/var/lib/mime/
install -m 755 debian-view debian/tmp/usr/lib/mime/
install -m 755 playaudio debian/tmp/usr/lib/mime/
install -m 755 playdsp debian/tmp/usr/lib/mime/
install -m 755 debian/postinst debian/tmp/DEBIAN/postinst
install -m 755 debian/prerm debian/tmp/DEBIAN/prerm
install -m 755 debian/postrm debian/tmp/DEBIAN/postrm
install -m 755 debian/conffiles debian/tmp/DEBIAN/conffiles
install -m 644 mime.types debian/tmp/etc/
install -m 644 mailcap debian/tmp/etc/
install -m 644 mailcap.order debian/tmp/etc/
install -m 644 mailcap.order.man debian/tmp/usr/man/man5/mailcap.order.5
install -m 755 install-mime debian/tmp/usr/sbin/
install -m 644 install-mime.man debian/tmp/usr/man/man8/install-mime.8
install -m 755 update-mime debian/tmp/usr/sbin/
install -m 644 update-mime.man debian/tmp/usr/man/man8/update-mime.8
install -m 755 run-mailcap debian/tmp/usr/bin/
install -m 644 run-mailcap.man debian/tmp/usr/man/man1/run-mailcap.1
# install -m 644 rfcs/rfc1521.txt debian/tmp/usr/doc/$(package)/
# install -m 644 rfcs/rfc1522.txt debian/tmp/usr/doc/$(package)/
install -m 644 rfcs/rfc1524.txt debian/tmp/usr/doc/$(package)/
install -m 644 debian/changelog debian/tmp/usr/doc/$(package)/changelog.Debian
install -m 644 debian/README debian/tmp/usr/doc/$(package)/copyright
install -m 644 mime-db debian/tmp/var/lib/mime/
install -m 755 debian-view debian/tmp/usr/lib/mime/
install -m 755 playaudio debian/tmp/usr/lib/mime/
install -m 755 playdsp debian/tmp/usr/lib/mime/
install -m 644 mailcap.entries debian/tmp/usr/lib/mime/packages/mime-support
install -m 755 debian/postinst debian/tmp/DEBIAN/postinst
install -m 755 debian/conffiles debian/tmp/DEBIAN/conffiles
cd debian/tmp/usr/man; gzip -9fv */*
cd debian/tmp/usr/doc/$(package); gzip -9v *
cd debian/tmp/usr/bin; ln -s run-mailcap see
cd debian/tmp/usr/man/man1; ln -s ../man8/run-mailcap.8.gz see.1.gz
install -m 644 debian/README debian/tmp/usr/doc/$(package)/copyright
cd debian/tmp/usr/bin; ln -s run-mailcap edit
cd debian/tmp/usr/bin; ln -s run-mailcap compose
cd debian/tmp/usr/bin; ln -s run-mailcap print
cd debian/tmp/usr/man/man1; ln -s run-mailcap.1.gz see.1.gz
cd debian/tmp/usr/man/man1; ln -s run-mailcap.1.gz edit.1.gz
cd debian/tmp/usr/man/man1; ln -s run-mailcap.1.gz compose.1.gz
cd debian/tmp/usr/man/man1; ln -s run-mailcap.1.gz print.1.gz
# cd debian/tmp/usr/doc/$(package); ln -s rfc1521.txt.gz mime-1.txt.gz
# cd debian/tmp/usr/doc/$(package); ln -s rfc1522.txt.gz mime-2.txt.gz
# cd debian/tmp/usr/doc/$(package); ln -s rfc1524.txt.gz mailcap.txt.gz
cd debian/tmp/usr/doc/$(package); ln -s rfc1524.txt.gz mailcap.txt.gz
cd debian/tmp/usr/lib/mime/packages; ln -s /var/lib/mime/mime-support-compat mime-support-compat
touch debian/tmp/var/lib/mime/mime-support-compat;
dpkg-gencontrol -is -ip
chown -R root.root debian/tmp
chmod -R go=rX debian/tmp
......
......@@ -49,6 +49,7 @@
$debug=0;
$mimedb="/var/lib/mime/mime-db";
$mailcap="/etc/mailcap";
$compat="/var/lib/mime/mime-support-compat";
$action{view} = "view";
$action{compose} = "compose";
$action{composetyped} = "compose";
......@@ -336,6 +337,7 @@ sub GenMailcap {
foreach $action ("view","compose","edit","print") {
print " * * Printing action '$action'...\n" if $debug;
my $order = $O{"$content,$action"};
my $prior = 5;
foreach (split(/\t/,$order)) {
my($pkg,$idx) = m/(.*?)\((\d+)\)/;
my @values = split(/\n/,$P{$pkg});
......@@ -346,10 +348,12 @@ sub GenMailcap {
print " * Printing package '$_'... ($value)\n" if $debug;
if ($value =~ /^view=/) {
$value =~ s|view=||;
print $path "$content; $value$flags\n";
print $path "$content; $value$flags; priority=$prior\n";
} else {
print $path "$content; echo \"No viewer for type '$content'\"; $value$flags\n";
print $path "$content; echo \"No viewer for type '$content'\"; $value$flags; priority=$prior\n";
}
$prior--;
$prior = 0 if ($prior < 0);
}
}
}
......@@ -502,11 +506,11 @@ $A{noparmcheck} = -1;
#
# Look for parameter parsing flags (i.e. "--noparmcheck")
#
$strictparms = 1;
$strictparms = 0;
foreach (@ARGV) {
/^--noparmcheck$/ and $strictparms = 0;
}
print "($0: parameter checking disabled)\n" unless $strictparms;
#print "($0: parameter checking disabled)\n" unless $strictparms;
#
......@@ -533,6 +537,11 @@ foreach (@ARGV) {
}
#
# Don't use this program any more
#
print STDERR "Warning: 'install-mime' is obsolete -- use 'update-mime' instead (see man page)\n" if $strictparms;
#
# Remove any undefined parameters and do simple sanity check
......@@ -596,44 +605,11 @@ exit 0 unless $changed; # stop here if no changes were made
#
# Generate new mailcap file if necessary
#
$state = 0;
undef @above;
undef @user;
undef @below;
open(PATH,"<$mailcap") || die "$0: could not read '$mailcap' -- $!\n";
while (<PATH>) {
if ($state == 0) {
push @above,$_;
}
$state=2 if ($state == 1 && /^\# ----- .* Ends /);
if ($state == 1) {
push @user,$_;
}
$state=1 if ($state == 0 && /^\# ----- .* Begins /);
if ($state == 2) {
push @below,$_;
}
$state=3 if ($state == 2);
}
open(PATH,">$compat") || die "$0: could not write '$compat' -- $!\n";
GenMailcap(PATH);
close PATH;
if ($state == 3) {
open(PATH,">$mailcap") || die "$0: could not write '$mailcap' -- $!\n";
print PATH @above;
print PATH @user;
print PATH @below;
print PATH "\n###############################################################################\n\n";
GenMailcap(PATH);
close PATH;
} else {
print STDERR "Error: '$mailcap' is not in required format -- not updated\n";
print STDERR " Restore from backup or delete and reinstall mime-support package";
}
#
# Write data back to the database
#
......@@ -662,3 +638,9 @@ while (@list) {
}
close PATH;
#
# Run new 'update-mime' program
#
exec "/usr/sbin/update-mime";
......@@ -2,9 +2,11 @@
.\" Install-mime and this manpage were written by Brian White and
.\" have been placed in the public domain.
.\"
.TH INSTALL-MIME 8 "2nd May 1996" "Debian Project" "Install MIME Programs"
.TH INSTALL-MIME 8 "16th Aug 1998" "Debian Project" "Install MIME Programs"
.SH NAME
install\-mime \- create or update MIME information
install\-mime
.B [obsolete]
\- create or update MIME information
.SH SYNOPSIS
.B install\-mime
[\-\-install] [\-\-remove] [\-\-list]
......@@ -23,6 +25,13 @@ makes, updates or removes entries from the
.B /etc/mailcap
file.
.B install-mime
is
.B obsolete!
Pluse use
.B update-mime
insead.
.SS OPTIONS
All options are in the form --<opt>[=<value>]. Values can be a
'pkg-name' (any valid package name -- sans version numbers -- as
......@@ -242,4 +251,4 @@ RFC-1524 (/usr/doc/mime-support/rfc1524.txt)
was written by Brian White <bcwhite@pobox.com>
.SH COPYRIGHT
.B install\-mime
is in the public domain.
is in the public domain (the only true "free").
......@@ -2,8 +2,8 @@
#
# MIME types and programs that process those types
#
# Much of this file is generated automatically by the program "install-mime".
# Please see the "install-mime" man page for more information.
# Much of this file is generated automatically by the program "update-mime".
# Please see the "update-mime" man page for more information.
#
###############################################################################
......@@ -11,7 +11,7 @@
###############################################################################
#
# User section follows: Any entries included in this section will take
# precedence over those created by "install-mime". DO NOT CHANGE the
# precedence over those created by "update-mime". DO NOT CHANGE the
# "User Section Begins" and "User Section Ends" lines, or anything outside
# of this section!
#
......
application/x-debian-package; /usr/lib/mime/debian-view %s; needsterminal; description=Debian GNU/Linux Package; nametemplate=%s.deb
audio/basic; /usr/lib/mime/playaudio %s; description=Basic uLaw Audio; nametemplate=%s.au
#! /bin/sh -e
###############################################################################
#
# Postrm for mime-support to remove MIME utility programs
# Mailcap.order: This file allows a system-wide override of MIME program
# preferences. See the mailcap.order(5) man page for more information.
#
###############################################################################
# After modifying this file, be sure to run /usr/sbin/update-mime (as root)
# to propagate the changes into the /etc/mailcap file.
#
################################################################################
if [ "$1" = "purge" ]; then
rm -f /var/lib/mime/tests/*
fi
.\" Hey, Emacs! This is an -*- nroff -*- source file.
.\" Update-mime and this manpage were written by Brian White and
.\" have been placed in the public domain (the only true "free").
.\"
.TH MAILCAP.ORDER 8 "16th Aug 1998" "Debian Project" "Order Mailcap Entries"
.SH NAME
/etc/mailcap.order \- the mailcap ordering specifications
.SH DESCRIPTION
The order of entries in the
.I /etc/mailcap
file can be altered by editing the
.I /etc/mailcap.order
file. Each line of that file specifies a package and an optional mime
type. Mailcap entries that match will be placed in the order of this
file. Entries that don't match will be placed later.
.SS Example
mime-support:*/*
gv:application/postscript
netscape:text/html
less:text/*
emacs:text/*
The above would make any entries provided by the
.B mime-support
package
(as found in the
.I /usr/lib/mime/packages
directory) take priority over everything else. The
.B gv
package will be used over anything else when it comes to postscript
documents.
.B Netscape
will be used for any html documents and
.B less
will
be used for any remaining text documents. However, since neither
netscape or less provide for editing documents, any edit or compose
actions will fall through to the
.B emacs
rules.
After modifying this file, be sure to run
.I /usr/sbin/update-mime
(as root)
to propagate the changes into the
.I /etc/mailcap
file.
.SH LIMITATIONS
There is currently no way to break out a certain type from a wildcard
rule. If, for example, both xv and gimp were to specify "image/*"
rules, it isn't possible to use xv for
.I gif
images but use gimp for
.I jpeg
images.
Also, I would like to add the ability to specify certain actions in the
rules. For example, if netscape were to have an
.I edit
rule but I wanted to use emacs for editing/creating html documents, I
could place a line like
emacs:text/* action=edit|compose
before the netscape entry. The
.B update-mime
program would then spit out entries such that netscape
.I view
rule comes
.B before
the emacs
.I view
rule but have the netscape
.I edit
rule comes
.B after
the emacs
.I edit
rule.
.SH AUTHOR
The
.B mailcap.order
specification was written by Brian White <bcwhite@pobox.com>
......@@ -13,101 +13,103 @@ application/activemessage
application/andrew-inset
application/applefile
application/atomicmail
application/cu-seeme csm cu
application/cu-seeme csm cu
application/dca-rft
application/dec-dx
application/dsptype tsp
application/excel xls
application/dsptype tsp
application/excel xls
application/futuresplash spl
application/ghostview
application/mac-binhex40 hqx
application/mac-binhex40 hqx
application/macwriteii
application/msword doc dot
application/msword doc dot
application/news-message-id
application/news-transmission
application/octet-stream bin
application/octet-stream
application/oda oda
application/pdf pdf
application/pgp-signature pgp
application/postscript ps ai eps
application/powerpoint ppt
application/octet-stream bin
application/oda oda
application/pdf pdf
application/pgp-signature pgp
application/postscript ps ai eps
application/powerpoint ppt
application/remote-printing
application/rtf rtf
application/rtf rtf
application/slate
application/wita
application/wordperfect5.1 wp5
application/x-123 wk
application/x-Wingz wz
application/x-bcpio bcpio
application/x-bzip2 bz2
application/x-compress z Z
application/wordperfect5.1 wp5
application/zip zip
application/x-123 wk
application/x-Wingz wz
application/x-bcpio bcpio
application/x-core
application/x-cpio cpio
application/x-csh csh
application/x-debian-package deb
application/x-dvi dvi
application/x-cpio cpio
application/x-csh
application/x-debian-package deb
application/x-director dcr dir dxr
application/x-dvi dvi
application/x-executable
application/x-font pfa pfb gsf pcf.Z
application/x-gtar gtar tgz
application/x-gzip gz
application/x-hdf hdf
application/x-httpd-php phtml pht php
application/x-httpd-php3 php3
application/x-httpd-php3-source phps
application/x-httpd-php3-preprocessed php3p
application/x-java class
application/x-font pfa pfb gsf pcf pcf.Z
application/x-gtar gtar tgz
application/x-hdf hdf
application/x-httpd-php phtml pht php
application/x-httpd-php3 php3
application/x-httpd-php3-source phps
application/x-httpd-php3-preprocessed php3p
application/x-java class
application/x-kdelnk
application/x-latex latex
application/x-maker frm maker frame fm fb book fbdoc
application/x-mif mif
application/x-msdos-program com exe bat
application/x-netcdf nc cdf
application/x-object o
application/x-perl pl pm
application/x-latex latex
application/x-maker frm maker frame fm fb book fbdoc
application/x-mif mif
application/x-msdos-program com exe bat
application/x-netcdf nc cdf
application/x-ns-proxy-autoconfig pac
application/x-object o
application/x-perl pl pm
application/x-rx
application/x-sh sh
application/x-shar shar
application/x-sh
application/x-shar shar
application/x-shellscript
application/x-stuffit sit
application/x-sv4cpio sv4cpio
application/x-sv4crc sv4crc
application/x-tar tar
application/x-tar tar
application/x-tcl tcl
application/x-tex tex
application/x-tex-gf *gf
application/x-tex-pk pk PK
application/x-texinfo texinfo texi
application/x-trash ~ % bak old sik
application/x-troff t tr roff
application/x-troff-man man
application/x-troff-me me
application/x-troff-ms ms
application/x-ustar ustar
application/x-wais-source src
application/zip zip
application/x-shockwave-flash swf swfl
application/x-stuffit sit
application/x-sv4cpio sv4cpio
application/x-sv4crc sv4crc
application/x-tar tar
application/x-tcl
application/x-tex
application/x-tex-gf gf
application/x-tex-pk pk PK
application/x-texinfo texinfo texi
application/x-trash ~ % bak old sik
application/x-troff t tr roff
application/x-troff-man man
application/x-troff-me me
application/x-troff-ms ms
application/x-ustar ustar
application/x-wais-source src
audio/basic au snd
audio/midi mid midi
audio/x-aiff aif aiff aifc
audio/x-pn-realaudio ra rm ram
audio/x-wav wav
audio/basic au snd
audio/midi mid midi
audio/mpeg mpga mpega mp2 mp3
audio/mpegurl m3u
audio/x-aiff aif aiff aifc
audio/x-pn-realaudio ra rm ram
audio/x-pn-realaudio-plugin rpm
audio/x-wav wav
image/gif gif
image/ief ief
image/jpeg jpeg jpg jpe
image/png png
image/tiff tiff tif
image/x-cmu-raster ras
image/x-ms-bmp bmp BMP
image/x-portable-anymap pnm
image/x-portable-bitmap pbm
image/x-portable-graymap pgm
image/x-portable-pixmap ppm
image/x-rgb rgb
image/x-xbitmap xbm
image/x-xpixmap xpm
image/x-xwindowdump xwd
image/gif gif
image/ief ief
image/jpeg jpeg jpg jpe
image/png png
image/tiff tiff tif
image/x-cmu-raster ras
image/x-ms-bmp bmp
image/x-portable-anymap pnm
image/x-portable-bitmap pbm
image/x-portable-graymap pgm
image/x-portable-pixmap ppm
image/x-rgb rgb
image/x-xbitmap xbm
image/x-xpixmap xpm
image/x-xwindowdump xwd
inode/chardevice
inode/blockdevice
......@@ -127,32 +129,36 @@ multipart/digest
multipart/mixed
multipart/parallel
text/comma-separated-values csv
text/comma-separated-values csv
text/english
text/html html htm
text/plain txt
text/richtext rtx
text/tab-separated-values tsv
text/x-c++hdr hpp hxx hh
text/x-c++src cpp cxx cc
text/x-chdr h
text/x-csrc c
text/x-java java
text/html html htm
text/plain txt
text/richtext rtx
text/tab-separated-values tsv
text/x-c++hdr h++ hpp hxx hh
text/x-c++src c++ cpp cxx cc
text/x-chdr h
text/x-crontab
text/x-csh csh
text/x-csrc c
text/x-java java
text/x-makefile
text/x-moc moc
text/x-pascal p pas
text/x-setext etx
text/x-tcl tcl tk
text/x-tex tex ltx sty cls
text/x-vCalendar vcs
text/x-vCard vcf
text/x-moc moc
text/x-pascal p pas
text/x-setext etx
text/x-sh sh
text/x-tcl tcl tk
text/x-tex tex ltx sty cls
text/x-vCalendar vcs
text/x-vCard vcf
video/dl dl
video/fli fli
video/gl gl
video/mpeg mpeg mpg mpe
video/quicktime qt mov
video/x-msvideo avi
video/x-sgi-movie movie
video/dl dl
video/fli fli
video/gl gl
video/mpeg mpeg mpg mpe
video/quicktime qt mov
video/x-ms-asf asf asx
video/x-msvideo avi
video/x-sgi-movie movie
x-world/x-vrml vrm vrml wrl
x-world/x-vrml vrm vrml wrl
This diff is collapsed.
.\" Hey, Emacs! This is an -*- nroff -*- source file.
.\" run-mailcap, see and this manpage were written by Brian White and
.\" have been placed in the public domain.
.\" run-mailcap and this manpage were written by Brian White and
.\" have been placed in the public domain (the only true "free").
.\"
.TH RUN-MAILCAP 1 "14th Mar 1998" "Debian Project" "Run Mailcap Programs"
.SH NAME
run-mailcap, see \- execute programs via entries in the
run-mailcap, see, edit, compose, print \- execute programs via entries in the
.I mailcap
file
.SH SYNOPSIS
.B see
\-\-action=<action> [\-\-debug=<value>]
[<mime-type>:]<filename> [...]
.B run-mailcap
\-\-action=<action> [\-\-debug=<value>]
[<mime-type>:]<filename> [...]
[<mime-type>:[<encoding>:]]<filename> [...]
The
.B see
,
.B edit
,
.B compose
, and
.B 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:
shell file line(s) to add
~~~~~ ~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sh ~/.profile PAGER=/usr/bin/see; export PAGER