🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #54737

Re: SLRN - minor scrolling oddity/bug/feature

#54737
From: Sylvan Butler
Date: Wed, 01 Dec 1999 00:00
48 lines
2872 bytes
On 1 Dec 1999 14:11:22 GMT, Thomas Schultz <tststs@gmx.de> wrote:
>On 01 December 1999 at 09:46 GMT, Chris Green <cgreen@shell.x-1.net> wrote:
>> On 30 Nov 1999 17:37:09 GMT, Sylvan Butler
>> <nospam+_no_Zs__9911@hpb13799z.zboi.hpz.com.invalid> wrote:
>>> I will suggest zooming the article window to full screen. Looks great.
>> Good idea!  I'm now trying to work out how to start in zoomed/full
>> screen mode by default.
>
>You can put 
>
>  !if (is_article_window_zoomed ()) call ("zoom_article_window");
>
>in your article_mode_hook(). However, this will also have the effect
>that the first article in a group is automatically downloaded and
>displayed when you enter it.

I use that line, except it is in my "display article" function.  That
way it doesn't run except when I select an actual article.

I use a rather complex set of interdependent keymapping macros (to
emulate tin) so an excerpt won't do any good...  But something like the
following may work:

=============
define zoomed_article_select ();
{
   !if (is_article_window_zoomed ())
      call ("zoom_article_window");
% use this function from util.sl???   art_select_article ();
   call ("scroll_dn");
}
definekey ("zoomed_article_select", " ", "article");
=============
(replace the " " with the key you want to use to display an article)

You may need to utilize the "is_article_visible" intrinsic, as used in
util.c in order to get the desired behavior...

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!"

Technical Details
Message-ID: <slrn84amok.c5f.nospam+_no_Zs__9912@hpb13799z.zboi.hpz.com.invalid>
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!not-for-mail
References: <slrn847vtl.e03.cgreen@shell.x-1.net> <slrn8482s4.77t.nospam+_no_Zs__9911@hpb13799z.zboi.hpz.com.invalid> <slrn849rh0.gat.cgreen@shell.x-1.net> <slrn84ab4a.s3.tststs@starflower.tststs.ddns.org>

Show Full Headers
Complete Article Headers
Message-ID: <slrn84amok.c5f.nospam+_no_Zs__9912@hpb13799z.zboi.hpz.com.invalid>
Subject: Re: SLRN - minor scrolling oddity/bug/feature
Date: Wed, 01 Dec 1999 00:00:00 +0000
From: nospam+_no_Zs__9912@hpb13799z.zboi.hpz.com.invalid (Sylvan Butler)
References: <slrn847vtl.e03.cgreen@shell.x-1.net> <slrn8482s4.77t.nospam+_no_Zs__9911@hpb13799z.zboi.hpz.com.invalid> <slrn849rh0.gat.cgreen@shell.x-1.net> <slrn84ab4a.s3.tststs@starflower.tststs.ddns.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!not-for-mail
X-Deja-AN: 555367413
X-Original-NNTP-Posting-Host: hpb13799.boi.hp.com
Mail-Copies-To: never
X-Complaints-To: usenet@news.boi.hp.com
X-Trace: hpbs1500.boi.hp.com 944069855 22413 15.98.137.41 (1 Dec 1999 17:37:35 GMT)
Organization: Hewlett-Packard
User-Agent: slrn/0.9.5.7 (Linux)
NNTP-Posting-Date: 1 Dec 1999 17:37:35 GMT
Newsgroups: news.software.readers