Article View: news.software.readers
Article #119644Re: New to slrn, have a few questions...
From: Thomas Schultz
Date: Sun, 02 Feb 2003 15:22
Date: Sun, 02 Feb 2003 15:22
46 lines
2771 bytes
2771 bytes
* Tyler Eaves [2003-02-02 01:39] :
> 3. How can I specify in my .slrnrc how many to size the article
> window. In other words, how could I set the message window so that I
> get, say, X lines of the message list above the current article. I
> find the default much to small.
This is part of the new FAQ that will come with the next stable
release of slrn; hope it helps:
<--->
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; luckily, 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
.-----------------------------. [2002-03-13] slrn 0.9.7.4 is out
| Home of the slrn newsreader | [2002-02-03] Screenshot page online
| http://slrn.sourceforge.net | [2002-02-03] "Port" to Mac OS X
Technical Details
Message-ID:
<slrnb3qduj.1dk.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!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!fu-berlin.de!uni-berlin.de!acc53559.ipt.aol.COM!not-for-mailReferences:
<7F__9.3116$ek4.277407@newsread2.prod.itd.earthlink.net>Show Full Headers
Complete Article Headers
Message-ID: <slrnb3qduj.1dk.tststs@moonlight.tststs.ddns.org> Subject: Re: New to slrn, have a few questions... Date: Sun, 02 Feb 2003 15:22:59 +0000 From: Thomas Schultz <tststs@gmx.de> References: <7F__9.3116$ek4.277407@newsread2.prod.itd.earthlink.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!fu-berlin.de!uni-berlin.de!acc53559.ipt.aol.COM!not-for-mail Newsgroups: news.software.readers Organization: Pinguin online. Lines: 45 NNTP-Posting-Host: acc53559.ipt.aol.com (172.197.53.89) X-Trace: fu-berlin.de 1044200747 36276828 172.197.53.89 (16 [152]) User-Agent: slrn/0.9.7.4pl2 (Linux)