🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by David Mears Mon, 10 Mar 1997 00:00
Determining last page of article in slrn
#32042
Author: 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

Re: Determining last page of article in slrn
#32055
Author: Dawn Owens-Nicholson
Date: Mon, 10 Mar 1997 00:00
11 lines
1036 bytes
My husband wrote some macros that I think will do the job for you.

On 10 Mar 1997 19:14:26 GMT, David Mears <mears@xsvr2.cup.hp.com> wrote:
> Is there a way for an slang macro to tell if the last page of an
> article is displayed in the article window?

I don't think you need to determine this, my husband's macro does the
thing you want to do without this.  I've asked him to write you.

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