🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #48847

Re: Simple slrn question

#48847
From: Peppe
Date: Wed, 26 May 1999 00:00
40 lines
2039 bytes
Thus wrote IBMackey <ibum@stic.net>

> I have posted a couple of times what I thought was a simple slrn
> question. Basicly I want to change the width of the separation line
> between the article summaries window and the article window. I know
> you can do this using the keybindings C-^ or Shift 6. But I want to
> preset it from startup to say 50%.

> I've read the faq, info, manual, readmes. I suppose the answer just
> escape me. Gimme a break, people, and just tell if it can happen (and
> how to make it work would be helpful also).

OK, simple answer, it is possible :-)


Based on Ian T Zimmerman's suggestion, how about adding

    define resize_screen_hook ()
    {
        set_article_window_size (SCREEN_HEIGHT/2);
    }

to a .slrn.sl file and add

    interpret .slrn.sl

to your .slrnrc.

Untested, but you might susbtitute "resize_screen_hook" with eg.
"startup_hook". This ought to set it when starting slrn but not
refresh on screen resizing.

Peppe
-- 
Preben Guldberg         __/-\__     "I'd call you a sadistic
c928400@student.dtu.dk   (o o)       sodomistic necrophiliac,
-------------------- oOOo (_) oOOo   but that would be beating
http://www.student.dtu.dk/~c928400   a dead horse."    --Woody Allen

Technical Details
Message-ID: <slrn7kott4.gf7.c928400@urdybet.pbk.dk>
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: <7lpz2f0p.fsf@stic.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrn7kott4.gf7.c928400@urdybet.pbk.dk>
Subject: Re: Simple slrn question
Date: Wed, 26 May 1999 00:00:00 +0000
From: c928400@student.dtu.dk (Peppe)
References: <7lpz2f0p.fsf@stic.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: 482495285
X-Complaints-To: usenet@news.net.uni-c.dk
X-Trace: news.net.uni-c.dk 927758133 36818 130.225.71.226 (26 May 1999 22:35:33 GMT)
Organization: Home of Peppe
User-Agent: slrn/0.9.5.6 (UNIX)
Reply-To: c928400@student.dtu.dk
NNTP-Posting-Date: 26 May 1999 22:35:33 GMT
Newsgroups: news.software.readers