🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
12 messages
12 total messages Started by McRiley Tue, 18 Jan 2000 00:00
Slrn
#56885
Author: McRiley
Date: Tue, 18 Jan 2000 00:00
12 lines
914 bytes
Hi,

Ive been using slrn for quite some time now and I think its great. I
have only one question, is it possible to kill an entire thread without
adding the subject to the .../Score file?

-- 
/McRiley
 mcriley@telia.com
 UIN: 218871

Re: Slrn
#56860
Author: Jens Wahnes
Date: Tue, 18 Jan 2000 00:00
17 lines
1093 bytes
McRiley wrote:

> Ive been using slrn for quite some time now and I think its great. I
> have only one question, is it possible to kill an entire thread without
> adding the subject to the .../Score file?

You could as well use References:, it should work even better.


Jens

-- 
"What is robbing a bank compared with founding a bank?"

        - Bertolt Brecht

Re: Slrn
#56893
Author: Jens Wahnes
Date: Wed, 19 Jan 2000 00:00
27 lines
1706 bytes
Paul Neubauer wrote:

> jewa@gmx.net writes...
> >McRiley wrote:
> >> Ive been using slrn for quite some time now and I think its great.
> >> I have only one question, is it possible to kill an entire thread
> >> without adding the subject to the .../Score file?
> >You could as well use References:, it should work even better.

> I think what he means, (at least what I wondered) was how do I just
> mark the whole thread as read (now) without going through the whole
> process of adding it to the score/kill file.

Thomas Schultz wrote a macro that will kill entire (sub-)threads by
pressing just one key, but I'm afraid I don't have any more information
about it (where to get it etc).  Of course, you can always use Esc-d or
Esc-t d to mark threads as unread as you see them.


Jens

-- 
"What is robbing a bank compared with founding a bank?"

        - Bertolt Brecht

Re: Slrn
#56894
Author: Tony Miller
Date: Wed, 19 Jan 2000 00:00
37 lines
2125 bytes
Try "Esc d" on the parent article of the tree.

-Tony

On Wed, 19 Jan 2000 09:07:36 -0500,
  Paul Neubauer <prn@bsu.edu> wrote:
>In article <slrn889qov.sbm.jewa@message-id.wahnes-world.de>, 
>jewa@gmx.net writes...
>>McRiley wrote:
>>
>>> Ive been using slrn for quite some time now and I think its great. I
>>> have only one question, is it possible to kill an entire thread without
>>> adding the subject to the .../Score file?
>>
>>You could as well use References:, it should work even better.
>
>I think what he means, (at least what I wondered) was how do I just 
>mark the whole thread as read (now) without going through the whole 
>process of adding it to the score/kill file. I don't necessarily care 
>about making sure I never see it again if it should revive, but when 
>I'm reading, I might just want to move on to the next thread. I can't 
>see anything that allows me to do that quickly, i.e., a key for "mark 
>this thread as read and move to the next unread article."
>
>	Paul
>-- 
>Paul Neubauer          prn@bsu.edu
>http://home.bsu.edu/prn/
>PGP Public Key at http://home.bsu.edu/prn/key.html


-- 
Reliable, "eggable" Unix shell accounts. http://www.jtan.com/proshell/
cl00bie @ IRC - /server cookie.sorcery.net 9000, http://www.sorcery.net
We welcome WebTV'ers - http://www.sorcery.net/help/index.html#WebTV

Re: Slrn
#56908
Author: Phil Boutros
Date: Wed, 19 Jan 2000 00:00
23 lines
1665 bytes
On 19 Jan 2000 18:04:04 GMT, David Gerard <fun@thingy.apana.org.au> wrote:
>
>Or ESC-t to collapse the thread, then d to delete all posts in the thread.

	Or, you can have one key to do both.  Someone posted the following
a little while back (to be added to your .slrnrc file):

setkey article "call(\"toggle_collapse_threads\");call(\"delete\")" "v"

	Then, hitting "v" (or whatever key you put instead) will collapse
the thread, and mark it deleted.

	I don't remember who posted it, but it has turned out to be a major
timesaver for me!


Phil
-- 
AH#61  Wolf#14  bs#89  bus#1  KoB/CoT#75        philb@total.net
http://www.total.net/~philb                 http://eddiekieger.com 
"Power To The People" - BPP              EKIII will ride with me again.

Re: Slrn
#56914
Author: Thomas Schultz
Date: Wed, 19 Jan 2000 00:00
22 lines
1761 bytes
On 19 January 2000 at 15:50 GMT, Jens Wahnes <jewa@gmx.net> wrote:
> Paul Neubauer wrote:
>> I think what he means, (at least what I wondered) was how do I just
>> mark the whole thread as read (now) without going through the whole
>> process of adding it to the score/kill file.
> Thomas Schultz wrote a macro that will kill entire (sub-)threads by
> pressing just one key, but I'm afraid I don't have any more
> information about it (where to get it etc).

I think you are referring to my ignore_subthread() macro which allows
you to put the currect subthread into the scorefile by pressing a
single key. What Paul asks for seems to be a command that just marks
the current thread as read and moves on to the next thread. This can
be done by simply putting something like

setkey article  "collapse_thread(); call(\"delete_thread\")" "D"

in your .slrnrc file.
-- 
Thomas Schultz <tststs@gmx.de>

Re: Slrn
#56919
Author: David Gerard
Date: Wed, 19 Jan 2000 00:00
27 lines
2051 bytes
On Wed, 19 Jan 2000 14:56:21 GMT, ras2 <removethis@gmx.net> wrote:
:On Wed, 19 Jan 2000 09:07:36 -0500, Paul Neubauer <prn@bsu.edu>
: wrote in <MPG.12ef8f3569b2e82e9897f6@news.bsu.edu>:

:> I think what he means, (at least what I wondered) was how do I just 
:> mark the whole thread as read (now) without going through the whole 
:> process of adding it to the score/kill file. I don't necessarily care 
:> about making sure I never see it again if it should revive, but when 
:> I'm reading, I might just want to move on to the next thread. I can't 
:> see anything that allows me to do that quickly, i.e., a key for "mark 
:> this thread as read and move to the next unread article."

:There is ESC-d. It sometimes gets confused by sub-threads, so
:you'll have to use ESC-d on those too, but the same would probably
:happen with other methods.


Or ESC-t to collapse the thread, then d to delete all posts in the thread.


-- 
http://xenu.netizen.com.au/               http://thingy.apana.org.au/~fun/
   Fight junk email: join the Coalition Against Unsolicited Bulk Email,
                   Australia - http://www.caube.org.au/
            "Beware the fury of a patient man."  (John Dryden)

Re: Slrn
#56926
Author: Paul Neubauer
Date: Wed, 19 Jan 2000 00:00
25 lines
1703 bytes
In article <slrn889qov.sbm.jewa@message-id.wahnes-world.de>, 
jewa@gmx.net writes...
>McRiley wrote:
>
>> Ive been using slrn for quite some time now and I think its great. I
>> have only one question, is it possible to kill an entire thread without
>> adding the subject to the .../Score file?
>
>You could as well use References:, it should work even better.

I think what he means, (at least what I wondered) was how do I just 
mark the whole thread as read (now) without going through the whole 
process of adding it to the score/kill file. I don't necessarily care 
about making sure I never see it again if it should revive, but when 
I'm reading, I might just want to move on to the next thread. I can't 
see anything that allows me to do that quickly, i.e., a key for "mark 
this thread as read and move to the next unread article."

	Paul
-- 
Paul Neubauer          prn@bsu.edu
http://home.bsu.edu/prn/
PGP Public Key at http://home.bsu.edu/prn/key.html

Re: Slrn
#56948
Author: Paul Neubauer
Date: Thu, 20 Jan 2000 00:00
36 lines
2313 bytes
In article <slrn88cejh.2l2.tststs@starflower.tststs.ddns.org>, 
tststs@gmx.de writes...
>On 19 January 2000 at 15:50 GMT, Jens Wahnes <jewa@gmx.net> wrote:
>> Paul Neubauer wrote:
>>> I think what he means, (at least what I wondered) was how do I just
>>> mark the whole thread as read (now) without going through the whole
>>> process of adding it to the score/kill file.
>> Thomas Schultz wrote a macro that will kill entire (sub-)threads by
>> pressing just one key, but I'm afraid I don't have any more
>> information about it (where to get it etc).
>
>I think you are referring to my ignore_subthread() macro which allows
>you to put the currect subthread into the scorefile by pressing a
>single key. What Paul asks for seems to be a command that just marks
>the current thread as read and moves on to the next thread. This can
>be done by simply putting something like
>
>setkey article  "collapse_thread(); call(\"delete_thread\")" "D"
>
>in your .slrnrc file.

