🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
7 messages
7 total messages Started by Peter James Tue, 19 May 2015 09:11
Unwanted messages
#259262
Author: Peter James
Date: Tue, 19 May 2015 09:11
13 lines
1375 bytes
When calling up Nano from within slrn I still experience the problem
of past or cancelled postings appearing on the screen.
I get rid of them by selecting ctrlX and then starting the new posting.

Is this normal, and if not how do I get rid of them?  Someone on this
NG suggested that the syntax I use to call up Nano from slrn.rc might be 
responsible.
Just in case the syntax is responsible it is:

set editor_command "nano -r 72 -t +%d '%s'"

Peter
Re: Unwanted messages
#259261
Author: aitch
Date: Tue, 19 May 2015 12:46
26 lines
1888 bytes
Peter James wrote:

> When calling up Nano from within slrn I still experience the problem
> of past or cancelled postings appearing on the screen.
> I get rid of them by selecting ctrlX and then starting the new posting.
>
> Is this normal, and if not how do I get rid of them?

No, it's definitely not normal.

> Someone on this NG suggested that the syntax I use to call up Nano 
> from slrn.rc might be responsible.
> Just in case the syntax is responsible it is:
>
> set editor_command "nano -r 72 -t +%d '%s'"

That's the line I've been using in .slrnrc without any problems.

I'm just guessing here, but it could be an issue with the location of 
temporary files.  If your system uses a directory other than /tmp, 
you'll need to to set the TMP environment variable (if it's not already 
set), and put this line in your slrn.rc:
set use_tmpdir 1

-- 
aitch
Re: Unwanted messages
#259263
Author: Whiskers
Date: Tue, 19 May 2015 13:36
25 lines
2241 bytes
On 2015-05-19, Peter James <peter@pfjames.co.uk> wrote:
> When calling up Nano from within slrn I still experience the problem
> of past or cancelled postings appearing on the screen.  I get rid of
> them by selecting ctrlX and then starting the new posting.
>
> Is this normal, and if not how do I get rid of them?  Someone on this
> NG suggested that the syntax I use to call up Nano from slrn.rc might
> be responsible.  Just in case the syntax is responsible it is:
>
> set editor_command "nano -r 72 -t +%d '%s'"
>
> Peter

Do you see "past" or "cancelled" postings in Nano if you open it
directly from a launcher or command line?  Is there any pattern to what
appears that you didn't want?  

