Article View: news.software.readers
Article #227459Re: How to get cursor to jump to first line when at bottom of subject browser?
From: Peter J Ross
Date: Wed, 12 Nov 2008 23:45
Date: Wed, 12 Nov 2008 23:45
43 lines
3017 bytes
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
Technical Details
Message-ID:
<slrnghmqk2.177.pjr@pjr.motzarella.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!news.k-dsl.de!news.eternal-september.org!news.motzarella.org!motzarella.org!not-for-mailReferences:
<slrnghf6d9.krg.rockinghorse@deadtime.com> <slrnghh13f.ttn.jed@aluche.mit.edu> <slrnghh380.ndu.rockinghorse@deadtime.com>Show Full Headers
Complete Article Headers
Message-ID: <slrnghmqk2.177.pjr@pjr.motzarella.org> Subject: Re: How to get cursor to jump to first line when at bottom of subject browser? Date: Wed, 12 Nov 2008 23:45:06 +0000 From: Peter J Ross <pjr@example.invalid> References: <slrnghf6d9.krg.rockinghorse@deadtime.com> <slrnghh13f.ttn.jed@aluche.mit.edu> <slrnghh380.ndu.rockinghorse@deadtime.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!news.k-dsl.de!news.eternal-september.org!news.motzarella.org!motzarella.org!not-for-mail Newsgroups: news.software.readers Organization: none Lines: 43 Reply-To: Peter J Ross <peadar.ruadh@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.eternal-september.org U2FsdGVkX18xkYIGtdjjmYbf6jvLBYluGkU5QDKDV93Zd7/RJ2WKSOJ5z7Mku828FJ4cPH+AwRJfYlmzSd0b3nhI7mTWQ+qNy5IO/c3JBQ0/rUiI7PLcWFHk0FCiKzjL9gyE+kZObaI= X-Complaints-To: Please send complaints to abuse@motzarella.org with full headers NNTP-Posting-Date: Wed, 12 Nov 2008 23:53:03 +0000 (UTC) X-Auth-Sender: U2FsdGVkX1/kgOSmpqKnyguC0mOcKWid Cancel-Lock: sha1:RCoGJsyfiBu2DHF/un82cGuikSk= User-Agent: slrn/0.9.9p1/mm/co/un (Debian Testing)