Article View: news.software.readers
Article #36147Re: Slrn wish number 2
From: Byrial Jensen
Date: Thu, 18 Sep 1997 00:00
Date: Thu, 18 Sep 1997 00:00
30 lines
1626 bytes
1626 bytes
Daniel Price <dp@cs.brown.edu> wrote:
>On 7 Sep 1997 09:51:44 GMT, Byrial Jensen <byrial@post3.tele.dk> wrote:
>>
>>I made the width of author field user setable in the following patch.
>>Put in your .slrnrc file a line like:
>>
>> set author_field_width 15
>
>Shouldn't this be adjusted dynamically? At least for users with X11,
>if SLRN catches a SIGWINCH, i.e. I resize my SLRN window, then all
>fields should grow in size in some proportional way. This has been my
>wish for quite some time :)
>
>It might make more sense if the author_field_width was expressed as
>a fraction or percentage of the available free horizontal space.
Just use the resize_screen_hook and a little slang code. If you like
the author field to have, say, one sixth of the window width, the
following will do:
define resize_screen_hook ()
{
set_integer_variable ("author_field_width", SCREEN_WIDTH / 6);
}
Best regards
- Byrial
Technical Details
Message-ID:
<slrn622p9i.d5.byrial@ask.ask>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!not-for-mailReferences:
<slrn60u6ag.n1f.itz@kronstadt.rahul.net> <slrn614u7n.et.byrial@ask.ask> <5vpifr$r8@cocoa.brown.edu>Show Full Headers
Complete Article Headers
Message-ID: <slrn622p9i.d5.byrial@ask.ask> Subject: Re: Slrn wish number 2 Date: Thu, 18 Sep 1997 00:00:00 +0000 From: byrial@post3.tele.dk (Byrial Jensen) References: <slrn60u6ag.n1f.itz@kronstadt.rahul.net> <slrn614u7n.et.byrial@ask.ask> <5vpifr$r8@cocoa.brown.edu> 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!not-for-mail X-Deja-AN: 273591054 X-Complaints-To: abuse@news.inet.tele.dk X-Trace: news.inet.tele.dk 874603995 46100 (None) 194.239.129.18 Newsgroups: news.software.readers