Could it be that Nano is trying to remember the file you were last
editing (whether slrn-related or not) because you have not yet told Nano
to "Write Out" that file (ie Nano thinks you haven't finished with it)?

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: Unwanted messages
#259265
Author: Peter James
Date: Tue, 19 May 2015 17:53
27 lines
2260 bytes
On 2015-05-19, Whiskers <catwheezel@operamail.com> wrote:
> On 2015-05-19, Peter James <peter@pfjames.co.uk> wrote:
>> When calling up Nano from within slrn I still experience the problem
>> of past or cancelled postings appearing on the screen.  I get rid of
>> them by selecting ctrlX and then starting the new posting.
>>
>> Is this normal, and if not how do I get rid of them?  Someone on this
>> NG suggested that the syntax I use to call up Nano from slrn.rc might
>> be responsible.  Just in case the syntax is responsible it is:
>>
>> set editor_command "nano -r 72 -t +%d '%s'"
>>
>> Peter
>
> Do you see "past" or "cancelled" postings in Nano if you open it
> directly from a launcher or command line?  Is there any pattern to what
> appears that you didn't want?  
If I open Nano from the command line this doesn't happen
> Could it be that Nano is trying to remember the file you were last
> editing (whether slrn-related or not) because you have not yet told Nano
> to "Write Out" that file (ie Nano thinks you haven't finished with it)?
>
I wonder if that's it.  So everytime this happens now I'll Write it out
and see if that eventually solves it.
Thanks,

Peter
Re: Unwanted messages
#259266
Author: aitch
Date: Tue, 19 May 2015 18:45
32 lines
2357 bytes
Whiskers wrote:

> On 2015-05-19, Peter James <peter@pfjames.co.uk> wrote:
>> When calling up Nano from within slrn I still experience the problem
>> of past or cancelled postings appearing on the screen.  I get rid of
>> them by selecting ctrlX and then starting the new posting.
>>
>> Is this normal, and if not how do I get rid of them?  Someone on this
>> NG suggested that the syntax I use to call up Nano from slrn.rc might
>> be responsible.  Just in case the syntax is responsible it is:
>>
>> set editor_command "nano -r 72 -t +%d '%s'"
>>
>> Peter
>
> Do you see "past" or "cancelled" postings in Nano if you open it
> directly from a launcher or command line?  Is there any pattern to what
> appears that you didn't want?  
>
> Could it be that Nano is trying to remember the file you were last
> editing (whether slrn-related or not) because you have not yet told Nano
> to "Write Out" that file (ie Nano thinks you haven't finished with it)?

With the -t option, you can just hit ^X when you're done editing, nano 
will automatically save the buffer.

>From the nano manpage:
 -t (--tempfile)
 Always save changed buffer without prompting.  Same as Pico's -t option.
                      
-- 
aitch
Re: Unwanted messages
#259271
Author: Peter James
Date: Wed, 20 May 2015 16:12
31 lines
2293 bytes
On 2015-05-19, Whiskers <catwheezel@operamail.com> wrote:
> On 2015-05-19, Peter James <peter@pfjames.co.uk> wrote:
>> When calling up Nano from within slrn I still experience the problem
>> of past or cancelled postings appearing on the screen.  I get rid of
>> them by selecting ctrlX and then starting the new posting.
>>
>> Is this normal, and if not how do I get rid of them?  Someone on this
>> NG suggested that the syntax I use to call up Nano from slrn.rc might
>> be responsible.  Just in case the syntax is responsible it is:
>>
>> set editor_command "nano -r 72 -t +%d '%s'"
>>
>> Peter
>
> Do you see "past" or "cancelled" postings in Nano if you open it
> directly from a launcher or command line?  Is there any pattern to what
> appears that you didn't want?  
>
> Could it be that Nano is trying to remember the file you were last
> editing (whether slrn-related or not) because you have not yet told Nano
> to "Write Out" that file (ie Nano thinks you haven't finished with it)?
>
I wondered if the problem could arise if I don't have sufficient places for 
slrn to save my postings.  In my News directory I have the following files:
News/My_Posts
News/My_Replies
and a directory News/postponed.
Is this all that is required?  I still find Nano calls up previous posts when
it is called up from within slrn.

Peter
Re: Unwanted messages
#259281
Author: Whiskers
Date: Thu, 21 May 2015 14:44
50 lines
3476 bytes
On 2015-05-20, Peter James <peter@pfjames.co.uk> wrote:
> On 2015-05-19, Whiskers <catwheezel@operamail.com> wrote:
>> On 2015-05-19, Peter James <peter@pfjames.co.uk> wrote:
>>> When calling up Nano from within slrn I still experience the problem
>>> of past or cancelled postings appearing on the screen.  I get rid of
>>> them by selecting ctrlX and then starting the new posting.
>>>
>>> Is this normal, and if not how do I get rid of them?  Someone on this
>>> NG suggested that the syntax I use to call up Nano from slrn.rc might
>>> be responsible.  Just in case the syntax is responsible it is:
>>>
>>> set editor_command "nano -r 72 -t +%d '%s'"
>>>
>>> Peter
>>
>> Do you see "past" or "cancelled" postings in Nano if you open it
>> directly from a launcher or command line?  Is there any pattern to what
>> appears that you didn't want?  
>>
>> Could it be that Nano is trying to remember the file you were last
>> editing (whether slrn-related or not) because you have not yet told Nano
>> to "Write Out" that file (ie Nano thinks you haven't finished with it)?
>>
> I wondered if the problem could arise if I don't have sufficient places for 
> slrn to save my postings.  In my News directory I have the following files:
> News/My_Posts
> News/My_Replies
> and a directory News/postponed.
> Is this all that is required?  I still find Nano calls up previous posts when
> it is called up from within slrn.
>
> Peter

You should also have a file ~/News/failed.posts and a directory /tmp (in
the root directory, not in your ~/) which is readable and writeable by
everyone; this is where slrn stores the article which you are editing
(and where vim stores its own backup copy of the edited version too; I
don't know what nano does about that sort of thing).

The Slrn Reference Manual is well worth having somewhere accessible; the
HTML version is easiest to navigate, if you have a web browser
available.

There may be clues in <http://nano-editor.org/> and
<http://www.howtogeek.com/howto/42980/the-beginners-guide-to-nano-the-linux-command-line-text-editor/>

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
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