🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
6 messages
6 total messages Started by Maciej Kalisiak Sat, 15 Apr 2000 00:00
[slrn] how to get previous method of "catchup"
#60569
Author: Maciej Kalisiak
Date: Sat, 15 Apr 2000 00:00
19 lines
1817 bytes
I've just started using slrn, and gotta say I like it a lot.  My only nitpick
is that, according to changelog, the meaning of "catchup" has been reversed
(i.e., mark all articles from top to cursor as read, instead of from cursor to
end).  Maybe I have different reading habits, but I find the other way more
useful and intuitive.   But that's of course just a matter of taste. 

What I would like to know is how I can get back the previous functionality.
With what I know now I guess I could do a macro or some such which would
"catchup_all" followed by "uncatchup", and then bind that macro thingy to 'C'.
Is there a better way?  Has anyone maybe even implemented such a thing in
their .slrnrc?

-- 
Maciej Kalisiak | <mac@dgp.toronto.edu> | http://www.dgp.toronto.edu/~mac [McQ]
PGP->finger|www; (0x39AC36F5) 9F BB 9E 11 F0 1E 5D 20  0B 31 3D 37 47 D0 67 C7
GE/CS d- s++:+ a- C++(+++) ULAI++ P+++ L+++ E+++ W++ N- o? K? !w--- O- M- V--
PS PE+ Y+ PGP+ t+ 5 !X-- R+ tv-- b+>++++ DI+ G+ e>+++>++++(*) h--- r+++ y? 

[slrn] Marking from the cursor to the last article read
#60545
Author: Dawn Owens-Nicholson
Date: Sat, 15 Apr 2000 00:00
34 lines
2661 bytes
Maciej Kalisiak wrote:
> I'd like to have "C" (or "c", doesn't matter) mark the messages at the
> cursor and *down*.  Since my headers are listed from most recent to oldest,
> I usually want to toss everything older than some message I have just seen.

So, you use sorting method #8 or #9.  This will require a macro or source
modification (I'd recommend the former because a macro can do this well).  I
can think of two ways to do this in a way that preserves the read status of
the articles above the cursor:

 (1) Reverse the sorting, reposition the cursor to the article where you
     started (if necessary), use the catchup intrinsic, reverse the
     sorting again, reposition the cursor to where you started (if
     necessary).  This will scale better than the second suggestion.  It
     will probably execute quickly on slow machines too.  This won't work
     with all sorting methods because they're not all reversible.

 (2) Write a loop to mark the remainder of the current thread and all
     subsequent threads read.  This will scale poorly.

If you don't care about preserving the read status of the articles above the
cursor, you could also mark the whole group read and mark up to the cursor
unread.  This is the fastest way to do the job.

If you want to get fancier you could implement more than one of these in the
same macro depending on your current sorting method.  Idea #2 will work
everywhere at the expense of speed.  Idea #1 only works for reversible
sorting methods (8 & 10 or 9 & 11).  The last idea works for all sorting
methods but since there are other better ways to do it, I wouldn't recommend
it unless you also want to mark all the other articles unread.

Happy newsreading!

Re: [slrn] how to get previous method of "catchup"
#60558
Author: Dawn Owens-Nicholson
Date: Sat, 15 Apr 2000 00:00
14 lines
1260 bytes
Maciej Kalisiak wrote:
> Is there a better way?  Has anyone maybe even implemented such a thing in
> their .slrnrc?

In your slrnrc:

   setkey article "catchup"     "c"  % mark to the cursor as read
   setkey article "catchup_all" "C"  % mark the whole group as read

As always, an exception is made for all catchup function regarding unread
articles marked with an asterisk--they remain unaffected by catchup
intrinsics.

Re: [slrn] how to get previous method of "catchup"
#60561
Author: Maciej Kalisiak
Date: Sat, 15 Apr 2000 00:00
20 lines
1825 bytes
* Dawn Owens-Nicholson <bluemoon@ux6.cso.uiuc.edu>:
> In your slrnrc:
> 
>    setkey article "catchup"     "c"  % mark to the cursor as read
>    setkey article "catchup_all" "C"  % mark the whole group as read

I guess I wasn't clear enough; that's not what I'm looking for.  As you
present it, pressing "c" marks as read the messag at the cursor, and
everything *up* from it.  I'd like to have "C" (or "c", doesn't matter) mark
the messages at the cursor and *down*.  Since my headers are listed from most
recent to oldest, I usually want to toss everything older than some message I
have just seen.

-- 
Maciej Kalisiak | <mac@dgp.toronto.edu> | http://www.dgp.toronto.edu/~mac [McQ]
PGP->finger|www; (0x39AC36F5) 9F BB 9E 11 F0 1E 5D 20  0B 31 3D 37 47 D0 67 C7
GE/CS d- s++:+ a- C++(+++) ULAI++ P+++ L+++ E+++ W++ N- o? K? !w--- O- M- V--
PS PE+ Y+ PGP+ t+ 5 !X-- R+ tv-- b+>++++ DI+ G+ e>+++>++++(*) h--- r+++ y? 

Re: [slrn] Marking from the cursor to the last article read
#60565
Author: Maciej Kalisiak
Date: Sat, 15 Apr 2000 00:00
28 lines
2296 bytes
* Dawn Owens-Nicholson <bluemoon@ux6.cso.uiuc.edu>:
>  (1) Reverse the sorting, reposition the cursor to the article where you
>      started (if necessary), use the catchup intrinsic, reverse the
>      sorting again, reposition the cursor to where you started (if
>      necessary).  This will scale better than the second suggestion.  It
>      will probably execute quickly on slow machines too.  This won't work
>      with all sorting methods because they're not all reversible.

Ah, interesting.  Ok, this should get me well on my way... time to start
reading up on writing macros...

Out of curiosity, what was the reason that the direction was switched for the
"catchup" intrinsic?  Is it that most people tend to read their news with
oldest at the top?  I obviously have started using "slrn" long after that has
happened.  I imagine there was a bit of a holy war on a bipolar topic such as
this...

> Happy newsreading!

:)  Or more like, say goodbye to sleep!

-- 
Maciej Kalisiak | <mac@dgp.toronto.edu> | http://www.dgp.toronto.edu/~mac [McQ]
PGP->finger|www; (0x39AC36F5) 9F BB 9E 11 F0 1E 5D 20  0B 31 3D 37 47 D0 67 C7
GE/CS d- s++:+ a- C++(+++) ULAI++ P+++ L+++ E+++ W++ N- o? K? !w--- O- M- V--
PS PE+ Y+ PGP+ t+ 5 !X-- R+ tv-- b+>++++ DI+ G+ e>+++>++++(*) h--- r+++ y? 

Re: [slrn] Marking from the cursor to the last article read
#60612
Author: Dawn Owens-Nicholson
Date: Sun, 16 Apr 2000 00:00
16 lines
1689 bytes
Maciej Kalisiak wrote:
> Out of curiosity, what was the reason that the direction was switched for the
> "catchup" intrinsic?  Is it that most people tend to read their news with
> oldest at the top?

I'd guess most people mark articles read as they go down the header list (no
matter how it is sorted) then mark the rest of the group read just before
leaving the group to read another.  Hence catching up a subset of articles
doesn't have a lot of interactive utility.

> I obviously have started using "slrn" long after that has happened.  I
> imagine there was a bit of a holy war on a bipolar topic such as this... 

I don't recall there being any problems with it.

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