🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
11 messages
11 total messages Started by Scott Eberl Wed, 07 Apr 2004 10:04
header_display_format
#145915
Author: Scott Eberl
Date: Wed, 07 Apr 2004 10:04
10 lines
1411 bytes
I have been reading the slrn resource website and found that one can
change the format that the article headers are displayed. I checked my
.slrnrc file and there was nothing relating to this. What puzzles me is
esc+a still changes my views so where are those values being kept? Can I
just add in my own views in my .slrnrc file and use esc+a to cycle
through them or is there more involved to this?

-- 
If a man talks in the woods and their is
no woman to hear him is he still wrong?
Re: header_display_format
#145914
Author: Kees de Koster
Date: Wed, 07 Apr 2004 10:20
27 lines
2297 bytes
In article <slrnc77kfh.57n.scott@turncoat.charter.net>, Scott Eberl wrote:
> I have been reading the slrn resource website and found that one can
> change the format that the article headers are displayed. I checked my
> .slrnrc file and there was nothing relating to this. What puzzles me is
> esc+a still changes my views so where are those values being kept? Can I
> just add in my own views in my .slrnrc file and use esc+a to cycle
> through them or is there more involved to this?
> 

Yes you can and no there is nothing more involved to this, just add to
your .slrnrc file lines like these,
%
header_display_format 0 "   %18D  %20r %t%s%-8g #%-5S"
header_display_format 1 "   %14D  %24r %t%s%-8g #%-5S"
%

The above are samples ;-)

GG
Kees

