🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #47910

Re: [slrn]regular expression problem

#47910
From: Scott Sellers
Date: Sun, 11 Apr 1999 00:00
46 lines
2677 bytes
Heikki Kantola <hezu@iki.fi>:
>Fabrice kurz <ees1fk@mir.ee.surrey.ac.uk> informed
>news.software.readers with the following:
[...]
>>BTW, do you know how to increase the width of the columns in the group
>>headers? (especially the width for the authors of thearticles)?
>
>Yes, with header_display_format slrnrc command and its Slang equivalent
>set_header_display_format()you configure the order and size of various 
>elements of article listing to suit your wishes. Unfortunately AFAIK 
>only documentation (in English, I've whipped up something in Finnish 
>for my Slrn page at <URL:http://www.iki.fi/hezu/slrn.html>) for those 
>is still Slrn's changes.txt-file. In case you don't have that file (it
>is included in the standard Slrn source distribution), you can grab a
>copy from <URL:ftp://space.mit.edu/pub/davis/slrn/changes.txt>.
> 
For anyone interested, I transposed the following information
from changes.txt into my .slrnrc some time back.  IIRC, this
encompasses the original feature, plus a later addition which
involved some minor tweaking of JED's original text.

% This sets the header display format.  The following item specifiers
% are recognized:
%	 s : subject
%	 S : score
%	 r : author real name
%	 f : from header
%	 G : Group lens score
%	 l : Number of lines
%	 n : server number
%	 d : date
%	 t : thread tree
%	 F : flags (read/unread, `*' and `#' tags, header number)
%	 % : percent character
% The generic format specifier begins with the % character and must be
% of the form: %[-][w]x, where the brackets indicate optional items.
% The minus sign, if present, causes the field to be right justified,
% and w is a width specifier of one or more digits.  The x is one of the
% item specifiers listed above.
header_display_format 0 "%F%-5S %14r%-4l%t%s"

-- 
Scott Sellers  |
(sds@cts.com)  |

Technical Details
Message-ID: <slrn7h0fo3.4el.sds@confab.home.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!not-for-mail
References: <slrn7gs78k.gdj.ees1fk@mir.ee.surrey.ac.uk> <slrn7gu4af.2q8.hezu@tuuri.ling.helsinki.fi>

Show Full Headers
Complete Article Headers
Message-ID: <slrn7h0fo3.4el.sds@confab.home.org>
Subject: Re: [slrn]regular expression problem
Date: Sun, 11 Apr 1999 00:00:00 +0000
From: sds@cts.com (Scott Sellers)
References: <slrn7gs78k.gdj.ees1fk@mir.ee.surrey.ac.uk> <slrn7gu4af.2q8.hezu@tuuri.ling.helsinki.fi>
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: 465022867
X-Complaints-To: usenet@nusku.cts.com
X-Trace: nusku.cts.com 923811727 29217 198.68.171.126 (11 Apr 1999 06:22:07 GMT)
Organization: CTS Network Services
User-Agent: slrn/0.9.5.4 (UNIX)
NNTP-Posting-Date: 11 Apr 1999 06:22:07 GMT
Newsgroups: news.software.readers