Path: ...!news.mixmin.net!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: RonB Newsgroups: news.software.readers Subject: Re: Posting with slrn AND nano Date: Fri, 21 May 2021 23:28:10 -0000 (UTC) Organization: A noiseless patient Spider Lines: 58 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Fri, 21 May 2021 23:28:10 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="be878c72d920e8a426cd508df5cbfc4c"; logging-data="29217"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/4shDeNlkhio/JuBxt5ouS" User-Agent: slrn/1.0.3 (Linux) Cancel-Lock: sha1:4iUz9S2FkWnN89bSShy99uApDIU= Bytes: 3586 On 2021-05-21, Lewis wrote: > In message RonB wrote: >> On 2021-05-21, RonB wrote: >>> On 2021-05-21, Lewis wrote: >>>> In message ffuentes 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!