Thread View: news.software.nn
2 messages
2 total messages
Started by Jon-Mikel Van Der Wege
Mon, 09 Sep 1991 00:15
NEXTG
Author: Jon-Mikel Van Der Wege
Date: Mon, 09 Sep 1991 00:15
Date: Mon, 09 Sep 1991 00:15
5 lines
976 bytes
976 bytes
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
Re: NEXTG
Author: 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
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