Article View: news.software.readers
Article #16124Re: TRN can't find any articles!
From: Thomas Frost
Date: Fri, 17 Mar 1995 14:24
Date: Fri, 17 Mar 1995 14:24
28 lines
2099 bytes
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
Technical Details
Message-ID:
<3kc62b$2gf@access1.digex.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!nntp.gmd.de!stern.fokus.gmd.de!ceres.fokus.gmd.de!zib-berlin.de!news.mathworks.com!solaris.cc.vt.edu!insosf1.infonet.net!newshost.marcam.com!usc!howland.reston.ans.net!news1.digex.net!news3.digex.net!digex.net!not-for-mailReferences:
<3k7lgq$gq2@access1.digex.net>Show Full Headers
Complete Article Headers
Message-ID: <3kc62b$2gf@access1.digex.net> Subject: Re: TRN can't find any articles! Date: Fri, 17 Mar 1995 14:24:11 +0000 From: frost@access1.digex.net (Thomas Frost) References: <3k7lgq$gq2@access1.digex.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!nntp.gmd.de!stern.fokus.gmd.de!ceres.fokus.gmd.de!zib-berlin.de!news.mathworks.com!solaris.cc.vt.edu!insosf1.infonet.net!newshost.marcam.com!usc!howland.reston.ans.net!news1.digex.net!news3.digex.net!digex.net!not-for-mail Newsgroups: news.software.readers,comp.unix.solaris Organization: Express Access Online Communications, Greenbelt, MD USA Lines: 28 Distribution: usa NNTP-Posting-Host: access1.digex.net