🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #6723

Re: nn-6.5.0.b3 with NOV and NNTP

#6723
From: storner
Date: Thu, 10 Nov 1994 09:37
33 lines
1896 bytes
In <jvdreyd.784399686@athena.research.ptt.nl> jvdreyd@athena.research.ptt.nl (Reijden J.v.d) writes:


[trying to get nn 6.5.0.b3 running with NNTP+NOV]

> $ nn
>Connecting to NNTP server ub ...
>Connecting to NNTP server ub ... ok (posting is allowed)
>NNTP 501 Usage: LIST [ACTIVE|NEWSGROUPS|DISTRIBUTIONS|SUBSCRIPTIONS] response: 501
> $

>In db.c line 1154 nn makes a connection with the nntp server and tries to
>LIST the active.times file.
>However, nntp does does not support this and gives an usage message!

Had this problem a while back; it _is_ a bug in nn, and I have reported
it to the maintainer.

'LIST active.times' is not necessary for nn to run, so an error from this
command was intended to be ignored. Unfortunately, the code checks for
the wrong error-code! This happens in the ask_server() routine in nntp.c,
around line 550:

    if (response == ERR_GOODBYE || response > ERR_COMMAND) {
        if (fix_err && response == ERR_FAULT) return ERR_NOGROUP;

Change the test in the second line to

    if (response == ERR_GOODBYE || response > ERR_COMMAND) {
        if (fix_err && response == ERR_CMDSYN) return ERR_NOGROUP;

--
Henrik Storner (storner@olicom.dk)
Technical Details
Message-ID: <storner.784460250@hst.olicom.dk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!nntp.gmd.de!newsserver.jvnc.net!darwin.sura.net!convex!cs.utexas.edu!howland.reston.ans.net!EU.net!dkuug!hst.olicom.dk!storner
References: <jvdreyd.784399686@athena.research.ptt.nl>

Show Full Headers
Complete Article Headers
Message-ID: <storner.784460250@hst.olicom.dk>
Subject: Re: nn-6.5.0.b3 with NOV and NNTP
Date: Thu, 10 Nov 1994 09:37:30 +0000
From: storner@hst.olicom.dk (storner)
References: <jvdreyd.784399686@athena.research.ptt.nl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!nntp.gmd.de!newsserver.jvnc.net!darwin.sura.net!convex!cs.utexas.edu!howland.reston.ans.net!EU.net!dkuug!hst.olicom.dk!storner
Newsgroups: news.software.nn
Organization: Olicom A/S
Lines: 33
NNTP-Posting-Host: eolicom.olicom.dk