🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #6610

Re: Tin default subscriptions??

#6610
From: Noel Hunter
Date: Mon, 22 Nov 1993 18:31
40 lines
2217 bytes
Daniel Len Schales (dan@engr.latech.edu) wrote:
: On Mon, 22 Nov 1993 11:53:59 GMT, Rob May (may@rd.eng.bbc.co.uk) wrote:
: [some portions of tin manual page deleted]

: >      permissions set to 0644. If reading news via  NNTP  my  LIST
: >      SUBSCRIPTIONS  patch  will have to have been applied to your
: >      NNTP server.


: adding support for the LIST SUBSCRIPTIONS to INN's nnrpd is trivial.
: Just look in nnrpd/commands.c and duplicate one of the other LIST
: subfunctions and change it to use a subscriptions file instead (
: i.e. add another LISTINFO and a clause in the else-if structure.

: You probably also want to add subscriptions to the list entry in
: the CMDtable in nnrpd.c.

Any chance of posting diffs to do this?

Another solution which we have implemented is to replace tin with a simple
shell script (see below).  Our script checks for a .newsrc file, and if
none exists, it copies a default one.  The it runs tin.  An unrelated feature 
is the display of a disclaimer message:

#!/bin/sh
clear
cat /usr/local/lib/tin/NOTICE
read TEMP
if [ -n "$TEMP" ]
then
   exit
fi
if [ !  -r $HOME/.newsrc ]; then
  cp /usr/local/lib/tin/newsrc $HOME/.newsrc
  chown `whoami` $HOME/.newsrc
fi
exec /usr/local/lib/tin/tin $*

* Noel Hunter,  Academic Systems Administrator,    Wake Forest University  *
* noel@wfu.edu TEL:(919) 759-5812 MAIL:PO Box 7408 Winston-Salem, NC 27109 *
Technical Details
Message-ID: <2cr0h5$oim@quad.wfunet.wfu.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!xlink.net!howland.reston.ans.net!gatech!concert!quad.wfunet.wfu.edu!ac!noel
References: <2cgl50$762@apollo.it.luc.edu> <2cpvkk$1p0@netserver.univ-lille1.fr> <CGw6E0.E11@bbc.co.uk> <2cqij0$7lq@aurora.engr.latech.edu>

Show Full Headers
Complete Article Headers
Message-ID: <2cr0h5$oim@quad.wfunet.wfu.edu>
Subject: Re: Tin default subscriptions??
Date: Mon, 22 Nov 1993 18:31:01 +0000
From: noel@ac.wfu.edu (Noel Hunter)
References: <2cgl50$762@apollo.it.luc.edu> <2cpvkk$1p0@netserver.univ-lille1.fr> <CGw6E0.E11@bbc.co.uk> <2cqij0$7lq@aurora.engr.latech.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!xlink.net!howland.reston.ans.net!gatech!concert!quad.wfunet.wfu.edu!ac!noel
Newsgroups: news.software.readers
Organization: Wake Forest University
Lines: 40
NNTP-Posting-Host: ac.wfunet.wfu.edu
X-Newsreader: TIN [version 1.2 PL2]