🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
4 messages
4 total messages Started by David Paigen Wed, 22 Feb 1995 19:53
is there an auto-save for .newsrc?
#7165
Author: David Paigen
Date: Wed, 22 Feb 1995 19:53
25 lines
1512 bytes
Lately I have been using nn across an unreliable link.
I.e. I telnet in to run nn.  When the link goes down
and I lose my telnet, nn does not die and does not
update my .newsrc.

I tried kill -1, kill -15, both to no effect, and had
to kill -9 to stop nn.

Still no update of .newsrc.

I would like to have my .newsrc updated every 10 minutes
(or 10 articles), OR to have some way of signalling nn to
update and quit.

Any ideas?

BTW, nn 6.4.18, FreeBSD 2.0-950110-SNAP.

-David

-- 
----------------------->"Lay on, McDuff,    14th c. ideals in a 21st c. world
David Paigen            and damn'd be he        
San Francisco		who first cries,        Will answer stupid user
paigen@netcom.com       'hold, enough!'"        questions for beer. 
Re: is there an auto-save for .newsrc?
#7193
Author: Nick Vargish
Date: Fri, 24 Feb 1995 16:26
28 lines
2092 bytes
paigen@netcom.com (David Paigen) writes:

>Lately I have been using nn across an unreliable link.  I.e. I telnet
>in to run nn.  When the link goes down and I lose my telnet, nn does
>not die and does not update my .newsrc.
[...]
>I would like to have my .newsrc updated every 10 minutes
>(or 10 articles), OR to have some way of signalling nn to
>update and quit.

I've been wanting something like this too. I sometimes forget to quit
nn when I leave work, and to read news from home I have to kill the
process. 

All it really needs, as far as I'm concerned, it to treat a HUP signal
(number 15) as if the user pressed the "Q" key (whatever the default
binding is, I don't remember the name of the function.

Maybe I'll take a look at the source this afternoon... How hard could
it be to add this behavior?

Nick

-- 
 +------------------------------------+  my favorite computer things: Perl     
 |  Nick Vargish,  SURAnet Sys Admin  |  Linux, xpilot, Emacs, DOOM, fvwm      
 |   vargish@sura.net  301/489-8134   |  the Web, Usenet, nethack, my GUS      
 |    http://www.sura.net/~vargish    |  zsh, fvwm, FORTH.                    
Re: is there an auto-save for .newsrc?
#7197
Author: R. Stewart Ellis
Date: Sat, 25 Feb 1995 01:57
38 lines
2407 bytes
Nick Vargish <vargish@sura.net> writes:

 >paigen@netcom.com (David Paigen) writes:

 >>Lately I have been using nn across an unreliable link.  I.e. I telnet
 >>in to run nn.  When the link goes down and I lose my telnet, nn does
 >>not die and does not update my .newsrc.
 >[...]
 >>I would like to have my .newsrc updated every 10 minutes
 >>(or 10 articles), OR to have some way of signalling nn to
 >>update and quit.

 >I've been wanting something like this too. I sometimes forget to quit
 >nn when I leave work, and to read news from home I have to kill the
 >process. 

 >All it really needs, as far as I'm concerned, it to treat a HUP signal
 >(number 15) as if the user pressed the "Q" key (whatever the default
 >binding is, I don't remember the name of the function.

Last I checked HUP is 1, and 15 is TERM.

 >Maybe I'll take a look at the source this afternoon... How hard could
 >it be to add this behavior?

 >Nick

 >-- 
 > +------------------------------------+  my favorite computer things: Perl     
 > |  Nick Vargish,  SURAnet Sys Admin  |  Linux, xpilot, Emacs, DOOM, fvwm      
 > |   vargish@sura.net  301/489-8134   |  the Web, Usenet, nethack, my GUS      
 > |    http://www.sura.net/~vargish    |  zsh, fvwm, FORTH.                    

-- 
  R.Stewart(Stew) Ellis, Assoc.Prof., (Off)810-762-9765   ___________________
  Humanities & Social Science,  GMI Eng.& Mgmt. Inst.    /   _____  ______ 
  Flint, MI 48504      ellis@nova.gmi.edu               /        / /  /  / /
  Gopher,chimera,nn,tin,jove,modems, free code is best!/________/ /  /  / /
Re: is there an auto-save for .newsrc?
#7217
Author: Nick Vargish
Date: Mon, 27 Feb 1995 17:25
25 lines
1861 bytes
ellis@nova.gmi.edu (R. Stewart Ellis) writes:

>Nick Vargish <vargish@sura.net> writes:

> >All it really needs, as far as I'm concerned, it to treat a HUP signal
> >(number 15) as if the user pressed the "Q" key (whatever the default
> >binding is, I don't remember the name of the function.

>Last I checked HUP is 1, and 15 is TERM.

Okay, okay. You know what I meant. Sorry about the goof. How about
treating _all_ signals that imply the user won't talk to the process
anymore (HUP, TERM, ABRT etc), as if the user had pressed
"Q"... General enough?

Nick 



  
-- 
 +------------------------------------+                                        
 |  Nick Vargish,  SURAnet Sys Admin  |  Murphy was an optimist.               
 |   vargish@sura.net  301/489-8134   |               [O'toole's Corollary]    
 |    http://www.sura.net/~vargish    |                                       
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