Article View: news.software.readers
Article #944Re: Setting up NNTP and Trumpet
From: Rich Braun
Date: Wed, 22 Jan 1992 16:46
Date: Wed, 22 Jan 1992 16:46
43 lines
2177 bytes
2177 bytes
I wrote: > To get Trumpet to work for our LAN users, I had to >set up NNTP on our RS/6000. > >Trumpet, once properly configured, gets as far as the newsgroup selection: >clearly the NNTP connection is up and running, because the list of >newsgroups is accurate, and posting also works fine. But absolutely no >postings are shown in the message area ... I got a couple of email responses on this, but ended up finding the problem on my own. First, a tip for those who might be wrestling with NNTP: you can type "help" after "telnet <host> 119" to get a connection to the server. This will list the available commands, and it so happens that most commands are implemented as <cmd-name>.c in the NNTP server source directory: you can figure out the command syntax and behavior easily enough by reading the C code. Next tip: RS6000/AIX users will have to modify the scandir.c file (or maybe one of the .h files) in order to fix the "group" command. Here's what I was getting for our local newsgroup: group general (command entered by me) 211 0 0 0 general (response) The correct result should indicate the article numbers of available postings: 211 37 1 37 general The fix is at line 28 of file scandir.c. In place of: register struct direct *dirent; use: register struct dirent *dirent; (Note the very subtle change.) Now Trumpet gives me the contents of articles and so far as I can see, newsreading now works the way it's supposed to (though there may be some security-related issues to resolve before making this widely available). Regards, -rich
Technical Details
Message-ID:
<1992Jan22.164640.13917@kronos.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!sparky!uunet!think.com!hsdndev!spdcc!kronos!richbReferences:
<1992Jan21.162707.19224@kronos.com>Show Full Headers
Complete Article Headers
Message-ID: <1992Jan22.164640.13917@kronos.com> Subject: Re: Setting up NNTP and Trumpet Date: Wed, 22 Jan 1992 16:46:40 +0000 From: richb@kronos.com (Rich Braun) References: <1992Jan21.162707.19224@kronos.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!sparky!uunet!think.com!hsdndev!spdcc!kronos!richb Newsgroups: news.software.nntp,news.software.readers Organization: Kronos Inc. / Waltham, MA Lines: 43