Thread View: news.software.readers
9 messages
9 total messages
Started by Steven Schneider
Fri, 14 Apr 2006 20:36
[slrn]Spellchecking in slrn
Author: Steven Schneider
Date: Fri, 14 Apr 2006 20:36
Date: Fri, 14 Apr 2006 20:36
13 lines
1515 bytes
1515 bytes
Hi, How exactly do you call aspell from slrn when posting to a newsgroup? I've been googlingl, but haven't found anything yet. Perhaps I'm just not hooking the search just right. :-( Anyhow, I'm able to do it in mutt. Is it anyway similar to do in slrn? I'll keep searching in the meantime. -- W. Steven Schneider <steven_schneider@telus.net>
Re: [slrn]Spellchecking in slrn
Author: Whiskers
Date: Fri, 14 Apr 2006 22:04
Date: Fri, 14 Apr 2006 22:04
19 lines
1735 bytes
1735 bytes
On 2006-04-14, Steven Schneider <steven_schneider@telus.net> wrote: > Hi, > > How exactly do you call aspell from slrn when posting to a > newsgroup? I've been googlingl, but haven't found anything yet. > Perhaps I'm just not hooking the search just right. :-( > > Anyhow, I'm able to do it in mutt. Is it anyway similar to do in > slrn? > > I'll keep searching in the meantime. Spelling is an editor thing; what editor are you using with slrn? Configure the editor to use a spelling checker, if it doesn't already. -- -- ^^^^^^^^^^ -- Whiskers -- ~~~~~~~~~~
Re: [slrn]Spellchecking in slrn
Author: Steven Schneider
Date: Fri, 14 Apr 2006 22:35
Date: Fri, 14 Apr 2006 22:35
24 lines
2164 bytes
2164 bytes
* Whiskers <catwheezel@operamail.com> [2006-04-14]: > > Spelling is an editor thing; what editor are you using with slrn? > Configure the editor to use a spelling checker, if it doesn't already. > Ok, I was afraid that that was the answer. I'm using vim, and what I currently have in my .vimrc is: :autocmd FileType mail :nmap <F8> :w<CR>:!aspell -e -c %<CR>:e<CR> But I don't use it too often because I have a macro that I call from mutt automatically when sending off an e-mail. So I've been toying around with this for the past hour or so. If this is solely an editor issue, and has nothing to do with slrn then I'll go bug the appropriate people. I was just hoping that there was a macro that I could call automatically from inside slrn after saying yes to posting an article. :-) Thanks anyhow. -- W. Steven Schneider <steven_schneider@telus.net>
Re: [slrn]Spellchecking in slrn
Author: Whiskers
Date: Sat, 15 Apr 2006 10:55
Date: Sat, 15 Apr 2006 10:55
31 lines
2409 bytes
2409 bytes
On 2006-04-14, Steven Schneider <steven_schneider@telus.net> wrote: > * Whiskers <catwheezel@operamail.com> [2006-04-14]: >> >> Spelling is an editor thing; what editor are you using with slrn? >> Configure the editor to use a spelling checker, if it doesn't already. >> > Ok, I was afraid that that was the answer. > > I'm using vim, and what I currently have in my .vimrc is: > > :autocmd FileType mail :nmap <F8> :w<CR>:!aspell -e -c %<CR>:e<CR> > > But I don't use it too often because I have a macro that I call from > mutt automatically when sending off an e-mail. So I've been toying > around with this for the past hour or so. > > If this is solely an editor issue, and has nothing to do with slrn > then I'll go bug the appropriate people. I was just hoping that > there was a macro that I could call automatically from inside slrn > after saying yes to posting an article. :-) > > Thanks anyhow. I'm not familiar with vim, but it may be possible to create a vim key-binding or macro that will invoke the spelling checker before quitting. -- -- ^^^^^^^^^^ -- Whiskers -- ~~~~~~~~~~
Re: [slrn]Spellchecking in slrn
Author: Neil Woods
Date: Sat, 15 Apr 2006 13:50
Date: Sat, 15 Apr 2006 13:50
34 lines
2583 bytes
2583 bytes
Steven Schneider <steven_schneider@telus.net> writes: > * Whiskers <catwheezel@operamail.com> [2006-04-14]: >> >> Spelling is an editor thing; what editor are you using with slrn? >> Configure the editor to use a spelling checker, if it doesn't already. >> > Ok, I was afraid that that was the answer. > > I'm using vim, and what I currently have in my .vimrc is: > > :autocmd FileType mail :nmap <F8> :w<CR>:!aspell -e -c %<CR>:e<CR> > > But I don't use it too often because I have a macro that I call from > mutt automatically when sending off an e-mail. So I've been toying > around with this for the past hour or so. > > If this is solely an editor issue, and has nothing to do with slrn > then I'll go bug the appropriate people. I was just hoping that > there was a macro that I could call automatically from inside slrn > after saying yes to posting an article. :-) There is. You need to make use of the post_filter_hook, which gets called just before slrn posts an article. There's an example in the macros directory in the slrn source (and also here in Debian in /usr/share/slrn/macros/ispell.sl. > Thanks anyhow. You're welcome. -- Neil. Delta: We're Amtrak with wings. -- David Letterman
Re: [slrn]Spellchecking in slrn
Author: Steven Schneider
Date: Sat, 15 Apr 2006 15:02
Date: Sat, 15 Apr 2006 15:02
25 lines
2232 bytes
2232 bytes
* Neil Woods <cnw+usenet-0604@pobox.com> [2006-04-15]: > > There is. You need to make use of the post_filter_hook, which gets > called just before slrn posts an article. > I ran across a reference to post_filter_hook researching my options. However, I couldn't find anything about it in the man pages, or in slrn's manual.txt. > There's an example in the macros directory in the slrn source (and also > here in Debian in /usr/share/slrn/macros/ispell.sl. > Indeed, I found the macro you were talking about in /usr/local/share/slrn/macros/ispell.sl (OpenBSD). I also now see why post_filter_hook wasn't mentioned anywhere in the slrn documentation. :-) I'll have to remember that in the future if I think I need a macro. > You're welcome. And thanks again. :-) -- W. Steven Schneider <steven_schneider@telus.net>
Re: [slrn]Spellchecking in slrn
Author: Steven Schneider
Date: Sat, 15 Apr 2006 15:51
Date: Sat, 15 Apr 2006 15:51
48 lines
3163 bytes
3163 bytes
* Neil Woods <cnw+usenet-0604@pobox.com> [2006-04-15]: > Steven Schneider <steven_schneider@telus.net> writes: > >> * Whiskers <catwheezel@operamail.com> [2006-04-14]: >>> >>> Spelling is an editor thing; what editor are you using with slrn? >>> Configure the editor to use a spelling checker, if it doesn't already. >>> >> Ok, I was afraid that that was the answer. >> >> I'm using vim, and what I currently have in my .vimrc is: >> >> :autocmd FileType mail :nmap <F8> :w<CR>:!aspell -e -c %<CR>:e<CR> >> >> But I don't use it too often because I have a macro that I call from >> mutt automatically when sending off an e-mail. So I've been toying >> around with this for the past hour or so. >> >> If this is solely an editor issue, and has nothing to do with slrn >> then I'll go bug the appropriate people. I was just hoping that >> there was a macro that I could call automatically from inside slrn >> after saying yes to posting an article. :-) > > There is. You need to make use of the post_filter_hook, which gets > called just before slrn posts an article. > > There's an example in the macros directory in the slrn source (and also > here in Debian in /usr/share/slrn/macros/ispell.sl. > For the archives, using the macro /usr/local/share/slrn/macros/ispell.sl (OpenBSD) with the following modification: %variable cmd = "ispell -x"; variable cmd = "aspell -e -c"; In ~/.slrnrc I added: interpret "ispell.sl" It's working well, on both original postings and followup posts. Spell checking isn't run on the quoted text on followups, but that's probably for the best anyhow. :-) Thanks, and thanks some more. :-) -- W. Steven Schneider <steven_schneider@telus.net>
Re: [slrn]Spellchecking in slrn
Author: SINNER
Date: Sat, 15 Apr 2006 16:19
Date: Sat, 15 Apr 2006 16:19
28 lines
2157 bytes
2157 bytes
* Steven Schneider wrote in news.software.readers: > * Whiskers <catwheezel@operamail.com> [2006-04-14]: >> Spelling is an editor thing; what editor are you using with slrn? >> Configure the editor to use a spelling checker, if it doesn't already. > Ok, I was afraid that that was the answer. > I'm using vim, and what I currently have in my .vimrc is: >:autocmd FileType mail :nmap <F8> :w<CR>:!aspell -e -c %<CR>:e<CR> Nah, do this: Install a package called spellutils and add this to ~/.vimrc " Spelling Macros map <f8> \1\2<CR>:e! %<CR> map \1 :w!<CR> map \2 :!newsbody -qs -n % -p aspell check \%f<CR> Now pressing F8 will spellcheck only NON quoted text and leave out headers and sigs as well. -- David But they went to MARS around 1953!!
Re: [slrn]Spellchecking in slrn
Author: SINNER
Date: Sat, 15 Apr 2006 16:19
Date: Sat, 15 Apr 2006 16:19
28 lines
2118 bytes
2118 bytes
* Steven Schneider wrote in news.software.readers: [...] > For the archives, using the macro > /usr/local/share/slrn/macros/ispell.sl (OpenBSD) with the following > modification: > %variable cmd = "ispell -x"; > variable cmd = "aspell -e -c"; > In ~/.slrnrc I added: > interpret "ispell.sl" > It's working well, on both original postings and followup posts. > Spell checking isn't run on the quoted text on followups, but that's > probably for the best anyhow. :-) > Thanks, and thanks some more. :-) Or that ;) -- David Klingon function calls do not have 'parameters' -- they have 'arguments' -- and they ALWAYS WIN THEM.
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