Thread View: news.software.readers
3 messages
3 total messages
Started by Rich Braun
Tue, 21 Jan 1992 16:27
Setting up NNTP and Trumpet
Author: Rich Braun
Date: Tue, 21 Jan 1992 16:27
Date: Tue, 21 Jan 1992 16:27
33 lines
2320 bytes
2320 bytes
Like many sites, ours is a medium-sized LAN connected to USENET via a single UUCP link. To get Trumpet to work for our LAN users (most all of whom have DOS and NetWare on their desktops, rather than Unix), 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; reading apparently dies without any error message; the NNTP server appears to be telling Trumpet that there are no new messages in any groups. (The nntp_access file is set up with the line "sys-name read post".) NNTP version 1.5.11 came with no instructions for building under AIX so I had to wing it with minor changes to a half-dozen source files. Why aren't any messages being shown? Apparently the problem is with NNTP, but I have no understanding of how it works, nor have I set up an NNTP newsreader client under Unix to test it from a non-DOS system. On my wish list for Trumpet: a parser for the CONFIG.TEL file (actually, a file pointed to by the CONFIGTEL environment variable) used by CUTCP, so people wouldn't have to enter obsure IP addresses into a NEWS.PRM file; we do not run RARP or BOOTPD on our LAN yet. Also, some mechanism for reading/updating "$HOME/.newsrc" from the DOS side, for users who switch back and forth between Unix and DOS. Finally, a server-based means to authenticate a user/password and thereby prevent anonymous postings, implemented as a pop-up window in Trumpet which appears after the NNTP connection succeeds. -rich P.S. I did finally manage to get through to ftp.utas.edu.au early this morning so my tests are being done with version 1.04b.
Re: Setting up NNTP and Trumpet
Author: 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
Re: Setting up NNTP and Trumpet
Author: LCDR Michael E. Dobson
Date: Thu, 23 Jan 1992 18:01
Date: Thu, 23 Jan 1992 18:01
30 lines
1954 bytes
1954 bytes
In article <1992Jan22.164640.13917@kronos.com> richb@kronos.com (Rich Braun) writes: >I wrote: >> To get Trumpet to work for our LAN users, I had to >>set up NNTP on our RS/6000. >> [description of how no articles were found deleted] > >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 > ditto for my AT&T 3B2/600G with SysVR3.2.2, fix is the same. Looks like this is a genuine bug. We were getting the same result with the Next NewsGrazer and with tin in remote reading modes. Funny thing, rrn/trrn work just fine, probably because the local active file is used to get the status of newsgroups. -- Mike Dobson, Sys Admin for | Internet: rdc30@nmrdc1.nmrdc.nnmc.navy.mil nmrdc1.nmrdc.nnmc.navy.mil | UUCP: ...uunet!mimsy!nmrdc1!rdc30 AT&T 3B2/600G Sys V R 3.2.2 | BITNET: dobson@usuhsb or nrd0mxd@vmnmdsc WIN/TCP for 3B2 | MCI-Mail: 377-2719 or 0003772719@mcimail.com
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