Thread View: news.software.readers
4 messages
4 total messages
Started by Ohmster
Thu, 19 Oct 2006 04:19
slrn: aspell dies when used with vim macro for spell checker
Author: 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.
Re: slrn: aspell dies when used with vim macro for spell checker
Author: Troy Piggins
Date: Thu, 19 Oct 2006 05:38
Date: Thu, 19 Oct 2006 05:38
21 lines
1732 bytes
1732 bytes
* Ohmster wrote: > 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 [snip] Sorry to cut you off there, but what version of vim are you using? Vim 7 has a built in spell checker. -- Troy Piggins ,-o o ) Ubuntu linux 6.06 http://ubuntu.com RLU#415538 http://counter.li.org `-o uptime: 15:37:24 up 15 days,8:32,2 users,load average:0.07,0.03,0.00
Re: slrn: aspell dies when used with vim macro for spell checker
Author: Ohmster
Date: Thu, 19 Oct 2006 05:54
Date: Thu, 19 Oct 2006 05:54
25 lines
2066 bytes
2066 bytes
Troy Piggins <usenet-0610@piggo.com> wrote in news:20061019153724 @usenet.piggo.com: > [snip] > > Sorry to cut you off there, but what version of vim are you > using? Vim 7 has a built in spell checker. ~ VIM - Vi IMproved ~ ~ version 7.0.42 ~ by Bram Moolenaar et al. ~ Modified by <bugzilla@redhat.com> ~ Vim is open source and freely distributable Really??? How do you work it Troy? aspell does work just fine with regular text files and I can use it but more on this built in checker please. -- ~Ohmster theohmster at comcast dot net Put "messageforohmster" in message body to pass my spam filter.
OT: vim spellcheck [Was: slrn: aspell dies when used with vim macro for spell checker]
Author: Troy Piggins
Date: Thu, 19 Oct 2006 06:04
Date: Thu, 19 Oct 2006 06:04
40 lines
2282 bytes
2282 bytes
[crossposted and followup set to comp.editors] * Ohmster wrote: > Troy Piggins <usenet-0610@piggo.com> wrote in news:20061019153724 > @usenet.piggo.com: > >> [snip] >> >> Sorry to cut you off there, but what version of vim are you >> using? Vim 7 has a built in spell checker. > > ~ VIM - Vi IMproved > ~ > ~ version 7.0.42 > ~ by Bram Moolenaar et al. > ~ Modified by <bugzilla@redhat.com> > ~ Vim is open source and freely distributable > > > Really??? How do you work it Troy? > > aspell does work just fine with regular text files and I can use it but > more on this built in checker please. This is getting OT here, but it's as simple as 'set spell' or 'set nospell'. I have this in ~/.vimrc map <f3> :set spell<cr> map <f4> :set nospell<cr> Simple, hey ;) -- Troy Piggins ,-o o ) Ubuntu linux 6.06 http://ubuntu.com RLU#415538 http://counter.li.org `-o uptime: 16:00:48 up 15 days,8:55,2 users,load average:0.06,0.03,0.00
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads