Article View: news.software.readers
Article #191728slrn: aspell dies when used with vim macro for spell checker
From: Ohmster
Date: Thu, 19 Oct 2006 04:19
Date: Thu, 19 Oct 2006 04:19
63 lines
3505 bytes
3505 bytes
Somebody please help with this:
I had a bitchin' Fedora Core 3 setup running, Sinner and Lenard helped me
to get a terrific spell checker installd to use when I post articles with
slrn and I have vim as my editor. What I did was to install these
packages:
---------------------------------------------------------------------
[ohmster@ohmster ~]$ rpm -qa |grep aspell*
aspell-0.60.3-5
aspell-en-6.0-2
aspell-devel-0.60.3-5
[ohmster@ohmster ~]$ rpm -q spellutils
spellutils-0.7-4mdk
[ohmster@ohmster ~]$
---------------------------------------------------------------------
Then add the macros to ~/.vimrc:
---------------------------------------------------------------------
[ohmster@ohmster ~]$ tail -n 16 .vimrc
endif " has("autocmd")
" Spelling Macros, F8 to spell check with slrn
map <f8> \1\2<CR>:e! %<CR>
map \1 :w!<CR>
map \2 :!newsbody -qs -n % -p aspell check \%f<CR>
"
" map ^T \1\2<CR>:e! %<CR>
" map \1 :w!<CR>
" map \2 :!newsbody -qs -n % -p aspell check \%f<CR>
"
" "Boxes Macros, mc for use in vim
" vmap ,mc !boxes -d c-cmt<CR>
" nmap ,mc !!boxes -d c-cmt<CR>
" vmap ,xc !boxes -d c-cmt -r<CR>
" nmap ,xc !!boxes -d c-cmt -r<CR>
[ohmster@ohmster ~]$
---------------------------------------------------------------------
Now if I test aspell with a text file, it works just fine, I exit, and
there are no errors. But if I use the macro now in vim while posting in
slrn by pressing F8, aspell does not come up anymore. Exiting the post
and slrn reveals the errors...
---------------------------------------------------------------------
[ohmster@ohmster ~]$ aspell -c newspost.txt
[ohmster@ohmster ~]$ vim newspost.txt
newsbody: error: aspell died with signal "Segmentation fault".
shell returned 1
Press ENTER or type command to continue
[ohmster@ohmster ~]$
---------------------------------------------------------------------
aspell dies with a seg fault? WTF, how come?!! This worked so ultra fine
good in Fedora Core 3 but now it won't work anymore. How do I fix this,
what do I have to do? Somebody please help me, I gotta have my spell
checker or I will die. :(
--
~Ohmster
theohmster at comcast dot net
Put "messageforohmster" in message body
to pass my spam filter.
Technical Details
Message-ID:
<Xns986133B3788DMyBigKitty@81.174.50.80>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!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!130.59.10.21.MISMATCH!kanaga.switch.ch!switch.ch!newsserver.news.garr.it!area.cu.mi.it!news.newsland.it!aioe.org!emma.aioe.org!aioe.org!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <Xns986133B3788DMyBigKitty@81.174.50.80>
Subject: slrn: aspell dies when used with vim macro for spell checker
Date: Thu, 19 Oct 2006 04:19:31 +0000
From: Ohmster <nowayin@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.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!130.59.10.21.MISMATCH!kanaga.switch.ch!switch.ch!newsserver.news.garr.it!area.cu.mi.it!news.newsland.it!aioe.org!emma.aioe.org!aioe.org!not-for-mail
Newsgroups: news.software.readers
Organization: Ohm's Fish Market
Lines: 63
NNTP-Posting-Host: utmqrmDRfR41WUg+plESng.user.aioe.org
X-Complaints-To: abuse@aioe.org
User-Agent: Xnews/2006.06.28
X-Face: .XlXp$frDJgk"+lb;
#RRo7mu{1=_.HV?RtB}%$JLN.!>>|\CPyQIi3/aBRW#(.dd8zlF9N]k8{xh03zVf=zG1G6{.bb%H8Vs%|7l'1YWAw+A)x'S"-}(Y`#ZN`#04OktRpU*!NdugZh(o%w5K,?/WqZ(qWs}K)Req:&D'|lkj%*a[N0bMk^Tr<PY{Sz6YcFm'[*2fkS/RV>}L.;
=6evum0C,LE}%s@g; ]-DhWu4J"DbcJ*+fIo,l8cH@ZxF|dm~; Vg;
XxV@K!Wp|SV+3HPyIOS,Z'j]jz]i=/5*!J&hVOQ[