🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #6222

Re: Multi .newsrc's ?

#6222
From: Joseph Boyle
Date: Mon, 08 Aug 1994 07:44
13 lines
1216 bytes
nixltd@yarrow.wt.uwa.edu.au (Nautronix Australia) writes:

>I just set $HOME to a subdirectory and run 'nn' again, it thinks it's not 
>been run before and installs itself properly.

Thanks! I took your advice and this remarkably short script does the job.

#!/bin/csh
setenv HOME ~boyle/.khris	#my guest's .newsrc is in here
nn $1 $2

Since the script's subshell has its own environment, HOME stays unchanged 
in my original environment, so no worries about not setting it back.
Technical Details
Message-ID: <boyleCu7HHF.CKG@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!bga.com!news.sprintlink.net!hookup!swrinde!howland.reston.ans.net!agate!library.ucla.edu!csulb.edu!csus.edu!netcom.com!boyle
References: <31k169$ptv@crl2.crl.com> <31ka8m$qbe@franklin.cc.utas.edu.au> <nixltd.775826080@yarrow>

Show Full Headers
Complete Article Headers
Message-ID: <boyleCu7HHF.CKG@netcom.com>
Subject: Re: Multi .newsrc's ?
Date: Mon, 8 Aug 1994 07:44:02 GMT
From: boyle@netcom.com (Joseph Boyle)
References: <31k169$ptv@crl2.crl.com> <31ka8m$qbe@franklin.cc.utas.edu.au> <nixltd.775826080@yarrow>
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!bga.com!news.sprintlink.net!hookup!swrinde!howland.reston.ans.net!agate!library.ucla.edu!csulb.edu!csus.edu!netcom.com!boyle
Newsgroups: news.software.nn
Keywords: .newsrc nn nonews no.news
Organization: Boyle, Boyle, toil and trouble
Lines: 14