Article View: news.software.readers
Article #165616Re: setting the size of the article pager on startup
From: claus
Date: Wed, 20 Apr 2005 10:21
Date: Wed, 20 Apr 2005 10:21
31 lines
1962 bytes
1962 bytes
On 2005-04-20, Andrew Preater <andrew.preater@durham.ac.uk> wrote:
> * claus <claus@claus.com>:
>
> Here's what I use, change the number to your taste:
>
> #v+
> define resize_screen_hook ()
> {
>
> set_article_window_size (SCREEN_HEIGHT-14);
> }
> #v-
>
>
> And the error is...?
>
> Anyway. Put your snippet of code in a file, then 'interpret'
> that file within your slrnrc. Say I call mine header.hook &
> place it in ~/News, in my slrnrc I would use this:
>
> interpret "News/header.hook"
>
the error i get after I try to run the interpret command in slrnrc:
S-Lang Error: Syntax Error: Expecting a PRIMARY: found '#', line 1,
file: /home/claus/.slrn.reader
S-Lang Error: Syntax Error: called from line 1, file: /home/claus/.slrn.reader
slrn fatal error:
/home/claus/.slrnrc: Error encountered processing line 5
interpret ".slrn.reader"
Technical Details
Message-ID:
<slrnd6c7oa.3i7.claus@localhost.localdomain>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.stueberl.de!news.cs.univ-paris8.fr!newsfeed1.uni2.dk!news.get2net.dk.POSTED!53ab2750!not-for-mailReferences:
<slrnd6bs12.3bs.claus@localhost.localdomain> <slrnd6c3qk.rvg.andrew.preater@vega.dur.ac.uk>Show Full Headers
Complete Article Headers
Message-ID: <slrnd6c7oa.3i7.claus@localhost.localdomain> Subject: Re: setting the size of the article pager on startup Date: Wed, 20 Apr 2005 10:21:29 GMT From: claus <claus@claus.com> References: <slrnd6bs12.3bs.claus@localhost.localdomain> <slrnd6c3qk.rvg.andrew.preater@vega.dur.ac.uk> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.stueberl.de!news.cs.univ-paris8.fr!newsfeed1.uni2.dk!news.get2net.dk.POSTED!53ab2750!not-for-mail Newsgroups: news.software.readers User-Agent: slrn/0.9.8.1 (Debian) Lines: 31 NNTP-Posting-Host: 83.73.66.32 X-Complaints-To: abuse-dk@tele2.com X-Trace: news.get2net.dk 1113992489 83.73.66.32 (Wed, NNTP-Posting-Date: Wed, 20 Apr 2005 12:21:29 CEST Organization: Tele2 Internet Kunde