🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
9 messages
9 total messages Started by Rockinghorse Winner Mon, 10 Nov 2008 02:17
How to get cursor to jump to first line when at bottom of subject browser?
#227423
Author: Rockinghorse Winner
Date: Mon, 10 Nov 2008 02:17
11 lines
1245 bytes
How can I get slrn to jump mutt-like to the top of the list when at the end
of the subject browser list? 

*R* *H*

-- 
"His one secret thought, became like a chain, binding down his spirit, and,
like a serpent, gnawing into his heart; and he was transformed into a sad
and downcast, yet irritable man."

	Nathaniel Hawthorne, "Roger Malvin's Burial"
[slrn] How to get cursor to jump to first line when at bottom of subject browser?
#227425
Author: Rockinghorse Winner
Date: Mon, 10 Nov 2008 02:29
10 lines
1288 bytes
How can I get slrn to jump mutt-like to the top of the list when at the end
of the subject browser list? 

*R* *H*
-- 
"His one secret thought, became like a chain, binding down his spirit, and,
like a serpent, gnawing into his heart; and he was transformed into a sad
and downcast, yet irritable man."

	Nathaniel Hawthorne, "Roger Malvin's Burial"
Re: How to get cursor to jump to first line when at bottom of subject browser?
#227428
Author: Troy Piggins
Date: Mon, 10 Nov 2008 02:32
19 lines
2243 bytes
* Rockinghorse Winner wrote :
> 
> How can I get slrn to jump mutt-like to the top of the list when at the end
> of the subject browser list? 

What keys have you got these set to in your .slrnrc?

setkey article header_eob "<end>"   % Go to last article in group
setkey article header_bob "<home>"   % Go to first article in group

You might also want to check these too:

setkey group eob "<end>" % Go to the top of the list
setkey group bob "<home>" % Go to the bottom of the list

-- 
Troy Piggins | http://piggo.com/~troy/slrn                    ___  |   __   __
                                                             |___  | |/   |/  |
                                                              ___| | |    |   |
Re: [slrn] How to get cursor to jump to first line when at bottom of subject browser?
#227427
Author: W. Citoan
Date: Mon, 10 Nov 2008 12:02
12 lines
1519 bytes
Rockinghorse Winner wrote:
>  How can I get slrn to jump mutt-like to the top of the list when at the end
>  of the subject browser list? 

  ESC <     Go to the first article in group.

You will find a full list of keys & their actions with the "?" key.

- W. Citoan
-- 
If voting changed anything, they'd make it illegal.
-- Graffiti
Re: How to get cursor to jump to first line when at bottom of subject browser?
#227429
Author: John E. Davis
Date: Mon, 10 Nov 2008 18:58
12 lines
1430 bytes
On 10 Nov 2008 02:17:11 GMT, Rockinghorse Winner <rockinghorse@deadtime.com>
wrote:
> How can I get slrn to jump mutt-like to the top of the list when at the end
> of the subject browser list? 

Try this in your .slrnrc file:

   setkey article "if(0==header_down(1))call(\"header_bob\");"   "^N"

If you do not like the "^N" binding, change it to something else.

--John
Re: [slrn] How to get cursor to jump to first line when at bottom of subject browser?
#227431
Author: Troy Piggins
Date: Mon, 10 Nov 2008 19:16
15 lines
2239 bytes
* W. Citoan wrote :
> Rockinghorse Winner wrote:
>>  How can I get slrn to jump mutt-like to the top of the list when at the end
>>  of the subject browser list? 
>
>   ESC <     Go to the first article in group.
>
> You will find a full list of keys & their actions with the "?" key.

I don't think that's a full list of all keys.

-- 
Troy Piggins | http://piggo.com/~troy/slrn                    ___  |   __   __
                                                             |___  | |/   |/  |
                                                              ___| | |    |   |
Re: How to get cursor to jump to first line when at bottom of subject browser?
#227430
Author: Rockinghorse Winner
Date: Mon, 10 Nov 2008 19:40
33 lines
2133 bytes
In news.software.readers, John E. Davis had the audacity to say that:

> On 10 Nov 2008 02:17:11 GMT, Rockinghorse Winner <rockinghorse@deadtime.com>
> wrote:
>> How can I get slrn to jump mutt-like to the top of the list when at the end
>> of the subject browser list? 
>
> Try this in your .slrnrc file:
>
>    setkey article "if(0==header_down(1))call(\"header_bob\");"   "^N"
>
> If you do not like the "^N" binding, change it to something else.
>
> --John

I mean, jump *automatically* to the top of the list when the cursor gets at
the bottom. It is annoying at times to have to press a key (or key
combination) every few seconds to reset the cursor.

But in case this is not possible, I thank everyone for their efforts on my
behalf and will comb through the suggestions to see if there is anything
that can serve my purpose.

Regards!

*R* *H*

-- 
"His one secret thought, became like a chain, binding down his spirit, and,
like a serpent, gnawing into his heart; and he was transformed into a sad
and downcast, yet irritable man."

	Nathaniel Hawthorne, "Roger Malvin's Burial"
Re: How to get cursor to jump to first line when at bottom of subject browser?
#227432
Author: Troy Piggins
Date: Mon, 10 Nov 2008 20:32
30 lines
2772 bytes
* Rockinghorse Winner wrote :
> In news.software.readers, John E. Davis had the audacity to say that:
>
>> On 10 Nov 2008 02:17:11 GMT, Rockinghorse Winner <rockinghorse@deadtime.com>
>> wrote:
>>> How can I get slrn to jump mutt-like to the top of the list when at the end
>>> of the subject browser list? 
>>
>> Try this in your .slrnrc file:
>>
>>    setkey article "if(0==header_down(1))call(\"header_bob\");"   "^N"
>>
>> If you do not like the "^N" binding, change it to something else.
>
> I mean, jump *automatically* to the top of the list when the cursor gets at
> the bottom. It is annoying at times to have to press a key (or key
> combination) every few seconds to reset the cursor.

You said in your OP "like mutt".  My mutt cursor doesn't wrap
from bottom to top.

> But in case this is not possible, I thank everyone for their efforts on my
> behalf and will comb through the suggestions to see if there is anything
> that can serve my purpose.


-- 
Troy Piggins | http://piggo.com/~troy/slrn                    ___  |   __   __
                                                             |___  | |/   |/  |
                                                              ___| | |    |   |
Re: How to get cursor to jump to first line when at bottom of subject browser?
#227459
Author: Peter J Ross
Date: Wed, 12 Nov 2008 23:45
43 lines
3017 bytes
In news.software.readers on 10 Nov 2008 19:40:14 GMT, Rockinghorse
Winner <rockinghorse@deadtime.com> wrote:

> In news.software.readers, John E. Davis had the audacity to say that:
>
>> On 10 Nov 2008 02:17:11 GMT, Rockinghorse Winner <rockinghorse@deadtime.com>
>> wrote:
>>> How can I get slrn to jump mutt-like to the top of the list when at the end
>>> of the subject browser list? 
>>
>> Try this in your .slrnrc file:
>>
>>    setkey article "if(0==header_down(1))call(\"header_bob\");"   "^N"
>>
>> If you do not like the "^N" binding, change it to something else.
>>
>> --John
>
> I mean, jump *automatically* to the top of the list when the cursor gets at
> the bottom.

That's what JED's suggestion does. If "header_line_down" fails (i.e.
if the inbuilt "header_down" function returns a value of 0), the
"header_bob" function is called instead and the cursor moves to the
beginning of the buffer.

However,
	setkey article "if(0==header_down(1)) call(\"header_bob\");"   "<Down>"
has no effect for me, which is puzzling. I use the down arrow key, not
Ctrl-N, and I suspect you do too.

If you get this working, you may also want
	setkey article "if(0==header_up(1)) call(\"header_eob\");"   "^P"
which should have the same effect when scrolling up in the header
buffer. I expect the same method can be applied when scrolling in the
list of newsgroups.


-- 
PJR :-)
slrn newsreader v0.9.9p1: http://slrn.sourceforge.net/
extra slrn documentation: http://slrn-doc.sourceforge.net/
newsgroup name validator: http://pjr.lasnobberia.net/usenet/validator
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