Article View: news.software.nn
Article #10739Re: "another nn process is already running" message
From: Michael T Pins
Date: Wed, 08 Mar 2006 05:04
Date: Wed, 08 Mar 2006 05:04
40 lines
2642 bytes
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++;
}
}
}
Technical Details
Message-ID:
<440e73d8$1@aspen>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.20140326.mbox.gz!number1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!transit3.readnews.com!news-out.readnews.com!newshub.sdsu.edu!headwall.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!news.colorado.edu!aspen!mtpinsReferences:
<duibgp$qbv$1@news.ks.uiuc.edu>Show Full Headers
Complete Article Headers
Message-ID: <440e73d8$1@aspen> Subject: Re: "another nn process is already running" message Date: Wed, 08 Mar 2006 05:04:08 +0000 From: Michael T Pins <mtpins@nndev.org> References: <duibgp$qbv$1@news.ks.uiuc.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.20140326.mbox.gz!number1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!transit3.readnews.com!news-out.readnews.com!newshub.sdsu.edu!headwall.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!news.colorado.edu!aspen!mtpins Newsgroups: news.software.nn Organization: University of Colorado, Boulder Lines: 40 NNTP-Posting-Host: aspen.earthnet.net X-Trace: peabody.colorado.edu 1141797853 22140 66.151.173.2 (8 Mar 2006 X-Complaints-To: abuse@colorado.edu NNTP-Posting-Date: 8 Mar 2006 06:04:13 GMT User-Agent: nn/6.7.3 X-Original-NNTP-Posting-Host: 65-103-96-65.dsl.earthnet.net X-Original-Trace: 7 Mar 2006 23:04:08 -0600, 65-103-96-65.dsl.earthnet.net