🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
16 messages
16 total messages Started by Jimchip Thu, 23 Mar 2006 15:43
Help with slrn (debian)...some configuration I can't figure out
#182338
Author: Jimchip
Date: Thu, 23 Mar 2006 15:43
19 lines
1667 bytes
OK, I do have the slrnfaq and the slrnrefs open on another desktop and I have 
been working at it.

I'm using nano as my editor.

1. In terms of basic slrn configuration, can I set slrn so that it doesn't ask 
me all of the confirming questions... 'Are you sure [Y] [N]' type stuff.
(I'd like just the 'Are you sure you want to post ques)

2. It used to be that when I Ctrl-X out of nano I went directly back to slrn. 
Now I am in a series of file saves and a net result of C-X C-X in order to get 
back to slrn. Maybe it's just a nano issue but I was hoping someone 'here' 
(TI...) would have had a similar case.
What I want is a single CTRL-X when I'm done editing that throws me directly 
back to slrn.

-- 
I had things working right some years ago.
Re: Help with slrn (debian)...some configuration I can't figure out
#182337
Author: SINNER
Date: Thu, 23 Mar 2006 16:49
29 lines
2086 bytes
* Jimchip wrote in news.software.readers:

> 
> OK, I do have the slrnfaq and the slrnrefs open on another desktop and
> I have been working at it.
> 
> I'm using nano as my editor.
> 
> 1. In terms of basic slrn configuration, can I set slrn so that it
> doesn't ask me all of the confirming questions... 'Are you sure [Y]
> [N]' type stuff. (I'd like just the 'Are you sure you want to post
> ques) 

Yes, its in the manual under nettiquette warnings and confirm actions.

> 
> 2. It used to be that when I Ctrl-X out of nano I went directly back
> to slrn. Now I am in a series of file saves and a net result of C-X
> C-X in order to get back to slrn. Maybe it's just a nano issue but I
> was hoping someone 'here' (TI...) would have had a similar case.
> What I want is a single CTRL-X when I'm done editing that throws me
> directly back to slrn.

What are you using as your editor command in your slrnrc?

-- 
David

Re: Help with slrn (debian)...some configuration I can't figure out
#182364
Author: Jimchip
Date: Fri, 24 Mar 2006 01:53
38 lines
2442 bytes
On 2006-03-23, SINNER <arcade.master@gmail.com> wrote:
> * Jimchip wrote in news.software.readers:
>
>> 
>> OK, I do have the slrnfaq and the slrnrefs open on another desktop and
>> I have been working at it.
>> 
>> I'm using nano as my editor.
>> 
>> 1. In terms of basic slrn configuration, can I set slrn so that it
>> doesn't ask me all of the confirming questions... 'Are you sure [Y]
>> [N]' type stuff. (I'd like just the 'Are you sure you want to post
>> ques) 
>
> Yes, its in the manual under nettiquette warnings and confirm actions.

Found it!
"6.15 confirm_actions"
Thanks. You would think (or I would) that I could have thought of the word 
'confirm'...I guess not :)

>
>> 
>> 2. It used to be that when I Ctrl-X out of nano I went directly back
>> to slrn. Now I am in a series of file saves and a net result of C-X
>> C-X in order to get back to slrn. Maybe it's just a nano issue but I
>> was hoping someone 'here' (TI...) would have had a similar case.
>> What I want is a single CTRL-X when I'm done editing that throws me
>> directly back to slrn.
>
> What are you using as your editor command in your slrnrc?

set editor_command "nano '%s' %d "

but I'm just getting ready to add a -tmp  (in case that's the solution).

-- 
And I'll be back if I can't score threads that I've posted to.
Re: Help with slrn (debian)...some configuration I can't figure out
#182363
Author: SINNER
Date: Fri, 24 Mar 2006 02:08
45 lines
2745 bytes
* Jimchip wrote in news.software.readers:
> On 2006-03-23, SINNER <arcade.master@gmail.com> wrote:
>> * Jimchip wrote in news.software.readers:

