Thread View: news.software.nntp
8 messages
8 total messages
Started by Mark Bixby
Tue, 24 May 1994 15:23
nntplink 3.3pl1 INN 1.4 AUX 3.1: EOF on stdin, exiting ???
Author: Mark Bixby
Date: Tue, 24 May 1994 15:23
Date: Tue, 24 May 1994 15:23
30 lines
2110 bytes
2110 bytes
I'm trying to install nntplink (and INN) on a Mac running AUX 3.1. I have both running fine in an HPUX environment, and this is my first try under AUX. My newsfeeds entry is as follows: news.cccd.edu\ :alt.*,bit.*,biz.*,ca.*,cccd.*,comp.*,ddn.*,gnu.*,\ info.*,la.*,misc.*,news.*,oc.*,rec.*,sci.*,soc.*,talk.*,\ to.news.cccd.edu\ /!occ,!local\ :Tc,Wnm,S4096\ :/usr/contrib/bin/nntplink -k news.cccd.edu I'm not worrying about -q until later. What happens is that INN spawns nntplink which immediately gets "EOF on stdin, exiting" as soon as there are no more articles to send. The conf.h says to NEVER time out and go away so I'm confused. Other than nntplink disappearing, INN seems to be working fine in all respects. Can anybody tell me what I'm overlooking? Maybe something in INN's config.data? FWIW, the overchan channel pipe is working OK. -- Mark Bixby Internet: markb@cccd.edu Coast Community College District 1370 Adams Avenue District Information Services Costa Mesa, CA, USA 92626 Technical Support (714) 432-5064 "You can tune a file system, but you can't tune a fish." - tunefs(1M)
Re: nntplink 3.3pl1 INN 1.4 AUX 3.1: EOF on stdin, exiting ???
Author: Tom Limoncelli
Date: Tue, 24 May 1994 18:07
Date: Tue, 24 May 1994 18:07
26 lines
2111 bytes
2111 bytes
In <2rt65s$bmv@spock.dis.cccd.edu> markb@spock.dis.cccd.edu (Mark Bixby) writes: >What happens is that INN spawns nntplink which immediately gets "EOF on stdin, >exiting" as soon as there are no more articles to send. The conf.h says to >NEVER time out and go away so I'm confused. >Other than nntplink disappearing, INN seems to be working fine in all respects. >Can anybody tell me what I'm overlooking? Maybe something in INN's >config.data? FWIW, the overchan channel pipe is working OK. If INN works, then junk nntplink and just use nntpsend. It is less complicated than nntplink and therefore is more likely to run on strange Unix's like AU/X. If you are on a AU/X machine, you certainly aren't interested in speed, so the minor slowdown of using nntpsend on a single-feed machine isn't going to be noticed. Tom -- Tom Limoncelli -- tal@warren.mentorg.com (work) -- tal@plts.org (play) History will judge our times not | Disclaimer: I do not by the ferocity of our enemies, | speak for Mentor Graphics. but by the silence of our friends! |
Re: nntplink 3.3pl1 INN 1.4 AUX 3.1: EOF on stdin, exiting ???
Author: Jim Jagielski
Date: Wed, 25 May 1994 13:56
Date: Wed, 25 May 1994 13:56
16 lines
1619 bytes
1619 bytes
tal@Warren.MENTORG.COM (Tom Limoncelli) writes:
>If INN works, then junk nntplink and just use nntpsend. It is less
>complicated than nntplink and therefore is more likely to run on
>strange Unix's like AU/X.
Yep, AU/X is a pretty strange UNIX.
A/UX ain't though... at least no more strange than all the other ones :)
--
#include <std/disclaimer.h>
Jim Jagielski | "It's the end, the end of the 70's,
jim@jagubox.gsfc.nasa.gov | it's the end, the end of the century."
NASA/GSFC, Code 734.4 | The Ramones
Greenbelt, MD 20771 |
Re: nntplink 3.3pl1 INN 1.4 AUX 3.1: EOF on stdin, exiting ???
Author: Peter Brewer
Date: Wed, 25 May 1994 16:51
Date: Wed, 25 May 1994 16:51
30 lines
2049 bytes
2049 bytes
In article <3201@jagubox.gsfc.nasa.gov>, Jim Jagielski <jim@jagubox.gsfc.nasa.gov> wrote: >tal@Warren.MENTORG.COM (Tom Limoncelli) writes: > >>If INN works, then junk nntplink and just use nntpsend. It is less >>complicated than nntplink and therefore is more likely to run on >>strange Unix's like AU/X. > >Yep, AU/X is a pretty strange UNIX. > >A/UX ain't though... at least no more strange than all the other ones :) >-- > Jim Jagielski | "It's the end, the end of the 70's, > jim@jagubox.gsfc.nasa.gov | it's the end, the end of the century." Yep, if we reminisce about Unices such as Vax BSD 4.2/4.3 and compare them to SunOS 4.x and now the super strange SunOS 5.x (Solaris 2.x). A/UX strange? Are you kidding? Its mundane. ;-) P.S. Linux is just BSD 4.3/4.4 de-AT&T-ized for the public domain. -- Peter -- Peter W. Brewer : Exiled from Dinosaur City "Out of the Silent Planet" Quote: One of the biggest mistakes I made was listening to 'articulate incompetents..' so convincing with their viewgraphs and prose.. but they were wrong!!! (David Mallory on Corporate Management in the 90's)
Re: nntplink 3.3pl1 INN 1.4 AUX 3.1: EOF on stdin, exiting ???
Author: Mark Bixby
Date: Wed, 25 May 1994 17:59
Date: Wed, 25 May 1994 17:59
13 lines
1454 bytes
1454 bytes
Solved it myself after digging into the question of FCNTL O_NONBLOCK vs. O_NDELAY. I had to force the POSIX environment: make CFLAGS=-D_POSIX_SOURCE LIBS=-lposix Works fine now. -- Mark Bixby Internet: markb@cccd.edu Coast Community College District 1370 Adams Avenue District Information Services Costa Mesa, CA, USA 92626 Technical Support (714) 432-5064 "You can tune a file system, but you can't tune a fish." - tunefs(1M)
Re: nntplink 3.3pl1 INN 1.4 AUX 3.1: EOF on stdin, exiting ???
Author: Jim Jagielski
Date: Wed, 25 May 1994 18:21
Date: Wed, 25 May 1994 18:21
33 lines
2414 bytes
2414 bytes
brewer@hamlet.umd.edu (Peter Brewer) writes:
>In article <3201@jagubox.gsfc.nasa.gov>,
>Jim Jagielski <jim@jagubox.gsfc.nasa.gov> wrote:
>>tal@Warren.MENTORG.COM (Tom Limoncelli) writes:
>>
>>>If INN works, then junk nntplink and just use nntpsend. It is less
>>>complicated than nntplink and therefore is more likely to run on
>>>strange Unix's like AU/X.
>>
>>Yep, AU/X is a pretty strange UNIX.
>>
>>A/UX ain't though... at least no more strange than all the other ones :)
>>--
>> Jim Jagielski | "It's the end, the end of the 70's,
>> jim@jagubox.gsfc.nasa.gov | it's the end, the end of the century."
>Yep, if we reminisce about Unices such as Vax BSD 4.2/4.3 and compare them
>to SunOS 4.x and now the super strange SunOS 5.x (Solaris 2.x). A/UX
>strange? Are you kidding? Its mundane. ;-)
My own pers. fave weirdo? MIPS' RISC/os, which basically had _both_ BSD and
SysV libraries, include files, directories, etc in separate locations on
disk. In other words, it ran both BSD and SysV at the same time...
The MIPS Magnum was a nice unit though...
--
#include <std/disclaimer.h>
Jim Jagielski | "It's the end, the end of the 70's,
jim@jagubox.gsfc.nasa.gov | it's the end, the end of the century."
NASA/GSFC, Code 734.4 | The Ramones
Greenbelt, MD 20771 |
Re: nntplink 3.3pl1 INN 1.4 AUX 3.1: EOF on stdin, exiting ???
Author: Richard Todd
Date: Fri, 27 May 1994 01:22
Date: Fri, 27 May 1994 01:22
28 lines
2028 bytes
2028 bytes
tal@Warren.MENTORG.COM (Tom Limoncelli) writes: >If INN works, then junk nntplink and just use nntpsend. It is less >complicated than nntplink and therefore is more likely to run on >strange Unix's like AU/X. Strange? It's just Yet Another System V/BSD Merged System, just like the zillion others on the market. Arguably less strange than some (did I hear someone mention the S-word? :-) >If you are on a AU/X machine, you certainly aren't interested in speed, >so the minor slowdown of using nntpsend on a single-feed machine isn't >going to be noticed. Um, no. If you're on a fast machine, you don't care if you're running inefficient feeding software. If you're on a slow machine, you need every smidgen of speed out of your software you can get, and that means using nntplink. In answer to the original question, it seems nntplink doesn't work correctly on stdin mode feeding from a pipe on A/UX unless you compile with _POSIX_SOURCE, since otherwise nntplink doesn't see the definitions for O_NONBLOCK. Sigh. I would love to find out whose idea it was to turn the include files for every Unix variant into a maze of #ifdefs worthy of the Obfuscated C Contest. Richard "once fed multiple sites from a Mac IIsi" Todd --
Re: nntplink 3.3pl1 INN 1.4 AUX 3.1: EOF on stdin, exiting ???
Author: Tom Limoncelli
Date: Sat, 28 May 1994 15:36
Date: Sat, 28 May 1994 15:36
31 lines
2339 bytes
2339 bytes
In <rmtodd.770001768@servalan.servalan.com> rmtodd@servalan.servalan.com (Richard Todd) writes: >>If you are on a AU/X machine, you certainly aren't interested in speed, >>so the minor slowdown of using nntpsend on a single-feed machine isn't >>going to be noticed. >Um, no. If you're on a fast machine, you don't care if you're running >inefficient feeding software. If you're on a slow machine, you need every >smidgen of speed out of your software you can get, and that means using >nntplink. nntplink is a performance boost mostly on systems with mmap() integrated into the i/o system. Does A/UX have that? Otherwise, you're just getting the speed from having a disk cache. Maybe that's a lot, I can't say. If you are tight on memory and you overflow your disk cache, you might as well use nntpsend or sendbatch during the hours that the system isn't otherwise in use. In fact, on a truly slow machine, I recommend that you switch to sendbatch (UUCP-over-TCP) that batches during the hours that you won't be around. Receiving articles via NNTP is always a good idea (unless you use dialup-SLIP or dialup-PPP). -Tom -- Tom Limoncelli -- tal@warren.mentorg.com (work) -- tal@plts.org (play) History will judge our times not | Disclaimer: I do not by the ferocity of our enemies, | speak for Mentor Graphics. but by the silence of our friends! |
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