Thread: [Noffle-users] Noffle with tin
Brought to you by:
bears
From: Balas M. <try...@fr...> - 2004-07-01 07:27:29
|
Hello! I decided just recently to use Linux so I have to tell in advance that I am really inexperienced - sorry for that. I am using tin for reading news and I tried to use it with noffle. I successfully configured noffle to download some articles from a newsgroup I regulary read (in "full" mode) and saved them in /var/spool/noffle. I tried to configure tin to use this spool: I changed spool dir /etc/tin/tin.defaults to the directory mentioned above, but tin does not seem to recognise the articles or the group. Could you help me out somehow? Thanks in advance, Mark Balas |
From: Jim H. <jim...@ac...> - 2004-07-01 09:38:55
|
On 01-Jul-2004 Balas Mark wrote: > I am using tin for reading news and I tried to use it with noffle. I > successfully configured noffle to download some articles from a newsgroup I > regulary read (in "full" mode) and saved them in /var/spool/noffle. > > I tried to configure tin to use this spool: I changed spool dir > /etc/tin/tin.defaults to the directory mentioned above, but tin does not > seem to recognise the articles or the group. Short explanation: You need to use 'tin -r' or 'rtin' with Noffle, and either put the name of the machine running Noffle in /etc/nntpserver or in an environment variable NNTPSERVER. In your case, Noffle is on the same machine as tin, so 'localhost' as the machine name is fine. Try this: $ export NNTPSERVER=localhost $ tin -r Longer explanation (apologies if you know all this): The 'traditional' way in which news servers store the articles they receive is in a file system hierarchy under /var/spool/news. For example, article 255 in comp.lang.c would be in a file with path 'comp/lang/c/255'. News reading programs would read directly from these files. This is what tin is trying to do on your system. This traditional storage has its good points, but is not very good if the news reading program is on a different machine to the news server. So a protocol, NNTP, is used to communicate between readers and servers (and between servers). Once you're using NNTP, you don't have to use the traditional spool storage. Noffle's original author decided to keep articles in a database-like file instead, which is why Noffle uses /var/spool/noffle and not /var/spool/news; /var/spool/noffle doesn't have the structure expected under /var/spool/news. So to use Noffle, you have to use NNTP. -- Jim Hague - jim...@ac... Never trust a computer you can't lift. |
From: Balas M. <try...@fr...> - 2004-07-01 18:19:00
|
At 11:38 2004.07.01., Jim Hague wrote: >On 01-Jul-2004 Balas Mark wrote: > > I am using tin for reading news and I tried to use it with noffle. I > > successfully configured noffle to download some articles from a > newsgroup I > > regulary read (in "full" mode) and saved them in /var/spool/noffle. > > > > I tried to configure tin to use this spool: I changed spool dir > > /etc/tin/tin.defaults to the directory mentioned above, but tin does not > > seem to recognise the articles or the group. > >Short explanation: Thank you for your explanations, they were really helpful in understanding the problem. However, still did not succeed; I could really appreciate if you could help a bit more, if you can. >You need to use 'tin -r' or 'rtin' with Noffle, and either put the name of the >machine running Noffle in /etc/nntpserver or in an environment variable >NNTPSERVER. In your case, Noffle is on the same machine as tin, so 'localhost' >as the machine name is fine. Try this: > >$ export NNTPSERVER=localhost >$ tin -r I tried it; tin gave me this answer: Reading config file... release 20020311 ("Toxicity") [UNIX] (c) Copyright 1991-2002 Iain Le Connecting to localhost... Leafnode 1.9.19, pleased to meet you! Reading keymap file... Reading input history file... Reading groups from active file... Can't open /var/lib/news/active And then it exits. Thanks in advance, Mark Balas |
From: Jim H. <jim...@ac...> - 2004-07-01 21:18:34
|
On 01-Jul-2004 Balas Mark wrote: > I tried it; tin gave me this answer: > > Reading config file... > release 20020311 ("Toxicity") [UNIX] (c) Copyright 1991-2002 Iain Le > > Connecting to localhost... > > Leafnode 1.9.19, pleased to meet you! ^^^^^^^^ Noffle != Leafnode..... > > Reading keymap file... > > Reading input history file... > > Reading groups from active file... > Can't open /var/lib/news/active > > And then it exits. Your (x)inetd is configured to run Leafnode, not Noffle (unless you want to use Leafnode, in which case you're asking the wrong list....). If you're using inetd, you need to replace the 'nntp' line there with nntp stream tcp nowait news /usr/sbin/tcpd /usr/local/bin/noffle -r (assuming your noffle executable is in /usr/local/bin). If it's xinetd you use, edit packages/redhat/noffle-xinetd and change 'disable = yes' to 'disable = no', and copy it to /etc/xinetd.d and remove any file there that runs leafnode. -- Jim Hague - jim...@ac... Never trust a computer you can't lift. |