[...]

>>> doesn't ask me all of the confirming questions... 'Are you sure [Y]
>>> [N]' type stuff. (I'd like just the 'Are you sure you want to post
>>> ques) 

>> Yes, its in the manual under nettiquette warnings and confirm actions.

> Found it!
> "6.15 confirm_actions"
> Thanks. You would think (or I would) that I could have thought of the word 
> 'confirm'...I guess not :)

Yeah, its a BIG manual ;)

>>> 2. It used to be that when I Ctrl-X out of nano I went directly back
>>> to slrn. Now I am in a series of file saves and a net result of C-X
>>> C-X in order to get back to slrn. Maybe it's just a nano issue but I
>>> was hoping someone 'here' (TI...) would have had a similar case.
>>> What I want is a single CTRL-X when I'm done editing that throws me
>>> directly back to slrn.

>> What are you using as your editor command in your slrnrc?

> set editor_command "nano '%s' %d "

Hmmm, mine has the variables reversed. I use vim as an editor.

set editor_command "vim -f '+set tw=72' +%d '%s'" 

the -f and the set stuff is vim specific.

Try reversing the variables.

> but I'm just getting ready to add a -tmp  (in case that's the solution).

I have, but don't use nano, if you don't get it, I will give it a shot.

-- 
David
Kilroe hic erat!
Re: Help with slrn (debian)...some configuration I can't figure out
#182368
Author: Blinky the Shark
Date: Fri, 24 Mar 2006 02:38
47 lines
3015 bytes
SINNER wrote:

> * Jimchip wrote in news.software.readers:
>> On 2006-03-23, SINNER <arcade.master@gmail.com> wrote:
>>> * Jimchip wrote in news.software.readers:
> 
> [...]
> 
>>>> doesn't ask me all of the confirming questions... 'Are you sure [Y]
>>>> [N]' type stuff. (I'd like just the 'Are you sure you want to post
>>>> ques) 
> 
>>> Yes, its in the manual under nettiquette warnings and confirm actions.
> 
>> Found it!
>> "6.15 confirm_actions"
>> Thanks. You would think (or I would) that I could have thought of the word 
>> 'confirm'...I guess not :)
> 
> Yeah, its a BIG manual ;)
> 
>>>> 2. It used to be that when I Ctrl-X out of nano I went directly back
>>>> to slrn. Now I am in a series of file saves and a net result of C-X
>>>> C-X in order to get back to slrn. Maybe it's just a nano issue but I
>>>> was hoping someone 'here' (TI...) would have had a similar case.
>>>> What I want is a single CTRL-X when I'm done editing that throws me
>>>> directly back to slrn.
> 
>>> What are you using as your editor command in your slrnrc?
> 
>> set editor_command "nano '%s' %d "
> 
> Hmmm, mine has the variables reversed. I use vim as an editor.
> 
> set editor_command "vim -f '+set tw=72' +%d '%s'" 
 
> the -f and the set stuff is vim specific.

Are you sure?  I thought that was a bash command about forking.

 
-- 
Blinky                                                   RLU 297263 
Killing all posts from Google Groups
The Usenet Improvement Project: http://blinkynet.net/comp/uip5.html
Coming Soon:  Filtering rules specific to various real news clients
Re: Help with slrn (debian)...some configuration I can't figure out
#182371
Author: SINNER
Date: Fri, 24 Mar 2006 02:46
20 lines
1931 bytes
* Blinky the Shark wrote in news.software.readers:
> SINNER wrote:

[...]

>> set editor_command "vim -f '+set tw=72' +%d '%s'" 

>> the -f and the set stuff is vim specific.

> Are you sure?  I thought that was a bash command about forking.

[08:42 PM][J:0][sinner@~]$ man vim | grep fork
Reformatting vim(1), please wait...
       -f          Foreground.  For the GUI version, Vim  will  not fork  and
       --nofork    Foreground.   For  the  GUI  version, Vim will not fork and

