🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #187791

Re: pan development = 'unfocused' ?

#187791
From: news
Date: Wed, 12 Jul 2006 22:08
148 lines
8156 bytes
On Sat, 08 Jul 2006 07:23:27 +1000, Mike Dee wrote:

> On Thu, 06 Jul 2006 19:20:51 +0200, news wrote:
> 
>> On Sun, 02 Jul 2006 22:16:05 +1000, Mike Dee wrote:
> [...]
>>> AFAIK there isn't one. You are better off looking up score files, + PCRE
>>> under slrn and MT-NewsWatcher for good advice on how to set up filters
>>> in Pan.
>> 
>> OK I fetched the slrn FAQ.
> 
> Good. Note well, all PCRE scripts that work in slrn does not necessarily
> mean they will also work in Pan. Pan uses a sub-set of the same slrn
> scripts, but not all of them.
> 
> That said, Pan is still miles ahead of most news clients as far as
> scripting goes... just not quite as good as slrn, Xnews and a few others.
> 
>>>> !! When I open the thread I see that there are unread replies to
>>>>  a post which I made log ago and I've been waiting for !!
>>> 
>>> Edit your score file!!! i.e. it's under "Tools" menu, "Edit
>>> Scorefile..."
> 
>> I had not yet followed that path of the menu, but I found the score file
>> and edited with mc. I don't like vim - the default.
> 
> You change the default to an editor of your choice in your Pan
> Preferences, so that when you click the "Edit Scorefile" menu under
> "Tools" the score file opens directly in the editor of your choice. As I
> mentioned previously, "Gedit" is a nice choice for an editor if you have
> Gnome on Linux.
> 
>>> N.B. you may have to set up an external score file editor first, under
>>> "Edit" menu "Preferences..." "Apps & Mail" tab, choose a score file
>>> editor here. Gedit is nice if you have Gnome on Linux.
>>> 
>>> 

>> 
>> As I understand the unexplained syntax, for the particular 'rule', ie.
>> between the 'brackets', "[*]" means 'this rule applies for all groups' ?
>> In your example: 'give score: 5000 for field 'From:' [is it AND or OR ?]
>> field 'References:". Why is the ".co" enclosed in "\" ?
> 
> Yes [*] means what script follows below this, applies to all groups you
> visit.
> 
> In script files, a period or dot or full-stop "." is a special meta
> character that performs specific tasks in a script (it acts as a wildcard
> meaning zero or any alphanumeric character)
> 
> For example if you had a regular expression that used the word "d.g" This
> would score on the words dog, dug, dig, dag, etc.
> 
> As it stands it would also score on (sewin)g d(ay), but that's digressing.
> 
> Therefore, in order to use a "." as a regular "." it needs to be
> "escaped". To do this you use a forward-slash "\"
> 
> To get the script to interpret @absamail.co.za correctly, the dots have to
> be escaped to @absamail\.co\.za
> 
> If you were to make a subset score file that works in only one particular
> group, for example "news.software.readers" you would enter it as:
> 
> [^news\.software\.readers$]
>   then
>    score:: = etc follows the above
> 
> The ^ means the beginning of the string "news.software.readers"
> The $ means the end of the string "news.software.readers"
> And all the dots have been escaped with "\"
> 
> This forces your scripts to run only in the group of your
> choosing.
> 
>>> 2.) If you don't yet have a score file, you first may need to create
>>> one. Use a plain text editor, start a new document, copy and paste the
>>> above scoring into it and save it with the filename "Score" somewhere
>>> in your path, your user home directory will do. Open Pan, go "Edit"
>>> menu, "Preferences...", "Apps & Mail" tab, then "Browse" button, browse
>>> to where you saved the Score" file.
>>>
>> Ok, the existing one works, except as per another post, "money" and "$"
>>  can't be used to filter as eg. "home" [and other strings] can ?!
> 
> In PCRE the $ is another special meta-character (as described above)
> so in order to score on a literal "$" you would also need to escape this
> as \$ otherwise the script interprets a "$" as being the end of a string
> of characters. As in: This really is the end of this sentence$
> 
> Another meta-character to be aware of is the forward-slash "\" to use a
> literal "\" in a script, you'd need to enter it as two \\ where the first
> "\" escapes the latter.
>  
Thanks. Those few syntax rules will now allow me to use the 'scripts'
 better. Pity your words aren't captured to a [evolving] FAQ, which
