Article View: news.software.readers
Article #74826Re: slrn, top_status_line, and %g
From: Thomas Schultz
Date: Fri, 30 Mar 2001 20:46
Date: Fri, 30 Mar 2001 20:46
23 lines
1999 bytes
1999 bytes
* 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" However, note that the space needed by %d and %t depends on the "locale" setting you use, so you might have to change the "-18". -- Thomas Schultz <tststs@gmx.de> * Recent news from http://slrn.sourceforge.net/ -> [2001-03-28] slrn 0.9.7.0 released -> [2001-03-15] Public preview of slrn 0.9.7.0 -> [2001-01-28] First steps towards slrn 0.9.7.0
Technical Details
Message-ID:
<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!freenix!fr.clara.net!heighliner.fr.clara.net!news.tele.dk!193.174.75.178!news-fra1.dfn.de!news-koe1.dfn.de!do.de.uu.net!innmaster.de.uu.net!news.cityweb.de!tststs.ddns.org!not-for-mailReferences:
<slrn9c9kd5.2a0.adamb@enkidu.adamb.xnet.com>Show Full Headers
Complete Article Headers
Message-ID: <slrn9c9s49.qg.tststs@starflower.tststs.ddns.org> Subject: Re: slrn, top_status_line, and %g Date: Fri, 30 Mar 2001 20:46:01 +0000 From: tststs@gmx.de (Thomas Schultz) References: <slrn9c9kd5.2a0.adamb@enkidu.adamb.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!freenix!fr.clara.net!heighliner.fr.clara.net!news.tele.dk!193.174.75.178!news-fra1.dfn.de!news-koe1.dfn.de!do.de.uu.net!innmaster.de.uu.net!news.cityweb.de!tststs.ddns.org!not-for-mail Newsgroups: news.software.readers Organization: Pinguin online. Lines: 22 NNTP-Posting-Host: 149.225.26.129 NNTP-Posting-Date: 30 Mar 2001 21:15:17 GMT X-Complaints-To: abuse@cityweb.de X-Server-Date: 30 Mar 2001 21:12:50 GMT User-Agent: slrn/0.9.7.0 (Linux)