Jason Helfman <[EMAIL PROTECTED]> wrote:
>
> I am using redhat, what is the file that you can specify for mutt to
> use without sacrificing the integrity of netscape's mailcap....

It is unfortunate that Mutt and Netscape can't share a mailcap file. 
Your best bet is to maintain two different mailcap files.  I name mine
".mailcap.mutt", and set Mutt to use it like this:

    set mailcap_path=~/.mailcap.mutt

The main difference is that ~/.mailcap has entries in this format:

    video/*;                    xanim +Sr +B +Ae "%s" >/dev/null

    audio/x-pn-realaudio;       raplayer "%s"

    application/pdf;            acroread -tempFile "%s"
    application/postscript;     ghostview "%s"

while ~/.mailcap.mutt puts them in this format:

    text/html;  lynx -dump -force_html %s; copiousoutput

    image/*;    xv %s
    video/*;    xanim +Sr +B +Ae %s >/dev/null

    audio/x-pn-realaudio;       raplayer %s

    application/pdf;            acroread -tempFile %s
    application/postscript;     ghostview %s
    application/x-gzip;         gzcat %s; copiousoutput
    application/x-gunzip;       gzcat %s; copiousoutput
    application/octet-stream;   octet-view %s; copiousoutput

The main difference is that Netscape will not quote filenames correctly,
so you must use "%s" to keep from getting errors on files with spaces in
them.  Also notice that formats Netscape can handle internally are not
represented in the .mailcap file.

-- 
David DeSimone   | "The doctrine of human equality reposes on this:
[EMAIL PROTECTED]   |  that there is no man really clever who has not
Hewlett-Packard  |  found that he is stupid." -- Gilbert K. Chesterson
UX WTEC Engineer |    PGP: 5B 47 34 9F 3B 9A B0 0D  AB A6 15 F1 BB BE 8C 44

Reply via email to