🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #153146

Re: Toggling HardKill on/off

#153146
From: »Q«
Date: Fri, 06 Aug 2004 16:11
30 lines
2125 bytes
"David Wright Sr." <dwrightsr@alltel.net> wrote in
<news:Xns953D5F2077BE3nokvamli@130.133.1.4>:

> I want to have HardKill turned on in one specific group, but off
> in all of the others without having to remember to manually toggle
> it each time I go to a new group.

In the [Misc] section of xnews.ini,

OnOpen=acmHardKill+

And in the appropriate section of groups.ini,

OnOpen=acmHardKill-

Or you may want to use OnLoaded.

> but couldn't find any thing that would appear to turn it off as
> opposed to simply toggling it from its previous state.

Here's Luu's explanation in changes.txt:

   Many commands in Xnews are toggles (execute it once, it turns on;
   execute it again, it turns off, and versa vice).  You often want
   to turn something on or off definitively and not just toggling
   it.  So in OnLoaded and OnOpen, add a + or - after a command to
   turn it on or off regardless of what its current state is.

-- 
»Q«
Technical Details
Message-ID: <MrQ953D71C4167B6itsmeitsQ@QsFQDN.dyndns.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!not-for-mail
References: <Xns953D5F2077BE3nokvamli@130.133.1.4>

Show Full Headers
Complete Article Headers
Message-ID: <MrQ953D71C4167B6itsmeitsQ@QsFQDN.dyndns.org>
Subject: Re: Toggling HardKill on/off
Date: Fri, 06 Aug 2004 16:11:01 GMT
From: »Q« <boxcars@gmx.net>
References: <Xns953D5F2077BE3nokvamli@130.133.1.4>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!not-for-mail
Newsgroups: news.software.readers
Organization: we don't need no stinkin' organization
Lines: 30
X-Trace: news.uni-berlin.de Ghl7VQE4ao4b7/fGBQkfdgUzi2vhQjq4dnuQ8ig4eoRPQVIL7K
X-Orig-X-Complaints-To: <http://www.cybergecko.com/complain.htm>
X-Face: *#`F(_&o, GRH~~$V&ByU1LZAWc]JgxuT`Pv2y0`&JE`(=*PcC>#m2]xv]p,
 i|9mDJ+8dGMJl`V[!z]\N}qrLTHjU]Sew>rQBShT_8.(0Q(iH,
 Gu7k|y/)^!@oVydVrix*#|-|u2~zgA'U3nQ_fa#jXvcGL[9f:>8?U=hXYK3D~*}Gq$TjPe1WXEFLGTiB3ot!oMH"'(Jop0(\0C