</sect1>
-<sect1 id="nntp">
- <title>NNTP Patch</title>
- <subtitle>Talk to a Usenet news server</subtitle>
-
- <sect2 id="nntp-patch">
- <title>Patch</title>
-
- <para>
- To check if Mutt supports <quote>NNTP</quote>, look for
- <quote>+USE_NNTP</quote> in the mutt version.
- See: <xref linkend="compile-time-features"/>.
- </para>
-
- <itemizedlist>
- <title>Dependencies:</title>
- <listitem><para>mutt-1.5.24</para></listitem>
- </itemizedlist>
-
- <para>This patch is part of the <ulink url="https://github.com/neomutt/neomutt/wiki">NeoMutt Project</ulink>.</para>
- </sect2>
-
- <sect2 id="nntp-intro">
- <title>Introduction</title>
-
- <para>Reading news via NNTP</para>
- <para>
- If compiled with <emphasis>--enable-nntp</emphasis> option, Mutt can
- read news from news server via NNTP. You can open a newsgroup with
- function ``change-newsgroup'' (default: ``i''). Default news server
- can be obtained from <literal>$NNTPSERVER</literal> environment
- variable or from <literal>/etc/nntpserver</literal> file. Like other
- news readers, info about subscribed newsgroups is saved in file by
- <link linkend="newsrc">$newsrc</link> variable. The variable <link
- linkend="news-cache-dir">$news_cache_dir</link> can be used to point
- to a directory. Mutt will create a hierarchy of subdirectories named
- like the account and newsgroup the cache is for. Also the hierarchy
- is used to store header cache if Mutt was compiled with <link
- linkend="header-caching">header cache</link> support.
- </para>
- </sect2>
-
- <sect2 id="nntp-variables">
- <title>Variables</title>
-
- <table id="table-nntp-variables">
- <title>NNTP Variables</title>
- <tgroup cols="3">
- <thead>
- <row>
- <entry>Name</entry>
- <entry>Type</entry>
- <entry>Default</entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry><literal>ask_follow_up</literal></entry>
- <entry>boolean</entry>
- <entry><literal>no</literal></entry>
- </row>
- <row>
- <entry><literal>ask_x_comment_to</literal></entry>
- <entry>boolean</entry>
- <entry><literal>no</literal></entry>
- </row>
- <row>
- <entry><literal>catchup_newsgroup</literal></entry>
- <entry>quad</entry>
- <entry><literal>ask-yes</literal></entry>
- </row>
- <row>
- <entry><literal>followup_to_poster</literal></entry>
- <entry>quad</entry>
- <entry><literal>ask-yes</literal></entry>
- </row>
- <row>
- <entry><literal>group_index_format</literal></entry>
- <entry>string</entry>
- <entry><literal>%4C %M%N %5s %-45.45f %d</literal></entry>
- </row>
- <row>
- <entry><literal>inews</literal></entry>
- <entry>string</entry>
- <entry>(empty)</entry>
- </row>
- <row>
- <entry><literal>mime_subject</literal></entry>
- <entry>boolean</entry>
- <entry><literal>yes</literal></entry>
- </row>
- <row>
- <entry><literal>newsgroups_charset</literal></entry>
- <entry>string</entry>
- <entry><literal>utf-8</literal></entry>
- </row>
- <row>
- <entry><literal>newsrc</literal></entry>
- <entry>string</entry>
- <entry><literal>~/.newsrc</literal></entry>
- </row>
- <row>
- <entry><literal>news_cache_dir</literal></entry>
- <entry>string</entry>
- <entry><literal>~/.mutt</literal></entry>
- </row>
- <row>
- <entry><literal>news_server</literal></entry>
- <entry>string</entry>
- <entry>(empty)</entry>
- </row>
- <row>
- <entry><literal>nntp_authenticators</literal></entry>
- <entry>string</entry>
- <entry>(empty)</entry>
- </row>
- <row>
- <entry><literal>nntp_context</literal></entry>
- <entry>number</entry>
- <entry><literal>1000</literal></entry>
- </row>
- <row>
- <entry><literal>nntp_listgroup</literal></entry>
- <entry>boolean</entry>
- <entry><literal>yes</literal></entry>
- </row>
- <row>
- <entry><literal>nntp_load_description</literal></entry>
- <entry>boolean</entry>
- <entry><literal>yes</literal></entry>
- </row>
- <row>
- <entry><literal>nntp_pass</literal></entry>
- <entry>string</entry>
- <entry>(empty)</entry>
- </row>
- <row>
- <entry><literal>nntp_poll</literal></entry>
- <entry>number</entry>
- <entry><literal>60</literal></entry>
- </row>
- <row>
- <entry><literal>nntp_user</literal></entry>
- <entry>string</entry>
- <entry>(empty)</entry>
- </row>
- <row>
- <entry><literal>post_moderated</literal></entry>
- <entry>quad</entry>
- <entry><literal>ask-yes</literal></entry>
- </row>
- <row>
- <entry><literal>save_unsubscribed</literal></entry>
- <entry>boolean</entry>
- <entry><literal>no</literal></entry>
- </row>
- <row>
- <entry><literal>show_new_news</literal></entry>
- <entry>boolean</entry>
- <entry><literal>yes</literal></entry>
- </row>
- <row>
- <entry><literal>show_only_unread</literal></entry>
- <entry>boolean</entry>
- <entry><literal>no</literal></entry>
- </row>
- <row>
- <entry><literal>x_comment_to</literal></entry>
- <entry>boolean</entry>
- <entry><literal>no</literal></entry>
- </row>
- </tbody>
- </tgroup>
- </table>
- </sect2>
-
- <sect2 id="nntp-functions">
- <title>Functions</title>
-
- <table id="table-nntp-functions">
- <title>NNTP Functions</title>
- <tgroup cols="4">
- <thead>
- <row>
- <entry>Menus</entry>
- <entry>Default Key</entry>
- <entry>Function</entry>
- <entry>Description</entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry>browser,index</entry>
- <entry>y</entry>
- <entry><literal><catchup></literal></entry>
- <entry>mark all articles in newsgroup as read</entry>
- </row>
- <row>
- <entry>index,pager</entry>
- <entry>i</entry>
- <entry><literal><change-newsgroup></literal></entry>
- <entry>open a different newsgroup</entry>
- </row>
- <row>
- <entry>pager</entry>
- <entry>X</entry>
- <entry><literal><change-vfolder></literal></entry>
- <entry>open a different virtual folder</entry>
- </row>
- <row>
- <entry>compose</entry>
- <entry>o</entry>
- <entry><literal><edit-followup-to></literal></entry>
- <entry>edit the Followup-To field</entry>
- </row>
- <row>
- <entry>compose</entry>
- <entry>N</entry>
- <entry><literal><edit-newsgroups></literal></entry>
- <entry>edit the newsgroups list</entry>
- </row>
- <row>
- <entry>compose</entry>
- <entry>x</entry>
- <entry><literal><edit-x-comment-to></literal></entry>
- <entry>edit the X-Comment-To field</entry>
- </row>
- <row>
- <entry>pager</entry>
- <entry>+</entry>
- <entry><literal><entire-thread></literal></entry>
- <entry>read entire thread of the current message</entry>
- </row>
- <row>
- <entry>attachment,index,pager</entry>
- <entry>F</entry>
- <entry><literal><followup-message></literal></entry>
- <entry>followup to newsgroup</entry>
- </row>
- <row>
- <entry>pager</entry>
- <entry>`</entry>
- <entry><literal><modify-labels></literal></entry>
- <entry>modify (notmuch) tags</entry>
- </row>
- <row>
- <entry>index,pager</entry>
- <entry>P</entry>
- <entry><literal><post-message></literal></entry>
- <entry>post message to newsgroup</entry>
- </row>
- <row>
- <entry>browser</entry>
- <entry>g</entry>
- <entry><literal><reload-active></literal></entry>
- <entry>load list of all newsgroups from NNTP server</entry>
- </row>
- <row>
- <entry>browser</entry>
- <entry>s</entry>
- <entry><literal><subscribe></literal></entry>
- <entry>subscribe to current mbox (IMAP/NNTP only)</entry>
- </row>
- <row>
- <entry>browser</entry>
- <entry>S</entry>
- <entry><literal><subscribe-pattern></literal></entry>
- <entry>subscribe to newsgroups matching a pattern</entry>
- </row>
- <row>
- <entry>browser</entry>
- <entry>Y</entry>
- <entry><literal><uncatchup></literal></entry>
- <entry>mark all articles in newsgroup as unread</entry>
- </row>
- <row>
- <entry>browser</entry>
- <entry>u</entry>
- <entry><literal><unsubscribe></literal></entry>
- <entry>unsubscribe from current mbox (IMAP/NNTP only)</entry>
- </row>
- <row>
- <entry>browser</entry>
- <entry>U</entry>
- <entry><literal><unsubscribe-pattern></literal></entry>
- <entry>unsubscribe from newsgroups matching a pattern</entry>
- </row>
- <row>
- <entry>index,pager</entry>
- <entry>Alt-i</entry>
- <entry><literal><change-newsgroup-readonly></literal></entry>
- <entry>open a different newsgroup in read only mode</entry>
- </row>
- <row>
- <entry>attachment,index,pager</entry>
- <entry>Alt-F</entry>
- <entry><literal><forward-to-group></literal></entry>
- <entry>forward to newsgroup</entry>
- </row>
- <row>
- <entry>index</entry>
- <entry>(none)</entry>
- <entry><literal><get-children></literal></entry>
- <entry>get all children of the current message</entry>
- </row>
- <row>
- <entry>index</entry>
- <entry>Alt-G</entry>
- <entry><literal><get-parent></literal></entry>
- <entry>get parent of the current message</entry>
- </row>
- <row>
- <entry>index,pager</entry>
- <entry>(none)</entry>
- <entry><literal><imap-fetch-mail></literal></entry>
- <entry>force retrieval of mail from IMAP server</entry>
- </row>
- <row>
- <entry>index,pager</entry>
- <entry>(none)</entry>
- <entry><literal><imap-logout-all></literal></entry>
- <entry>logout from all IMAP servers</entry>
- </row>
- <row>
- <entry>pager</entry>
- <entry>(none)</entry>
- <entry><literal><modify-labels-then-hide></literal></entry>
- <entry>modify labeld and then hide message</entry>
- </row>
- <row>
- <entry>index</entry>
- <entry>(none)</entry>
- <entry><literal><reconstruct-thread></literal></entry>
- <entry>reconstruct thread containing current message</entry>
- </row>
- <row>
- <entry>pager</entry>
- <entry>Alt-X</entry>
- <entry><literal><vfolder-from-query></literal></entry>
- <entry>generate virtual folder from query</entry>
- </row>
- <row>
- <entry>index</entry>
- <entry>Ctrl-G</entry>
- <entry><literal><get-message></literal></entry>
- <entry>get message with Message-Id</entry>
- </row>
- </tbody>
- </tgroup>
- </table>
- </sect2>
-
- <sect2 id="nntp-commands">
- <title>Commands</title>
- </sect2>
-
- <sect2 id="nntp-colors">
- <title>Colors</title>
- <para>None</para>
- </sect2>
-
- <sect2 id="nntp-sort">
- <title>Sort</title>
- <para>None</para>
- </sect2>
-
- <sect2 id="nntp-muttrc">
- <title>Muttrc</title>
- </sect2>
-
- <sect2 id="nntp-see-also">
- <title>See Also</title>
-
- <itemizedlist>
- <listitem><para><ulink url="https://github.com/neomutt/neomutt/wiki">NeoMutt Project</ulink></para></listitem>
- <listitem><para><link linkend="compile-time-features">Compile-Time Features</link></para></listitem>
- </itemizedlist>
- </sect2>
-
- <sect2 id="nntp-known-bugs">
- <title>Known Bugs</title>
- </sect2>
-
- <sect2 id="nntp-credits">
- <title>Credits</title>
- <itemizedlist>
- <listitem><para>Vsevolod Volkov <email>vvv@mutt.org.ua</email></para></listitem>
- <listitem><para>Felix von Leitner <email>leitner@fefe.de</email></para></listitem>
- <listitem><para>Richard Russon <email>rich@flatcap.org</email></para></listitem>
- </itemizedlist>
- </sect2>
-</sect1>
-
</chapter>
<chapter id="configuration">
</para>
<itemizedlist>
- <title>Patch Dependencies:</title>
- <listitem><para>mutt-1.5.24</para></listitem>
+ <title>Dependencies:</title>
+ <listitem><para>mutt-1.6.1</para></listitem>
</itemizedlist>
- <para>This patch is part of the <link linkend="neomutt">NeoMutt project</link>.</para>
+ <para>This patch is part of the <ulink url="http://www.neomutt.org/">NeoMutt Project</ulink>.</para>
</sect2>
<sect2 id="nntp-intro">
<title>Introduction</title>
+
+ <para>Reading news via NNTP</para>
+ <para>
+ If compiled with <emphasis>--enable-nntp</emphasis> option, Mutt can
+ read news from news server via NNTP. You can open a newsgroup with
+ function ``change-newsgroup'' (default: ``i''). Default news server
+ can be obtained from <literal>$NNTPSERVER</literal> environment
+ variable or from <literal>/etc/nntpserver</literal> file. Like other
+ news readers, info about subscribed newsgroups is saved in file by
+ <link linkend="newsrc">$newsrc</link> variable. The variable <link
+ linkend="news-cache-dir">$news_cache_dir</link> can be used to point
+ to a directory. Mutt will create a hierarchy of subdirectories named
+ like the account and newsgroup the cache is for. Also the hierarchy
+ is used to store header cache if Mutt was compiled with <link
+ linkend="header-caching">header cache</link> support.
+ </para>
</sect2>
<sect2 id="nntp-variables">
<title>Variables</title>
+
+ <table id="table-nntp-variables">
+ <title>NNTP Variables</title>
+ <tgroup cols="3">
+ <thead>
+ <row>
+ <entry>Name</entry>
+ <entry>Type</entry>
+ <entry>Default</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry><literal>ask_follow_up</literal></entry>
+ <entry>boolean</entry>
+ <entry><literal>no</literal></entry>
+ </row>
+ <row>
+ <entry><literal>ask_x_comment_to</literal></entry>
+ <entry>boolean</entry>
+ <entry><literal>no</literal></entry>
+ </row>
+ <row>
+ <entry><literal>catchup_newsgroup</literal></entry>
+ <entry>quad</entry>
+ <entry><literal>ask-yes</literal></entry>
+ </row>
+ <row>
+ <entry><literal>followup_to_poster</literal></entry>
+ <entry>quad</entry>
+ <entry><literal>ask-yes</literal></entry>
+ </row>
+ <row>
+ <entry><literal>group_index_format</literal></entry>
+ <entry>string</entry>
+ <entry><literal>%4C %M%N %5s %-45.45f %d</literal></entry>
+ </row>
+ <row>
+ <entry><literal>inews</literal></entry>
+ <entry>string</entry>
+ <entry>(empty)</entry>
+ </row>
+ <row>
+ <entry><literal>mime_subject</literal></entry>
+ <entry>boolean</entry>
+ <entry><literal>yes</literal></entry>
+ </row>
+ <row>
+ <entry><literal>newsgroups_charset</literal></entry>
+ <entry>string</entry>
+ <entry><literal>utf-8</literal></entry>
+ </row>
+ <row>
+ <entry><literal>newsrc</literal></entry>
+ <entry>string</entry>
+ <entry><literal>~/.newsrc</literal></entry>
+ </row>
+ <row>
+ <entry><literal>news_cache_dir</literal></entry>
+ <entry>string</entry>
+ <entry><literal>~/.mutt</literal></entry>
+ </row>
+ <row>
+ <entry><literal>news_server</literal></entry>
+ <entry>string</entry>
+ <entry>(empty)</entry>
+ </row>
+ <row>
+ <entry><literal>nntp_authenticators</literal></entry>
+ <entry>string</entry>
+ <entry>(empty)</entry>
+ </row>
+ <row>
+ <entry><literal>nntp_context</literal></entry>
+ <entry>number</entry>
+ <entry><literal>1000</literal></entry>
+ </row>
+ <row>
+ <entry><literal>nntp_listgroup</literal></entry>
+ <entry>boolean</entry>
+ <entry><literal>yes</literal></entry>
+ </row>
+ <row>
+ <entry><literal>nntp_load_description</literal></entry>
+ <entry>boolean</entry>
+ <entry><literal>yes</literal></entry>
+ </row>
+ <row>
+ <entry><literal>nntp_pass</literal></entry>
+ <entry>string</entry>
+ <entry>(empty)</entry>
+ </row>
+ <row>
+ <entry><literal>nntp_poll</literal></entry>
+ <entry>number</entry>
+ <entry><literal>60</literal></entry>
+ </row>
+ <row>
+ <entry><literal>nntp_user</literal></entry>
+ <entry>string</entry>
+ <entry>(empty)</entry>
+ </row>
+ <row>
+ <entry><literal>post_moderated</literal></entry>
+ <entry>quad</entry>
+ <entry><literal>ask-yes</literal></entry>
+ </row>
+ <row>
+ <entry><literal>save_unsubscribed</literal></entry>
+ <entry>boolean</entry>
+ <entry><literal>no</literal></entry>
+ </row>
+ <row>
+ <entry><literal>show_new_news</literal></entry>
+ <entry>boolean</entry>
+ <entry><literal>yes</literal></entry>
+ </row>
+ <row>
+ <entry><literal>show_only_unread</literal></entry>
+ <entry>boolean</entry>
+ <entry><literal>no</literal></entry>
+ </row>
+ <row>
+ <entry><literal>x_comment_to</literal></entry>
+ <entry>boolean</entry>
+ <entry><literal>no</literal></entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
</sect2>
<sect2 id="nntp-functions">
<sect2 id="nntp-see-also">
<title>See Also</title>
+
+ <itemizedlist>
+ <listitem><para><ulink url="https://github.com/neomutt/neomutt/wiki">NeoMutt Project</ulink></para></listitem>
+ <listitem><para><link linkend="compile-time-features">Compile-Time Features</link></para></listitem>
+ </itemizedlist>
</sect2>
<sect2 id="nntp-known-bugs">