🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #194636

Re: [Xnews] acvWordWrap not working

#194636
From: Guy
Date: Thu, 18 Jan 2007 16:37
105 lines
3944 bytes
NickC wrote:

> I'm trying to get wordwrap to be the default, except for binary
> groups where wordwrap stops me from being able to scroll jpegs
> horizontally, so I'd like the default for binaries to be
> non-wordwrap. 
> 

Addressed below, however you may find that it is best to launch the 
jpegs in an external viewer. Jpeg display in Xnews is just a kluge.


> I can't get it to work.  I can always press 'W', but it would be
> good to automate it if poss.
> 


> It appears as though groups.ini never gets parsed.  I've got other
> options in there that don't get set either, eg. it doesn't go 
> fullscreen.  Is it correct that groups.ini overrides xnews.ini,
> like I'm assuming?
> 

Here is the INI file hierarchy:

    Groups.ini overrides Servers.ini
    Servers.ini overrides IDs.ini
    IDs.ini overrides Xnews.ini


> Snipped excerpts below:
> 
> xnews.ini
> ----------
> 
> [Display]
> SortOn=Date
> SortOrder=1
> FixWrapOpt=1
> ViewerWordWrap=1
> 
> groups.ini
> ----------
> 

The below section is redundant as they are duplicates of the Xnews.ini

> [.*]
> SortOn=Date
> SortOrder=1
>

Since you do not  continue=1  after matching ALL groupExpressions Xnews 
stops parsing the INI file.


> [binaries]
> MultipartThreading=1
> ExpandAllThreads=0
> FullScreen=1
>

Do not continue here, this is the source of your problem.
The two commands following are not assigned to any [groupExpression].

> continue=1
>

One of the below is superfluous.
Have to Load the headers when Group is Opened.
No need to duplicate the command.
 
> OnOpen=acvWordWrap-
> OnLoaded=acvWordWrap-
> 

Put your  continue=1  here if needed.
Which it probably is not unless you have further commands which effect 
a subGroupExpression of [binaries].


> 
> Also, I'm sure I used to have a list of all the ac* commands and 
> switches and what they did.  I thought it was in the manual, but
> it's not.  Anyone have a link?  
> 

You mapped  W  to  WordWrap  so Xnews then wrote the file Keys.ini
In that file you will find the available commands.

Try:

 [binaries]
 MultipartThreading=1
 ExpandAllThreads=0
 FullScreen=1
 OnOpen=acvWordWrap-


Review the "Group-based settings" section of the Manual.

-- 
Guy
Xnews Icon Patcher Files
<http://xnews-icon-patchers.bebto.com/patcher.html>
Technical Details
Message-ID: <Xns98BC6C2A1CB72E284CEEC009E394A9D7@127.0.0.1>
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!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!green.octanews.net!news-out.octanews.net!indigo.octanews.net!authen.yellow.readfreenews.net.POSTED!not-for-mail
References: <Xns98BCEA7A5ECF5drizzeniinetnetau@203.16.214.243>

Show Full Headers
Complete Article Headers
Message-ID: <Xns98BC6C2A1CB72E284CEEC009E394A9D7@127.0.0.1>
Subject: Re: [Xnews] acvWordWrap not working
Date: Thu, 18 Jan 2007 10:37:58 -0600
From: Guy <Use-Reply-To-Address-Header@[127.1]>
References: <Xns98BCEA7A5ECF5drizzeniinetnetau@203.16.214.243>
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!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!green.octanews.net!news-out.octanews.net!indigo.octanews.net!authen.yellow.readfreenews.net.POSTED!not-for-mail
Newsgroups: news.software.readers
Organization: none
User-Agent: Xnews/2006.08.24
X-No-Archive: yes
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=ISO-8859-1
Comments: "Whoever would overthrow the liberty of a nation must begin by
 subduing the freeness of speech." -- Benjamin Franklin
X-Face: ,O=kHpT4ofN[ZQ?pgJ6BQtX(cJvPRNtp'pID9gnUbjs4F3yd0#\GOd'S;
 U@<[Y6X*V`vh.)v%U'IaXUBq/F9,m,P; HY{n-Q[V0"+>u5W`Zf&[c;
 34vOB1T~&wE<'yA(Eg7V,W,Sk_gd0JPg1E$,J&X}SN-51Hwg; )hM/Ttq$Um2Kq$u
OpenPGP: id=18795161E22D3905; url=http://guysalias.batcave.net/pgpkeys.txt;
 preference=signencrypt
Reply-To: GuysAlias <AT> myrealbox <DOT> com
Lines: 105
NNTP-Posting-Date: 18 Jan 2007 10:37:55 CST
X-Trace: DXC=T\D1Mb7YJWc5i\b^O4EPPj]AGWjF5PjPi465Ue@WB_5oMKKEScmS[YhD<LP7kN;
 ?Zb_m`G<W]o88kaPK9AhfNRXekGa35D70DXd