πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
13 messages
13 total messages Started by ffuentes Fri, 21 May 2021 04:24
Posting with slrn AND nano
#264956
Author: ffuentes
Date: Fri, 21 May 2021 04:24
13 lines
1126 bytes
Here I have a silly question. Do any of you use nano to post to newsgroups? 
I know slrn has a good example of how to setup vim to post
but how can someone post from nano? 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?

-- 
ffuentes@sdf.org
SDF Public Access UNIX System - http://sdf.org
Re: Posting with slrn AND nano
#264957
Author: andrew
Date: Fri, 21 May 2021 05:03
11 lines
1051 bytes
On 2021-05-21, ffuentes <ffuentes@sdf-f.spam.org> wrote:

> Here I have a silly question. Do any of you use nano to post to
> newsgroups? 

Unfortunately I have always used vim with slrn under Linux and gvim
with slrn under Windows...

Andrew
-- 
Do you think that's air you're breathing?
Re: Posting with slrn AND nano
#264953
Author: Lewis
Date: Fri, 21 May 2021 10:02
28 lines
1835 bytes
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).


-- 
ALL WORK AND NO PLAY MAKES BART A DULL BOY
ALL WORK AND NO PLAY MAKES BART A DULL BOY
ALL WORK AND NO PLAY MAKES BART A DULL BOY
    Bart chalkboard Ep. 1F07
Re: Posting with slrn AND nano
#264952
Author: RonB
Date: Fri, 21 May 2021 14:47
42 lines
2477 bytes
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."

-- 
Saudis bomb & starve Yemeni civilians: (crickets) 
Yemenis attack Saudi oil facilities: TERRORISM!
Re: Posting with slrn AND nano
#264954
Author: RonB
Date: Fri, 21 May 2021 14:49
46 lines
2730 bytes
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).

-- 
Saudis bomb & starve Yemeni civilians: (crickets) 
Yemenis attack Saudi oil facilities: TERRORISM!
Re: Posting with slrn AND nano
#264955
Author: Lewis
Date: Fri, 21 May 2021 21:04
52 lines
3290 bytes
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.


-- 
I hope this email finds you Living in a shotgun shack
I hope this email finds you In another part of the world
I hope this email finds you Behind the wheel of a large automobile
Re: Posting with slrn AND nano
#264959
Author: Ted Heise
Date: Fri, 21 May 2021 21:42
28 lines
1890 bytes
On Fri, 21 May 2021 04:24:33 -0000 (UTC),
  ffuentes <ffuentes@sdf-f.spam.org> wrote:
>  Here I have a silly question. Do any of you use nano to post to 
>  newsgroups?

>  I know slrn has a good example of how to setup vim to post but 
>  how can someone post from nano? 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?

I use pico, which I think is related to nano.  Here's what I have 
in my .slrnrc, perhaps it will help?

set editor_command "pico -z -t -r66 -Q \"> \" %s"

The "-r66" part is the line length before wrapping.  Many of the 
newsgroups I frequent have extended back and forth discussions, so 
after a few exchanges 72 starts to look pretty bad.

I also love pico's rewrap feature (Ctrl-j) that even rewraps 
quoted text properly (used it above).

-- 
Ted Heise      <theise@panix.com>       West Lafayette, IN, USA
Re: Posting with slrn AND nano
#264958
Author: 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!
Re: Posting with slrn AND nano
#264960
Author: RonB
Date: Fri, 21 May 2021 23:36
35 lines
2203 bytes
On 2021-05-21, Ted Heise <theise@panix.com> wrote:
> On Fri, 21 May 2021 04:24:33 -0000 (UTC),
>   ffuentes <ffuentes@sdf-f.spam.org> wrote:
>>  Here I have a silly question. Do any of you use nano to post to 
>>  newsgroups?
>
>>  I know slrn has a good example of how to setup vim to post but 
>>  how can someone post from nano? 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?
>
> I use pico, which I think is related to nano.  Here's what I have 
> in my .slrnrc, perhaps it will help?
>
> set editor_command "pico -z -t -r66 -Q \"> \" %s"
>
> The "-r66" part is the line length before wrapping.  Many of the 
> newsgroups I frequent have extended back and forth discussions, so 
> after a few exchanges 72 starts to look pretty bad.
>
> I also love pico's rewrap feature (Ctrl-j) that even rewraps 
> quoted text properly (used it above).

I use that feature (Ctrl-b) all the time in jstar as well (it appears to 
work the same). I might look at setting up a jstar configuration just for 
slrn β€” you make a good point about using 66 columns instead of a higher 
number.

