Article View: news.software.readers
Article #107612Re: [slrn] How to set size of header window?
From: Jochen Schulz
Date: Thu, 15 Aug 2002 17:11
Date: Thu, 15 Aug 2002 17:11
30 lines
2052 bytes
2052 bytes
* Phil Boutros:
> itsme <me@iandury.ssd.hursley.ibm.com> wrote:
>> How do I hardware the depth of the header window in the .slrnrc file?
>
> Very easy. I have a file (called size.sl) with the following
> in it:
-- snip
An even better method (not my work):
#v+
define set_window_size ()
{
set_article_window_size (int(SCREEN_HEIGHT*0.65));
}
!if (register_hook ("resize_screen_hook", "set_window_size"))
message ("Warning: Could not register set_window_size for resize_hook");
#v-
This makes the number of lines in the header window dependant of the
absolute heigth of your slrn window (when working under X with a
terminal emulation like xterm).
The multiplier (in my case 0.65) has to be set to fit your needs.
Jochen.
--
"Trotz alledem, trotz alledem / Es kommt dazu, trotz alledem
Da� sich die Furcht in Widerstand verwandeln wird / Trotz alledem"
[Hannes Wader]
Technical Details
Message-ID:
<slrnalno5a.sg.kannstmichma@wasteland.homelinux.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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!62.109.106.51!not-for-mailReferences:
<slrnaln6f4.9bs.me@iandury.ssd.hursley.ibm.com> <slrnalnfrl.p9.philb@wolf14.nols.com>Show Full Headers
Complete Article Headers
Message-ID: <slrnalno5a.sg.kannstmichma@wasteland.homelinux.net> Subject: Re: [slrn] How to set size of header window? Date: Thu, 15 Aug 2002 19:11:06 +0200 From: Jochen Schulz <kannstmichma@gmx.net> References: <slrnaln6f4.9bs.me@iandury.ssd.hursley.ibm.com> <slrnalnfrl.p9.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!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!62.109.106.51!not-for-mail Newsgroups: news.software.readers Organization: FKK Terrororganisation Lines: 29 Reply-To: KaktusSchnitzer@CompuServe.de NNTP-Posting-Host: 62.109.106.51 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit X-Trace: fu-berlin.de 1029431522 44346130 62.109.106.51 (16 [64554]) X-Orig-Path: wasteland.homelinux.net!nobody User-Agent: slrn/0.9.7.4 (Linux)