🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #44542

Re: [slrn] set author_display

#44542
From: Scott Sellers
Date: Mon, 16 Nov 1998 00:00
55 lines
3004 bytes
Heikki Kantola <hezu@iki.fi> wrote:
>Thomas <thomas@digicron.com> informed
>news.software.readers with the following:
>>I'm using slrn 0.9.5.2 (and slrnpull) with FreeBSD 2.2.7 on my
>>standalone box at home (and I apologize if this should be a question
>>too silly - I'm rather a newbie). 
>>
>>I'd like to make slrn display subject then name. So I changed the
>>variable "set author_display" to 1 in my .slrnrc. Strangely, the
>>display does not change! 
>>
>>Do I miss some overriding system-wide config file? 
>
>Sort of, although the included slrn.rc doesn't mention it, that setting
>got phased out in favour of header_display_format, which allows you to 
>define order and sizes of different article listing elements in much
>more flexibly. Propably the best documentation for that new setting is
>still only in "changes.txt"-file, unless one can read Finnish in which
>case as I suggest taking look Slrn documentation by yours truly at 
><URL:http://www.iki.fi/hezu/slrn.html#header_display_format>.
> 
Since I use my .slrnrc as the first level of documentation for slrn, I
copied/condensed the following from changes.txt to that file awhile
back, then integrated the 'g' specifier when it became available.  For
anyone interested:

% 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
%	 g : column for next write to screen
%	 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, w
% is a width specifier of one or more digits, and x is one of the item
% specifiers listed above.  The format descriptor g is a special case,
% and uses the form: %[-]Xg, where X is the column (numbered from 0) for
% the next write to the screen.  If the minus sign is present, the
% cursor will be moved X columns from the right of the screen.
header_display_format 0 "%F%-5S %14r%-4l%t%s"

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

Technical Details
Message-ID: <slrn7512ag.19f.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: <slrn750brt.8c.thomas@i386DX40.home.net> <slrn750e34.8o7.hezu@tuuri.ling.helsinki.fi>

Show Full Headers
Complete Article Headers
Message-ID: <slrn7512ag.19f.sds@confab.home.org>
Subject: Re: [slrn] set author_display
Date: Mon, 16 Nov 1998 00:00:00 +0000
From: sds@cts.com (Scott Sellers)
References: <slrn750brt.8c.thomas@i386DX40.home.net> <slrn750e34.8o7.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: 412493658
Cache-Post-Path: wagasa.cts.com!root@confab.cts.com
Organization: CTS Network Services
User-Agent: slrn/0.9.5.4 (UNIX)
Newsgroups: news.software.readers