Yes :)
-- 
David
Klatu barada nikto.
Re: Help with slrn (debian)...some configuration I can't figure out
#182373
Author: Jimchip
Date: Fri, 24 Mar 2006 03:01
34 lines
2016 bytes
On 2006-03-24, SINNER <99nesorjd@gates_of_hell.invalid> wrote:
> * Jimchip wrote in news.software.readers:
>> On 2006-03-23, SINNER <arcade.master@gmail.com> wrote:
>>> * Jimchip wrote in news.software.readers:
>> 'confirm'...I guess not :)
[The snip was prob. up here (sorry too many shells, too many configfile]

>> set editor_command "nano '%s' %d "
>
> Hmmm, mine has the variables reversed. I use vim as an editor.
>
> set editor_command "vim -f '+set tw=72' +%d '%s'" 
>
> the -f and the set stuff is vim specific.
>
> Try reversing the variables.
>
>> but I'm just getting ready to add a -tmp  (in case that's the solution).
>
> I have, but don't use nano, if you don't get it, I will give it a shot.

[maybe a snip, I'm not sure]

I went back to the original slrn.rc to compare, and based on the 'jed entry' came up 
with this:

set editor_command "nano '%s' -g %d -tmp"

(although I have no idea what what '-g' means) 

I'll try it out and see. Thanks for your help, SINNER.


 
Re: Help with slrn (debian)...some configuration I can't figure out
#182372
Author: Blinky the Shark
Date: Fri, 24 Mar 2006 03:05
28 lines
2272 bytes
SINNER wrote:

> * Blinky the Shark wrote in news.software.readers:
>> SINNER wrote:
> 
> [...]
> 
>>> set editor_command "vim -f '+set tw=72' +%d '%s'" 
> 
>>> the -f and the set stuff is vim specific.
> 
>> Are you sure?  I thought that was a bash command about forking.
> 
> [08:42 PM][J:0][sinner@~]$ man vim | grep fork
> Reformatting vim(1), please wait...
>        -f          Foreground.  For the GUI version, Vim  will  not fork  and
>        --nofork    Foreground.   For  the  GUI  version, Vim will not fork and
> 
> Yes :)

I yam 2, now.  ;)

-- 
Blinky                                                   RLU 297263 
Killing all posts from Google Groups
The Usenet Improvement Project: http://blinkynet.net/comp/uip5.html
Coming Soon:  Filtering rules specific to various real news clients
Re: Help with slrn (debian)...some configuration I can't figure out
#182374
Author: Jimchip
Date: Fri, 24 Mar 2006 03:07
45 lines
2807 bytes
On 2006-03-24, Blinky the Shark <no.spam@box.invalid> wrote:
> SINNER wrote:
>
>> * Jimchip wrote in news.software.readers:
>>> On 2006-03-23, SINNER <arcade.master@gmail.com> wrote:
>>>> * Jimchip wrote in news.software.readers:
>> 
>> [...]
>> 
>>>>> doesn't ask me all of the confirming questions... 'Are you sure [Y]
>>>>> [N]' type stuff. (I'd like just the 'Are you sure you want to post
>>>>> ques) 
>> 
>>>> Yes, its in the manual under nettiquette warnings and confirm actions.
>> 
>>> Found it!
>>> "6.15 confirm_actions"
>>> Thanks. You would think (or I would) that I could have thought of the word 
>>> 'confirm'...I guess not :)
>> 
>> Yeah, its a BIG manual ;)
>> 
>>>>> 2. It used to be that when I Ctrl-X out of nano I went directly back
>>>>> to slrn. Now I am in a series of file saves and a net result of C-X
>>>>> C-X in order to get back to slrn. Maybe it's just a nano issue but I
>>>>> was hoping someone 'here' (TI...) would have had a similar case.
>>>>> What I want is a single CTRL-X when I'm done editing that throws me
>>>>> directly back to slrn.
>> 
>>>> What are you using as your editor command in your slrnrc?
>> 
>>> set editor_command "nano '%s' %d "
>> 
>> Hmmm, mine has the variables reversed. I use vim as an editor.
>> 
>> set editor_command "vim -f '+set tw=72' +%d '%s'" 
>  
>> the -f and the set stuff is vim specific.
>
> Are you sure?  I thought that was a bash command about forking.