-- 
Saudis bomb & starve Yemeni civilians: (crickets) 
Yemenis attack Saudi oil facilities: TERRORISM!
Re: Posting with slrn AND nano
#264961
Author: Lewis
Date: Sat, 22 May 2021 03:09
61 lines
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
Re: Posting with slrn AND nano
#264962
Author: Lewis
Date: Sat, 22 May 2021 03:11
38 lines
2481 bytes
In message <s89g5p$1h9$1@dont-email.me> RonB <ronb02NOSPAM@gmail.com> wrote:
> On 2021-05-21, Ted Heise <theise@panix.com> wrote:
>> On Fri, 21 May 2021 04:24:33 -0000 (UTC),
>>   ffuentes <ffuentes@sdf-f.spam.org> wrote:
>>>  Here I have a silly question. Do any of you use nano to post to 
>>>  newsgroups?
>>
>>>  I know slrn has a good example of how to setup vim to post but 
>>>  how can someone post from nano? 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?
>>
>> I use pico, which I think is related to nano.  Here's what I have 
>> in my .slrnrc, perhaps it will help?
>>
>> set editor_command "pico -z -t -r66 -Q \"> \" %s"
>>
>> The "-r66" part is the line length before wrapping.  Many of the 
>> newsgroups I frequent have extended back and forth discussions, so 
>> after a few exchanges 72 starts to look pretty bad.
>>
>> I also love pico's rewrap feature (Ctrl-j) that even rewraps 
>> quoted text properly (used it above).

> I use that feature (Ctrl-b) all the time in jstar as well (it appears
> to work the same). I might look at setting up a jstar configuration
> just for slrn β€” you make a good point about using 66 columns instead
> of a higher number.

And gq in vim.


-- 
I'm the best singer in Tasmania. With teeth.
Re: Posting with slrn AND nano
#264963
Author: RonB
Date: Sat, 22 May 2021 05:40
43 lines
2694 bytes
On 2021-05-22, Lewis <g.kreme@kreme.dont-email.me> wrote:
> In message <s89g5p$1h9$1@dont-email.me> RonB <ronb02NOSPAM@gmail.com> wrote:
>> On 2021-05-21, Ted Heise <theise@panix.com> wrote:
>>> On Fri, 21 May 2021 04:24:33 -0000 (UTC),
>>>   ffuentes <ffuentes@sdf-f.spam.org> wrote:
>>>>  Here I have a silly question. Do any of you use nano to post to 
>>>>  newsgroups?
>>>
>>>>  I know slrn has a good example of how to setup vim to post but 
>>>>  how can someone post from nano? 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?
>>>
>>> I use pico, which I think is related to nano.  Here's what I have 
>>> in my .slrnrc, perhaps it will help?
>>>
>>> set editor_command "pico -z -t -r66 -Q \"> \" %s"
>>>
>>> The "-r66" part is the line length before wrapping.  Many of the 
>>> newsgroups I frequent have extended back and forth discussions, so 
>>> after a few exchanges 72 starts to look pretty bad.
>>>
>>> I also love pico's rewrap feature (Ctrl-j) that even rewraps 
>>> quoted text properly (used it above).
>
>> I use that feature (Ctrl-b) all the time in jstar as well (it appears
>> to work the same). I might look at setting up a jstar configuration
>> just for slrn β€” you make a good point about using 66 columns instead
>> of a higher number.
>
> And gq in vim.

If I hadn't used WordStar in DOS for so long I probably would be using some 
other editor in Linux. But jstar was like "coming home" for me. That's the 
great thing about Linux, lots of choices. 

-- 
Saudis bomb & starve Yemeni civilians: (crickets) 
Yemenis attack Saudi oil facilities: TERRORISM!
Re: Posting with slrn AND nano
#264971
Author: Ted Heise
Date: Sat, 22 May 2021 14:22
41 lines
2372 bytes
On Sat, 22 May 2021 03:11:40 -0000 (UTC),
  Lewis <g.kreme@kreme.dont-email.me> wrote:
>  In message <s89g5p$1h9$1@dont-email.me> RonB <ronb02NOSPAM@gmail.com> wrote:
> > On 2021-05-21, Ted Heise <theise@panix.com> wrote:
> >> On Fri, 21 May 2021 04:24:33 -0000 (UTC),
> >>   ffuentes <ffuentes@sdf-f.spam.org> wrote:

> >>>  I know slrn has a good example of how to setup vim to post 
> >>>  but how can someone post from nano? 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?
> >>
> >> I use pico, which I think is related to nano.  Here's what I 
> >> have in my .slrnrc, perhaps it will help?
> >>
> >> set editor_command "pico -z -t -r66 -Q \"> \" %s"

> >> I also love pico's rewrap feature (Ctrl-j) that even rewraps 
> >> quoted text properly (used it above).
> 
> > I use that feature (Ctrl-b) all the time in jstar as well (it 
> > appears to work the same). I might look at setting up a jstar 
> > configuration just for slrn ??? you make a good point about 
> > using 66 columns instead of a higher number.
> 
>  And gq in vim.

I *knew* it.  :)

See header in my first post...

> ObICanSeeItComing: some folks will be sure to say vim does it too


-- 
Ted Heise      <theise@panix.com>       West Lafayette, IN, USA
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads