Article View: news.software.readers
Article #204416Re: Can someone post or link me to an slrn score file?
From: Peter J Ross
Date: Wed, 22 Aug 2007 11:26
Date: Wed, 22 Aug 2007 11:26
128 lines
5431 bytes
5431 bytes
In news.software.readers on Sun, 19 Aug 2007 20:12:04 +0200 (CEST), Ohmster <ohmster@dev.nul> wrote: <...> > I have to find a way to make vim or > slrn keep an "undo buffer" that tracks my file and will keep an original > copy of it for me to revert to. If you have any tips on how to do this, > I would be greatly interested and at your service. <http://www.vim.org/htmldoc/undo.html> <...> > From what I understand though is that I need some sort of unique ID > idendtifier to make my posts trackable as they are in xnews. xnews > allows you to use an ID Token and it will be tacked onto your message > IDs. slrn seems to have a similar thing in it's rc file here: > > % Set this to zero if you want to leave Message-ID generation to your > % server > % or your system does not have a proper unique hostname. This documentation is potentially misleading. You need a fully qualified domain name set in /etc/hosts, not just one word in /etc/hostname. It's very easy to get a free hostname from <http://www.dyndns.org/> or <http://www.no-ip.org/> or similar sites, and you can keep the DNS information updated with a script such as ddclient. > set generate_message_id 1 > > I do have a unique hostname. > > [ohmster@ohmster ~]$ hostname > ohmster > [ohmster@ohmster ~]$ > > So this should work for me, yes? Only if the output of "hostname -f" is a FQDN - which in practice means that it should contain two or more dots. You can, however, set the hostname directly in .slrnrc with the posting_host command. E.g., I have: posting_host "pjr.gotdns.org" on both the machines I use for posting, so that the end of the Message-Id will be the same whether I'm posting from "lenny.pjr.gotdns.org" or from "etch.pjr.gotdns.org". It looks as if you're already doing that, since your slrn Message-Ids end in "@ohmster.com". Unless you own ohmster.com, this isn't a good idea - but "@ohmster.invalid" should be fine. slrn also puts your login name before the "@". That's similar to XNews's ID Token, except that it isn't configurable. > I use fake reply to addresses and from > messages in slrn, "root@dev.nul" and always use the name of ohmster. How > can I make a score that will highlight my own posts and give a higher > score to followups to my posts and my followups? At present your XNews Message-Ids contain "MyBigKitty@" and your Slrn Message-Ids end with "ohmster@ohmster.com>", so these rules should work in slrn: #v+ Score:: =50 Message-Id: \cohmster@ohmster\.com> Message-Id: \cMyBigKitty@ % The rule matches your own posts. % "\c" makes the regular expression case-sensitive. Score:: 160 References: \cohmster@ohmster\.com> *$ References: \cMyBigKitty@[^>]+> *$ % The rule matches replies to your own posts. % " *" catches any trailing spaces. % "[^>]+" means a string of one or more characters that can be % anything but ">", thus matching only when your Message-Id is % at the end of the References. Score:: 80 References: \cohmster@ohmster\.com>[^>]+> *$ References: \cMyBigKitty@[^>]+>[^>]+> *$ Score:: 40 References: ohmster@ohmster\.com>[^>]+>[^>]+> *$ References: \cMyBigKitty@[^>]+>[^>]+>[^>]+> *$ Score:: 20 References: \cohmster@ohmster\.com>[^>]+>[^>]+>[^>]+> *$ References: \cMyBigKitty@[^>]+>[^>]+>[^>]+>[^>]+> *$ % These rules match replies to replies, etc. In effect, they % count the number of ">" characters in the part of the % References line that follows your own Message-Id. % You can add further iterations of "[^>]+>" for deeper levels % of matching, but I find these are enough. Score:: 10 References: \cohmster@ohmster\.com> References: \cMyBigKitty@ % A final rule matches all articles that include one of your % Message-Ids in the References line. I find this more of a % distraction than a help, but YMMV. #v- You'll want to change the score numbers to whatever suits your overall scoring strategy for marking posts as read, important etc. > Thanks for your detailed help and your time Peter. No problem. slrn is fun, scorefiles are fun, and slrn + scorefiles = fun x 2. :-) -- PJR :-)
Technical Details
Message-ID:
<slrnfco7a7.c74.pjr@pjr.gotdns.org>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!teal.octanews.net!news-out.octanews.net!indigo.octanews.net!authen.yellow.readfreenews.net.POSTED!not-for-mailReferences:
<slrnfc38ln.r3a.ohmster@ohmster.com> <slrnfc42ik.4oa.ibuprofin@compton.phx.az.us> <slrnfc4adb.att.pjr@pjr.gotdns.org> <slrnfch1vk.oo0.ohmster@ohmster.com>Show Full Headers
Complete Article Headers
Message-ID: <slrnfco7a7.c74.pjr@pjr.gotdns.org> Subject: Re: Can someone post or link me to an slrn score file? Date: Wed, 22 Aug 2007 11:26:00 +0000 From: Peter J Ross <pjr@example.invalid> References: <slrnfc38ln.r3a.ohmster@ohmster.com> <slrnfc42ik.4oa.ibuprofin@compton.phx.az.us> <slrnfc4adb.att.pjr@pjr.gotdns.org> <slrnfch1vk.oo0.ohmster@ohmster.com> 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!teal.octanews.net!news-out.octanews.net!indigo.octanews.net!authen.yellow.readfreenews.net.POSTED!not-for-mail Newsgroups: news.software.readers Organization: none Reply-To: pjr.spam@gmail.com User-Agent: slrn/0.9.8.1pl2.1 (Linux) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 128 NNTP-Posting-Date: 22 Aug 2007 06:26:00 CDT X-Trace: DXC=f0BG>; mF6Q0WQ:A; LOKHX>]AGWjF5PjP9465Ue@WB_5?\ODd; FLG8T726Z<EbT:a\5lV3mi\haFg8QQn@K`M1Xn8CHCnBFi4=[0 X-Original-Bytes: 5111