🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by Joe Koenig Sun, 01 Jul 2007 08:39
[slrn] article_page_down, <PageDown>, <Space>
#201253
Author: Joe Koenig
Date: Sun, 01 Jul 2007 08:39
34 lines
1820 bytes
Hi,

currently <Space> and <PageDown> do the same thing:

 setkey article article_page_down  "<Space>"
 setkey article article_page_down  "<PageDown>"

Now, I'd like <PageDown> to behave a little bit differently from
<Space>:  I'd like to be able to hit <PageDown> as much as I like to,
whithout being prompted to confirm to go to the next group/article.

Any ideas?

  Joe

-
Slrn 0.9.8.1pl1 [2005-02-17]
* Note: This version is a developer preview.
S-Lang Library Version: 2.0.6
Compiled at: Jun 21 2006 08:22:07
Operating System: Debian

 COMPILE TIME OPTIONS:
  Backends: +nntp +slrnpull +spool
  External programs / libs: +canlock +inews +ssl +uudeview
  Features: +charset_mapping +decoding +emphasized_text +end_of_thread
    +fake_refs +gen_msgid -grouplens +mime -msgid_cache +piping +rnlock
    +slang +spoilers -strict_from
 DEFAULTS:
  Default server object:     nntp
  Default posting mechanism: nntp
  Default character set:     isolatin
 SUPPORTED CHARACTER SETS:
  isolatin ibm850 ibm852 ibm857 ibm737 NeXT koi8
Re: [slrn] article_page_down, <PageDown>, <Space>
#201255
Author: Joe Koenig
Date: Sun, 01 Jul 2007 12:35
28 lines
1377 bytes
* Joe Koenig <jko@gmx.de> wrote:

OK, since I lacked the knowledge to do it properly, I made it a
script:

 [ ... make <PageUp>/<PageDown> behave like a pager ...]


    define lesser ()
    {
        if (get_next_art_pgdn_action() >= 1){
            % do nothing
        } else {
            call("article_page_down");
        }
    }

    % concise:
    % if (get_next_art_pgdn_action() == 0)
          call("article_page_down");


However, I still believe that there should be a config-option (besides
S-Lang) for this.

Cheers

  Joe
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