🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #259266

Re: Unwanted messages

#259266
From: 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
Technical Details
Message-ID: <mjg0bd$h04$1@news.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20150608.mbox.gz!buffer2.nntp.dca1.giganews.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!feeds.phibee-telecom.net!news.mixmin.net!.POSTED!not-for-mail
References: <slrnmllvi4.od.peter@phreddesimacg54.lan> <slrnmlmf25.pj5.catwheezel@ID-107770.user.individual.net>

Show Full Headers
Complete Article Headers
Message-ID: <mjg0bd$h04$1@news.mixmin.net>
Subject: Re: Unwanted messages
Date: Tue, 19 May 2015 18:45:02 +0000
From: aitch <foo@bar.invalid>
References: <slrnmllvi4.od.peter@phreddesimacg54.lan> <slrnmlmf25.pj5.catwheezel@ID-107770.user.individual.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20150608.mbox.gz!buffer2.nntp.dca1.giganews.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!feeds.phibee-telecom.net!news.mixmin.net!.POSTED!not-for-mail
Newsgroups: news.software.readers
Organization: Mixmin
Archive: no
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 19 May 2015 18:45:02 +0000 (UTC)
Injection-Info: news.mixmin.net; posting-host="Cci8wzVz+rT5biz5LKVEd1aRWYI";
 logging-data="17412"; mail-complaints-to="abuse@mixmin.net"
User-Agent: slrn/0.9.9p1 (Linux)
Lines: 31