🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #1446

Re: Any Problems Installing CNews, NNTP, and NN On RS/6000?

#1446
From: Rich Braun
Date: Mon, 09 Mar 1992 17:03
64 lines
2708 bytes
mailinfo@netcom.com (Will Estes) writes:
>Can someone please summarize any problems they encountered (including
>just non-standard settings, or answering anything other than the default
>to an installation question) installing news on an RS/6000 system?  We
>plan to install Cnews, NNTP, and NN for the reader.

I had to make several tiny changes in NNTP source code in order to compile
it on the RS/6000.  Here are my diffs (starting from version 1.5.11
downloaded from ftp.uu.net), in the "server" directory:

********* misc.c ********
755c755
< #if defined(USG) && !defined(hpux)
---
> #if defined(USG) && !defined(hpux) || defined(AIX)

********* scandir.c ********
28a29,31
> #ifdef AIX
> 	register struct dirent	*dirent;
> #else
29a33
> #endif

********* spawn.c ********
66c66
< #ifdef USG
---
> #if defined(USG) || defined(AIX)
273c273
< #ifdef USG
---
> #if defined(USG) || defined(AIX)

********* time.c ********

16a17,20
> #ifdef AIX
> #include <time.h>
> #endif
> 

********* timer.c ********
20a21,24
> #ifdef AIX
> #include "sys/select.h"
> #endif
> 

---------------------------------------------------------------
I don't recall what problems, if any, I had with Cnews or trn installation;
I've long since deleted the sources of these from my system.

The edit to scandir.c above is particularly important; without the change,
the code will compile without errors but will claim there are no new messages
when NNTP-based newsreaders request them.

Note that the RS6000's 4K block size is a serious problem for Cnews or
any other news transport system which uses a separate Unix file for each
posting.  Since the average posting size is a little under 2K, storage
efficiency is on the order of 40%, which will easily eat up a gigabyte
disk drive if you want to store a few days' worth of a full newsfeed.

-rich
Technical Details
Message-ID: <1992Mar09.170339.15130@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.nn.mbox.zip!sparky!uunet!spool.mu.edu!hri.com!noc.near.net!eclectic.com!kronos!richb
References: <mwrhnalmailinfo@netcom.com>

Show Full Headers
Complete Article Headers
Message-ID: <1992Mar09.170339.15130@kronos.com>
Subject: Re: Any Problems Installing CNews, NNTP, and NN On RS/6000?
Date: Mon, 09 Mar 1992 17:03:39 +0000
From: richb@kronos.com (Rich Braun)
References: <mwrhnalmailinfo@netcom.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.nn.mbox.zip!sparky!uunet!spool.mu.edu!hri.com!noc.near.net!eclectic.com!kronos!richb
Newsgroups: news.software.nntp,news.software.b,news.software.nn
Article-I.D.: kronos.1992Mar09.170339.15130
Organization: Kronos Inc. / Waltham, MA
Lines: 64
Disclaimer: This posting is a personal opinion and not that of Kronos Inc.