old-www/LDP/nag2/x-087-2-newsreaders.html

236 lines
4.2 KiB
HTML

<HTML
><HEAD
><TITLE
>Newsreader Configuration</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.57"><LINK
REL="HOME"
TITLE="Linux Network Administrators Guide"
HREF="index.html"><LINK
REL="PREVIOUS"
TITLE="Managing INN: The ctlinnd Command"
HREF="x19030.html"><LINK
REL="NEXT"
TITLE="tin Configuration"
HREF="x-087-2-newsreaders.tin.html"></HEAD
><BODY
CLASS="CHAPTER"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Linux Network Administrators Guide</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="x19030.html"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="x-087-2-newsreaders.tin.html"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="CHAPTER"
><H1
><A
NAME="X-087-2-NEWSREADERS"
>Chapter 24. Newsreader Configuration</A
></H1
><DIV
CLASS="TOC"
><DL
><DT
><B
>Table of Contents</B
></DT
><DT
>24.1. <A
HREF="x-087-2-newsreaders.tin.html"
>tin Configuration</A
></DT
><DT
>24.2. <A
HREF="x-087-2-newsreaders.trn.html"
>trn Configuration</A
></DT
><DT
>24.3. <A
HREF="x-087-2-newsreaders.nn.html"
>nn Configuration</A
></DT
></DL
></DIV
><P
>A <B
CLASS="COMMAND"
>newsreader</B
> is a program that users invoke to view,
store, and create news articles. Several newsreaders have been ported to
Linux. We will describe the basic setup for the three most popular
newsreaders: <B
CLASS="COMMAND"
>tin</B
>, <B
CLASS="COMMAND"
>trn</B
>, and <B
CLASS="COMMAND"
>nn</B
>.</P
><P
>One of the most effective newsreaders is:
<TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><PRE
CLASS="SCREEN"
>$ <TT
CLASS="USERINPUT"
><B
>find /var/spool/news -name '[0-9]*' -exec cat {} \; | more</B
></TT
></PRE
></TD
></TR
></TABLE
></P
><P
>This is the way Unix die-hards read their news.</P
><P
>Most newsreaders, however, are much more sophisticated. They usually offer
a full-screen interface with separate levels for displaying all groups the
user has subscribed to, an overview of all articles in each group, and
individual articles. Many web browsers double as newsreaders, but if you want
to use a standalone newsreader, this chapter explains how to configure two
classic ones: <B
CLASS="COMMAND"
>trn</B
> and <B
CLASS="COMMAND"
>nn</B
>.</P
><P
>At the newsgroup level, most newsreaders display a list of articles,
showing their subject lines and authors. In big groups, it is difficult
for the user to keep track of articles relating to each other, although
it is possible to identify responses to earlier articles.</P
><P
>&#13;
A response usually repeats the original article's subject, prepending it
with <TT
CLASS="LITERAL"
>Re:</TT
>. Additionally, the <TT
CLASS="LITERAL"
>References:</TT
>
header line should include the message ID of the article on which the
response is directly following up. Sorting articles by these two criteria
generates small clusters (in fact, trees) of articles, which are called
<I
CLASS="EMPHASIS"
>threads</I
>. One of the tasks of writing a newsreader is
devising an efficient scheme of threading, because the time required for this
is proportional to the square of the number of articles.</P
><P
>We will not go into how the user interfaces are built here. All newsreaders
currently available for Linux have a good help function; please refer to it
for more details.</P
><P
>In the following sections, we will deal only with administrative tasks. Most of
these relate to the creation of threads databases and accounting.</P
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="x19030.html"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="x-087-2-newsreaders.tin.html"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Managing INN: The ctlinnd Command</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>tin Configuration</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>