🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #117324

Re: [slrn] Using an external editor

#117324
From: wannes
Date: Sat, 04 Jan 2003 20:33
30 lines
2041 bytes
SINNER <99nesorjd@ibtta.gov> schreef:
> 
> Thanks again for your help and patience..
> 
> *now where did I out that spehlceker*

*sigh* , there goes my patience :-p

I heve somthing like this in my .vimrc-slrn (that is the special vimrc
that I call when using slrn)

noremap <F8> :w!<CR>:!newsbody -qs -n % -p aspell check \%f<CR>:e! %<CR>

(you find newsbody in the spellutils package)

What happens?

:w
write the file
:!newsbody -qs -n -p aspell -check \%f
newsbody filters out the headers, quoted text (-q) and signature (-s)
from the file you're editing (%) and passes it to another program (-p)
aspell which checks the file
:e!
reimport it n the vim-session (:e), with wining about the file being
changed (!)

-- 
wannes
Technical Details
Message-ID: <slrnb1eh9n.ldm.spam@wannes.cjb.net.invalid>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!news-lond.gip.net!news.gsl.net!gip.net!skynet.be!skynet.be!ossa.telenet-ops.be!afrodite.telenet-ops.be.POSTED!not-for-mail
References: <senje-k0m.ln1@news.gates_of_hell.com> <slrnb1ec7c.km2.spam@wannes.cjb.net.invalid> <qrpje-15m.ln1@news.gates_of_hell.com> <slrnb1eemv.km2.spam@wannes.cjb.net.invalid> <vdsje-5im.ln1@news.gates_of_hell.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrnb1eh9n.ldm.spam@wannes.cjb.net.invalid>
Subject: Re: [slrn] Using an external editor
Date: Sat, 04 Jan 2003 20:33:55 GMT
From: wannes <spam@wannes.cjb.net.invalid>
References: <senje-k0m.ln1@news.gates_of_hell.com> <slrnb1ec7c.km2.spam@wannes.cjb.net.invalid> <qrpje-15m.ln1@news.gates_of_hell.com> <slrnb1eemv.km2.spam@wannes.cjb.net.invalid> <vdsje-5im.ln1@news.gates_of_hell.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!news-lond.gip.net!news.gsl.net!gip.net!skynet.be!skynet.be!ossa.telenet-ops.be!afrodite.telenet-ops.be.POSTED!not-for-mail
Newsgroups: news.software.readers
Reply-To: usenet@wannes.cjb.net
X-read-RFC-1855: Yes
User-Agent: slrn/0.9.7.4 (Linux)
Lines: 29
NNTP-Posting-Host: 81.82.136.184
X-Complaints-To: abuse@telenet.be
X-Trace: afrodite.telenet-ops.be 1041712435 81.82.136.184 (Sat, 04 Jan 2003 21:33:55 MET)
NNTP-Posting-Date: Sat, 04 Jan 2003 21:33:55 MET
Organization: Telenet Internet