greid@adobe.com (Glenn Reid) (08/30/89)
Sorry if this has come up already; I haven't seen anything about it for quite a while. Before I go off and try to get a news feed up and running, has anybody done this already, and is it easy and/or worth the effort? ["news", as in rnews, rn, /usr/spool/news, and stuff like that, not "NeWS"]. Thanks, Glenn Reid Adobe Systems
gerrit@nova.cc.purdue.edu (Gerrit) (08/30/89)
In article <1133@adobe.UUCP> greid@adobe.COM (Glenn Reid) writes: > >Before I go off and try to get a news feed up and running, >has anybody done this already, and is it easy and/or worth >the effort? ["news", as in rnews, rn, /usr/spool/news, and >stuff like that, not "NeWS"]. I've brought up rrn and the nntp version of inews with no memorable problems. There weren't any compilation problems that couldn't be fixed with a "-bsd" passed to cc. No unusual problems to report on NNTP (other than the annoying 0.9 TCP/IP bug which is gone in 1.0). gerrit
carlson@mrcnext.cso.uiuc.edu (08/31/89)
Would you be interested in a notes/nntp system?
I can post the necessary patches, if there is enough interest.
/* Written 4:01 pm May 10, 1989 by carlson@mrcnext.cso.uiuc.edu in mrcnext.cso.uiuc.edu:comp.sys.next */
/* ---------- "NNTP <-> Notes" ---------- */
I wondered what would happen if I sent test notes to a real group :-)
It occurred to me that others might want to try notes<->NNTP.
(I didn't want to wait for a news feed.)
Here are the steps to hook up U. of Illinois notes(1) to NNTP:
To download notes, use (via {): nntpxfer,
hacked to use newsinput instead of inews.
The dbm routines have been deactivated.
To upload to NNTP server, use newsoutput (via {)
with net.how set up as:
Usenet:x:::/usr/spool/notes/.utilities/nntpup
File nntpup contains:
#! /bin/sh
# simulate piped operation by nntpxmit
tmp=nf_nntp$$
cat >$tmp
nntpxmit -a garcon:$tmp
rm $tmp
This note should go out via this very method.
I did some other hacks, such as deactivate load average checking in
nntpxmit (access /dev/kmem).
Also, in several places notes tries to write to a string constant;
this is not allowed on NeXT w/ GNU C, and causes Seg Violations.
Both notes and nntp package came from uxc.cso.uiuc.edu.
I don't really have the time to provide a full cookbook of required
modifications.
Basically nntp->notes uses NEWNEWS command; a timestamp file
is saved for the NEWNEWS command, to suppress old notes.
(Our server still sends a few old notes anyway, I don't know why.
Notes also filters out repeated notes.)
notes->nntp uses IHAVE command, sends only notes server does not have.
--------------------
Brad Carlson <carlson@mrcnext.cso.uiuc.edu> or <b-carlson@uiuc.edu>
University of Illinos at Urbana-Champaign
NeXT guru for the Micro Resource Center
/* End of text from mrcnext.cso.uiuc.edu:comp.sys.next */
--------------------
Brad Carlson <carlson@mrcnext.cso.uiuc.edu> or <brad-carlson@uiuc.edu>
University of Illinois--Micro Resource Center--NeXT guru