Sophie

Sophie

distrib > Mageia > 7 > i586 > media > core-release > by-pkgid > dcb57bc1f616cf3a8072df2efbbf2767 > files > 76

elinks-0.12-18.mga7.i586.rpm

<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Parameters to Mailcap Entries</title><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="The ELinks Manual"><link rel="up" href="ch10.html" title="Chapter 10. Managing External Viewers with Mailcap"><link rel="prev" href="ch10.html" title="Chapter 10. Managing External Viewers with Mailcap"><link rel="next" href="ch10s03.html" title="Reading of Mailcap Files"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Parameters to Mailcap Entries</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch10.html">Prev</a> </td><th width="60%" align="center">Chapter 10. Managing External Viewers with Mailcap</th><td width="20%" align="right"> <a accesskey="n" href="ch10s03.html">Next</a></td></tr></table><hr></div><div class="section" title="Parameters to Mailcap Entries"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="idp6730496"></a>Parameters to Mailcap Entries</h2></div></div></div><p>The code has been ported from Mutt and thereby inherits some of its various
features and limitation.</p><p>The following parameters are supported:</p><div class="informaltable"><table border="1"><colgroup><col width="86pt" align="left"><col width="336pt" align="left"></colgroup><thead><tr><th align="left">
    Parameter
    </th><th align="left">
    Description
    </th></tr></thead><tbody><tr><td align="left">
    %s
    </td><td align="left">
    The filename that contains the data.
    </td></tr><tr><td align="left">
    %f
    </td><td align="left">
    The content type, like <span class="emphasis"><em>text/plain</em></span>.
    </td></tr></tbody></table></div><p>The following parameters are not supported, since they do not really make much
sense for a non-MUA program:</p><div class="informaltable"><table border="1"><colgroup><col width="86pt" align="left"><col width="336pt" align="left"></colgroup><thead><tr><th align="left">
    Parameter
    </th><th align="left">
    Description
    </th></tr></thead><tbody><tr><td align="left">
    %n
    </td><td align="left">
    The integer number of sub-parts in the multipart
    </td></tr><tr><td align="left">
    %F
    </td><td align="left">
    The "content-type filename" repeated for each sub-part
    </td></tr><tr><td align="left">
    %{ parameter}
    </td><td align="left">
    The "parameter" value from the content-type field
    </td></tr></tbody></table></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch10.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch10.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch10s03.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 10. Managing External Viewers with Mailcap </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Reading of Mailcap Files</td></tr></table></div></body></html>