🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #121765

Re: [slrn] Watch Thread & Spell Check

#121765
From: Mike Vanecek
Date: Thu, 13 Mar 2003 01:03
42 lines
2088 bytes
On Tue, 11 Mar 2003 20:05:30 +0000 (UTC), Thierry Thomas wrote:
> On 11 Mar 2003 11:33:05 -0600, Mike Vanecek wrote:
>>  I am still having problems getting a connection to newsbody that works.
>>  I have the following:
>>  
>>  [rhread@www]$ cat .vimrc
>>  " Spelling Macros
>>  map ^T \1\2<CR>:e! %<CR>
>>  map \1 :w!<CR>
>>  map \2 :!newsbody -qs -n % -p aspell check \%f<CR>
> 
> Two "-" are requested before aspell's args:
> 
> #v+
> /usr/local/bin/newsbody -qs -k Subject -n '%s' -p /usr/local/bin/aspell -- -c -x %%f
> #v-

Thank you for your help. It took a while, but I finally found a
reference that suggested that ^T might not be an available key in vim,
especially via a ssh session. I finally settled on:

[rh_lists@www rh_lists]$ cat .vimrc
" Spelling Macros
map V \1\2<CR>:e! %<CR>
map \1 :w!<CR>
map \2 :!/usr/local/bin/newsbody -qs -n % -p /usr/bin/aspell check \%f<CR>

which now works as advertised.

I tried your combination and had an error about not being able to find a
file

newsbody: error: open .articles for reading: No such file or
directory.

shell returned 1

It don't matter now, cause it is finally working.

Mike.
 
Technical Details
Message-ID: <al15k-fkm.ln1@news.invalid.99computer>
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!nntp.cs.ubc.ca!cyclone.bc.net!sjc70.webusenet.com!c03.atl99!news.webusenet.com!newscene!novia!novia!sequencer.newscene.com!not-for-mail
References: <7jdcj-54s.ln1@news.invalid.99computer> <slrnb678ng.fn.nsr@message-id.wahnes-world.de> <slrnb67g57.vb.bjensen@ask.ask> <coi1k-bi2.ln1@news.invalid.99computer> <slrnb6sgca.6ee.tthomas@graf.pompo.net>

Show Full Headers
Complete Article Headers
Message-ID: <al15k-fkm.ln1@news.invalid.99computer>
Subject: Re: [slrn] Watch Thread & Spell Check
Date: Thu, 13 Mar 2003 01:03:06 +0000
From: Mike Vanecek <MikeV99@privacy.net>
References: <7jdcj-54s.ln1@news.invalid.99computer> <slrnb678ng.fn.nsr@message-id.wahnes-world.de> <slrnb67g57.vb.bjensen@ask.ask> <coi1k-bi2.ln1@news.invalid.99computer> <slrnb6sgca.6ee.tthomas@graf.pompo.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!cyclone.bc.net!sjc70.webusenet.com!c03.atl99!news.webusenet.com!newscene!novia!novia!sequencer.newscene.com!not-for-mail
Newsgroups: news.software.readers
Lines: 41
User-Agent: slrn/0.9.7.4 (Linux)