🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by Thomas Frost Wed, 15 Mar 1995 21:17
TRN can't find any articles!
#16067
Author: Thomas Frost
Date: Wed, 15 Mar 1995 21:17
25 lines
1762 bytes
My apologies if this a FAQ or FEP (frequently encountered problem).

I'm trying to get trn 3.5 working under Solaris 2.4.  I'm using C News
(cleanup release with patch CR.E) and NNTP 1.5.12.  C News and NNTP
work famously; I can post news, read it (after a fashion) with
readnews, and I can view the articles with a direct telnet to port
119, manually typing in the NNTP commands.

The problem is, trn/rn thinks there's never any news.  It never
reports any of the new articles, and won;t even let me go to the
articles by number.  It seems to universally report that the number of
the first article is one higher than the number of the last article.
It *does* inform me of new newsgroups.

If I log onto this system and point trn at the new installation, I get
the same behavior.

I suspect I've got some set of permissions set wrong, or something.
Can anyone point me in the right direction?

-- 

Thomas Frost <frost@access.digex.net>
PGP key DE76BB09 -- 15 E3 7D FA BA C4 E0 4D  6E 0D 7D E0 F0 1B 10 76
Re: TRN can't find any articles!
#16124
Author: Thomas Frost
Date: Fri, 17 Mar 1995 14:24
28 lines
2099 bytes
In article <3k7lgq$gq2@access1.digex.net>, I wrote:
>
>The problem is, trn/rn thinks there's never any news.  It never
>reports any of the new articles, and won;t even let me go to the
>articles by number.  It seems to universally report that the number of
>the first article is one higher than the number of the last article.
>It *does* inform me of new newsgroups.
>
>If I log onto this system and point trn at the new installation, I get
>the same behavior.

I found the source of the problem.  The trn Configure utility detected
the existence of "dirent.h", and so proceeded to use Solaris' native
directory handling utilities...which break.  I'm still not sure why.
All I know for certain is that when it read the directory of a
newsgroup, it chopped the leading two characters off each filename, so
that it never saw any news (all the article numbers were < 100).

Once I fooled trn (and nntpd, which had the same problem) into using
trn's included "ndir.[ch]", everything worked beautifully.

Anyone else encounter this problem?  Other uses of readdir() work
fine.

-- 

Thomas Frost <frost@access.digex.net>
PGP key DE76BB09 -- 15 E3 7D FA BA C4 E0 4D  6E 0D 7D E0 F0 1B 10 76
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads