🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #149797

Re: Pan Spellcheck

#149797
From: Blinky the Shark
Date: Sat, 12 Jun 2004 01:53
38 lines
2786 bytes
Whiskers wrote:

> On Fri, 11 Jun 2004 17:39:57 +0000, Blinky the Shark
> <no.spam@box.invalid> wrote:

>> Whiskers wrote:

>>> checking - I do the same with Pan, now.  I'm still looking for an
>>> external editor that includes all the usenet features, such as ROT
>>> 13 and 'attribution' and various ways of inserting quotes - slrn has
>>> no editor of it's own.

>> That would be something from the vi family.

> I'm rather afraid you could be right.  Are there 'standard' scripts
> for adding the usenet-type features?  I haven't done much with
> vi/vim/gvim yet, the interface has put me off.  

Most of it's inherent.  For the rest, one generally just sticks a macro
or a setting into the rc file.

Here's an example.  This is one I wrote that pulls a saved spam message
off my HD for submission to my newsfeed, for removal and, if
appropriate, tweaking of their own spamblocker:

:nmap <F1> gg/^\cSubject:<cr>VGdI<end><cr><Esc>:r
~/tmp/spam<cr>/^\cSubject:<cr>V$ygg/^$<esc>kpgg:! rm -f ~/tmp/spam<cr>

I open a new post, and when I press F1 the spam is opened into
that session, the body is removed but full headers retained (as is the
wish of that feed), the Subject of the spam becomes the Subject of my
report, and it's ready for me to exit the editor and and hit send.

-- 
Blinky				        Linux Registered User 297263
AOL Diary		                http://snipurl.com/aoldiary
Nigerian Scam From Space                http://snipurl.com/iss419
New Windows - Don't Wait For Longhorn!  http://snipurl.com/newwin 
Technical Details
Message-ID: <slrncckog2.fdo.no.spam@thurston.blinkynet.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!internal1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!nntp.giganews.com!cyclone-sf.pbi.net!129.250.175.17!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!news3
References: <pan.2004.06.08.18.38.44.319134@SPAMyahoo.com> <pan.2004.06.09.23.13.33.628865@ID-107770.user.uni-berlin.de> <pan.2004.06.10.16.46.48.112091@SPAMyahoo.com> <pan.2004.06.11.11.17.49.469674@ID-107770.user.uni-berlin.de> <slrnccjrjd.bsi.no.spam@thurston.blinkynet.net> <pan.2004.06.11.21.10.25.514342@ID-107770.user.uni-berlin.de>

Show Full Headers
Complete Article Headers
Message-ID: <slrncckog2.fdo.no.spam@thurston.blinkynet.net>
Subject: Re: Pan Spellcheck
Date: Sat, 12 Jun 2004 01:53:09 +0000
From: Blinky the Shark <no.spam@box.invalid>
References: <pan.2004.06.08.18.38.44.319134@SPAMyahoo.com> <pan.2004.06.09.23.13.33.628865@ID-107770.user.uni-berlin.de> <pan.2004.06.10.16.46.48.112091@SPAMyahoo.com> <pan.2004.06.11.11.17.49.469674@ID-107770.user.uni-berlin.de> <slrnccjrjd.bsi.no.spam@thurston.blinkynet.net> <pan.2004.06.11.21.10.25.514342@ID-107770.user.uni-berlin.de>
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!internal1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!nntp.giganews.com!cyclone-sf.pbi.net!129.250.175.17!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!news3
Newsgroups: news.software.readers
Organization: http://blinkynet.net
Lines: 38
NNTP-Posting-Host: p-677.newsdawg.com
X-Face: Jb-wQ7r&vrN}~8MC5B09S4&.ieh!Q:Di/XN.xrd#CU%;
 )bPa`Hm^(,3o$n(s75[P+$F+Q^4~Owj`WzkBtZU/#gL2BvEBm/e=/1,R0}d@q@)E
User-Agent: slrn/0.9.7.4 (Linux)