🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
3 messages
3 total messages Started by Milt Epstein Mon, 06 Mar 2006 22:02
"another nn process is already running" message
#10738
Author: Milt Epstein
Date: Mon, 06 Mar 2006 22:02
26 lines
1855 bytes
Greetings.  Long time nn user here; I haven't read or posted to this
group in quite a while though.  I've recently upgraded to 6.7.3 (from
6.6.5) and I noticed a change in behavior, which is what led me back
here again.

It has to do with the message in the subject line:

  Another nn process is already running

Of course this message is shown when you try to run nn when it's
already running.  The thing is, as long as I've been using nn (which
is a loooooooooong time), I've been able to Control-Z out of a running
nn process and run "nn -gNk" ('g' for group mode, 'N' for don't update
newsrc, and 'k' for don't process killfile).  I found this a very
handy feature.  Now, however, when I try this, I get the above
message.

Anyone know the what/why/how of this change?  Was it intentional?
Something necessitated by the code redesign perhaps?  'Cause I'd
reallllllllly like to have the old behavior back.

Thanks.

-- 
Milt Epstein
mepstein@uiuc.edu
Re: "another nn process is already running" message
#10739
Author: Michael T Pins
Date: Wed, 08 Mar 2006 05:04
40 lines
2642 bytes
Milt Epstein <mepstein@uiuc.edu> writes:

>Greetings.  Long time nn user here; I haven't read or posted to this
>group in quite a while though.  I've recently upgraded to 6.7.3 (from
>6.6.5) and I noticed a change in behavior, which is what led me back
>here again.

>It has to do with the message in the subject line:

>  Another nn process is already running

>Of course this message is shown when you try to run nn when it's
>already running.  The thing is, as long as I've been using nn (which
>is a loooooooooong time), I've been able to Control-Z out of a running
>nn process and run "nn -gNk" ('g' for group mode, 'N' for don't update
>newsrc, and 'k' for don't process killfile).  I found this a very
>handy feature.  Now, however, when I try this, I get the above
>message.

>Anyone know the what/why/how of this change?  Was it intentional?
>Something necessitated by the code redesign perhaps?  'Cause I'd
>reallllllllly like to have the old behavior back.

I need to figure out why I removed this code to begin with before I release
an official patch, but the following patch will restore the old behaviour.

*** options.c.bak	Tue Nov 15 21:20:12 2005
--- options.c	Tue Mar  7 22:47:12 2006
***************
*** 93,98 ****
--- 93,100 ----
  	    *value++ = NUL;
  	    set_variable(*av, 1, value);
  	    *--value = '=';	/* restore for later parsing to skip it */
+ 	} else if (**av == '-' && (strchr(*av, 'x') || strchr(*av, 'N'))) {
+ 	    no_update++;
  	}
      }
  }
Re: "another nn process is already running" message
#10744
Author: Milt Epstein
Date: Tue, 21 Mar 2006 16:09
39 lines
2271 bytes
Michael T Pins <mtpins@nndev.org> writes:

>Milt Epstein <mepstein@uiuc.edu> writes:
[ ... ]
>>Anyone know the what/why/how of this change?  Was it intentional?
>>Something necessitated by the code redesign perhaps?  'Cause I'd
>>reallllllllly like to have the old behavior back.
>
>I need to figure out why I removed this code to begin with before I
>release an official patch, but the following patch will restore the
>old behaviour.
>
>*** options.c.bak	Tue Nov 15 21:20:12 2005
>--- options.c	Tue Mar  7 22:47:12 2006
>***************
>*** 93,98 ****
>--- 93,100 ----
>  	    *value++ = NUL;
>  	    set_variable(*av, 1, value);
>  	    *--value = '=';	/* restore for later parsing to skip it */
>+ 	} else if (**av == '-' && (strchr(*av, 'x') || strchr(*av, 'N'))) {
>+ 	    no_update++;
>  	}
>      }
>  }
>

Great, thanks!  I figured/hoped someone familiar with the code could
quickly post an easy fix for this, rather than my having to try to
figure it out myself (plus I saw that you had posted here recently :-).

I've applied this patch, and so far so good, seems to work fine, with
the old behavior back.  I'll let you know if any problems come up.

Very much appreciated!

-- 
Milt Epstein
mepstein@uiuc.edu
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