🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
9 messages
9 total messages Started by David Wright Sr. Fri, 06 Aug 2004 13:21
Toggling HardKill on/off
#153139
Author: David Wright Sr.
Date: Fri, 06 Aug 2004 13:21
27 lines
1477 bytes
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.

I have it set HardKill=0 in xnews.ini as my default

I tried in groups.ini

[off-group-name]
OnLoaded=AcmHardKill

This turned it on when I loaded that particular group, but it remained 
on in all of the others. I tried various combinations of 

[.]
~Onloaded=AcmHardKill

Onloaded=~AcmHardKill

Did the same with OnOpen

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

Any suggestions would be appreciated

David Wright
Re: Toggling HardKill on/off
#153146
Author: »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«
Re: Toggling HardKill on/off
#153148
Author: David Wright Sr.
Date: Fri, 06 Aug 2004 16:41
34 lines
2041 bytes
»Q« <boxcars@gmx.net> wrote in 
news:MrQ953D71C4167B6itsmeitsQ@QsFQDN.dyndns.org:

> "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.
> 

Thanks. I appreciate it. I'll give it a shot.
David Wright
Re: Toggling HardKill on/off
#153149
Author: David Wright Sr.
Date: Fri, 06 Aug 2004 16:51
23 lines
1632 bytes
»Q« <boxcars@gmx.net> wrote in 
news:MrQ953D71C4167B6itsmeitsQ@QsFQDN.dyndns.org:

> "David Wright Sr." <dwrightsr@alltel.net> wrote in
> <news:Xns953D5F2077BE3nokvamli@130.133.1.4>:

(snip)


> 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.
> 

Thanks again. That did exactly what I wanted. I'll have to re-read the 
manual again and see what else I've missed.

David Wright
Re: Toggling HardKill on/off
#153190
Author: Homer.Simpson
Date: Sat, 07 Aug 2004 17:55
22 lines
1858 bytes
David Wright Sr. said
>> 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.
>> 
> 
> Thanks again. That did exactly what I wanted. I'll have to re-read the 
> manual again and see what else I've missed.

I hope you're prepared to read A LOT.  I don't see how anyone could learn 
all the capabilities of XNEWS in one lifetime.  ;-)
 



-- 
Computer programmers don't byte, they nibble a bit. 
Re: Toggling HardKill on/off
#153198
Author: David Wright Sr.
Date: Sat, 07 Aug 2004 20:29
28 lines
2026 bytes
"Homer.Simpson" <Homer.Simpson@SpringfieldBB.com.INVALID> wrote in
news:Xns953E83FF71269nope@130.133.1.4: 

> David Wright Sr. said
>>> 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.
>>> 
>> 
>> Thanks again. That did exactly what I wanted. I'll have to re-read
>> the manual again and see what else I've missed. 
> 
> I hope you're prepared to read A LOT.  I don't see how anyone could
> learn all the capabilities of XNEWS in one lifetime.  ;-)
>  

Not only that, but I've modifed the HTML manual that comes with it to add 
in 5 various pieces of documentation that I created in pdf format from 
the web.

Now it's going to take a couple of extra lifetimes. ;-)>


David Wright
Re: Toggling HardKill on/off
#153212
Author: sittingduck
Date: Sat, 07 Aug 2004 23:43
12 lines
1569 bytes
David Wright Sr. wrote:

> Not only that, but I've modifed the HTML manual that comes with it to add 
> in 5 various pieces of documentation that I created in pdf format from 
> the web.

Care to share? I just refreshed my spamgourmet address so if you want to 
email me it will work until I get spammed another 20 times. :)

-- 
8/7/2004  
1:33 AM [GMT-8]
Re: Toggling HardKill on/off
#153277
Author: Tech Zero
Date: Sun, 08 Aug 2004 20:29
14 lines
1682 bytes
The voice of "Homer.Simpson" drifted in on the cyber-winds, 
from the sea of virtual chaos...

>> Thanks again. That did exactly what I wanted. I'll have to
>> re-read the manual again and see what else I've missed.
> 
> I hope you're prepared to read A LOT.  I don't see how anyone
> could learn all the capabilities of XNEWS in one lifetime.  ;-)


Possibly...  But that doesn't stop some of us from trying!  };8)

-- 
The Tech Zero, Maxx "What's That Score" Pollare...
Re: Toggling HardKill on/off
#153298
Author: »Q«
Date: Sun, 08 Aug 2004 22:27
14 lines
1598 bytes
"David Wright Sr." <dwrightsr@alltel.net> wrote in
<news:Xns953D82CFB28B9nokvamli@130.133.1.4>:

> Thanks again. That did exactly what I wanted. I'll have to re-read
> the manual again and see what else I've missed.

You're very welcome.  You may want to grab a copy of the complete
changes.txt;  the changes.txt that comes with current versions omits
some older changes.

<http://xnews-icon-patchers.bebto.com/xnews/changes.txt>

-- 
»Q«
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