Article View: news.software.readers
Article #264961Re: Posting with slrn AND nano
From: Lewis
Date: Sat, 22 May 2021 03:09
Date: Sat, 22 May 2021 03:09
61 lines
3754 bytes
3754 bytes
In message <s89fma$sh1$1@dont-email.me> RonB <ronb02NOSPAM@gmail.com> wrote: > 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? Probably? It would need the + however, since nano wants +<num> for a line number to start on. -- When you come to the fork in the road, take it
Technical Details
Message-ID:
<slrnsagtfk.boh.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-mailReferences:
<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> <s89fma$sh1$1@dont-email.me>Show Full Headers
Complete Article Headers
Message-ID: <slrnsagtfk.boh.g.kreme@m1mini.local> Subject: Re: Posting with slrn AND nano Date: Sat, 22 May 2021 03:09:41 +0000 From: Lewis <g.kreme@kreme.dont-email.me> 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> <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 X-Face: )^b5"R:T7U>9~:PEn3YkzMfW*[b1qKeU.fP9C8~8HpU9}lA&6`bH1z Mail-Copies-To: nobody Mime-Version: 1.0 Cancel-Lock: sha1:+itKaHjaQUxzFnTSfZ5ol8P8RS8= Organization: Miskatonic U Content-Transfer-Encoding: 8bit X-Clacks-Overhead: GNU Terry Pratchett Reply-To: g.kreme@gmail.don-t-email-me.com Content-Type: text/plain; charset=utf-8 Lines: 61 User-Agent: slrn/1.0.3 (Darwin) Newsgroups: news.software.readers Injection-Date: Sat, 22 May 2021 03:09:41 -0000 (UTC)