1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY slrn-download-http "http://prdownloads.sourceforge.net/slrn/slrn-&slrn-version;.tar.bz2">
|
---|
8 | <!ENTITY slrn-download-ftp "ftp://ftp.fh-heilbronn.de/pub/mirrors/slrn/slrn-&slrn-version;.tar.bz2">
|
---|
9 | <!ENTITY slrn-size "972 KB">
|
---|
10 | <!ENTITY slrn-buildsize "9.3 MB">
|
---|
11 | <!ENTITY slrn-time "0.19 SBU">
|
---|
12 | ]>
|
---|
13 |
|
---|
14 | <sect1 id="slrn" xreflabel="slrn-&slrn-version;">
|
---|
15 | <?dbhtml filename="slrn.html"?>
|
---|
16 | <title>slrn-&slrn-version;</title>
|
---|
17 |
|
---|
18 | <sect2>
|
---|
19 | <title>Introduction to <application>slrn</application></title>
|
---|
20 |
|
---|
21 | <para><application>slrn</application> is a slang-based news reader, capable of reading local news
|
---|
22 | spools as well as groups from an <acronym>NNTP</acronym> server. Small local news spools
|
---|
23 | can also be created with the use of the slrnpull program included in
|
---|
24 | the slrn distribution.</para>
|
---|
25 |
|
---|
26 | <sect3><title>Package information</title>
|
---|
27 | <itemizedlist spacing='compact'>
|
---|
28 | <listitem><para>Download (HTTP): <ulink url="&slrn-download-http;"/></para></listitem>
|
---|
29 | <listitem><para>Download (FTP): <ulink url="&slrn-download-ftp;"/></para></listitem>
|
---|
30 | <listitem><para>Download size: &slrn-size;</para></listitem>
|
---|
31 | <listitem><para>Estimated Disk space required: &slrn-buildsize;</para></listitem>
|
---|
32 | <listitem><para>Estimated build time: &slrn-time;</para></listitem></itemizedlist>
|
---|
33 | </sect3>
|
---|
34 |
|
---|
35 | <sect3><title><application>slrn</application> dependencies</title>
|
---|
36 | <sect4><title>Required</title>
|
---|
37 | <para><xref linkend="slang"/> and <acronym>MTA</acronym> (See <xref linkend="server-mail"/>)</para></sect4>
|
---|
38 |
|
---|
39 | <sect4><title>Optional</title>
|
---|
40 | <para><xref linkend="openssl"/></para></sect4>
|
---|
41 | </sect3>
|
---|
42 |
|
---|
43 | </sect2>
|
---|
44 |
|
---|
45 | <sect2>
|
---|
46 | <title>Installation of <application>slrn</application></title>
|
---|
47 |
|
---|
48 | <para>Install <application>slrn</application> by running the following commands:</para>
|
---|
49 |
|
---|
50 | <screen><userinput><command>./configure --prefix=/usr --sysconfdir=/etc \
|
---|
51 | --with-slrnpull &&
|
---|
52 | make LDFLAGS="-ldl" &&
|
---|
53 | make install</command></userinput></screen>
|
---|
54 |
|
---|
55 | </sect2>
|
---|
56 |
|
---|
57 | <sect2>
|
---|
58 | <title>Command explanations</title>
|
---|
59 |
|
---|
60 | <para><command>./configure --with-slrnpull</command>: Build the slrnpull executable.</para>
|
---|
61 |
|
---|
62 | </sect2>
|
---|
63 |
|
---|
64 | <sect2>
|
---|
65 | <title>Configuring <application>slrn</application></title>
|
---|
66 |
|
---|
67 | <sect3><title>Config files</title>
|
---|
68 | <para><filename>/etc/slrn.rc</filename>,
|
---|
69 | <filename>~/.slrnrc</filename></para>
|
---|
70 | </sect3>
|
---|
71 |
|
---|
72 | <sect3><title>Configuration Information</title>
|
---|
73 |
|
---|
74 | <para>The first time <command>slrn</command> is run, the
|
---|
75 | <filename>~/.jnewsrc</filename> file must be
|
---|
76 | created. For this configuration to work, you must have an environmental
|
---|
77 | variable, <envar>NNTPSERVER</envar>, set. In normal operation it would be exported into
|
---|
78 | the environment by a startup file, like <filename>/etc/profile</filename>
|
---|
79 | or <filename>~/.bashrc</filename>. Here we will just put it into the
|
---|
80 | environment of the configuration step. We will use the
|
---|
81 | <acronym>LFS</acronym> news server in this example, but you should use
|
---|
82 | whatever server you prefer.</para>
|
---|
83 |
|
---|
84 | <para>Create the <filename>~/.jnewsrc</filename> file with the following
|
---|
85 | command:</para>
|
---|
86 |
|
---|
87 | <screen><userinput><command>NNTPSERVER=<replaceable>news.linuxfromscratch.org</replaceable> \
|
---|
88 | slrn -f ~/.jnewsrc --create</command></userinput></screen>
|
---|
89 |
|
---|
90 | <para>You will also have to edit one of the configuration files. There
|
---|
91 | is a sample startup <filename>/usr/share/doc/slrn/slrn.rc</filename>
|
---|
92 | file that comes with slrn. It is extensively documented but if you
|
---|
93 | need more information, look at <ulink
|
---|
94 | url="http://slrn.sourceforge.net/docs/">the slrn
|
---|
95 | website</ulink>.</para>
|
---|
96 |
|
---|
97 | </sect3>
|
---|
98 |
|
---|
99 | </sect2>
|
---|
100 |
|
---|
101 | <sect2>
|
---|
102 | <title>Contents</title>
|
---|
103 | <para>The <application>slrn</application> package contains
|
---|
104 | <command>slrn</command> and
|
---|
105 | <command>slrnpull</command>.</para>
|
---|
106 | </sect2>
|
---|
107 |
|
---|
108 | <sect2><title>Description</title>
|
---|
109 |
|
---|
110 | <sect3><title>slrn</title>
|
---|
111 | <para><command>slrn</command> is the slang-based news reader.</para></sect3>
|
---|
112 |
|
---|
113 | <sect3><title>slrnpull</title>
|
---|
114 | <para><command>slrnpull</command> is used to pull a small news feed from
|
---|
115 | an <acronym>NNTP</acronym> server for offline reading.</para></sect3>
|
---|
116 |
|
---|
117 | </sect2>
|
---|
118 |
|
---|
119 | </sect1>
|
---|
120 |
|
---|