🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
4 messages
4 total messages Started by Christian Dysthe Mon, 18 Aug 2003 14:05
A couple of questions about slrn.
#131016
Author: Christian Dysthe
Date: Mon, 18 Aug 2003 14:05
23 lines
1513 bytes
Hi,

I have a couple of questions about slrn that I haven't been able to
solve reading up and Googleing around:

1. How do I set slrn to only show, let's say, the 100 latest articles
in a newsgroup when I enter it? The way it is now all articles are
shown if I do not type in the amount I want to see.

2. How can I have slrn query the server for new articles from within a
news group? "G" only seem to work from the news group list view.

3. Does anyone have some good .vimrc settings slrn? I have good ones
for mutt, but need some advice for slrn.

TIA for help and or pointers.

-- 
//Christian
Registered Linux User #228949 at: http://counter.li.org/

     -- What if it all means something? --
Re: A couple of questions about slrn.
#131021
Author: Mark Hill
Date: Mon, 18 Aug 2003 16:56
23 lines
1740 bytes
On 2003-08-18, 
 Christian Dysthe <christian@dysthe.net> wrote:

> 3. Does anyone have some good .vimrc settings slrn? I have good ones
> for mutt, but need some advice for slrn.

I have a couple of settings in my .slrnrc that might be useful.

% Places the cursor on the eighth line of followup, which is the date
% line in my case. Also, set wrapping at 72 chars.
set editor_command "vim +8 '+set tw=72' '%s'"

% Gives some nice colour syntax highlighing while editing the score file
set score_editor_command "vim -S /usr/share/vim/vim61/syntax/slang.vim '%s'"

% Also, these might be of interest as you use mutt
set mail_editor_command "mutt -H %s"
set mail_editor_is_mua 1	% set so mail isn't sent by slrn

-- 
Mark Hill <mark_usenet@yahoo.co.uk>
Slackware - "Dying" since 1996
Re: A couple of questions about slrn.
#131026
Author: Blinky the Shark
Date: Mon, 18 Aug 2003 17:44
35 lines
2246 bytes
Christian Dysthe wrote:

> 3. Does anyone have some good .vimrc settings slrn? I have good ones
> for mutt, but need some advice for slrn.

Here's a keystroke macro for smart formatting the body of a post:

<paste>

" keybinding: body only formatting keybinding for normal mode for slrn - thanks
" Tim Hammerquist. return cursor to place it was at when insert mode last left
" note: `^ is my add
au BufNewFile,BufRead ~/.article,~/.followup :nmap <F5> gg/^$<CR>V/^-- $<CR>{gq`^

</paste>

Here's one that will delete a rule (instead of waiting for the expiry,
if there is one).  I made it for use with the Esc-1-v method of going to the
rule that the current article has triggered; i.e., do Esc-1-v, and run
this to remove it and return you to slrn.

<paste>

" keybinding: removes the scoring rule that slrn's Esc-1-v command takes you to:
:nmap <F6> ?^%BOS$<CR>V/^%EOS$<CR>dddZZ

</paste>

Keybind as desired.  The latter could be refined to only be available for news.

-- 
Blinky                                                Linux RU 297263
Spam: The Boulder Pledge                     http://snurl.com/bpledge
Digest: Best of Internet Oracularities    http://snurl.com/dig_oracle
Re: A couple of questions about slrn.
#131060
Author: parv
Date: Tue, 19 Aug 2003 03:02
24 lines
1858 bytes
in message <bhqmeg$27bfc$1@ID-124988.news.uni-berlin.de>,
wrote Christian Dysthe ...

> 3. Does anyone have some good .vimrc settings slrn? I have good ones
> for mutt, but need some advice for slrn.

I do not have anything in particular for slrn or mutt except using
vim-in-mail-mode as editor definitions...

  %  slrn
  set editor_command "vim -c 'set tw=68 ai ft=mail'"

  #  mutt
  set editor="vim -c 'set tw=68 ai ft=mail'"


  - parv

-- 
In order to reach me, do away w/ WhereElse in the address.

A programmer, budding Unix system administrator, and amateur photographer
seeks employment: http://www103.pair.com/parv/work/
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