🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
3 messages
3 total messages Started by Jari Junikka Sun, 24 Apr 1994 14:19
Tin and multiple nntp-feeds
#8691
Author: Jari Junikka
Date: Sun, 24 Apr 1994 14:19
27 lines
1762 bytes
I want to use tin with two different nntp-newsfeeds and I am wondering
what is the correct set-up. I created two scripts more or less like:

#! /bin/sh
export NNTPSERVER TIN_HOMEDIR
NNTPSERVER=server[12]
TIN_HOMEDIR=$HOME/.tinhome[12]
if [ ! -d $TIN_HOMEDIR ]
then
  mkdir $TIN_HOMEDIR
fi
tin -f .tin.newsrc[12] $*

[12] = select one in all cases to get the first script, two to get the second
script. This works fine with respect to not getting the groups from the two
feeds mixed up and giving spurious messages about newsgroups not in active
file. BUT it creates the News and Mail directories under the TIN_HOMEDIR
which isn't what I want. Naturally, I want ONE mail and news directory per
users (at least by default unless the user takes explicit steps to set up
the environment differently). What should I do to get this behavior?

Worth a bug report to Ian?


thanks,

jari
Re: Tin and multiple nntp-feeds
#8700
Author: Greg Berigan
Date: Mon, 25 Apr 1994 00:26
26 lines
1662 bytes
jarij@network.cc.jyu.fi (Jari Junikka) writes:

>I want to use tin with two different nntp-newsfeeds and I am wondering
>what is the correct set-up.

Myself, I use:

#!/bin/csh
cp ~/.newsrc.XXX ~/.newsrc.XXX.bak
setenv NNTPSERVER XXXX.XXXXXXX.XXX
tin -r -f ~/.newsrc.XXX -I ~/.tin/.index.XXX -U $*
exit 0

for my server.  If I had other servers, I'd alter it for them and change
the command name.  The -f option allows you to specify a file other than
~/.newsrc and the -I allows you to specify an alternate index directory
other than ~/.tin/.index.  This leaves everything else intact (~/Mail,
~/News, etc.).  Naturally, the XXX's are replaced by the actual server
name.  The first cp is just for my personal security.

Oh, tin v1.2 PL2, naturally. :-)

-- 
gberigan@cse.unl.edu (Greg Berigan)

Be articulate! Your new patience will not show up immediately.
Re: Tin and multiple nntp-feeds
#8735
Author: John Iacoletti
Date: Tue, 26 Apr 1994 19:34
12 lines
1587 bytes
In article <2pf2o4$rnq@crcnis1.unl.edu>, gberigan@cse.unl.edu (Greg Berigan) writes:
|>                 If I had other servers, I'd alter it for them and change
|> the command name.  The -f option allows you to specify a file other than
|> ~/.newsrc and the -I allows you to specify an alternate index directory
|> other than ~/.tin/.index.

I've never been able to get the -I flag to work.  It always uses ".index".

--
John Iacoletti     IBM RISC System/6000 Division     johniac@austin.ibm.com
        My opinions do not reflect the views of the IBM Corporation
           "Kay Bailey Hutchison:  A woman without convictions"
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads