🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #54639

Re: slrn: size of message list in split screen

#54639
From: Dawn Owens-Nicholson
Date: Sun, 28 Nov 1999 00:00
30 lines
1389 bytes
LabSoft wrote:
> How can I change the default message list size -- to show more lines -- when
> using slrn in split screen/view message mode?

You could use a macro to do this on startup:

  public define startup_hook ()
  {
     set_article_screen_size (SCREEN_HEIGHT * .6);
  }

and another to handle when you resize your screen:

  public define resize_screen_hook ()
  {
     set_article_screen_size (SCREEN_HEIGHT * .6);
  }

This should make the article window 60% of your screen height.

To install these macros make a file (say, "my_hooks.sl" in your homedir) and
load that file from your slrn.rc:

  interpret "my_hooks.sl"

or change the hooks you've got to include code like that.

Happy newsreading!

Technical Details
Message-ID: <slrn841p0k.b66.bluemoon@ux6.cso.uiuc.edu>
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: <slrn83q73a.2lh.labrador@shadow.org>

Show Full Headers
Complete Article Headers
Message-ID: <slrn841p0k.b66.bluemoon@ux6.cso.uiuc.edu>
Subject: Re: slrn: size of message list in split screen
Date: Sun, 28 Nov 1999 00:00:00 +0000
From: bluemoon@ux6.cso.uiuc.edu (Dawn Owens-Nicholson)
References: <slrn83q73a.2lh.labrador@shadow.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: 553992596
Organization: University of Illinois at Urbana-Champaign
User-Agent: slrn/0.9.5.7 (UNIX)
Newsgroups: news.software.readers