🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #173735

Re: [srln] set size of thread view?

#173735
From: Whiskers
Date: Mon, 19 Sep 2005 12:58
49 lines
3154 bytes
On 2005-09-19, evadnikufesin <evadnikufesin@gmail.99999.com> wrote:
> Hi,
>
> So I use slrn when I read groups from my shell account.  When I'm viewing
> messages I'm in a split-view I want the thread view in the top section of
> the screen to be larger than it is (it's currently only about 20% of the
> screen).  How do I adjust that?
>
> Thanks.

.-----[ slrn FAQ ]
| 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).
'-----

I haven't tried that macro myself; I find it easier to use the z toggle to 
go to 'article full screen' or the h toggle to get 'headers full screen' as 
required.  ^ and Ctrl-^ move the bar up and down one line at a time.

? brings up useful reminders of the keyboard commands that are available.

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Technical Details
Message-ID: <39p203-slg.ln1@ID-107770.user.individual.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.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!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <1wd88zthnfyuc.dlg@news.evadnikufesin.com>

Show Full Headers
Complete Article Headers
Message-ID: <39p203-slg.ln1@ID-107770.user.individual.net>
Subject: Re: [srln] set size of thread view?
Date: Mon, 19 Sep 2005 13:58:43 +0100
From: Whiskers <catwheezel@operamail.com>
References: <1wd88zthnfyuc.dlg@news.evadnikufesin.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.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!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Organization: is an alien concept
Lines: 49
X-Trace: individual.net HMdboqXHoWuOuPIUIn+knAX05vNibrCoO9SNeRhjo7eDYzUTbu
X-Orig-Path: ID-107770.user.individual.net!news
X-Face: (8UIp\C%,7b>N'Aa}l7v*-4z\fb2ab=[r*LKrwTU]>W\E]YS3Cb3mZo1Ty.t2%6_KsTV_"Pmt)1xC~QW%bU/xrlDuux";
 aJOH0|Ka^MEDf"9Ck?FcYcR)aI~e[\"NW,mpyK}Q6dU[\BmvwRD00xYer];
 5mR_!\-haGb/=!*bDWCm0~!G7ewqq7*|#g2#uEBhnKk60qLJ":i_#zfZ'cH`2a^!q_lzxh@p&
 g^8<z5>HA
User-Agent: slrn/0.9.8.1 (Linux)