Article View: news.software.nn
Article #2083Re: NEXTG
From: Milt Epstein
Date: Mon, 09 Sep 1991 01:56
Date: Mon, 09 Sep 1991 01:56
55 lines
3298 bytes
3298 bytes
In <vanderj.684375326@ux.acs.umn.edu> vanderj@ux.acs.umn.edu (Jon-Mikel Van Der Wege) writes: >What exactly does the NEXTG and the LASTG files do? I understand what >they are (storage for last group visited and time stamp for same) but >what are they for? > >If I were to delete thos files or overwrite them WHILE IN NN would I >be screwed up when I left again? > >thanks Here's my understanding of these files (garnered purely from using nn for a while). As you mention, NEXTG stores the name of the last group you were reading (or about to read) if you exited nn before going through your entire sequence of groups (for the last time you ran nn). (If you made it through your entire sequence, no NEXTG file is created, and if there already was one, it is deleted.) The next time you run nn, it can use this information to take you right back to that group (or the one after it, I think). Or you can tell nn to ignore the information in this file. Check out the variable enter-last-read-mode in the man page. Your understanding of LAST (I think that is what you meant, not LASTG -- I know of no such file related to nn) is a little off. LAST stores the name and time stamp of the last group nn considered adding to your .newsrc file, in terms of it being a new group. This file determines what nn considers as new groups for you. Check out the variable new-group-action in the man page. As to deleting the files -- there should be no major consequences to deleting NEXTG (especially if you set enter-last-read-mode to ignore this file), whether or not you delete it while in nn. Actually, deleting it while already in nn should have absolutely no consequences, since nn only uses this information when it starts up, and it will create a new one if you exit nn without making it through your entire sequence. If you delete it outside nn, it will just assume that you had made it through your entire sequence the last time you ran nn (it contains no information about what articles you had read, so none of that info will be lost). As to deleting LAST, I'm not sure about that. Actually, the prospect is a little scary to me, since I have this feeling that then nn will assume that all groups not in your .newsrc are new, and all of a sudden you will be barraged with tons of "new" groups -- this may not be what will happen, but I don't want to find out. Hope this helps. -- Milt Epstein Department of Computer Science University of Illinois epstein@cs.uiuc.edu
Technical Details
Message-ID:
<1991Sep9.015604.17593@sunb10.cs.uiuc.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!unidui!math.fu-berlin.de!ox.com!caen!zaphod.mps.ohio-state.edu!wupost!m.cs.uiuc.edu!sunb10.cs.uiuc.edu!sunc2.cs.uiuc.edu!epsteinReferences:
<vanderj.684375326@ux.acs.umn.edu>Show Full Headers
Complete Article Headers
Message-ID: <1991Sep9.015604.17593@sunb10.cs.uiuc.edu> Subject: Re: NEXTG Date: Mon, 09 Sep 1991 01:56:04 +0000 From: epstein@sunc2.cs.uiuc.edu (Milt Epstein) References: <vanderj.684375326@ux.acs.umn.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!unidui!math.fu-berlin.de!ox.com!caen!zaphod.mps.ohio-state.edu!wupost!m.cs.uiuc.edu!sunb10.cs.uiuc.edu!sunc2.cs.uiuc.edu!epstein Newsgroups: news.software.nn Keywords: nextg lastg Sender: news@sunb10.cs.uiuc.edu Reply-To: epstein@cs.uiuc.edu Organization: University of Illinois at Urbana-Champaign Lines: 55