That could be but I will own up to completely messing up my .bashrc file.

-- 
and I even have a book about it
Re: Help with slrn (debian)...some configuration I can't figure out
#182376
Author: Blinky the Shark
Date: Fri, 24 Mar 2006 03:07
45 lines
2830 bytes
Jimchip wrote:

> On 2006-03-24, SINNER <99nesorjd@gates_of_hell.invalid> wrote:
>> * Jimchip wrote in news.software.readers:
>>> On 2006-03-23, SINNER <arcade.master@gmail.com> wrote:
>>>> * Jimchip wrote in news.software.readers:
>>> 'confirm'...I guess not :)
> [The snip was prob. up here (sorry too many shells, too many configfile]
> 
>>> set editor_command "nano '%s' %d "
>>
>> Hmmm, mine has the variables reversed. I use vim as an editor.
>>
>> set editor_command "vim -f '+set tw=72' +%d '%s'" 
>>
>> the -f and the set stuff is vim specific.
>>
>> Try reversing the variables.
>>
>>> but I'm just getting ready to add a -tmp  (in case that's the solution).
>>
>> I have, but don't use nano, if you don't get it, I will give it a shot.
> 
> [maybe a snip, I'm not sure]
> 
> I went back to the original slrn.rc to compare, and based on the 'jed entry' came up 
> with this:
> 
> set editor_command "nano '%s' -g %d -tmp"
> 
> (although I have no idea what what '-g' means) 
> 
> I'll try it out and see. Thanks for your help, SINNER.

I don't either -- I don't see it in the manual:

http://www.gnu.org/software/nano/manual/html_mono/nano.html


-- 
Blinky                                                   RLU 297263 
Killing all posts from Google Groups
The Usenet Improvement Project: http://blinkynet.net/comp/uip5.html
Coming Soon:  Filtering rules specific to various real news clients
Re: Help with slrn (debian)...some configuration I can't figure out
#182379
Author: Blinky the Shark
Date: Fri, 24 Mar 2006 03:22
53 lines
3338 bytes
Jimchip wrote:

> On 2006-03-24, Blinky the Shark <no.spam@box.invalid> wrote:
>> SINNER wrote:
>>
>>> * Jimchip wrote in news.software.readers:
>>>> On 2006-03-23, SINNER <arcade.master@gmail.com> wrote:
>>>>> * Jimchip wrote in news.software.readers:
>>> 
>>> [...]
>>> 
>>>>>> doesn't ask me all of the confirming questions... 'Are you sure [Y]
>>>>>> [N]' type stuff. (I'd like just the 'Are you sure you want to post
>>>>>> ques) 
>>> 
>>>>> Yes, its in the manual under nettiquette warnings and confirm actions.
>>> 
>>>> Found it!
>>>> "6.15 confirm_actions"
>>>> Thanks. You would think (or I would) that I could have thought of the word 
>>>> 'confirm'...I guess not :)
>>> 
>>> Yeah, its a BIG manual ;)
>>> 
>>>>>> 2. It used to be that when I Ctrl-X out of nano I went directly back
>>>>>> to slrn. Now I am in a series of file saves and a net result of C-X
>>>>>> C-X in order to get back to slrn. Maybe it's just a nano issue but I
>>>>>> was hoping someone 'here' (TI...) would have had a similar case.
>>>>>> What I want is a single CTRL-X when I'm done editing that throws me
>>>>>> directly back to slrn.
>>> 
>>>>> What are you using as your editor command in your slrnrc?
>>> 
>>>> set editor_command "nano '%s' %d "
>>> 
>>> Hmmm, mine has the variables reversed. I use vim as an editor.
>>> 
>>> set editor_command "vim -f '+set tw=72' +%d '%s'" 
>>  
>>> the -f and the set stuff is vim specific.
>>
>> Are you sure?  I thought that was a bash command about forking.
> 
> That could be but I will own up to completely messing up my .bashrc file.