Yes, This appears to be what I wondered about. Phil Boutros posted a 
version with call(\"delete\") rather than delete_thread. Is there a 
difference or is one of these versions a mistake. I'll have to look up 
the docs on these functions.

In any case, thank you. I'll check them out and I'll be doing more 
playing with slrn.

	Paul
-- 
Paul Neubauer          prn@bsu.edu
http://home.bsu.edu/prn/
PGP Public Key at http://home.bsu.edu/prn/key.html

Re: Slrn
#56956
Author: McRiley
Date: Thu, 20 Jan 2000 00:00
16 lines
1334 bytes
In article <slrn88cejh.2l2.tststs@starflower.tststs.ddns.org>,
Thomas Schultz wrote:
>On 19 January 2000 at 15:50 GMT, Jens Wahnes <jewa@gmx.net> wrote:

>I think you are referring to my ignore_subthread() macro which allows
>you to put the currect subthread into the scorefile by pressing a
>single key. 

I would really like that macro. Could you post it?

-- 
/McRiley
 mcriley@telia.com
 UIN: 218871

Re: Slrn
#56978
Author: Thomas Schultz
Date: Fri, 21 Jan 2000 00:00
14 lines
1476 bytes
On 20 January 2000 at 15:55 GMT, Paul Neubauer <prn@bsu.edu> wrote:
[...]
> Yes, This appears to be what I wondered about. Phil Boutros posted a
> version with call(\"delete\") rather than delete_thread. Is there a
> difference or is one of these versions a mistake. I'll have to look
> up the docs on these functions.

When used on a collapsed thread, "delete" does the same as
"delete_thread" (i.e. it marks the whole subthread as read), so both
versions should have exactly the same effect.
-- 
Thomas Schultz <tststs@gmx.de>

Re: Slrn
#57012
Author: Thomas Schultz
Date: Fri, 21 Jan 2000 00:00
62 lines
3215 bytes
On 20 January 2000 at 13:22 GMT, McRiley <mcriley@telia.com> wrote:
> Thomas Schultz wrote:
>> I think you are referring to my ignore_subthread() macro which allows
>> you to put the currect subthread into the scorefile by pressing a
>> single key.
> I would really like that macro. Could you post it?

This is the macro as I currently use it (a recent version of s-lang is
needed for localtime()). Suggestions on how it could be improved are
of course welcome (in particular, I am looking for a way to find out
the name of the user's scorefile; right now, you have to change the
macro to suit the location of your scorefile).

#v+
define ignore_subthread ()
{
   if (is_group_mode ())
     error (_function_name () + " doesn't work in group mode!");
   
   variable fp, expiry_date, datestring;
   
   expiry_date = localtime(_time() + 21 * 24 * 3600); % 21 days from now
   datestring = string(expiry_date.tm_mon+1)+"/"+
                string(expiry_date.tm_mday)+"/"+
                string(expiry_date.tm_year+1900);

   set_input_string ("-1000\n" + datestring);
   set_input_chars ("rtn");
   
   fp = fopen("/home/tststs/News/Score", "a");
   () = fputs("\n%BOS", fp);
   () = fclose(fp);
   
   call ("create_score");
   
   fp = fopen("/home/tststs/News/Score", "a");
   () = fputs("\n%EOS", fp);
   () = fclose(fp);   
   
   message_now("");
}
#v-

If you regularly use this macro (maybe also to watch subthreads; you
can of course change the "-1000" points to a value greater than zero),
your scorefile will become larger and larger and you might want to use
Felix Schueller's "cleanscore" script (written in perl) to
automagically remove expired entries. It can be found at

http://www.netcologne.de/~nc-schuelfe/slrn/cleanscore/

If you do not intend to use it, you can leave out the parts which
insert the "%BOS" and "%EOS" marks. They are used by cleanscore to
find the exact beginning and end of a scorefile entry. cleanscore will
also work without them, but then it will not always delete all
comments which belong to the expired score, because recognizing which
comment belongs to which score is a task that requires more AI than
you can put into a simple perl script.
-- 
Thomas Schultz <tststs@gmx.de>

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