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