mime-support 2.0alpha-1 released -- please comment
This is the alpha version of the new mime-support package.
It is currently in private/project/Incoming and will eventually
move into the experimental directory.
This version allows other packages a way to cleanly install
themselves into the /etc/mailcap file. Here are some examples
I put together: (taken from "basic-mime" in the source archive)
# A really basic way to access text files
install-mime --install --package=mime-support --content=text/plain \
--description="Plain ASCII Text" --textualnewlines=t \
--view=more --compose="ae %s" --edit="ae %s" --needsterminal=t
# Viewing debian packages (under XWindows) will list their files in a window
install-mime --install --package=mime-support \
--content=application/x-debian-package \
--description="A Debian package" --nametemplate="*.deb" \
--test='test "$DISPLAY" != ""' \
--view='xterm -T "Debian Package" -e sh -c "dpkg-deb --contents %s | more"'
# Viewing debian packages will list their files to stdout (put _after_ above)
install-mime --install --package=mime-support \
--content=application/x-debian-package \
--view="dpkg-deb --contents %s" --needsterminal=t
If "install-mime" encounters multiple ways to view/compose/edit/etc the
same content-type, it will bring up a list and ask what priority the
method being install should have. This way, installing/upgrading packages
will not necessarily change what actions are taken.
A man-page is included, as well as the appropriate RFC.
Note: Netscape does not appear to honor the "needsterminal" flag.
-----BEGIN PGP SIGNED MESSAGE-----
Date: 03 May 96 17:15 UT
Format: 1.4
Distribution: Development
Priority: Low
Maintainer: Brian White <bcwhite@pobox.com>
Source: mime-support
Binary: mime-support
Architecture: i386 source
Version: 2.0alpha-1
Description:
mime-support: MIME files 'mime.types' and 'mailcap'
- 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 "install-mime" program.
Changes:
- Alpha-test version (first release)
- FEEDBACK REQUESTED!
Files:
d4187740e8a3369d75b918ab903f2a31 17352 experimental
mime-support-2.0alpha-1.tar.gz
f5b233789c86682d2451d8740f3c0b52 18619 experimental
mime-support-2.0alpha-1.deb
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2i
iQCVAwUBMYo/b7wRa6IPcXgFAQHm/gQAkKU8Jg72OPMrKuE0qYqydy7UEks8VOmv
5pObrtuzrzI0bVgq0gzQ65OjOu7iqqXNJatE7JCkWHfoLCYGIb0P5bD4AvHelhTX
rN7ExtdyPLDJP+Ywk3DD9B+aBlszjZ22YHOMf1b18QA/Zah1FzZFgBitIGitmj3M
vPm6McfS3vo=
=dfZg
-----END PGP SIGNATURE-----
Brian
( bcwhite@verisim.com )
-------------------------------------------------------------------------------
In theory, theory and practice are the same. In practice, they're not.
Reply to: