🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
19 messages
19 total messages Started by Joe McArthur Mon, 30 Jun 2003 07:56
[Xnews] Filter override for Outbox?
#127385
Author: Joe McArthur
Date: Mon, 30 Jun 2003 07:56
8 lines
1274 bytes
I've got "OnLoaded=acvShowUnread" in the Misc section of my Xnews.ini 
file, but do not want it to apply to my Outbox folder.  Can it be done?  I 
read in the manual how certain overrides can be achieved, on a per-Group 
or even per-Server basis, but the Outbox is just a folder and I'm guessing 
that Group/Server overrides won't apply to it.

Joe
Re: [Xnews] Filter override for Outbox?
#127423
Author: Joe McArthur
Date: Mon, 30 Jun 2003 23:27
16 lines
1588 bytes
DC <dcmoose@myrealbox.com> wrote in
news:Xns93AB6D8BAD76Cdcspamfree@oh11jvax13.eh135: 

[snip]
 
> So, what you would need to do, to override your xnews.ini (global)
> setting, is to add a line to your groups.ini file, like this:
> 
> [outbox]
> OnLoaded=acvRemoveFilter

Cool!  Works like a charm.  Thanks DC.  I did read that section of the 
manual but was unsure how to implement it, and was sceptical about it 
actually working, for the Outbox.  It's good to be wrong sometimes.

Joe
Re: [Xnews] Filter override for Outbox?
#127463
Author: Joe McArthur
Date: Tue, 01 Jul 2003 16:28
26 lines
2071 bytes
Tech Zero <nowhere@dragonfur.ca> wrote in 
news:Xns93ABE91B8C9C6Insomniac@news.cis.dfn.de:
> 
> Another way to do it is to move the "OnLoaded=acvShowUnread" command to 
> your Groups.ini and use a layout like this...
> 
>   [^outbox$]
>   ; Just left blank...
> 
>   [~binaries]
>   OnLoaded=acvShowUnread
> 
>   [.*]
>   ; Settings for binary groups...
> 
> "acvRemoveFilter" is removing the filters after they are applied in 
> your Xnews.ini where as this set-up just sets your filter for the 
> groups you need. While there's nothing wrong with the other approach, 
> from a purest angle it's a "little clobbered".

Thanks for the tip TZ.  If I understand (the above) correctly, the filter 
will apply to all non-binary groups.  If so, then I guess that will suit 
my purpose; I just wouldn't want to have to remember to add a block to 
the .ini file for any new NGs I might wish to add in the future.

Joe
Re: [Xnews] Filter override for Outbox?
#127465
Author: DC
Date: Tue, 01 Jul 2003 16:46
48 lines
2468 bytes
Joe McArthur wrote:

> I've got "OnLoaded=acvShowUnread" in the Misc section of my Xnews.ini 
> file, but do not want it to apply to my Outbox folder.  Can it be done?  I 
> read in the manual how certain overrides can be achieved, on a per-Group 
> or even per-Server basis, but the Outbox is just a folder and I'm guessing 
> that Group/Server overrides won't apply to it.

>From the manual:

Setting in groups.ini override those in servers.ini, which in turn override 
those in xnews.ini. The following settings may be overridden in groups.ini:

    * Name
    * Email
    * PublicEMail
    * IDToken
    * Organization
    * SigFile
    * MultipartThreading
    * SortOn
    * SortOrder
    * ColumnLayout
    * ExpandAllThreads
    * FullScreen
    * AttachDir
    * DecodeDir
    * Archive
    * Queue
    * NewsAttrib
    * MailAttrib
    * ForwAttrib
    * OnOpen
    * OnLoaded
    * AltServers

So, what you would need to do, to override your xnews.ini (global) setting, 
is to add a line to your groups.ini file, like this:

[outbox]
OnLoaded=acvRemoveFilter

-- 
DC

DC's Custom Xnews Icons http://dcicons.tripod.com
Xnews Help Pages http://www.geocities.com/d4vidb
Xnews Menu-Reference http://www.seegras.de/xnews
Re: [Xnews] Filter override for Outbox?
#127494
Author: Joe McArthur
Date: Tue, 01 Jul 2003 23:04
36 lines
2746 bytes
Tech Zero <nowhere@dragonfur.ca> wrote in 
news:Xns93ABE91B8C9C6Insomniac@news.cis.dfn.de:
>
> Another way to do it is to move the "OnLoaded=acvShowUnread" command to 
> your Groups.ini and use a layout like this...
> 
>   [^outbox$]
>   ; Just left blank...
> 
>   [~binaries]
>   OnLoaded=acvShowUnread
> 
>   [.*]
>   ; Settings for binary groups...
> 
> "acvRemoveFilter" is removing the filters after they are applied in 
> your Xnews.ini where as this set-up just sets your filter for the 
> groups you need. While there's nothing wrong with the other approach, 
> from a purest angle it's a "little clobbered".

Well I tried your suggestion, but it didn't satisfy my original goal.  
Apparently the "Outbox" is not considered to be a non-binary group.  It's 
probably not considered to be a binary group either; really, it isn't a 
"group" at all, but rather a folder, which is why I was originally doubtful 
about a groups.ini entry being able to achieve a filter effect on it.  Of 
course DC proved me wrong on that score, to which I'm still grateful, and 
will now revert back to that solution (even if it isn't the most elegant 
one possible).

In going back to the original fix it occurred to me that I also need an 
'acvRemoveFilter' command applied to my "Sent" folder.  No big deal - I 
just added the approprate entry to my .ini file, but then thought ... gee, 
what if I were to add some more folders in the future?  Maybe what I really 
need is a blanket statement for any and all folders.  Is that possible?

Joe
Re: [Xnews] Filter override for Outbox?
#127498
Author: DC
Date: Wed, 02 Jul 2003 00:02
26 lines
2091 bytes
Joe McArthur wrote:

> DC <dcmoose@myrealbox.com> wrote in
> news:Xns93AB6D8BAD76Cdcspamfree@oh11jvax13.eh135: 
> 
> [snip]
>  
>> So, what you would need to do, to override your xnews.ini (global)
>> setting, is to add a line to your groups.ini file, like this:
>> 
>> [outbox]
>> OnLoaded=acvRemoveFilter
> 
> Cool!  Works like a charm.  Thanks DC.  I did read that section of the 
> manual but was unsure how to implement it, and was sceptical about it 
> actually working, for the Outbox.  It's good to be wrong sometimes.

Hey, you're welcome.  You'll get a feel for the way those .ini files work the 
more you experiment with them.

-- 
DC

DC's Custom Xnews Icons http://dcicons.tripod.com
Xnews Help Pages http://www.geocities.com/d4vidb
Xnews Menu-Reference http://www.seegras.de/xnews
Re: [Xnews] Filter override for Outbox?
#127517
Author: Tech Zero
Date: Wed, 02 Jul 2003 04:54
40 lines
2332 bytes
The voice of "Joe McArthur" drifted in on the cyber-winds, 
from the sea of virtual chaos...

>> So, what you would need to do, to override your xnews.ini
>> (global) setting, is to add a line to your groups.ini file, 
>> like
>> this: 
>> 
>> [outbox]
>> OnLoaded=acvRemoveFilter
> 
> Cool!  Works like a charm.  Thanks DC.  I did read that section of
> the manual but was unsure how to implement it, and was sceptical
> about it actually working, for the Outbox.  It's good to be wrong
> sometimes. 


Another way to do it is to move the "OnLoaded=acvShowUnread" command to 
your Groups.ini and use a layout like this...

  [^outbox$]
  ; Just left blank...

  [~binaries]
  OnLoaded=acvShowUnread

  [.*]
  ; Settings for binary groups...

"acvRemoveFilter" is removing the filters after they are applied in 
your Xnews.ini where as this set-up just sets your filter for the 
groups you need. While there's nothing wrong with the other approach, 
from a purest angle it's a "little clobbered".

-- 
The Reverend Tech Zero (AKA: Maxwell Pollare)
First Baptist Church of X-News, may Delphi v7 save your soul...

* http://www.slyck.com/xnews.html  http://www.seegras.de/xnews     *
* http://www.geocities.com/d4vidb/ http://xnews.newsguy.com/sizer/ *
Re: [Xnews] Filter override for Outbox?
#127532
Author: Joe McArthur
Date: Wed, 02 Jul 2003 11:16
71 lines
4099 bytes
Tech Zero <nowhere@dragonfur.ca> wrote in 
news:Xns93ACB7BA6A0CInsomniac@news.cis.dfn.de:
> The voice of "Joe McArthur" drifted in on the cyber-winds, 
> from the sea of virtual chaos...
> 
>> Well I tried your suggestion, but it didn't satisfy my original
>> goal.  Apparently the "Outbox" is not considered to be a
>> non-binary group.  

[snip]

> Funny, it works well here... (From the top of my Groups.ini)
> 
>   [^(Archive|Dragons|Furry|Multimedia|Tech)$]
>   OnLoaded=acaMarkAllUnread,acvWordWrap+
>   FullScreen=1
> 
>   [^(Sent|Outbox)$]
>   OnLoaded=acaMarkAllUnread
>   SortOn=Group
>   SortOrder=1
>   ColumnLayout=3
>   FullScreen=1
> 
> These are all my folders, and the settings ARE applied to each...
> Then again I don't apply view filters globally, only in my Groups.ini.

The example you give above, from your own .ini file, is not the same as 
that which you gave me earlier, as an example, to use in *my* .ini file.  
Here's what you showed me before:

  [^outbox$]
  ; Just left blank...

  [~binaries]
  OnLoaded=acvShowUnread

The difference of course being that you had me applying the 'OnLoaded' 
command to non-binaries, whereas you appear to be applying yours to the 
Sent & Outbox folders specifically.  Big difference as it turns out.

> Did you make the changes while X-News was closed? It holds the settings 
> for the Xnews.ini in memory and writes it back when closed, so any 
> changes made while Xnews is open will be instantly undone.

Very interesting.  Does this only happen with the Xnews.ini file, or also 
with groups.ini (others?)?  I don't think it happened to me.  I believe 
both changes that I made -- to groups.ini and xnews.ini -- while Xnews 
was still open, did not get undone (but I could be wrong).  Regardless, I 
just now tried making the same changes again -- the original one you 
proposed -- with Xnews closed.  After restarting Xnews, the Outbox is 
still hiding the messages which are marked as 'read'; when I remove all 
filters on it, they reappear.  I'm guessing that the 'Outbox' cannot just 
be left blank in this case.
 
>> No big deal - I just added the approprate entry to my .ini file, but
>> then thought... gee, what if I were to add some more folders in
>> the future?  Maybe what I really need is a blanket statement for
>> any and all folders.  Is that possible? 
> 
> See earlier in this thread...  };8)
> 
> As for adding more folders, use "Open Folders" (Shift-F12 I think). Its 
> a handy way to add & delete folders & Queues. Two other useful commands 
> are "Archive=" & "Queue="; these allow you to set the default folders 
> for a group.

What I'm actually looking for is a regex for All Folders, but no 
Newsgroups, which I could then apply the 'acvRemoveFilter' command to.

Joe
Re: [Xnews] Filter override for Outbox?
#127575
Author: Tech Zero
Date: Thu, 03 Jul 2003 00:03
52 lines
3191 bytes
The voice of "Joe McArthur" drifted in on the cyber-winds, 
from the sea of virtual chaos...

> Well I tried your suggestion, but it didn't satisfy my original
> goal.  Apparently the "Outbox" is not considered to be a
> non-binary group.  It's probably not considered to be a binary
> group either; really, it isn't a "group" at all, but rather a
> folder, which is why I was originally doubtful about a groups.ini
> entry being able to achieve a filter effect on it.
> 
> Of course DC proved me wrong on that score, to which I'm still
> grateful, and will now revert back to that solution (even if it 
> isn't the most elegant one possible).

Funny, it works well here... (From the top of my Groups.ini)

  [^(Archive|Dragons|Furry|Multimedia|Tech)$]
  OnLoaded=acaMarkAllUnread,acvWordWrap+
  FullScreen=1

  [^(Sent|Outbox)$]
  OnLoaded=acaMarkAllUnread
  SortOn=Group
  SortOrder=1
  ColumnLayout=3
  FullScreen=1

These are all my folders, and the settings ARE applied to each...
Then again I don't apply view filters globally, only in my Groups.ini.

Did you make the changes while X-News was closed? It holds the settings 
for the Xnews.ini in memory and writes it back when closed, so any 
changes made while Xnews is open will be instantly undone.

> No big deal - I just added the approprate entry to my .ini file, but
> then thought... gee, what if I were to add some more folders in
> the future?  Maybe what I really need is a blanket statement for
> any and all folders.  Is that possible? 

See earlier in this thread...  };8)

As for adding more folders, use "Open Folders" (Shift-F12 I think). Its 
a handy way to add & delete folders & Queues. Two other useful commands 
are "Archive=" & "Queue="; these allow you to set the default folders 
for a group.

-- 
The Reverend Tech Zero (AKA: Maxwell Pollare)
First Baptist Church of X-News, may Delphi v7 save your soul...

* http://www.slyck.com/xnews.html  http://www.seegras.de/xnews     *
* http://www.geocities.com/d4vidb/ http://xnews.newsguy.com/sizer/ *
Re: [Xnews] Filter override for Outbox?
#127604
Author: Tech Zero
Date: Thu, 03 Jul 2003 21:37
70 lines
4062 bytes
The voice of "Joe McArthur" drifted in on the cyber-winds, 
from the sea of virtual chaos...

 [hack]
>> These are all my folders, and the settings ARE applied to each...
>> Then again I don't apply view filters globally, only in my
>> Groups.ini. 
> 
> The example you give above, from your own .ini file, is not the
> same as that which you gave me earlier, as an example, to use in
> *my* .ini file. 

I never said the prior ones were from my Group.ini, only that it should 
work.
>From the Manual... (You do read it, don't you?)

"Note that the program processes groups.ini in sequential order and 
stops once it finds a match....  Often, you may want the program to 
continue on to the next section in groups.ini. To do this, add 
continue=1 to the current section. Take the example above."


Of course the blank entry trick works in the Score.ini, but I've never 
tested it in my own Groups.ini...  My Bad.  }:8P
 
>> Did you make the changes while X-News was closed? It holds the
>> settings for the Xnews.ini in memory and writes it back when
>> closed, so any changes made while Xnews is open will be instantly
>> undone. 
> 
> Very interesting.  Does this only happen with the Xnews.ini file,
> or also with groups.ini (others?)?

All ini files used by Xnews are read into memory when the program is 
first started and are never read again for that session. The only 
exceptions are the Xnews.ini & the Score.ini. 

The score.ini is constantly monitored for changes and is acted upon 
according to what you have set in the "Xnews Set-up/Misc" section.

The Xnews.ini is written over when Xnews is closed with whatever 
settings it has in memory. This is because Xnews stores some temporary 
state info in it for the next time it's loaded.

>>> No big deal - I just added the appropriate entry to my .ini file,
>>> but then thought... gee, what if I were to add some more folders
>>> in the future?  Maybe what I really need is a blanket statement
>>> for any and all folders.  Is that possible? 
>> 
>> See earlier in this thread...  };8)
 <snip>
> 
> What I'm actually looking for is a regex for All Folders, but no 
> Newsgroups, which I could then apply the 'acvRemoveFilter' command
> to. 

Ether "[~\.]" or "[^\w+$]" should work for matching all folders, 
provided ther are no spaces in them. The first looks for the absence of 
a period, and the second looks for a group/folder that consists of only 
one word.

Unfortunately it still tests newsgroups, but since most "useful" 
newsgroups contain at least one period there shouldn't be a problem.

-- 
The Reverend Tech Zero (AKA: Maxwell Pollare)
First Baptist Church of X-News, may Delphi v7 save your soul...

* http://www.slyck.com/xnews.html  http://www.seegras.de/xnews     *
* http://www.geocities.com/d4vidb/ http://xnews.newsguy.com/sizer/ *
Re: [Xnews] Filter override for Outbox?
#127901
Author: Joe McArthur
Date: Sun, 06 Jul 2003 21:35
73 lines
4522 bytes
Tech Zero <nowhere@dragonfur.ca> wrote in 
news:Xns93AD9EE647B8AInsomniac@news.cis.dfn.de:
> The voice of "Joe McArthur" drifted in on the cyber-winds, 
> from the sea of virtual chaos...
> 
>  [hack]
>>> These are all my folders, and the settings ARE applied to each...
>>> Then again I don't apply view filters globally, only in my
>>> Groups.ini. 
>> 
>> The example you give above, from your own .ini file, is not the
>> same as that which you gave me earlier, as an example, to use in
>> *my* .ini file. 
> 
> I never said the prior ones were from my Group.ini, 

Nor did I ever say that you had said they were (from your groups.ini 
file), only that there was a definite mismatch between what you 
originally told me to do, and what you later said works for you.  When 
you don't preach what you practice, Somebodies bound to notice.  <g>

> only that it should work.

So what's the bottom line?  Did you simply make a mistake when giving me 
the original suggestion (i.e. you meant to give me what was actually in 
your very own .ini file), or ... ?

> From the Manual... (You do read it, don't you?)

Yes, maybe not in its entirety yet, but I have tried to locate needed 
sections, and have read quite a bit of it at this point.  It is certainly 
lacking in coverage of many topics, but then we get what we pay for.
 
> "Note that the program processes groups.ini in sequential order and 
> stops once it finds a match....  Often, you may want the program to 
> continue on to the next section in groups.ini. To do this, add 
> continue=1 to the current section. Take the example above."

While this is certainly a useful thing to know, and I thank you for 
pointing it out, it's relevance to the issue is unclear.  Adding a 
"continue=1" statement to your suggested groups.ini entry, makes no 
difference in the results.
 
> Of course the blank entry trick works in the Score.ini, but I've never 
> tested it in my own Groups.ini...  My Bad.  }:8P
>  
>>> Did you make the changes while X-News was closed? It holds the
>>> settings for the Xnews.ini in memory and writes it back when
>>> closed, so any changes made while Xnews is open will be instantly
>>> undone. 
>> 
>> Very interesting.  Does this only happen with the Xnews.ini file,
>> or also with groups.ini (others?)?
> 
> All ini files used by Xnews are read into memory when the program is 
> first started and are never read again for that session. The only 
> exceptions are the Xnews.ini & the Score.ini. 
> 
> The score.ini is constantly monitored for changes and is acted upon 
> according to what you have set in the "Xnews Set-up/Misc" section.
> 
> The Xnews.ini is written over when Xnews is closed with whatever 
> settings it has in memory. This is because Xnews stores some temporary 
> state info in it for the next time it's loaded.

You managed to confuse me again.  You now say that Xnews.ini is an 
"exception" to the rule - the rule being that the .ini file is read at 
program startup, never read again, and then written back when the program 
closes.  So am I to assume then that changes made to Xnews.ini, during an 
open session, will *not* be undone when Xnews closes?
 
Joe
Re: [Xnews] Filter override for Outbox?
#127947
Author: Joe McArthur
Date: Mon, 07 Jul 2003 07:58
28 lines
2866 bytes
Tech Zero <nowhere@dragonfur.ca> wrote in 
news:Xns93B1AA02353D9Insomniac@news.cis.dfn.de:
> The voice of "Joe McArthur" drifted in on the cyber-winds, 
> from the sea of virtual chaos...
> 
>> You managed to confuse me again.  You now say that Xnews.ini is an
>> "exception" to the rule - the rule being that the .ini file is
>> read at program startup, never read again, and then written back
>> when the program closes.  So am I to assume then that changes made
>> to Xnews.ini, during an open session, will *not* be undone when
>> Xnews closes? 
> 
> No... What I'm saying is setting changed directly in the Xnews.ini, 
> using a Text editor, while Xnews is open will be undone when Xnews is 
> closed. All other direct changes made to ini files, except for the 
> score.ini file (again with a text editor), will just be just ignored 
> until Xnews is restarted. Is that clear enough?

Yes, that is clear, thank you.  However, and I'm truly sorry if this 
causes you more agitation, it appears that you are wrong.  Case in point 
... while Xnews was running, I manually edited the Xnews.ini file, adding 
the line "AutoCollapse=1" to the [Misc] section, and then saving the file 
back to disk.  I then closed Xnews.  I then restarted Xnews, and low and 
behold - the new line I added was still there and in fact working as 
advertised (i.e. auto collapsing threads as described in the manual).  
Sorry TZ.

Joe
Re: [Xnews] Filter override for Outbox?
#127973
Author: Joe McArthur
Date: Mon, 07 Jul 2003 17:30
45 lines
3475 bytes
Tech Zero <nowhere@dragonfur.ca> wrote in 
news:Xns93B25C597D9B9Insomniac@news.cis.dfn.de:
> The voice of "Joe McArthur" drifted in on the cyber-winds, 
> from the sea of virtual chaos...
> 
>> Yes, that is clear, thank you.  However, and I'm truly sorry if
>> this causes you more agitation, it appears that you are wrong. 
>> Case in point ... while Xnews was running, I manually edited the
>> Xnews.ini file, adding the line "AutoCollapse=1" to the [Misc]
>> section, and then saving the file back to disk.  I then closed
>> Xnews.  I then restarted Xnews, and low and behold - the new line
>> I added was still there and in fact working as advertised (i.e.
>> auto collapsing threads as described in the manual).  Sorry TZ.
> 
> Try adjusting any of the following while Xnews is open...
> And then tell me I'm wrong.  };8)
> 
>   [Misc]
>   QuoteChars=
>   QuoteRegex=
>   SigDashRegex=

Your wrong.

Although having no need to alter any of the above settings, for the sake 
of further rebuttal -- and experimentation -- I went ahead and added a
"SigDashRegex=^\-\-\s$" line under the [Misc] section of my Xnews.ini 
(while Xnews was open of course).  After a close & restart of Xnews, 
guess what ... it's still there!

> It's just good standing to edit ini files while the program is closed 
> because you never know 100% how the program will react.

Be that as it may, you are backpedalling bigtime buddy.  Take it from one 
who knows, the best way to save face after a mistake has been exposed is 
to just admit it and move on.  We all make them, trust me, it doesn't 
have to be such a big deal.  Another word of advice - you can avoid 
potentially embarrassing rebuttals in the future by never asserting a 
thing which you do not *know* to be true.  As a Priest, Minister, etc., 
you can get away with this sort of thing, because no one can disprove 
religious based assertions.  The computer world is a whole different ball 
game however.

Cheers,
Joe
Re: [Xnews] Filter override for Outbox?
#127986
Author: Tech Zero
Date: Mon, 07 Jul 2003 22:42
23 lines
2365 bytes
The voice of "Joe McArthur" drifted in on the cyber-winds, 
from the sea of virtual chaos...

> You managed to confuse me again.  You now say that Xnews.ini is an
> "exception" to the rule - the rule being that the .ini file is
> read at program startup, never read again, and then written back
> when the program closes.  So am I to assume then that changes made
> to Xnews.ini, during an open session, will *not* be undone when
> Xnews closes? 

No... What I'm saying is setting changed directly in the Xnews.ini, 
using a Text editor, while Xnews is open will be undone when Xnews is 
closed. All other direct changes made to ini files, except for the 
score.ini file (again with a text editor), will just be just ignored 
until Xnews is restarted. Is that clear enough?

-- 
The Reverend Tech Zero (AKA: Maxwell Pollare)
First Baptist Church of X-News, may Delphi v7 save your soul...

* http://www.slyck.com/xnews.html  http://www.seegras.de/xnews     *
* http://www.geocities.com/d4vidb/ http://xnews.newsguy.com/sizer/ *
Re: [Xnews] Filter override for Outbox?
#128048
Author: Tech Zero
Date: Tue, 08 Jul 2003 15:04
30 lines
2540 bytes
The voice of "Joe McArthur" drifted in on the cyber-winds, 
from the sea of virtual chaos...

> Yes, that is clear, thank you.  However, and I'm truly sorry if
> this causes you more agitation, it appears that you are wrong. 
> Case in point ... while Xnews was running, I manually edited the
> Xnews.ini file, adding the line "AutoCollapse=1" to the [Misc]
> section, and then saving the file back to disk.  I then closed
> Xnews.  I then restarted Xnews, and low and behold - the new line
> I added was still there and in fact working as advertised (i.e.
> auto collapsing threads as described in the manual).  Sorry TZ.


Try adjusting any of the following while Xnews is open...
And then tell me I'm wrong.  };8)

  [Misc]
  QuoteChars=
  QuoteRegex=
  SigDashRegex=

It's just good standing to edit ini files while the program is closed 
because you never know 100% how the program will react.

-- 
The Reverend Tech Zero (AKA: Maxwell Pollare)
First Baptist Church of X-News, may Delphi v7 save your soul...

* http://www.slyck.com/xnews.html  http://www.seegras.de/xnews     *
* http://www.geocities.com/d4vidb/ http://xnews.newsguy.com/sizer/ *
Re: [Xnews] Filter override for Outbox?
#128065
Author: SINNER
Date: Tue, 08 Jul 2003 18:36
62 lines
3391 bytes
While strolling through news.software.readers, Joe McArthur was overheard 
plotting:

>> Try adjusting any of the following while Xnews is open...
>> And then tell me I'm wrong.  };8)
>> 
>>   [Misc]
>>   QuoteChars=
>>   QuoteRegex=
>>   SigDashRegex=
> 
> Your wrong.
> 
> Although having no need to alter any of the above settings, for the sake 
> of further rebuttal -- and experimentation -- I went ahead and added a
> "SigDashRegex=^\-\-\s$" line under the [Misc] section of my Xnews.ini 
> (while Xnews was open of course).  After a close & restart of Xnews, 
> guess what ... it's still there!
> 

OK, try it like this.

Open Xnews.
Open Xnews.ini
Remove everything after the = for QuoteRegex.
In Xnews, GO to Special, setup Xnews and simply click OK.
Close Xnews
Open Xnews.ini
Voila, the settings are back to the defaults

Apparently IF you dont open the config many of the options WONT be reset. 
Infact deleteing the Xnews.ini completely and then opeing and closing Xnews 
yielded the following:


[Metrics]
S:news.easynews.com=0,3,-1,-1,-4,-23,0,0,597,280
main=2,3,-1,-1,-1,-1,170,110,911,572
A:CIS.DFN.DE=2,3,-1,-1,-4,-23,44,44,870,499
S:CIS.DFN.DE=0,3,-1,-1,-4,-23,22,22,848,477

[Opened]
1=S:news.easynews.com
2=S:CIS.DFN.DE
Count=2


This was the whole Xnews.ini

So apparently it must depend on what you do within Xnews after making the 
changes to the ini file as to what will and will not stick.

That said, Max's suggestion:

> It's just good standing to edit ini files while the program is closed 
> because you never know 100% how the program will react.

Is probably wise as demonstrated in my example as the behavior is 
unpredictable.

-- 
David
Re: [Xnews] Filter override for Outbox?
#128225
Author: Joe McArthur
Date: Thu, 10 Jul 2003 00:28
53 lines
3572 bytes
SINNER <99nesorjd@ibtta.gov> wrote in
news:Xns93B28AC7822B4Louiscypherhellorg@140.99.99.130: 

[snip]
 
> OK, try it like this.
> 
> Open Xnews.
> Open Xnews.ini
> Remove everything after the = for QuoteRegex.
> In Xnews, GO to Special, setup Xnews and simply click OK.
> Close Xnews
> Open Xnews.ini
> Voila, the settings are back to the defaults
> 
> Apparently IF you dont open the config many of the options WONT be
> reset. 

Unfortunately I don't have time to muck around with this thing ad-
nauseam, especially since I have no complaints about the way it is 
working (for me).  Just for the hell of it, I added a new item -- 
"GenerateDateHeader=1", under the [Compose] section -- then went into the 
setup (Ctrl-F1) and clicked the Ok button.  After recycling Xnews (i.e. 
close and restart the program), my new setting was intact.  I even tried 
making a change to Xnews.ini (removed the "SigDashRegex=" line I had 
added previously), and then an actual change in the setup (assigned a 
value to the "SMTP Server" field).  After another recycle, the new 
changes I made were intact.

[snip]
 
> So apparently it must depend on what you do within Xnews after making
> the changes to the ini file as to what will and will not stick.

For me at least, it doesn't seem to matter what I do in Xnews after 
making a direct edit change of the .ini file ... my changes stick around.
With my batting record of a thousand maybe I can get the Yankees to give 
me a tryout.  :)

> That said, Max's suggestion:
> 
>> It's just good standing to edit ini files while the program is closed
>> because you never know 100% how the program will react.
> 
> Is probably wise as demonstrated in my example as the behavior is 
> unpredictable.

Despite my perfect record so far, I will accede to your comment above.  I 
hope not to have to make too many more (if any) changes to my Xnews.ini 
file, so hopefully this won't come back to bite me, but if it ever does, 
you'll all be able to say "I told you so".  8)

Joe
Re: [Xnews] Filter override for Outbox?
#128228
Author: Joe McArthur
Date: Thu, 10 Jul 2003 00:30
16 lines
1918 bytes
Guy <Use-Reply-To-Address-Header@[127.1]> wrote in 
news:93B29803546A82E284CEEC009E394A9D7@127.0.0.1:
> Joe McArthur wrote:
> 
>> Date: 7 Jul 2003 12:30:59 -0500
> 
> Please fix your date.

Do you mean I should try adding "GenerateDateHeader=1" to my .ini file?
 
> Sooner or later you will find that editing the Xnews.ini file while 
> Xnews is open is a bad idea.

See my previous post.

Joe
Re: [Xnews] Filter override for Outbox?
#128229
Author: DC
Date: Thu, 10 Jul 2003 00:38
22 lines
2450 bytes
Joe McArthur wrote:

> Guy <Use-Reply-To-Address-Header@[127.1]> wrote in 
> news:93B29803546A82E284CEEC009E394A9D7@127.0.0.1:
>> Joe McArthur wrote:
[snip]
>> Sooner or later you will find that editing the Xnews.ini file while 
>> Xnews is open is a bad idea.
> 
> See my previous post.

Joe, don't shit on the regulars.  You're new to Xnews.  We aren't.  WRT editing 
.ini files while Xnews is open, they are right and *you* are wrong.

Heed your own advice: accept this as fact and move on.

-- 
DC

DC's Custom Xnews Icons http://dcicons.tripod.com
Xnews Help Pages http://www.geocities.com/d4vidb
Xnews Menu-Reference http://www.seegras.de/xnews
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