🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #80145

[slrn] macro question

#80145
From: Phil Boutros
Date: Sun, 10 Jun 2001 13:57
48 lines
2425 bytes
	OK.  So I've been using slrn for a few years now, and wouldn't
even think of using something else.  Every version just gets better,
and the new 0.9.7.1 is no exception.  Just go to setting the
group_display_format and header_display_format the way I wanted.

	The only thing that occasionally bugs me (and has bugged me
since version 0.9.4.whatever, when I started using slrn) is that you
can't set the article window size the way you want it by default.

	I decided there must be an easy way to do this, instead of
always hitting "^" the first time I view an article, every time I use
slrn.

	So I looked at some of the other macros, and read some docs,
and wrote possibly the world's simplest macro:

#v+
define set_size ()
{
	set_article_window_size (13);
}
definekey ("set_size", "&", "article");
#v-

	Simple enough, and it actually works.  If I interpret it from
my .slrnrc file, then hit "&", the article window automagically gets
set to the size I like.

	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.

	Thanks in advance,


Phil
-- 
AH#61  Wolf#14  bs#89  bus#1           philb@total.net
http://www.total.net/~philb        http://eddiekieger.com 
"Power To The People" - BPP     EKIII will ride with me again.
Technical Details
Message-ID: <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!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!news1

Show Full Headers
Complete Article Headers
Message-ID: <slrn9i6v6n.1nu.philb@wolf14.nols.com>
Subject: [slrn] macro question
Date: Sun, 10 Jun 2001 13:57:30 +0000
From: philb@total.net (Phil Boutros)
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!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!news1
Newsgroups: news.software.readers
Organization: Total lack of...
Lines: 47
NNTP-Posting-Host: p-598.newsdawg.com
User-Agent: slrn/0.9.7.1 (Linux)