could become the manual eventually. The boss-man is not managing ?

>>>> There is no way for me to know that any marked replies to my urgent
>>>> queries have arrived, without read the whole dammed list of subscribed
>>>> group's header lists. And MUST open each thread to examine!!
>>> 
>>> FFS
>>> 
>> I don't understand "FFS".
> 
> Maybe you shouldn't try to understand everything all at once ;-)
>  
>>> "Edit" menu, "Preferences..." "Color" tab, under "Header Pane scoring"
>>> make sure there is a check mark (tick) in the box to the left of 'Color
>>> the "subject" column'. If you've entered the above scoring into your
>>> score file you will see your posts and followups to them highlighted
>>> for you by now.
>>> 
>> OK that now makes a BIGGER yellow marking of the important header, hence
>> easier to find. But it/they could still be several screens down the
>> header panel.  Go straight to the first/next 'newly downloaded article'
>> seems such an obvious facility, which AFAIK I used on Agent 10 years
>> ago.
> 
> I'm sorry that "shift key + N" doesn't work for you, it works for me. Make
> use of the "Go" menus.

Well if it was just the hot-key[s], I'd suspect the 'hot-key-mapping'
file, which I've already found and checked. But "Go-menu" and icon/cartoon
also don't work. So the next obvious thing is that I misunderstand
what 'Read Next Unread Article' means ?

For me:
= an article only arrives by me previously flagging [for D/L] it's
    header.
= then when I go on line [next time], I do: Articles >  'D/L flagged'.
= now that some new articles have arrived and are dispersed throughout
  the various groups, I want to be led straight to these newly downloaded
  articles.

Is this not how other users also operate ?

== Chris Glur.

PS. if it was my 'proper' OS/language [Oberon S3] I'd just go into the 
 sources and fix it !  C is a bloated monster - relatively.
How big is pan's CVS tree ?

 
Technical Details
Message-ID: <pan.2006.07.11.15.26.11.413226@absamail.co.za>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.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!local01.nntp.dca.giganews.com!nntp.is.co.za!news.is.co.za.POSTED!not-for-mail
References: <pan.2006.07.01.14.27.36.472989@absamail.co.za> <pan.2006.07.02.12.16.04.174858@emteedee> <pan.2006.07.06.06.40.32.838742@absamail.co.za> <pan.2006.07.07.21.23.25.158362@emteedee.invalid>

Show Full Headers
Complete Article Headers
Message-ID: <pan.2006.07.11.15.26.11.413226@absamail.co.za>
Subject: Re: pan development = 'unfocused' ?
Date: Thu, 13 Jul 2006 00:08:41 +0200
From: news <news@absamail.co.za>
References: <pan.2006.07.01.14.27.36.472989@absamail.co.za> <pan.2006.07.02.12.16.04.174858@emteedee> <pan.2006.07.06.06.40.32.838742@absamail.co.za> <pan.2006.07.07.21.23.25.158362@emteedee.invalid>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.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!local01.nntp.dca.giganews.com!nntp.is.co.za!news.is.co.za.POSTED!not-for-mail
NNTP-Posting-Date: Thu, 13 Jul 2006 04:33:43 -0500
X-Trace-PostClient-IP: 196.208.67.141
User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a
 cleansing moment of clarity.)
Newsgroups: alt.comp.software.newsreaders,news.software.readers
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Organization: Ye 'Ol Disorganized NNTPCache groupie
Cache-Post-Path: ethon.isdsl.net!unknown@dante2.is.co.za.
X-Cache: nntpcache 3.0.2 (see http://www.nntpcache.com/)
Lines: 148
NNTP-Posting-Host: 196.26.208.126
X-Trace: sv3-kba2EttkCFZ2E0/l9Eq+n391GeQsB+gdqy5VAmx+4/2b9/GYWQ/6aiAOg/KbFTp6rOduRUdmDn/6b8c!PSjNgXECDs/8Zu5Z1ioXBQycjyuEZ9Sc2PtwG+FZHk/uaKRzfU5O1FBeH+42oiAhA0DAy1mz1Cut!9KKW3zLy70w=
X-Complaints-To: abuse@is.co.za
X-DMCA-Complaints-To: abuse@is.co.za
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint
 properly
X-Postfilter: 1.3.32