πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #264958

Re: Posting with slrn AND nano

#264958
From: RonB
Date: Fri, 21 May 2021 23:28
58 lines
3372 bytes
On 2021-05-21, Lewis <g.kreme@kreme.dont-email.me> wrote:
> In message <s88h9b$upr$2@dont-email.me> RonB <ronb02NOSPAM@gmail.com> wrote:
>> On 2021-05-21, RonB <ronb02NOSPAM@gmail.com> wrote:
>>> On 2021-05-21, Lewis <g.kreme@kreme.dont-email.me> wrote:
>>>> In message <slrnsaedfv.aqo.ffuentes@iceland.freeshell.org> ffuentes <ffuentes@sdf-f.spam.org> wrote:
>>>>> Here I have a silly question. Do any of you use nano to post to newsgroups? 
>>>>
>>>> The editor has nothing to do with posting tp newsgroups. YOu can use any
>>>> editor you want. I am sure plenty of people use nano, just as plenty use
>>>> vim, vim, emacs, gvim, and even BBEdit.
>>>>
>>>>> I know slrn has a good example of how to setup vim to post
>>>>> but how can someone post from nano?
>>>>
>>>> set your editor to nano in your .slrnrc.
>>>>
>>>>> I wanna make nano wrap at 72 characters (which can be done with -r)
>>>>> but I also wanna make the cursor to stay in between the response and
>>>>> the header.
>>>>
>>>>> nano -r 72 -S +10
>>>>
>>>>> Is this right? Do any of you have a better idea?
>>>>
>>>> Seems like that should work based on the man page (I don't use nano).
>>>
>>> I don't either β€” I use the jstar "flavor" of joe (Joe's Own Editor).
>>>
>>> Somehow I figured out the following line (which works for me).
>>>
>>> set editor_command "jstar +%d '%s'"
>>>
>>> At this point I don't know what "+%d" and "'%s'" do β€” I would have to look 
>>> it up again. I don't have to worry about the 72 character line, as jstar 
>>> just brings in its own settings from its own .jstarc configuration file. I 
>>> don't know right now where the cursor goes when I do a follow up β€” I'll have 
>>> to check that out and report back. Wherever it ends up I'm used to what it 
>>> does. 
>>>
>>> Sorry I can't be any more help. I've tried nano but could never get "into 
>>> it."
>
>> Just checked, my cursor does stay between the response and he header. So I 
>> guess that's built into jstar (somehow).
>
> It is probably the +%d, but I do not have joe installed on any machine
> and I can’t be arsed looking up a man page online.

You were right β€” "%d β€” number of the first line of the message body" 
(Don't know what the plus sign does.)

%s is for the file name.

So could the original poster also use the +%d (or just %d) for nano?

-- 
Saudis bomb & starve Yemeni civilians: (crickets) 
Yemenis attack Saudi oil facilities: TERRORISM!
Technical Details
Message-ID: <s89fma$sh1$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <slrnsaedfv.aqo.ffuentes@iceland.freeshell.org> <slrnsaf1a3.1nh4.g.kreme@m1mini.local> <s88h6k$upr$1@dont-email.me> <s88h9b$upr$2@dont-email.me> <slrnsag82e.1nd7.g.kreme@m1mini.local>

Show Full Headers
Complete Article Headers
Message-ID: <s89fma$sh1$1@dont-email.me>
Subject: Re: Posting with slrn AND nano
Date: Fri, 21 May 2021 23:28:10 +0000
From: RonB <ronb02NOSPAM@gmail.com>
References: <slrnsaedfv.aqo.ffuentes@iceland.freeshell.org> <slrnsaf1a3.1nh4.g.kreme@m1mini.local> <s88h6k$upr$1@dont-email.me> <s88h9b$upr$2@dont-email.me> <slrnsag82e.1nd7.g.kreme@m1mini.local>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Cancel-Lock: sha1:4iUz9S2FkWnN89bSShy99uApDIU=
User-Agent: slrn/1.0.3 (Linux)
Injection-Date: Fri, 21 May 2021 23:28:10 -0000 (UTC)
Newsgroups: news.software.readers
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Organization: A noiseless patient Spider
Lines: 58
Content-Transfer-Encoding: 8bit