Article View: news.software.readers
Article #86109Re: SLRN/VIM questions
From: John Yochum
Date: Wed, 24 Oct 2001 18:58
Date: Wed, 24 Oct 2001 18:58
45 lines
2682 bytes
2682 bytes
* Jamie Norwood <mistwolf@mushhaven.net>:
> OK, so I have been using SLRN a good long while (Measured in years),
> but have never gotten into the innards. I do have some stuff I would
> like to do, though, so let's see if I can get some advice.
>
> First off, how do I change the reference when following up a post? IE,
> where it has 'In article XXXXX, Jamie Norwood wrote:' I would like to
> drop the message ID, or else force it to always break the line after
> the ID, since it very, very often is longer than 80 characters.
set followup_string
I use
set followup_string "* %r <%f>:"
which results you see above, other useful specifiers:
% The following format specifiers are recognized:
% %d Date:
% %r real name ("comment" within From: line)
% %f address (taken from From: line)
% %s Subject:
% %m Message-Id:
% %n Newsgroups:
% %% a literal percent sign.
Thank Sven Guckes, http://www.math.fu-berlin.de/~guckes/setup/#slrn,
for his .slrnrc example. I copied and modified his.
> Second, how do I tell SLRN, and only SLRN, to use VIM by default?
in your .slrnrc
set editor_command "vim %s"
> Once I do, how do I tell VIM to wrap lines at 74 characters, but only
> if editing a news post?
I use mutt for the mail portion of SLRN, so in .vimrc
autocmd FileType mail set textwidth=74
> Any help appreciated!
HTH
--
John Yochum Agilent Technologies
john_yochum@agilent.com Imaging Electronics Division
Technical Details
Message-ID:
<slrn9te3qd.inp.loki@siberian.ftc.agilent.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.isc.org!agilent.com!not-for-mailReferences:
<slrn9tduf9.76b.mistwolf@diarmadhi.mushhaven.net>Show Full Headers
Complete Article Headers
Message-ID: <slrn9te3qd.inp.loki@siberian.ftc.agilent.com> Subject: Re: SLRN/VIM questions Date: Wed, 24 Oct 2001 18:58:21 +0000 From: John Yochum <loki@siberian.invalid> References: <slrn9tduf9.76b.mistwolf@diarmadhi.mushhaven.net> 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.isc.org!agilent.com!not-for-mail Newsgroups: news.software.readers Organization: Agilent Technologies Lines: 44 Reply-To: john_yochum@agilent.com NNTP-Posting-Host: cswreg.cos.agilent.com X-Trace: cswtrans.cos.agilent.com 1003949901 19907 130.29.154.45 (24 Oct 2001 18:58:21 GMT) X-Complaints-To: usenet@cswtrans.cos.agilent.com NNTP-Posting-Date: Wed, 24 Oct 2001 18:58:21 +0000 (UTC) User-Agent: slrn/0.9.7.2 (HP-UX) Cache-Post-Path: cswreg.cos.agilent.com!loki@siberian.ftc.agilent.com X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/)