🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #74836

Re: slrn, top_status_line, and %g

#74836
From: Adam Bailey
Date: Fri, 30 Mar 2001 23:16
23 lines
1858 bytes
Thomas Schultz <tststs@gmx.de> wrote:
> * Adam Bailey [2001-03-30 18:33] :
> 
>> Could someone please give me examples of how to use %g with
>> top_status_line in my .slrnrc? I'm trying to intelligently columnize
>> the variables, but my experimentation keeps resulting in bizarre
>> truncations. What I want is to have %d and %t all the way over to the
>> right, with %v and %s on the left. Since %s varies in length, the
>> date and time keep getting moved around.
> 
> I think the trick you are looking for is to use a negative value with
> %g -- this will make slrn count N columns from the right edge of the
> window.  For example, the following works for me:
> 
>| set top_status_line "slrn %v * %s * %-18g%d %t"

Perfect. Thank you.

-- 
Adam Bailey    | Chicago, Illinois
adamb@lull.org | Finger/Web for PGP
adamkb@aol.com | http://www.lull.org/adam/
Technical Details
Message-ID: <slrn9ca4th.9gv.adamb@typhoon.xnet.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!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!news.xnet.com!adamb
References: <slrn9c9kd5.2a0.adamb@enkidu.adamb.xnet.com> <slrn9c9s49.qg.tststs@starflower.tststs.ddns.org>

Show Full Headers
Complete Article Headers
Message-ID: <slrn9ca4th.9gv.adamb@typhoon.xnet.com>
Subject: Re: slrn, top_status_line, and %g
Date: Fri, 30 Mar 2001 23:16:01 +0000
From: adamb@lull.org (Adam Bailey)
References: <slrn9c9kd5.2a0.adamb@enkidu.adamb.xnet.com> <slrn9c9s49.qg.tststs@starflower.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!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!news.xnet.com!adamb
Newsgroups: news.software.readers
Organization: Paranoid net.fascists, Anonymous
Lines: 22
NNTP-Posting-Host: typhoon.xnet.com
X-Trace: flood.xnet.com 985994161 682 198.147.221.66 (30 Mar 2001 23:16:01 GMT)
X-Complaints-To: abuse@xnet.com
NNTP-Posting-Date: Fri, 30 Mar 2001 23:16:01 +0000 (UTC)
Mail-Copies-To: nobody
User-Agent: slrn/0.9.7.0 (SunOS)