🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
6 messages
6 total messages Started by Chris Green Mon, 15 Nov 1999 00:00
Catchup and NextGrp command in slrn?
#54082
Author: Chris Green
Date: Mon, 15 Nov 1999 00:00
10 lines
1007 bytes
What's the simplest way of combining the 'c' and 'n' commands in slrn?
I want the equivalent of tin's 'C' command, it's about the only thing
I miss!  :-)

-- 
Chris Green (chris@x-1.net)
  Home: chris@isbd.demon.co.uk		 Work: cgreen@bcs.org.uk
  WWW: http://www.isbd.co.uk/

Re: Catchup and NextGrp command in slrn?
#54093
Author: Heikki Kantola
Date: Mon, 15 Nov 1999 00:00
24 lines
1798 bytes
Chris Green <cgreen@shell.x-1.net> informed
news.software.readers with the following:
>What's the simplest way of combining the 'c' and 'n' commands in slrn?
>I want the equivalent of tin's 'C' command, it's about the only thing
>I miss!  :-)

Write a S-Lang macro, something along these lines (this might even
work without changes, I haven't tested this, use at your own risk):

define catchup_and_skip_to_next_group() {
	if (is_group_mode ())
	     error (_function_name () + " doesn't work in group mode!");
	call("catchup_all");
	call("skip_to_next_group");
}
definekey ("catchup_and_next_group", "C", "article");

-- 
Heikki "Hezu" Kantola, <Heikki.Kantola@IKI.FI>
L�hett�m�ll� mainoksia tai muuta asiatonta s�hk�postia yll� olevaan
osoitteeseen sitoudut maksamaan oikolukupalvelusta FIM500 alkavalta
tunnilta.

Re: Catchup and NextGrp command in slrn?
#54100
Author: Thomas Schultz
Date: Mon, 15 Nov 1999 00:00
13 lines
1110 bytes
On 15 November 1999 at 11:03 GMT, Chris Green <cgreen@shell.x-1.net> wrote:

> What's the simplest way of combining the 'c' and 'n' commands in
> slrn? I want the equivalent of tin's 'C' command, it's about the only
> thing I miss!  :-)

You could write a rather simple macro that calls the two functions and
bind it to a key.
-- 
Kind regards,
    Thomas Schultz

Re: Catchup and NextGrp command in slrn?
#54107
Author: Sylvan Butler
Date: Mon, 15 Nov 1999 00:00
19 lines
1620 bytes
On 15 Nov 1999 11:03:04 GMT, Chris Green <cgreen@shell.x-1.net> wrote:
>What's the simplest way of combining the 'c' and 'n' commands in slrn?
>I want the equivalent of tin's 'C' command, it's about the only thing
>I miss!  :-)

Have you looked at the provided tin-group.sl and tin-art.sl?

You need to have some macros defined, and then map 'C' to the top level
macro.

sdb
-- 
 | Sylvan Butler | Not speaking for Hewlett-Packard | sbutler-boi.hp.com |
 | Watch out for my e-mail address. Thank UCE.   #### change ^ to @ #### |
    They that can give up essential liberty to obtain a little temporary
    safety deserve neither liberty nor safety. --Benjamin Franklin, 1759
 "Don't Tread On Me!"

Re: Catchup and NextGrp command in slrn?
#54184
Author: Chris Green
Date: Tue, 16 Nov 1999 00:00
18 lines
1503 bytes
On 15 Nov 1999 18:14:43 GMT, Sylvan Butler <nospam+_no_Zs__9911@hpb13799z.zboi.hpz.com.invalid> wrote:
>On 15 Nov 1999 11:03:04 GMT, Chris Green <cgreen@shell.x-1.net> wrote:
>>What's the simplest way of combining the 'c' and 'n' commands in slrn?
>>I want the equivalent of tin's 'C' command, it's about the only thing
>>I miss!  :-)
>
>Have you looked at the provided tin-group.sl and tin-art.sl?
>
>You need to have some macros defined, and then map 'C' to the top level
>macro.
>
Aha!  No, I hadn't seen them, thanks very much for the pointer.

-- 
Chris Green (cgreen@x-1.net)
  Home: chris@isbd.demon.co.uk		 Work: cgreen@bcs.org.uk

Re: Catchup and NextGrp command in slrn?
#54251
Author: John E. Davis
Date: Wed, 17 Nov 1999 00:00
16 lines
982 bytes
On 15 Nov 1999 17:14:14 GMT, Heikki Kantola <hezu@iki.fi>
wrote:
>	call("catchup_all");
>	call("skip_to_next_group");
>}
>definekey ("catchup_and_next_group", "C", "article");

It is probably easier to put

 setkey article "call(\"catchup_all\");call(\"skip_to_next_group\");" "C"
 
in your .slrnrc file.

--John

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