🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #37949

Starting line in editor (Was Re: slrn and 80 char line max)

#37949
From: Sylvain Robitaille
Date: Thu, 08 Jan 1998 00:00
27 lines
1809 bytes
On 8 Jan 1998 18:48:10 GMT, Jan Hlavacek <lahvak@math.mps.ohio-state.edu>
wrote:

> When we are talking about this,  I have one more wish.  When you choose to
> Edit the message,  slrn puts you at the first line of the file.  However,
> slrn already knows the number of the first long line.  It would be nice if
> slrn could automatically put you at this line.  

This is clearly documented in the sample slrnrc file included in the
distribution. I include a snippet from my own .slrnrc as an example:

% Command used to invoke editor.  In the following example, %s represents
% the file name and %d represents the starting line number
set editor_command "vim -c'set wm=6' +%d %s"

Hope that helps...

-- 
----------------------------------------------------------------------
Sylvain Robitaille                              syl@alcor.concordia.ca

Assistant to the System Managers                  Concordia University
Computing Services Department                 Montreal, Quebec, Canada
----------------------------------------------------------------------

Technical Details
Message-ID: <693f9u$foh$1@newsflash.concordia.ca>
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!not-for-mail
References: <6930jg$drn$1@news.ipass.net> <slrn6ba5n0.98m.wilhelp@fluffy.meow.org> <slrn6ba7r9.l7a.lahvak@math.mps.ohio-state.edu>

Show Full Headers
Complete Article Headers
Message-ID: <693f9u$foh$1@newsflash.concordia.ca>
Subject: Starting line in editor (Was Re: slrn and 80 char line max)
Date: Thu, 08 Jan 1998 00:00:00 +0000
From: syl@alcor.concordia.ca (Sylvain Robitaille)
References: <6930jg$drn$1@news.ipass.net> <slrn6ba5n0.98m.wilhelp@fluffy.meow.org> <slrn6ba7r9.l7a.lahvak@math.mps.ohio-state.edu>
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!not-for-mail
X-Deja-AN: 314062262
Organization: Concordia University, Montreal, Canada
NNTP-Posting-User: syl
Newsgroups: news.software.readers