🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #32042

Determining last page of article in slrn

#32042
From: David Mears
Date: Mon, 10 Mar 1997 00:00
21 lines
1353 bytes
Is there a way for an slang macro to tell if the last page of an
article is displayed in the article window?  I'm trying to customize
the scrolling functionality by writing my own macros.  What I'd like
to do is to call scroll_dn if tehre's more of the current article to
view, but possibly do something else if the last page is currently
being show.  (I want to go to the next unread article if one exists,
or I want to cycle around to the top and look for an earlier unread
article if necessary.  The scroll_dn function will do the first part
but not the second.)

If there's no current way to determine this, how about adding a new
return value to is_article_visible (perhaps 2?) to indicate the last
page is displayed?

David B. Mears
Hewlett-Packard
Cupertino CA
mears@cup.hp.com

Technical Details
Message-ID: <slrn5i8nci.m3v.mears@xsvr2.cup.hp.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.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <slrn5i8nci.m3v.mears@xsvr2.cup.hp.com>
Subject: Determining last page of article in slrn
Date: Mon, 10 Mar 1997 00:00:00 +0000
From: mears@xsvr2.cup.hp.com (David Mears)
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: 224461790
Organization: Networked Computing Division: Hewlett Packard
Newsgroups: news.software.readers