🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #88314

Re: [slrn] auto-scroll-header, scroll-article-half-page

#88314
From: Joe Koenig
Date: Wed, 28 Nov 2001 00:19
47 lines
2567 bytes
In article <slrna07mp5.h0m.jbn@forestfield.org>, J.B. Nicholson-Owens wrote:
> Joe Koenig wrote:
>> I'd like the cursor and the currently displayed article to stay on top of
>> the header window.
> 
> Right now this would only be accessible from within the slrn program.  A
> macro can't detect where the cursor is within the header window in the way
> you need to do this job.  There's no API for that.  slrn might be able to
> tell you but that isn't passed on to macros.  Fortunately slrn is free
> software so you can modify your copy as you like and distribute your
> modified version too.
 
So I'll have to write a wishlist or write some code. Hmmm ... which
language? C? I think I'm too dumb. At least I'm dedicated: Although I'm
forced to write VB, I try using vim. :)

>> Can I customize the amount of lines slrn srolls, when hitting the Space
>> button?
> 
> Not directly via a slrn.rc setting but with a macro, yes.  The
> article_line_down intrinsic will help you.  A macro that looks like this
> would skip 3 lines down instead of a full page:
> 
>   implements ("my");
>   static define article_page_down ()
>   {
>      if (_is_article_visible () & 1)
>        {
>           !if (get_next_art_pgdn_action ())     % would have shown next page
>             {
>                 loop (3) { call ("article_line_down"); }
>             }
>           else
>             {
> 	        call ("article_page_down");
>             }
>        }
>      else
>        {
> 	  call ("article_page_down");
>        }
>   }

That's toooo good. Thank you very much.

Joe
Technical Details
Message-ID: <slrna08836.or.joe.r.user@joeshost.joesdomain>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!62.109.72.116!not-for-mail
References: <slrna05o4o.4jo.joe.r.user@joeshost.joesdomain> <slrna073o3.h0m.jbn@forestfield.org> <slrna07ppd.8j.joe.r.user@joeshost.joesdomain> <slrna07mp5.h0m.jbn@forestfield.org>

Show Full Headers
Complete Article Headers
Message-ID: <slrna08836.or.joe.r.user@joeshost.joesdomain>
Subject: Re: [slrn] auto-scroll-header, scroll-article-half-page
Date: Wed, 28 Nov 2001 00:19:25 +0000
From: Joe Koenig <joe.r.user@gmx.de>
References: <slrna05o4o.4jo.joe.r.user@joeshost.joesdomain> <slrna073o3.h0m.jbn@forestfield.org> <slrna07ppd.8j.joe.r.user@joeshost.joesdomain> <slrna07mp5.h0m.jbn@forestfield.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!62.109.72.116!not-for-mail
Newsgroups: news.software.readers
Lines: 46
NNTP-Posting-Host: 62.109.72.116
X-Trace: fu-berlin.de 1006906765 5917311 62.109.72.116 (16 [105377])
User-Agent: slrn/0.9.7.3 (Linux)