🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #144718

Re: saving settings in slrn

#144718
From: Thomas Schultz
Date: Wed, 10 Mar 2004 14:04
45 lines
2717 bytes
* Scott Eberl [2004-03-10 09:02] :

> In slrn using [ctrl] ^ changes the size of the header panel and
> [shift] ^ adjusts it the other way. When I resize to where I like it
> and exit the next time I start slrn they are back at some default
> setting. Anybody tell me where to look to save my layout somehow?

The following entry from the FAQ should help you:

<--->
  2.3.  How can I set the size of the article pager?


  Unless you ``zoom'' the article pager (using ``z''), slrn will split
  the screen and display some article headers at the top. By default, it
  gives about 75% of the lines to the article pager, but leaves at least
  four lines for the header overview. At runtime, you can change this
  using enlarge_article_window (bound to ``^'') and
  shrink_article_window (bound to ``CTRL-^'').

  There is no config variable you could use to make permanent changes to
  this; fortunately, it is very easy to set it using a simple slang
  macro. For example,

  define set_size_of_article_pager ()
  {
     set_article_window_size (int(SCREEN_HEIGHT*0.8));
  }
  !if (register_hook ("resize_screen_hook", "set_size_of_article_pager"))
    message ("Warning: Could not register set_size_of_article_pager" +
             " for resize_screen_hook");


  would give about 80% of the screen to the pager. If you want the
  header overview to have a fixed size, you can use an argument like
  SCREEN_HEIGHT-10 instead, which would make it 6 lines high (after the
  command, the article pager has SCREEN_HEIGHT-10 lines; 4 lines are
  used by status bars).
<--->
-- 
Thomas Schultz <tststs@gmx.de>  News on slrn: http://slrn.sf.net/news.html
.-----------------------------. [2003-08-25] Released slrn 0.9.8.0
| Home of the slrn newsreader | [2003-08-19] New slrn FAQ available
| http://slrn.sourceforge.net | [2003-07-31] First beta with offline reading
Technical Details
Message-ID: <slrnc4u7na.1eq.tststs@moonlight.tststs.ddns.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!archiver1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!acb1faea.ipt.aol.COM!not-for-mail
References: <slrnc4tmbi.q7m.RayzrShrp@turncoat.airea420.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrnc4u7na.1eq.tststs@moonlight.tststs.ddns.org>
Subject: Re: saving settings in slrn
Date: Wed, 10 Mar 2004 14:04:53 +0000
From: Thomas Schultz <tststs@gmx.de>
References: <slrnc4tmbi.q7m.RayzrShrp@turncoat.airea420.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!news2.google.com!fu-berlin.de!uni-berlin.de!acb1faea.ipt.aol.COM!not-for-mail
Newsgroups: news.software.readers
Organization: Pinguin online.
Lines: 44
NNTP-Posting-Host: acb1faea.ipt.aol.com (172.177.250.234)
X-Trace: news.uni-berlin.de 1078927493 65874589 I 172.177.250.234 ([152])
User-Agent: slrn/0.9.8.0 (Linux)