I've been proved wrong.  Disregard.  Nothing to see, here, folks.  :)

-- 
Blinky                                                   RLU 297263 
Killing all posts from Google Groups
The Usenet Improvement Project: http://blinkynet.net/comp/uip5.html
Coming Soon:  Filtering rules specific to various real news clients
Re: Help with slrn (debian)...some configuration I can't figure out
#182384
Author: Neil Woods
Date: Fri, 24 Mar 2006 03:31
42 lines
2507 bytes
Jimchip <jimchip@ifthisisavalidhostname.com> writes:

> On 2006-03-24, SINNER <99nesorjd@gates_of_hell.invalid> wrote:
>> * Jimchip wrote in news.software.readers:
>>> On 2006-03-23, SINNER <arcade.master@gmail.com> wrote:
>>>> * Jimchip wrote in news.software.readers:
>>> 'confirm'...I guess not :)
> [The snip was prob. up here (sorry too many shells, too many configfile]
>
>>> set editor_command "nano '%s' %d "
>>
>> Hmmm, mine has the variables reversed. I use vim as an editor.
>>
>> set editor_command "vim -f '+set tw=72' +%d '%s'" 
>>
>> the -f and the set stuff is vim specific.
>>
>> Try reversing the variables.
>>
>>> but I'm just getting ready to add a -tmp (in case that's the
>>> solution).
>>
>> I have, but don't use nano, if you don't get it, I will give it a shot.
>
> [maybe a snip, I'm not sure]
>
> I went back to the original slrn.rc to compare, and based on the 'jed
> entry' came up with this:
>
> set editor_command "nano '%s' -g %d -tmp"
>
> (although I have no idea what what '-g' means) 

>From the jed(1) man page, it means goto line n in buffer.

I think you need (judging by the nano(1) man page): 

set editor_command "nano +%d '%s'"

-- 
Neil.
A diplomat is a man who can convince his wife she'd look stout in a fur coat.
Re: Help with slrn (debian)...some configuration I can't figure out
#182385
Author: I R A Darth Aggie
Date: Fri, 24 Mar 2006 03:40
19 lines
2041 bytes
On Thu, 23 Mar 2006 19:07:20 -0800,
Blinky the Shark <no.spam@box.invalid>, in
<pan.2006.03.24.03.07.18.632934@thurston.blinkynet.net> wrote:
>+ Jimchip wrote:

>+ > set editor_command "nano '%s' -g %d -tmp"
>+ > (although I have no idea what what '-g' means) 

>+ I don't either -- I don't see it in the manual:
>+ http://www.gnu.org/software/nano/manual/html_mono/nano.html

Hmmm...'man nano' claims that -g is "ignored" and for compatibility
with pico.

-- 
Consulting Minister for Consultants, DNRC
I can please only one person per day. Today is not your day. Tomorrow
isn't looking good, either.
I am BOFH. Resistance is futile. Your network will be assimilated.
Re: Help with slrn (debian)...some configuration I can't figure out
#182390
Author: Jimchip
Date: Fri, 24 Mar 2006 04:35
31 lines
2271 bytes
On 2006-03-24, I R A Darth Aggie <hfrarg@nttvr2x3.pbgfr.arg> wrote:
> On Thu, 23 Mar 2006 19:07:20 -0800,
> Blinky the Shark <no.spam@box.invalid>, in
><pan.2006.03.24.03.07.18.632934@thurston.blinkynet.net> wrote:
>>+ Jimchip wrote:
>
>>+ > set editor_command "nano '%s' -g %d -tmp"
>>+ > (although I have no idea what what '-g' means) 
>
>>+ I don't either -- I don't see it in the manual:
>>+ http://www.gnu.org/software/nano/manual/html_mono/nano.html
>
> Hmmm...'man nano' claims that -g is "ignored" and for compatibility
> with pico.

Thanks for that. I did simplify some things based on previous advice.

My current situation is that I commented out one, inserted the other and here 
'we' are:

%set editor_command "nano '%s' -g %d -tmp
set editor_command "nano +%d '%s'"


I am  'in the ballpark' of what I want. Frankly, at this point, it's a 'new' 
(to me) nano problem. What's happening now (maybe not appropriate for this group 
since the newsreaders are tough enough for me) is that I am still hitting some 
kind of nano buffer that I have exit out of...

