2002-08-10 11:56:23 +08:00
|
|
|
<sect2>
|
2003-08-04 00:57:36 +08:00
|
|
|
<title>Configuring <application>slrn</application></title>
|
2002-08-10 11:56:23 +08:00
|
|
|
|
|
|
|
<sect3><title>Config files</title>
|
2003-04-21 06:15:01 +08:00
|
|
|
<para><filename>$HOME/.jnewsrc</filename>,
|
|
|
|
<filename>$HOME/.jnewsrc.time</filename>,
|
|
|
|
<filename>$HOME/.slrnrc</filename></para>
|
2002-08-10 11:56:23 +08:00
|
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3><title>Configuration Information</title>
|
|
|
|
|
2003-08-04 00:57:36 +08:00
|
|
|
<para>The first time <command>slrn</command> is run, the
|
2003-04-21 06:15:01 +08:00
|
|
|
<filename>$HOME/.jnewsrc</filename> file must be
|
2003-10-29 14:27:35 +08:00
|
|
|
created. For this configuration to work, you must have an environmental
|
|
|
|
variable, NNTPSERVER, set. In normal operation it would be exported into
|
|
|
|
the environment by a startup file, like <filename>/etc/profile</filename>
|
|
|
|
or <filename>~/.bashrc</filename>. Here we will just put it into the
|
|
|
|
environment of the configuration step. We will use the
|
|
|
|
<acronym>LFS</acronym> news server in this example, but you should use
|
|
|
|
whatever server you prefer.</para>
|
|
|
|
|
|
|
|
<para>Create the <filename>$HOME/.jnewsrc</filename> file with the following
|
2002-08-10 11:56:23 +08:00
|
|
|
command:</para>
|
|
|
|
|
2003-10-29 14:27:35 +08:00
|
|
|
<screen><userinput><command>NNTPSERVER=news.linuxfromscratch.org \
|
|
|
|
slrn -f $HOME/.jnewsrc --create</command></userinput></screen>
|
2002-08-10 11:56:23 +08:00
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
</sect2>
|