[ A little bit of me... http://www.xs4all.nl/~kostercd/ ]
-- 
QOTD: Sacred cows make great hamburgers.
12:20:04 up 1 day, 4:40, 7 users, load average: 0.05, 0.17, 0.17
Linux Registered User #300181  |  ICQ #179658498
PGP (Public Key) available by request -- # EOE 
Re: header_display_format
#145956
Author: Blinky the Shark
Date: Wed, 07 Apr 2004 19:20
17 lines
1777 bytes
Scott Eberl wrote:
> I have been reading the slrn resource website and found that one can
> change the format that the article headers are displayed. I checked my
> .slrnrc file and there was nothing relating to this. What puzzles me
> is esc+a still changes my views so where are those values being kept?
> Can I just add in my own views in my .slrnrc file and use esc+a to
> cycle through them or is there more involved to this?

If you use (or otherwise still have a copy of) the template/sample
.slrnrc file that came with the program, look at section 7 for examples.
And that section refers you to manual section 4.1.6.

-- 
Blinky                                          Linux RU 4892F
http://linuxnotjustforgeeks.org
http://blinkynet.net
http://blinkynet.net/spag/w2000src.html - Win Source Code Leak
Re: header_display_format
#145961
Author: »Q«
Date: Thu, 08 Apr 2004 00:30
12 lines
1716 bytes
Blinky the Shark <no.spam@box.invalid> wrote in
<news:slrnc78l3f.h5b.no.spam@thurston.blinkynet.net>:

> If you use (or otherwise still have a copy of) the template/sample
> .slrnrc file that came with the program, look at section 7 for
> examples. And that section refers you to manual section 4.1.6.

What's the filename of the sample .slrnrc?  I didn't think mine came
with one, but maybe I just overlooked it.

-- 
»Q«
Re: header_display_format
#145968
Author: Blinky the Shark
Date: Thu, 08 Apr 2004 02:21
18 lines
1797 bytes
»Q« wrote:
> Blinky the Shark <no.spam@box.invalid> wrote in
><news:slrnc78l3f.h5b.no.spam@thurston.blinkynet.net>:

>> If you use (or otherwise still have a copy of) the template/sample
>> .slrnrc file that came with the program, look at section 7 for
>> examples. And that section refers you to manual section 4.1.6.

> What's the filename of the sample .slrnrc?  I didn't think mine came
> with one, but maybe I just overlooked it.

IIRC, .slrnrc .

-- 
Blinky                                          Linux RU 4892F
http://linuxnotjustforgeeks.org
http://blinkynet.net
http://blinkynet.net/spag/w2000src.html - Win Source Code Leak
Re: header_display_format
#145991
Author: Max
Date: Thu, 08 Apr 2004 12:28
25 lines
2017 bytes
On 04-07-2004, in news.software.readers,
Blinky the Shark <no.spam@box.invalid> wrote:

> »Q« wrote:
>> Blinky the Shark <no.spam@box.invalid> wrote in
>><news:slrnc78l3f.h5b.no.spam@thurston.blinkynet.net>:
>
>>> If you use (or otherwise still have a copy of) the
>>> template/sample .slrnrc file that came with the program, look at
>>> section 7 for examples. And that section refers you to manual
>>> section 4.1.6.
>
>> What's the filename of the sample .slrnrc?  I didn't think mine
>> came with one, but maybe I just overlooked it.
>
> IIRC, .slrnrc .

Could it be slrn.rc instead?. That's what its called in the source
files. Only thing of that name that had a section 7. [shrug]

Max

-- 
This is Linux country my good man, on a quiet night you can
hear the sound of Windows rebooting.
Re: header_display_format
#145992
Author: Blinky the Shark
Date: Thu, 08 Apr 2004 14:43
29 lines
2285 bytes
Max wrote:
> On 04-07-2004, in news.software.readers,
> Blinky the Shark <no.spam@box.invalid> wrote:

>> »Q« wrote:
>>> Blinky the Shark <no.spam@box.invalid> wrote in
>>><news:slrnc78l3f.h5b.no.spam@thurston.blinkynet.net>:

>>>> If you use (or otherwise still have a copy of) the
>>>> template/sample .slrnrc file that came with the program, look at
>>>> section 7 for examples. And that section refers you to manual
>>>> section 4.1.6.

>>> What's the filename of the sample .slrnrc?  I didn't think mine
>>> came with one, but maybe I just overlooked it.

>> IIRC, .slrnrc .

> Could it be slrn.rc instead?. That's what its called in the source
> files. Only thing of that name that had a section 7. [shrug]

Well, did that section seven match up with what we were talking about -- 
was it about setting the view of the header pane?

-- 
Blinky                                          Linux RU 4892F
http://linuxnotjustforgeeks.org
http://blinkynet.net
http://blinkynet.net/spag/w2000src.html - Win Source Code Leak
Re: header_display_format
#146052
Author: »Q«
Date: Fri, 09 Apr 2004 21:13
16 lines
1886 bytes
Max <argos2112@bellsouth.net> wrote in
<news:slrnc7ahaf.svf.argos2112@nowhere.invalid>:

>>> What's the filename of the sample .slrnrc?  I didn't think mine
>>> came with one, but maybe I just overlooked it.
>>
>> IIRC, .slrnrc .
>
> Could it be slrn.rc instead?. That's what its called in the source
> files. Only thing of that name that had a section 7. [shrug]

Thanks, that's it.  The ebuild script I used to compile slrn didn't put
that file in any of the usual places, so I had overlooked it.

-- 
»Q«
Re: header_display_format
#146057
Author: Max
Date: Fri, 09 Apr 2004 22:08
28 lines
2085 bytes
On 04-08-2004, in news.software.readers,
Blinky the Shark <no.spam@box.invalid> wrote:

> Max wrote:
>> On 04-07-2004, in news.software.readers,
>> Blinky the Shark <no.spam@box.invalid> wrote:

>>> IIRC, .slrnrc .
>
>> Could it be slrn.rc instead?. That's what its called in the
>> source files. Only thing of that name that had a section 7.
>> [shrug]
>
> Well, did that section seven match up with what we were talking
> about -- was it about setting the view of the header pane?

Negative. Not by a long shot. Next time, feel free to tell me I need
to pay attention to what I read. Follow that up with a less then
polite "butt out and go pound salt". Embarrassing isn't it?

However, one thing I can say in my defense is, umm...... Nope, I got
nothing.

Max

-- 
This is Linux country my good man, on a quiet night you can
hear the sound of Windows rebooting.
Re: header_display_format
#146058
Author: Blinky the Shark
Date: Fri, 09 Apr 2004 23:32
52 lines
3068 bytes
Max wrote:
> On 04-08-2004, in news.software.readers,
> Blinky the Shark <no.spam@box.invalid> wrote:

>> Max wrote:
>>> On 04-07-2004, in news.software.readers,
>>> Blinky the Shark <no.spam@box.invalid> wrote:

>>>> IIRC, .slrnrc .

>>> Could it be slrn.rc instead?. That's what its called in the
>>> source files. Only thing of that name that had a section 7.
>>> [shrug]

>> Well, did that section seven match up with what we were talking
>> about -- was it about setting the view of the header pane?

> Negative. Not by a long shot. Next time, feel free to tell me I need
> to pay attention to what I read. Follow that up with a less then
> polite "butt out and go pound salt". Embarrassing isn't it?

> However, one thing I can say in my defense is, umm...... Nope, I got
> nothing.

The relevant help/template lines from my .slrnrc

+++++++++++++++++++++++++++++++++++++++++++++++++

%% 7. Some preferences for the header window (see the manual for more)
%

% Formats header display.  See man 4.1.6.

%below fine, shows scores
%header_display_format 4 "%F%-5S%-5l:[%20r]%t%s"
%below moved to 0 as default
header_display_format 0 "%F%-5S%-5l:[%20r]%t%s"
%below works but offsets right 3 col
%header_display_format 4 "%F%?S?>>>?%-5l:[%20r]%t%s"
%below displays symbols for +scores
%header_display_format 4 "%F%?S?>>>>>&     ?%-5l:[%20r]%t%s"

+++++++++++++++++++++++++++++++++++++++++++++++++

Here, the reference to man 4.1.6 (where coding is explained) points
to that section of  /usr/share/doc/slrn-0.9.7.4/manual.txt

-- 
Blinky                                          Linux RU 4892F
http://linuxnotjustforgeeks.org
http://blinkynet.net
http://blinkynet.net/spag/w2000src.html - Win Source Code Leak
Re: header_display_format
#146241
Author: Naota Hashimoto
Date: Tue, 13 Apr 2004 04:06
42 lines
2755 bytes
On 2004-04-09, Max <argos2112@bellsouth.net> wrote:
> On 04-08-2004, in news.software.readers,
> Blinky the Shark <no.spam@box.invalid> wrote:
>
>> Max wrote:
>>> On 04-07-2004, in news.software.readers,
>>> Blinky the Shark <no.spam@box.invalid> wrote:
>
>>>> IIRC, .slrnrc .
>>
>>> Could it be slrn.rc instead?. That's what its called in the
>>> source files. Only thing of that name that had a section 7.
>>> [shrug]
>>
>> Well, did that section seven match up with what we were talking
>> about -- was it about setting the view of the header pane?
>
> Negative. Not by a long shot. Next time, feel free to tell me I need
> to pay attention to what I read. Follow that up with a less then
> polite "butt out and go pound salt". Embarrassing isn't it?
>
> However, one thing I can say in my defense is, umm...... Nope, I got
> nothing.

In the sample slrn.rc there isn't an instance of header_display_format,
but the defaults are:

header_display_format 0 "%F%B%-5S%G%-5l:[%12r]%t%s"
header_display_format 1 "%F%B%G%-5l:[%12r]%t%s"
header_display_format 2 "%F%B%-5l:%t%s"
header_display_format 3 "%F%B%-5S%-5l:%t%50s %r"
header_display_format 4 "%F%B%-5S [%10r]:%t%49s %-19g[%17d]"
header_display_format 5 "%I%B%-5S%G%-5l:[%12r]%t%s"

Again, the above header_display_format example isn't in the example file unless
you put it there.  Hope I helped a bit.

Naota Hashimoto

-- 
naSota@tPampabay.rAr.cMom - > (remove 'S P A M')
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads