🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #1071

Re: IF definitions in setup file

#1071
From: Kim F. Storm
Date: Fri, 09 Nov 1990 18:21
40 lines
2388 bytes
jbn35564@uxa.cso.uiuc.edu (J.B. Nicholson) writes:

>How about making some of the definitions in the setup file changeable if a
>certain condition is met?  A relatively trivial example is that I don't want
>my .signature file posted if I'm posting to alt.personals.

Well to avoid posting the .signature usually requires more drastic measures
since inews will do that unconditionally if the file exists.

>  I don't want it
>to ask me if I want it, I just don't want it there.  On the other hand, for
>all other newsgroups, I'd want it there w/o question.

But in the general case, what you are really asking for is to have
some commands executed (e.g. a :set ...) depending on which group
you post to.

This is semi-possible today, since it is possible via the group entry
macro if you restrict yourself to only post to the group you are currently
looking at.  But if you specify an alternative group, such a possibility
does not exist.  A more significant consequence of this is that you cannot
easily define different default-distribution:s for different groups.

This is a problem which I haven't found an elegant solution for yet,
so ideas are welcome.

>Is there a way to do this that I am missing?

>Thanks.

>Jeff
>--
>+----------------------------------------------------------------------------+
>| "Earth destroyed by solar flare.  Film at eleven"  - The last nightly news.|
>+----------------------------------------------------------------------------+
>| jeffo@mrcnext.cso.uiuc.edu             These opinions are mine, that's all.|
>+----------------------------------------------------------------------------+
-- 
Kim F. Storm  <storm@texas.dk>		No news is good news,
Texas Instruments A/S, Denmark		  but nn is better!
Technical Details
Message-ID: <717@texas.dk>
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!gmdzi!unido!mcsun!sunic!dkuug!tidk!storm
References: <1990Oct26.172226.17883@ux1.cso.uiuc.edu>

Show Full Headers
Complete Article Headers
Message-ID: <717@texas.dk>
Subject: Re: IF definitions in setup file
Date: Fri, 09 Nov 1990 18:21:55 +0000
From: storm@texas.dk (Kim F. Storm)
References: <1990Oct26.172226.17883@ux1.cso.uiuc.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.nn.mbox.zip!gmdzi!unido!mcsun!sunic!dkuug!tidk!storm
Newsgroups: news.software.nn
Keywords: if-defs setup file
Organization: Texas Instruments, Denmark
Lines: 40
Posted: Fri Nov 9 19:21:55 1990