🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #36639

Re: Slrn A toughie

#36639
From: Martin Wickman
Date: Tue, 14 Oct 1997 00:00
45 lines
1875 bytes
On 12 Oct 1997 21:15:17 GMT, RHS Linux User <reader@snews.zippo.com> wrote:

>>Depending on which editor you want to use, set this line in your
>>~/.slrnrc file:
>>
>>set editor_command "editorname %s"
>>
>>For instance, I'm using:
>>set editor_command "emacs %s +%d -f mail-mode"
>>
>>(%s represents the file name and %d represents the starting line
>>number)
>
>Martin,
>Thanks,
>I used your example and now have: set editor_command "emacs %s"
>And as you can see am now able to post something with "slrn".
>The default editor (what ever it was) completely threw me for a loop.
>
>When you say "%s represents the file name" do you mean the %s is in lieu of 
>putting in the actual path?  And %d is a starting line number of
>what?

the line 

emacs %s +%d 

gets expanded by slrn to:

emacs .followup +23"

So %s becomes the file to edit and %d the line number where to start
editing. In this case: start emacs with file .followup. Place cursor
at line 23.

>Between your post and Heikki Kanto's helpful URL I am now able to get 
>some use out of SLRN.

That's great!

--
 Unite for Java! ** http://www.javalobby.com **

Technical Details
Message-ID: <slrn645162.16i.martin.wickman@babar.skynet.se>
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: <3446e205.1326638@snews.zippo.com> <slrn641rb5.g3.martin.wickman@babar.skynet.se> <slrn641mqq.rs.reader@Chub.org.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrn645162.16i.martin.wickman@babar.skynet.se>
Subject: Re: Slrn A toughie
Date: Tue, 14 Oct 1997 00:00:00 +0000
From: martin.wickman@mailbox.swipnet.se (Martin Wickman)
References: <3446e205.1326638@snews.zippo.com> <slrn641rb5.g3.martin.wickman@babar.skynet.se> <slrn641mqq.rs.reader@Chub.org.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!not-for-mail
X-Deja-AN: 280478377
Cache-Post-Path: mn8!s-17285@dialup155-2-60.swipnet.se
Organization: A customer of Tele2
Newsgroups: news.software.readers