🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #54069

Re: slrn - can one start up with 'minimised' article list?

#54069
From: Dawn Owens-Nicholson
Date: Mon, 15 Nov 1999 00:00
33 lines
1779 bytes
Chris Green wrote:
> Is it possible to start slrn so that the article list is minimised in
> the way it is if one does a repeated 'CTRL ^'?

I'm not sure how large you want the article window to be, so I'll guess: You
can set show_article to 1 in your slrn.rc--this will automatically download
an article and display it when you enter article mode.  And you can make a
macro that uses set_article_window_size() to set the height of the article
window (see doc/slrnfuns.txt for details). Probably something like this
would work for you--put the following hooks into a file (say, my_hooks.sl)
and load it from your slrn.rc with

  interpret "my_hooks.sl"

Here's the code:

  public define article_mode_hook ()
  {
     set_article_window_size (int (SCREEN_HEIGHT * .8));
  }

  public define resize_screen_hook ()
  {
     set_article_window_size (int (SCREEN_HEIGHT * .8));
  }

Then you'll see an article the moment you enter article mode (this could be
a very high bandwidth operation) and the article-header list separator will
make the article window quite big.

Happy newsreading!

Technical Details
Message-ID: <slrn830l0a.k68.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: <slrn8307ru.8bd.cgreen@shell.x-1.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrn830l0a.k68.bluemoon@ux6.cso.uiuc.edu>
Subject: Re: slrn - can one start up with 'minimised' article list?
Date: Mon, 15 Nov 1999 00:00:00 +0000
From: bluemoon@ux6.cso.uiuc.edu (Dawn Owens-Nicholson)
References: <slrn8307ru.8bd.cgreen@shell.x-1.net>
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: 548931801
Organization: University of Illinois at Urbana-Champaign
User-Agent: slrn/0.9.5.7 (UNIX)
Newsgroups: news.software.readers