Thread View: news.software.readers
4 messages
4 total messages
Started by NickC
Thu, 18 Jan 2007 12:03
[Xnews] acvWordWrap not working
Author: NickC
Date: Thu, 18 Jan 2007 12:03
Date: Thu, 18 Jan 2007 12:03
45 lines
1906 bytes
1906 bytes
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. 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? Snipped excerpts below: xnews.ini ---------- [Display] SortOn=Date SortOrder=1 FixWrapOpt=1 ViewerWordWrap=1 groups.ini ---------- [.*] SortOn=Date SortOrder=1 [binaries] MultipartThreading=1 ExpandAllThreads=0 FullScreen=1 continue=1 OnOpen=acvWordWrap- OnLoaded=acvWordWrap- 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? Many thanks, -- Nick
Re: [Xnews] acvWordWrap not working
Author: Guy
Date: Thu, 18 Jan 2007 16:37
Date: Thu, 18 Jan 2007 16:37
105 lines
3944 bytes
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>
Re: [Xnews] acvWordWrap not working
Author: NickC
Date: Thu, 18 Jan 2007 21:39
Date: Thu, 18 Jan 2007 21:39
38 lines
1835 bytes
1835 bytes
Guy wrote on 19 Jan 2007: Thank you very much Guy. It's working great now. > NickC wrote: > > >> I can't get it to work. I can always press 'W', but it would be >> good to automate it if poss. Just to followup for the archive, don't do this in a big binary group while displaying a jpeg. Xnews seems to do a huge amount of processing and freezes for some 10-20 minutes before coming back to life. > The below section is redundant as they are duplicates of the > Xnews.ini> >> [.*] >> SortOn=Date >> SortOrder=1 > Commenting out these two reduced load time by a significant factor. > > > Since you do not continue=1 after matching ALL groupExpressions > Xnews stops parsing the INI file. > This was the bit. I didn't realise what 'continue' did. Thanks again, great help. -- Nick
Re: [Xnews] acvWordWrap not working
Author: John Wunderlich
Date: Thu, 18 Jan 2007 22:06
Date: Thu, 18 Jan 2007 22:06
12 lines
1361 bytes
1361 bytes
NickC <spambucketREMOVE_THIS@internode.on.net> wrote in news:Xns98BCEA7A5ECF5drizzeniinetnetau@203.16.214.243: > 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? > In Xnews: Alt-K HTH, John
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