🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #220708

Re: [slrn] Editing and using the slrn score file

#220708
From: W. Citoan
Date: Sat, 10 May 2008 01:16
44 lines
2703 bytes
Felix Karpfen wrote:
> 
>  The sample score.sl file provided with Slrn 0.9.8.1pl1 [2005-02-17]
>  (included in Debian Etch) starts with the following advice:
> 
> | % Mode for editing slrn score files
> |
> | % To use this, add the following line to your .jedrc file: autoload
> | % ("score_mode", "score");
> 
>  My preferred editor is "vim". Does a similar <script|function> (and
>  installation instructions) exist for vim?  If "yes", please point me to
>  the URL.
> 
>  Currently, I just load my "slrn score file" into vim and edit it
>  manually. But I have only just started using slrn and considered it
>  prudent to check before I do irreparable damage to the score file and
>  the program.

Vim works fine for editing score files.  It is what I use.  It should
recognize the syntax of the score file and color it.  I don't know of
a predefined macro for vim, but vim is customizable.

>  The following query is even more important in my envisaged use of the
>  score-file:
> 
>  "Do slrn and slrnpull use the same syntax for their score files?"

Yes.

>  My real interest is to identify spam messages with slrn and - based on
>  keywords in the Subject - kill future messages of the same type -
>  preferably by creating a symlink to the location at which slrnpull
>  expects to find its score file.

The one-key scoring macro is ideal for this.  See the first macro at:
http://slrn.sourceforge.net/macros/index.html

- W. Citoan
-- 
Calvin: "Sometimes when I'm talking, my words can't keep up with my
thoughts. I wonder why we think faster than we speak."
Hobbes: "Probably so we can think twice."
-- Bill Watterson from Calvin & Hobbes
Technical Details
Message-ID: <slrng29tri.1mg.wcitoan@wcitoan-via.verizon.net>
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!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!130.81.64.211.MISMATCH!cycny01.gnilink.net!spamkiller2.gnilink.net!gnilink.net!trndny05.POSTED!d6cad5c6!not-for-mail
References: <slrng2872r.47j.felixk@carrot.cabbage.patch>

Show Full Headers
Complete Article Headers
Message-ID: <slrng29tri.1mg.wcitoan@wcitoan-via.verizon.net>
Subject: Re: [slrn] Editing and using the slrn score file
Date: Sat, 10 May 2008 01:16:27 GMT
From: "W. Citoan" <wcitoan@NOSPAM-yahoo.com>
References: <slrng2872r.47j.felixk@carrot.cabbage.patch>
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!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!130.81.64.211.MISMATCH!cycny01.gnilink.net!spamkiller2.gnilink.net!gnilink.net!trndny05.POSTED!d6cad5c6!not-for-mail
Newsgroups: news.software.readers
User-Agent: slrn/0.9.8.1 (Win32)
Lines: 44
NNTP-Posting-Host: 71.179.14.250
X-Complaints-To: abuse@verizon.net
X-Trace: trndny05 1210382187 71.179.14.250 (Fri, 09 May 2008 21:16:27 EDT)
NNTP-Posting-Date: Fri, 09 May 2008 21:16:27 EDT