🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #166736

Re: SLRN how to set default header_display_format

#166736
From: Mike
Date: Sat, 14 May 2005 16:38
69 lines
3972 bytes
On Fri, 13 May 2005 23:55:53 GMT, SINNER wrote:
> * Mike wrote in news.software.readers:
>> On Tue, 10 May 2005 15:30:53 GMT, SINNER wrote:

> This one was mine:

>>> header_display_format 0 "%F%-5S [%15r]%?C?%-4c&%-4l? %T%50s%-19g[%D]" 

> These are yours:

>> OK, I have added 

>> header_display_format 0 "%F%-5S [%10r]:%t%49s %-19g[%17d]"
>> header_display_format 1 "%F%-5S [%10r]%?C?%-4c&%-4l? %T%50s%-19g[%D]
>> header_display_format 2 "%F%-5S [%10r]:%t %?C?%-4c&%-4l? %T%50s%-19g[%D]
>> header_display_format 3 "%F%-5S [%10r]:%t%49s

>> just so I can scroll through them and see what is happening.

> Description of your problem and your display: 

>>> My definition (second on above) does that already. When the thread is 
>>> closed the number is the number of posts in thread, when the thread 
>>> is opened it switches to the length of the article.

>> Yes, but what I would like it to do is show both when the tread is expanded:

>> ->! - 2000 [Mike    ]:  27:    Re: SLRN how to set default   [10 May 05 10:13]
>>  2! - 1000 [SINNER  ]:  40:    |->                           [10 May 05 10:13]

>>  5! -  100 [Abelardo]:   7:  8 slrn: articles get scored w   [10 May 05 10:13]

>> Note that the expanded thread has a single set of arrows. However, I get two
>> set of arrows when I use your definition.

>> ->! - 1000 [SINNER    ]:  |__  40 |-->                       [10 May 05 10:30]

>> I'd like to have only the single arrows showing the thread.

>> One of the system definitions does that, but I want to move the name around
>> and add the date at the end.

> Have you tried editing it by adding it to your slrnrc (or is it one of
> the above?)

> Here is how mine (above) displays.

> 1! D  139 [Mike           ]  70 Re: SLRN how to set default header_display_format    [May 13][13:08]    
> 2! -   30 [John Wunderlich]  56 Re: [Xnews] info -> changed Xnews.exe -> s/HELO/EH   [May 13][15:14]
> 3! -   30 [mez            ]  70  |->                                                 [May 13][16:46]
> 4! -   30 [Black Baptist  ]   9 Re: Firefox wont launch in Xnews                     [May 13][09:54]
> 5! -   30 [Eggs Zachtly   ]  25  |->                                                 [May 13][15:26]

> The | is my 'artwork' as the Copy/Paste didnt put in the graphical
> arrows. Mine displays much 'prettier', I suspect your terminal of choice
> may be the issue.

Well, I am not sure what was the problem, but I finally settled on

header_display_format 0 "%F%-5S [%12r] %?C?%-4c     &    ? %?C?&%-4l:? %T%s%-19g[%D]"

to give me what I wanted.

BTW, how did you parse out the date and time separately (%D on my system just
gives [10 May 05 10:13] ? 

-- 
  Thanks, Mike.
Technical Details
Message-ID: <3ulhl2-8iu.ln1@news.invalid.99computer>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.ams.giganews.com!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!novia!novia!sequencer.newscene.com!not-for-mail
References: <1115568288.4196fc9f2e0933ea587dff61e1bd62d5@teranews> <tg02l2x8i1.ln2@news.gates_of_hell.com> <1115576440.5e551d4775ef74124cd24c252793d990@teranews> <te22l2xik1.ln2@news.gates_of_hell.com> <1115580807.c85d53d4f692b95e36354ec4e26d020c@teranews> <56v6l2-q77.ln1@news.invalid.99computer> <Xns96526AF67D5EALouiscypherhellorg@140.99.99.130> <8p6fl2-u1p.ln1@news.invalid.99computer> <f1rfl2xc9b.ln2@news.gates_of_hell.com>

Show Full Headers
Complete Article Headers
Message-ID: <3ulhl2-8iu.ln1@news.invalid.99computer>
Subject: Re: SLRN how to set default header_display_format
Date: Sat, 14 May 2005 16:38:04 +0000
From: Mike <MikeV05@privacy.net>
References: <1115568288.4196fc9f2e0933ea587dff61e1bd62d5@teranews> <tg02l2x8i1.ln2@news.gates_of_hell.com> <1115576440.5e551d4775ef74124cd24c252793d990@teranews> <te22l2xik1.ln2@news.gates_of_hell.com> <1115580807.c85d53d4f692b95e36354ec4e26d020c@teranews> <56v6l2-q77.ln1@news.invalid.99computer> <Xns96526AF67D5EALouiscypherhellorg@140.99.99.130> <8p6fl2-u1p.ln1@news.invalid.99computer> <f1rfl2xc9b.ln2@news.gates_of_hell.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.20140922.mbox.gz!number1.nntp.ams.giganews.com!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!novia!novia!sequencer.newscene.com!not-for-mail
Newsgroups: news.software.readers
Organization: Newscene Usenet News Service, http://www.newscene.com/
Lines: 69
X-no-archive: yes
User-Agent: slrn/0.9.8.1 (Linux)