🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #21043

Re: AAARGH! Slrn trashes my newsrc again

#21043
From: John E. Davis
Date: Mon, 29 Apr 1996 00:00
50 lines
2321 bytes
On 29 Apr 1996 18:37:02 GMT, Jon Ribbens <esveb@csv.warwick.ac.uk>
wrote:
 : I am using slrn over a dial-up link. My idiot housemate picks up the
 : phone, and the connection dies. I re-connect, and kill the slrn
 : process using 'kill <pid>'. Usually, this works fine. Today, however,
 : it decides to delete my .newsrc. (Or maybe make it zero length, one of
 : the two.) It's now going to take me rather a long while to rebuild
 : it :(.

I cannot duplicate this behavior. What system are you running slrn on?  What
is your shell?

slrn catches SIGTERM and SIGHUP and saves the newsrc file.  In fact, I just
tested it again and it seems to be working:

   1.  I started slrn in one xterm.  From another I killed it via `kill
       pid'.  The newsrc file was saved.
       
   2.  Same as 1 except I used `kill -HUP pid'.  The file was saved.
   
   3.  This time I killed the xterm out from under it.  Again, slrn
       correctly saved the newsrc file.

   4.  Since my shell is `tcsh', I started up `bash' before running slrn,
       i.e., 
       
          tcsh> bash
	  bash$ slrn
	  
       Then I killed bash from another window.  Once again, the newsrc file
       was properly saved.
       
These experiments were performed under Linux 1.3.79. 

If you can, please repeat my experiments.  If the behavior that you are
seeing can be duplicated, then we can find out what is wrong.

Until the problem can be resolved, use:

  set no_backups 0
  
in your .slrnrc file.
-- 
John E. Davis                   Center for Space Research/AXAF Science Center
617-258-8119                    MIT 37-662c, Cambridge, MA 02139
http://space.mit.edu/~davis


Technical Details
Message-ID: <slrn4oaeou.l6c.davis@wiwaxia.mit.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <slrn4oa32e.gsn.esveb@holly.csv.warwick.ac.uk>

Show Full Headers
Complete Article Headers
Message-ID: <slrn4oaeou.l6c.davis@wiwaxia.mit.edu>
Subject: Re: AAARGH! Slrn trashes my newsrc again
Date: Mon, 29 Apr 1996 00:00:00 +0000
From: davis@space.mit.edu (John E. Davis)
References: <slrn4oa32e.gsn.esveb@holly.csv.warwick.ac.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 152116397
Organization: Center for Space Research
Reply-to: davis@space.mit.edu
Newsgroups: news.software.readers