-- 
"If I want buffers, I'll use emacs"
Re: Help with slrn (debian)...some configuration I can't figure out
#182394
Author: Blinky the Shark
Date: Fri, 24 Mar 2006 05:33
28 lines
2416 bytes
I R A Darth Aggie wrote:

> On Thu, 23 Mar 2006 19:07:20 -0800,
> Blinky the Shark <no.spam@box.invalid>, in
> <pan.2006.03.24.03.07.18.632934@thurston.blinkynet.net> wrote:
>>+ Jimchip wrote:
> 
>>+ > set editor_command "nano '%s' -g %d -tmp" + > (although I have no
>>idea what what '-g' means)
> 
>>+ I don't either -- I don't see it in the manual: +
>>http://www.gnu.org/software/nano/manual/html_mono/nano.html
> 
> Hmmm...'man nano' claims that -g is "ignored" and for compatibility with
> pico.

Ah.  Search on string -g came up dry in the man I looked in (online).

Turns out he got that from jed, anyway.  I missed that, first time around.



-- 
Blinky                                                   RLU 297263 
Killing all posts from Google Groups
The Usenet Improvement Project: http://blinkynet.net/comp/uip5.html
Coming Soon:  Filtering rules specific to various real news clients
Re: Help with slrn (debian)...some configuration I can't figure out
#182399
Author: Jimchip
Date: Fri, 24 Mar 2006 06:45
36 lines
2641 bytes
On 2006-03-24, Blinky the Shark <no.spam@box.invalid> wrote:
> I R A Darth Aggie wrote:
>
>> On Thu, 23 Mar 2006 19:07:20 -0800,
>> Blinky the Shark <no.spam@box.invalid>, in
>> <pan.2006.03.24.03.07.18.632934@thurston.blinkynet.net> wrote:
>>>+ Jimchip wrote:
>> 
>>>+ > set editor_command "nano '%s' -g %d -tmp" + > (although I have no
>>>idea what what '-g' means)
>> 
>>>+ I don't either -- I don't see it in the manual: +
>>>http://www.gnu.org/software/nano/manual/html_mono/nano.html
>> 
>> Hmmm...'man nano' claims that -g is "ignored" and for compatibility with
>> pico.
>
> Ah.  Search on string -g came up dry in the man I looked in (online).
>
> Turns out he got that from jed, anyway.  I missed that, first time around.

*I* got that from the slrn.rc file that I have:

(
% Set your favourite editor.  Use %s for the file name and %d for the line
% where the cursor should be placed (usually at the beginning of the body).
%set editor_command "jed '%s' -g %d -tmp"

% You can have separate commands for editing posts, mail, and score files.
%set mail_editor_command "jed '%s' -g %d -tmp --mail-mode"
%set post_editor_command "jed '%s' -g %d -tmp --mail-mode"
%set score_editor_command "jed '%s' -g %d -tmp --score-arrange-score"
)

-- 
Sorry if I've misinterpreted 'he'
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