🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #42534

Re: Two trn questions...

#42534
From: Conrad Sabatier
Date: Tue, 04 Aug 1998 00:00
29 lines
1595 bytes
In article <6q5d00$pt3@xochi.tezcat.com>,
Chris 'Coz' Costello <coz@xochi.tezcat.com> wrote:
>
>That worked.  Thanks again.  I don't suppose there's a sneaky way
>to save to different files for different groups?  The placeholders
>didn't work here, which wasn't all that surprising.  Not a totally
>big deal, as I can live with it all being in one file.

You can set environment variables on entering and leaving a group using
the following syntax in the *local* killfile for a group:

&-EVARIABLE=whatever
X&-EVARIABLE=another-whatever

The first line is invoked on entering the group, the second one on
exiting.  This is a handy way to temporarily change a variable within a
group and then restore it to some global value on exiting the group.

So, for instance, you could do:

&-EAUTHORCOPY=/path/to/authorcopy/for/this/group
X&-EAUTHORCOPY=/default/path/for/authorcopy

The same can be done with SAVEDIR and any other environment variables trn
understands.

HTH

Technical Details
Message-ID: <6q8aua$q8a$1@dolphin.neosoft.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <6pt7d8$ml2@xochi.tezcat.com> <6pukji$7vs$1@nntp1.ba.best.com> <6q5d00$pt3@xochi.tezcat.com>

Show Full Headers
Complete Article Headers
Message-ID: <6q8aua$q8a$1@dolphin.neosoft.com>
Subject: Re: Two trn questions...
Date: Tue, 04 Aug 1998 00:00:00 +0000
From: conrads@neosoft.com (Conrad Sabatier)
References: <6pt7d8$ml2@xochi.tezcat.com> <6pukji$7vs$1@nntp1.ba.best.com> <6q5d00$pt3@xochi.tezcat.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 378004588
Organization: NeoSoft, Inc.
Newsgroups: news.software.readers