Thread View: news.software.readers
15 messages
15 total messages
Started by Adam Funk
Tue, 01 Jul 2008 09:03
[slrn] Any way to catch up without marking crossposts as read?
Author: Adam Funk
Date: Tue, 01 Jul 2008 09:03
Date: Tue, 01 Jul 2008 09:03
10 lines
1574 bytes
1574 bytes
When I resubscribe to a group I haven't been reading for a while and it has 999 unread posts, is there any way (does anyone have a macro, for example) to "catch up" the group *without* marking crossposted articles as read? (I don't want to lose articles in other groups that I have been reading continuously in the meantime.) -- Two of the most famous products of Berkeley are LSD and Unix. I don't think that this is a coincidence. [anonymous]
Re: [slrn] Any way to catch up without marking crossposts as read?
Author: Allodoxaphobia
Date: Wed, 02 Jul 2008 01:17
Date: Wed, 02 Jul 2008 01:17
12 lines
1434 bytes
1434 bytes
On Tue, 1 Jul 2008 10:03:54 +0100, Adam Funk wrote: > When I resubscribe to a group I haven't been reading for a while and > it has 999 unread posts, is there any way (does anyone have a macro, > for example) to "catch up" the group *without* marking crossposted > articles as read? (I don't want to lose articles in other groups that > I have been reading continuously in the meantime.) Probably not. Read _all_ your other (allied) groups first. Then, "catch up" on your new group. Then, move on with your life.
Re: [slrn] Any way to catch up without marking crossposts as read?
Author: John E. Davis
Date: Fri, 04 Jul 2008 05:32
Date: Fri, 04 Jul 2008 05:32
34 lines
2079 bytes
2079 bytes
On Tue, 1 Jul 2008 10:03:54 +0100, Adam Funk <a24061@ducksburg.com>
wrote:
> When I resubscribe to a group I haven't been reading for a while and
> it has 999 unread posts, is there any way (does anyone have a macro,
> for example) to "catch up" the group *without* marking crossposted
> articles as read? (I don't want to lose articles in other groups that
> I have been reading continuously in the meantime.)
How about something like:
#v+
define catchup_non_crossposted ()
{
if (1 != get_yes_no_cancel ("Catchup non-crossposted articles"))
return;
uncollapse_threads ();
call ("header_bob"); % goto first header
do
{
% Xref looks like: server grp1:A grp2:B ...
variable xref = extract_article_header ("xref");
if (length (strchop (xref, ':', 0)) < 3)
set_header_flags (get_header_flags () | HEADER_READ);
}
while (header_down(1));
collapse_threads ();
}
definekey ("catchup_non_crossposted", "\ec", "article");
#v-
--John
Re: [slrn] Any way to catch up without marking crossposts as read?
Author: Adam Funk
Date: Fri, 04 Jul 2008 12:55
Date: Fri, 04 Jul 2008 12:55
45 lines
2609 bytes
2609 bytes
On 2008-07-04, John E. Davis wrote:
>> When I resubscribe to a group I haven't been reading for a while and
>> it has 999 unread posts, is there any way (does anyone have a macro,
>> for example) to "catch up" the group *without* marking crossposted
>> articles as read? (I don't want to lose articles in other groups that
>> I have been reading continuously in the meantime.)
>
> How about something like:
> #v+
>
> define catchup_non_crossposted ()
> {
> if (1 != get_yes_no_cancel ("Catchup non-crossposted articles"))
> return;
>
> uncollapse_threads ();
> call ("header_bob"); % goto first header
> do
> {
> % Xref looks like: server grp1:A grp2:B ...
> variable xref = extract_article_header ("xref");
> if (length (strchop (xref, ':', 0)) < 3)
> set_header_flags (get_header_flags () | HEADER_READ);
> }
> while (header_down(1));
> collapse_threads ();
> }
>
> definekey ("catchup_non_crossposted", "\ec", "article");
>
> #v-
That's ingenous, thanks!
I don't want to sound ungrateful now, but is there a way to achieve
this in group mode rather than article mode? (I'm not an expert, but
I can see why that code doesn't work in group mode. I suspect doing
what I want there might not be possible.)
--
Nam Sibbyllam quidem Cumis ego ipse oculis meis vidi in ampulla
pendere, et cum illi pueri dicerent: beable beable beable; respondebat
illa: doidy doidy doidy. [plorkwort]
Re: [slrn] Any way to catch up without marking crossposts as read?
Author: John E. Davis
Date: Fri, 04 Jul 2008 16:50
Date: Fri, 04 Jul 2008 16:50
12 lines
1626 bytes
1626 bytes
On Fri, 4 Jul 2008 13:55:06 +0100, Adam Funk <a24061@ducksburg.com> wrote: > I don't want to sound ungrateful now, but is there a way to achieve > this in group mode rather than article mode? (I'm not an expert, but > I can see why that code doesn't work in group mode. I suspect doing > what I want there might not be possible.) The necessary information is not available in group mode. You can modify the function to select the group, mark the articles as read, and go back to group mode. So it can be made transparant. --John
Re: [slrn] Any way to catch up without marking crossposts as read?
Author: Adam Funk
Date: Sat, 05 Jul 2008 13:17
Date: Sat, 05 Jul 2008 13:17
28 lines
2342 bytes
2342 bytes
On 2008-07-04, John E. Davis wrote: > On Fri, 4 Jul 2008 13:55:06 +0100, Adam Funk <a24061@ducksburg.com> > wrote: >> I don't want to sound ungrateful now, but is there a way to achieve >> this in group mode rather than article mode? (I'm not an expert, but >> I can see why that code doesn't work in group mode. I suspect doing >> what I want there might not be possible.) > > The necessary information is not available in group mode. That's what I suspected. Thanks for clarifying it. > You can modify the function to select the group, mark the articles > as read, and go back to group mode. So it can be made transparant. Actually the reason I was interested in doing it in group mode is that doing a normal catch-up from group mode is much faster than opening a group with several hundred messages and doing it in there. But now I see that hoping for that speed gain in a selective catch-up is unfeasible. Again, thanks for the clarification. -- I heard that Hans Christian Andersen lifted the title for "The Little Mermaid" off a Red Lobster Menu. [Bucky Katt]
Re: [slrn] Any way to catch up without marking crossposts as read?
Author: andrew
Date: Sun, 06 Jul 2008 00:22
Date: Sun, 06 Jul 2008 00:22
21 lines
2169 bytes
2169 bytes
On 2008-07-05, Adam Funk <a24061@ducksburg.com> wrote: > Actually the reason I was interested in doing it in group mode is that > doing a normal catch-up from group mode is much faster than opening a > group with several hundred messages and doing it in there. > > But now I see that hoping for that speed gain in a selective catch-up > is unfeasible. Again, thanks for the clarification. Have you thought of maintaining your own spool with a program like leafnode? I see you are using Ubuntu and I have vague memories of seeing a guide for Ubuntu and Leafnode somewhere: http://ubuntuforums.org/showthread.php?t=676837 I note that the suthor of this guide has been a little lax and not updated to the current version of leafnode 2. Andrew -- Do you think that's air you're breathing now?
Re: [slrn] Any way to catch up without marking crossposts as read?
Author: SINNER
Date: Sun, 06 Jul 2008 00:50
Date: Sun, 06 Jul 2008 00:50
31 lines
2798 bytes
2798 bytes
* andrew wrote in news.software.readers: > On 2008-07-05, Adam Funk <a24061@ducksburg.com> wrote: >> Actually the reason I was interested in doing it in group mode is that >> doing a normal catch-up from group mode is much faster than opening a >> group with several hundred messages and doing it in there. >> But now I see that hoping for that speed gain in a selective catch-up >> is unfeasible. Again, thanks for the clarification. > Have you thought of maintaining your own spool with a program like > leafnode? I see you are using Ubuntu and I have vague memories of seeing > a guide for Ubuntu and Leafnode somewhere: > http://ubuntuforums.org/showthread.php?t=676837 > I note that the suthor of this guide has been a little lax and not > updated to the current version of leafnode 2. And I can tell said author that are a couple of issues with DOC (not HIS but the included DOC) that will need to be addressed, for one, inted is not available in Ubuntu 8.04, it has been replaced with rinetd and using xinetd based on the doc was also unsuccessful. Now all this could be related to the fact that I am using the amd64 bit version of ubuntu but it took a little playing around to get it sussed out. IOW, dont depend on the doc and your experience for the update, youll need to try it out. ;) -- David
Re: [slrn] Any way to catch up without marking crossposts as read?
Author: andrew
Date: Sun, 06 Jul 2008 01:53
Date: Sun, 06 Jul 2008 01:53
53 lines
3961 bytes
3961 bytes
On 2008-07-06, SINNER <99nesorjd@gates_of_hell.invalid> wrote: > * andrew wrote in news.software.readers: >> Have you thought of maintaining your own spool with a program like >> leafnode? I see you are using Ubuntu and I have vague memories of seeing >> a guide for Ubuntu and Leafnode somewhere: > >> http://ubuntuforums.org/showthread.php?t=676837 > >> I note that the suthor of this guide has been a little lax and not >> updated to the current version of leafnode 2. > > And I can tell said author that are a couple of issues with DOC (not HIS > but the included DOC) that will need to be addressed, for one, inted is > not available in Ubuntu 8.04, it has been replaced with rinetd and using > xinetd based on the doc was also unsuccessful. Now all this could be > related to the fact that I am using the amd64 bit version of ubuntu but > it took a little playing around to get it sussed out. In fact there is something of a rabbit warren of inetd variants in the Ubuntu forums and it is true that there is not a download from the repository explicitly marked 'inetd'. In the leafnode guide I eventually got around this potential confusion by specifying the OpenBSD version of inetd and this works flawlessly with Leafnode. This is definitely in the Ubuntu repository for 8.04 as the following should show on your system: $ apt-cache search inetd | grep OpenBSD And so at some rewrite of this guide I explicitly called for this version along with the nuts and bolts required on Ubuntu to compile and run leafnode: $ sudo apt-get install libpcre3 libpcre3-dev openbsd-inetd build-essential checkinstall This was after some experimentation with the other variants of inetd which your own experience as well as mine has shown seem to not work as well if at all. I pondered a while and after noting that a default install of Ubuntu 8.04 does _not_ install an inetd superserver at all I decided to call for a specific version rather than attempt to support and potentially troubleshoot multiple versions. FWIW my Slackware system comes with the OpenBSD inetd as well and a full install loads this although does not necessarily set it running. So in part I also followed the wisdom and experience of PV :-). As to why the other variants of inetd had some trouble with leafnode I confess that I did not investigate any further which is probably a little lax of me. Andrew -- Do you think that's air you're breathing now?
Re: [slrn] Any way to catch up without marking crossposts as read?
Author: SINNER
Date: Sun, 06 Jul 2008 17:20
Date: Sun, 06 Jul 2008 17:20
53 lines
3555 bytes
3555 bytes
* andrew wrote in news.software.readers: > On 2008-07-06, SINNER <99nesorjd@gates_of_hell.invalid> wrote: >> And I can tell said author that are a couple of issues with DOC (not HIS >> but the included DOC) that will need to be addressed, for one, inted is >> not available in Ubuntu 8.04, [...] > In fact there is something of a rabbit warren of inetd variants in the > Ubuntu forums and it is true that there is not a download from the > repository explicitly marked 'inetd'. In the leafnode guide I eventually > got around this potential confusion by specifying the OpenBSD version of > inetd and this works flawlessly with Leafnode. This is definitely in the > Ubuntu repository for 8.04 as the following should show on your system: I installed xinetd instead but even the config mentioned in the leafnode doc didn't work correctly so I had to create: /etc/xinet.d/nntp and put the nntp configuration in that file rather than putting it into: /etc/xinetd.conf to make it work [...] > I pondered a while and after noting that a default install of Ubuntu > 8.04 does _not_ install an inetd superserver at all I decided to call > for a specific version rather than attempt to support and potentially > troubleshoot multiple versions. You are wise beyond your years. I have been using leafnode for so long and even though I had seen your tutorial mentioned many times I went off on my own, had I read through it just once before this harrowing journey I might have saved a few hair follicles ;) > FWIW my Slackware system comes with the > OpenBSD inetd as well and a full install loads this although does not > necessarily set it running. So in part I also followed the wisdom and > experience of PV :-). > As to why the other variants of inetd had some trouble with leafnode I > confess that I did not investigate any further which is probably a > little lax of me. Nah, you did what worked and wrote it up, better than I can say for me. -- David
Re: [slrn] Any way to catch up without marking crossposts as read?
Author: Adam Funk
Date: Sun, 06 Jul 2008 20:48
Date: Sun, 06 Jul 2008 20:48
32 lines
2453 bytes
2453 bytes
On 2008-07-06, andrew wrote: > On 2008-07-05, Adam Funk <a24061@ducksburg.com> wrote: > >> Actually the reason I was interested in doing it in group mode is that >> doing a normal catch-up from group mode is much faster than opening a >> group with several hundred messages and doing it in there. >> >> But now I see that hoping for that speed gain in a selective catch-up >> is unfeasible. Again, thanks for the clarification. > > Have you thought of maintaining your own spool with a program like > leafnode? I do already! So when I unsusbscribe to a group and resubscribe a few weeks later, I have a+b unread messages in it, where a is the number leafnode downloaded after I stopped reading that group, and b is around 500. > I see you are using Ubuntu and I have vague memories of seeing > a guide for Ubuntu and Leafnode somewhere: > > http://ubuntuforums.org/showthread.php?t=676837 As I said last time you gave me that link, I heartily endorse your self-promotion! (And I will try to get around to upgrading to leafnode 2 soon.) -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
Re: [slrn] Any way to catch up without marking crossposts as read?
Author: Adam Funk
Date: Wed, 06 Aug 2008 20:04
Date: Wed, 06 Aug 2008 20:04
30 lines
2368 bytes
2368 bytes
On 2008-07-04, John E. Davis wrote: [Discussion of doing a modified catch-up that checks the Xref headers to avoid marking cross-posted articles as read.] > The necessary information is not available in group mode. You can > modify the function to select the group, mark the articles as read, > and go back to group mode. So it can be made transparant. I've been thinking about this, and I wonder if someone can tell me if my understanding of how slrn handles catch-ups is correct. Suppose I'm in group mode and I do a normal catch-up on group alt.foo, which includes an article with this header. Xref: news.example.com alt.foo:4999 misc.foo:5999 A little later I go into misc.foo. Article 5999 doesn't appear because slrn has already marked it as read. Did slrn do that already while it was catching up on alt.foo, or did it only just do it as part of "opening" misc.foo (fetching headers, scoring, and threading)? -- I worry that 10 or 15 years from now, [my daughter] will come to me and say 'Daddy, where were you when they took freedom of the press away from the Internet?' [Mike Godwin, EFF http://www.eff.org/ ]
Re: [slrn] Any way to catch up without marking crossposts as read?
Author: Peter J Ross
Date: Thu, 07 Aug 2008 18:51
Date: Thu, 07 Aug 2008 18:51
43 lines
3038 bytes
3038 bytes
In news.software.readers on Wed, 6 Aug 2008 21:04:17 +0100, Adam Funk <a24061@ducksburg.com> wrote: > On 2008-07-04, John E. Davis wrote: > > [Discussion of doing a modified catch-up that checks the Xref headers > to avoid marking cross-posted articles as read.] > >> The necessary information is not available in group mode. You can >> modify the function to select the group, mark the articles as read, >> and go back to group mode. So it can be made transparant. > > I've been thinking about this, and I wonder if someone can tell me if > my understanding of how slrn handles catch-ups is correct. > > Suppose I'm in group mode and I do a normal catch-up on group > alt.foo, which includes an article with this header. > > Xref: news.example.com alt.foo:4999 misc.foo:5999 > > A little later I go into misc.foo. Article 5999 doesn't appear > because slrn has already marked it as read. > > Did slrn do that already while it was catching up on alt.foo, or did > it only just do it as part of "opening" misc.foo (fetching headers, > scoring, and threading)? I don't have a technical answer, but the answer can probably be found by comparing "before" and "after" in the list of unread articles. In my experience, pressing "c" in group mode doesn't affect the article count for other groups, but the articles are marked read when the group is entered. This is an area in which I'd like to see more configuration options (but not before 0.9.9!). -- PJR :-) <http://pjr.lasnobberia.net/usenet/> <http://slrn-doc.sourceforge.net/>
[slrn] How catch-up works with crossposts? (was: Any way to catch up without marking crossposts as read?)
Author: Adam Funk
Date: Mon, 11 Aug 2008 19:50
Date: Mon, 11 Aug 2008 19:50
40 lines
2683 bytes
2683 bytes
On 2008-08-07, Peter J Ross wrote: > I don't have a technical answer, but the answer can probably be found > by comparing "before" and "after" in the list of unread articles. > > In my experience, pressing "c" in group mode doesn't affect the > article count for other groups, but the articles are marked read when > the group is entered. Here's my "lab report": I made a cross-post to alt.test and misc.test; when I ran slrn (after leafnode had run again) I had 2 unread messages in alt.test and 12 in misc.test, and [1] in .jnewsrc (grepped). I went into alt.test and marked the post read, then back out to the group list, where I had 0 in alt.test and 11 in misc.test. I quit and grepped .jnewsrc for [2]. I ran slrn again, went into misc.test (where my post didn't show up), and did a catch-up. I quit and grepped .jnewsrc for [3]. The post's Xref is [4]. So it appears to me that slrn did figure out *before* I entered misc.test (but perhaps after I came back to group mode out of alt.test, rather than while I was in that group) that misc.test:1021 had been read (in the first group). [1] alt.test: 1-132761 misc.test: 1-1020 [2] alt.test: 1-132763 misc.test: 1-1021 [3] alt.test: 1-132763 misc.test: 1-1031 [4] -- The wonderful thing about standards is that there are so many of them to choose from. [Grace Murray Hopper]
[slrn] How catch-up works with crossposts? (was: Any way to catch up without marking crossposts as read?)
Author: Adam Funk
Date: Mon, 11 Aug 2008 19:57
Date: Mon, 11 Aug 2008 19:57
24 lines
2212 bytes
2212 bytes
On 2008-08-07, Peter J Ross wrote: > I don't have a technical answer, but the answer can probably be found > by comparing "before" and "after" in the list of unread articles. > > In my experience, pressing "c" in group mode doesn't affect the > article count for other groups, but the articles are marked read when > the group is entered. > > This is an area in which I'd like to see more configuration options > (but not before 0.9.9!). So would I. Actually the problem I have is with the * (protect article from catch-up) flag. I use stickytags (so * persists between executions of slrn) but when I read again an article in group B that is starred in group A, the article in A gets lost. -- Is one language more powerful than another? Compare, for example, English with Yiddish. Sure, it's hard to describe a carburetor in Yiddish, but try describing a schlemiel in English. (Stoll 1995)
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