Path: utzoo!attcan!utgpu!watmath!iuvax!uxc.cso.uiuc.edu!garcon!mrcnext.cso.uiuc.edu!carlson From: carlson@mrcnext.cso.uiuc.edu Newsgroups: comp.sys.next Subject: Re: Anybody ported netnews? Message-ID: <800020@mrcnext.cso.uiuc.edu> Date: 31 Aug 89 16:23:00 GMT References: <1133@adobe.UUCP> Lines: 55 Nf-ID: #R:adobe.UUCP:1133:mrcnext.cso.uiuc.edu:800020:000:1972 Nf-From: mrcnext.cso.uiuc.edu!carlson Aug 31 11:23:00 1989 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 or 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 or University of Illinois--Micro Resource Center--NeXT guru