🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #121693

Re: [slrn] Watch Thread & Spell Check

#121693
From: Mike Vanecek
Date: Tue, 11 Mar 2003 17:38
65 lines
2962 bytes
On Mon, 03 Mar 2003 17:59:59 GMT, SINNER wrote:
> While strolling through news.software.readers, Mike Vanecek was overheard plotting:
 
>> Also, Agent had a built in spelling checker that would check one's post
>> when sending or upon demand. Does anything exist to give slrn a check a
>> post for spelling?
>> 
> 
> The options here are based on what you decide to use as an editor which
> is determined by the line:
> set editor_command
> in your slrnrc file.

I have:

set editor_command "vim -f '+set tw=72' +%d '%s'"
set mail_editor_command "vim -f  '+set tw=72' +%d '%s'"
set post_editor_command "vim -f  '+set tw=72' +%d '%s'"
set score_editor_command "vim -f '+set tw=72' +%d '%s'"

> I use vim, so to check my spelling I use the aspell dictionaries in
> combination with a package called spellutils which has a function to
> strip out quoted text before spell checking.
> 
> If your using Mandrake use urpmi to install aspell and spellutils then
> add the following (which is also in the aspell documentation) to your
> vimrc:
> 
> " Spelling Macros
> map ^T \1\2<CR>:e! %<CR> 
> map \1 :w!<CR> 
> map \2 :!newsbody -qs -n % -p aspell check \%f<CR> 
> 
> and to check spelling in vim just use <CTL T>
> 
> This setup works great for me, hope it helped.

Using RH 7.1 via a ssh connection from a RH 8.0 system:

[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>

[rhread@www]$ newsbody -v
newsbody (spellutils) 0.7

[rhread@www]$ aspell -v
@(#) International Ispell Version 3.1.20 (but really Aspell .32.6 alpha)

If I do a Ctrl-T while in command mode in VI while editing my post; I
get an E73: tag stack empty error printed at the bottom of the screen
and no checking takes place.

What else do I need or need to do to get this to work on a RH 7.1
system? All my efforts to find the cause of the problem have resulted in
nada. I am not sure if the error is generated by vim, slrn, or ???

Can anyone point me in the correct direction?

Thanks, Mike.

> 
Technical Details
Message-ID: <83j1k-bi2.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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-out.visi.com!petbe.visi.com!dca1-feed2.news.algx.net!allegiance!c03.atl99!news.webusenet.com!newscene!novia!novia!sequencer.newscene.com!not-for-mail
References: <7jdcj-54s.ln1@news.invalid.99computer> <uchcj-8u2.ln1@news.gates_of_hell.INVALID>

Show Full Headers
Complete Article Headers
Message-ID: <83j1k-bi2.ln1@news.invalid.99computer>
Subject: Re: [slrn] Watch Thread & Spell Check
Date: Tue, 11 Mar 2003 17:38:09 +0000
From: Mike Vanecek <MikeV99@privacy.net>
References: <7jdcj-54s.ln1@news.invalid.99computer> <uchcj-8u2.ln1@news.gates_of_hell.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-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-out.visi.com!petbe.visi.com!dca1-feed2.news.algx.net!allegiance!c03.atl99!news.webusenet.com!newscene!novia!novia!sequencer.newscene.com!not-for-mail
Newsgroups: news.software.readers
Lines: 64
User-Agent: slrn/0.9.7.4 (Linux)