🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #80161

Re: [slrn] macro question

#80161
From: Mike Ching
Date: Sun, 10 Jun 2001 19:16
21 lines
1937 bytes
On 10 Jun 2001 13:57:30 GMT, Phil Boutros <philb@total.net> wrote:

> 	My question is (and I'm sure it's a real simple one I missed
> somewhere in the docs)...is there a way to set set_article_window_size
> automatically without even hitting a key?  That would effectively set
> it every time I run slrn, and I wouldn't have to spend an extra 3
> nanoseconds every time <g>.  I guess the easiest way would be to edit
> the source and find wherever the article window gets set by default,
> but there must be an easy way to do it with macros too...
> 
> 	All in all, a fairly minor issue, so no big deal if there's no
> way to do it.

I have this in my slrn.sl file for use in a 50 line window.


define resize_screen_hook ()
{
  set_article_window_size (SCREEN_HEIGHT-24);
}
Technical Details
Message-ID: <GIPU6.1410$gp3.470113352@newssvr17.news.prodigy.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!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.mathworks.com!enews.sgi.com!newscon06.news.prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr17.news.prodigy.com.POSTED!not-for-mail
References: <slrn9i6v6n.1nu.philb@wolf14.nols.com>

Show Full Headers
Complete Article Headers
Message-ID: <GIPU6.1410$gp3.470113352@newssvr17.news.prodigy.com>
Subject: Re: [slrn] macro question
Date: Sun, 10 Jun 2001 19:16:54 GMT
From: mtsching@altavista.com (Mike Ching)
References: <slrn9i6v6n.1nu.philb@wolf14.nols.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!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.mathworks.com!enews.sgi.com!newscon06.news.prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr17.news.prodigy.com.POSTED!not-for-mail
Newsgroups: news.software.readers
Reply-To: mtsching@altavista.com
User-Agent: slrn/0.9.7.1 (Win32)
Lines: 20
NNTP-Posting-Host: 64.20.165.180
X-Complaints-To: abuse@prodigy.net
X-Trace: newssvr17.news.prodigy.com 992200614 6341642 64.20.165.180 (Sun, 10 Jun 2001 15:16:54 EDT)
NNTP-Posting-Date: Sun, 10 Jun 2001 15:16:54 EDT
Organization: Prodigy Internet http://www.prodigy.com