🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #2629

Re: nntplink 3.3pl1 INN 1.4 AUX 3.1: EOF on stdin, exiting ???

#2629
From: Richard Todd
Date: Fri, 27 May 1994 01:22
28 lines
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
-- 
Technical Details
Message-ID: <rmtodd.770001768@servalan.servalan.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.unix.aux.mbox.zip!bga.com!news.sprintlink.net!qns1.qns.com!constellation!servalan!rmtodd
References: <2rt65s$bmv@spock.dis.cccd.edu> <2rtfpe$du7$1@hog.Warren.MENTORG.COM>

Show Full Headers
Complete Article Headers
Message-ID: <rmtodd.770001768@servalan.servalan.com>
Subject: Re: nntplink 3.3pl1 INN 1.4 AUX 3.1: EOF on stdin, exiting ???
Date: Fri, 27 May 1994 01:22:20 GMT
From: rmtodd@servalan.servalan.com (Richard Todd)
References: <2rt65s$bmv@spock.dis.cccd.edu> <2rtfpe$du7$1@hog.Warren.MENTORG.COM>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.unix.aux.mbox.zip!bga.com!news.sprintlink.net!qns1.qns.com!constellation!servalan!rmtodd
Newsgroups: comp.unix.aux,news.software.b,news.software.nntp
Organization: Ministry of Silly Walks
Distribution: inet
Lines: 27