🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
24 messages
24 total messages Started by Crashdamage Sun, 08 May 2005 16:04
SLRN how to set default header_display_format
#166460
Author: Crashdamage
Date: Sun, 08 May 2005 16:04
17 lines
2044 bytes
This might be a dumb question, but I can't find how to do it.  I'd like
to change the default header display format in the article display.
Maybe I'm missing it, but the slrn manual apparently doesn't list an
option to set the default display format, it only talks about a limit of
10 variations and using 'esc a' to toggle formats.

Just seems kinda silly having to hit 'esc a' and toggle the header 
display to the format I want, like there should be a way to have slrn
start with the format I want but I'm not smart enough to find it.  With
all the options available in slrn, it's hard to believe this has been 
left out.

Any idea how to correctly do this - if possible?  I'd write a macro - if
I could...but I'm macro-challenged...

-- 
Registered Linux user #266531
Re: SLRN how to set default header_display_format
#166464
Author: W. Citoan
Date: Sun, 08 May 2005 16:16
28 lines
1934 bytes
Crashdamage wrote:
>  This might be a dumb question, but I can't find how to do it.  I'd
>  like to change the default header display format in the article
>  display.  Maybe I'm missing it, but the slrn manual apparently
>  doesn't list an option to set the default display format, it only
>  talks about a limit of 10 variations and using 'esc a' to toggle
>  formats.
>  
>  Just seems kinda silly having to hit 'esc a' and toggle the header
>  display to the format I want, like there should be a way to have slrn
>  start with the format I want but I'm not smart enough to find it.
>  With all the options available in slrn, it's hard to believe this has
>  been left out.
>  
>  Any idea how to correctly do this - if possible?  I'd write a macro -
>  if I could...but I'm macro-challenged...
>  

header_display_format 

See:
http://slrn.sourceforge.net/manual/slrn-manual-5.html#header_display_format

- W. Citoan
-- 
When we are planning for posterity, we ought to remember that virtue is not
hereditary.
-- Thomas Paine
Re: SLRN how to set default header_display_format
#166463
Author: Walker Moore
Date: Sun, 08 May 2005 16:16
16 lines
1873 bytes
On Sun, 08 May 2005 16:04:46 +0000, Crashdamage wrote:

> This might be a dumb question, but I can't find how to do it.  I'd like
> to change the default header display format in the article display.
> Maybe I'm missing it, but the slrn manual apparently doesn't list an
> option to set the default display format, it only talks about a limit of
> 10 variations and using 'esc a' to toggle formats.

I hope I haven't misunderstood, but if you want to set which headers are
visible in the article display, you need to adjust the visible_headers
line in your ~/.slrn.rc file.  See the default .slrn.rc that ships with
SLRN; usually in the following dir: /usr/share/doc/slrn-0.9.8.1/slrn.rc

-- 
Walker Moore
Re: SLRN how to set default header_display_format
#166472
Author: Crashdamage
Date: Sun, 08 May 2005 17:48
31 lines
2703 bytes
On Sun, 08 May 2005 16:16:05 -0000, W. Citoan <wcitoan@NOSPAM-yahoo.com> wrote:
> Crashdamage wrote:
>>  This might be a dumb question, but I can't find how to do it.  I'd
>>  like to change the default header display format in the article
>>  display.  Maybe I'm missing it, but the slrn manual apparently
>>  doesn't list an option to set the default display format, it only
>>  talks about a limit of 10 variations and using 'esc a' to toggle
>>  formats.
>>  
> header_display_format 

> See:
> http://slrn.sourceforge.net/manual/slrn-manual-5.html#header_display_format

Thanks, but I already read that - it's straight from the slrn file
manual.txt.  It explains the formatting, notes a limit of 10 variations
and the 'esc a' toggle function, etc., but doesn't say (far as I can 
tell) how to set the default header_display_format that slrn starts with
when viewing article headers.  In my case, I'd like it to open with #4 
from the manual's list of default formats included with slrn:

header_display_format 4 "%F%B%-5S [%10r]:%t%49s %-19g[%17d]"

Since slrn seems to not have an option to set this, probably I need a
macro it could intrepret at startup - kinda like the 'headers.sl' macro
I use to set the OS and uptime info in my headers.

Any ideas?

-- 
Registered Linux user #266531
Re: SLRN how to set default header_display_format
#166471
Author: Blinky the Shark
Date: Sun, 08 May 2005 17:57
37 lines
2425 bytes
Crashdamage wrote:
> This might be a dumb question, but I can't find how to do it.  I'd like
> to change the default header display format in the article display.
> Maybe I'm missing it, but the slrn manual apparently doesn't list an
> option to set the default display format, it only talks about a limit of
> 10 variations and using 'esc a' to toggle formats.

> Just seems kinda silly having to hit 'esc a' and toggle the header 
> display to the format I want, like there should be a way to have slrn
> start with the format I want but I'm not smart enough to find it.  With
> all the options available in slrn, it's hard to believe this has been 
> left out.

> Any idea how to correctly do this - if possible?  I'd write a macro - if
> I could...but I'm macro-challenged...

You should find something like this in your .slrnrc (it's in the sample
.slrnrc, at least):

<quote>

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

% Formats header display.  See man 4.1.6.

</quote>

R that part of TM, and put (your tweaked version of) this kind of line
in that section of *your* .slrnrc file:

header_display_format 0 "%F%-5S%-6l:[%19r]%t%s"

-- 
Blinky         Linux Registered User 297263
Killing all Usenet posts from Google Groups
Info:   http://blinkynet.net/comp/uip5.html
Re: SLRN how to set default header_display_format
#166475
Author: SINNER
Date: Sun, 08 May 2005 18:04
28 lines
2515 bytes
* Crashdamage wrote in news.software.readers:
> This might be a dumb question, but I can't find how to do it.  I'd like
> to change the default header display format in the article display.
> Maybe I'm missing it, but the slrn manual apparently doesn't list an
> option to set the default display format, it only talks about a limit of
> 10 variations and using 'esc a' to toggle formats.

> Just seems kinda silly having to hit 'esc a' and toggle the header 
> display to the format I want, like there should be a way to have slrn
> start with the format I want but I'm not smart enough to find it.  With
> all the options available in slrn, it's hard to believe this has been 
> left out.

> Any idea how to correctly do this - if possible?  I'd write a macro - if
> I could...but I'm macro-challenged...

The five variations listed in the manual are the defaults. There are no
settings in .slrnrc by default. Adding one with a continuation of the
number scheme showed in tha manual (starting at 5) will allow you to
cycle through new ones after you make it through 0-4. I chose to create
a NEW 0 in my slrnrc as I have no need to cycle through formats so when
I open slrn, the headers are displayed as I like them.

Hope this wasnt to convoluted.

-- 
David
If entropy is increasing, where is it coming from?
Re: SLRN how to set default header_display_format
#166476
Author: SINNER
Date: Sun, 08 May 2005 18:04
17 lines
1687 bytes
* Crashdamage wrote in news.software.readers:

[...]

> header_display_format 4 "%F%B%-5S [%10r]:%t%49s %-19g[%17d]"

> Since slrn seems to not have an option to set this, probably I need a
> macro it could intrepret at startup - kinda like the 'headers.sl' macro
> I use to set the OS and uptime info in my headers.

> Any ideas?

Make yours header_display_format 0

-- 
David
... I see TOILET SEATS ...
Re: SLRN how to set default header_display_format
#166478
Author: Crashdamage
Date: Sun, 08 May 2005 18:04
37 lines
2933 bytes
On Sun, 08 May 2005 17:16:51 +0100, Walker Moore <walker.moore@gmail.com> wrote:
> On Sun, 08 May 2005 16:04:46 +0000, Crashdamage wrote:

>> This might be a dumb question, but I can't find how to do it.  I'd like
>> to change the default header display format in the article display.
>> Maybe I'm missing it, but the slrn manual apparently doesn't list an
>> option to set the default display format, it only talks about a limit of
>> 10 variations and using 'esc a' to toggle formats.

> I hope I haven't misunderstood, but if you want to set which headers are
> visible in the article display, you need to adjust the visible_headers
> line in your ~/.slrn.rc file.  See the default .slrn.rc that ships with
> SLRN; usually in the following dir: /usr/share/doc/slrn-0.9.8.1/slrn.rc

Sorry, you did misunderstand, but it's my fault.  In the above quote,
instead of:

"...change the default header display format in the article display" 

I should've said: 

"...change the default header display format in the article *headers* 
display".

IOW, the article header listings, what you see after selecting a group, 
not the header for a single (opened for viewing) article.  What I really 
meant is discussed in the slrn manual under:

5.3.6 header_display_format

I'm just trying to figure out how to set a default format.  As far as I
can tell, it doesn't specify how to do that or have a specific option to
do it, and I'll likely need a macro.  But, like I said, I'm sorta
macro-challenged...

-- 
Registered Linux user #266531
Re: SLRN how to set default header_display_format
#166482
Author: Blinky the Shark
Date: Sun, 08 May 2005 18:14
34 lines
2694 bytes
SINNER wrote:
> * Crashdamage wrote in news.software.readers:
>> This might be a dumb question, but I can't find how to do it.  I'd like
>> to change the default header display format in the article display.
>> Maybe I'm missing it, but the slrn manual apparently doesn't list an
>> option to set the default display format, it only talks about a limit of
>> 10 variations and using 'esc a' to toggle formats.

>> Just seems kinda silly having to hit 'esc a' and toggle the header 
>> display to the format I want, like there should be a way to have slrn
>> start with the format I want but I'm not smart enough to find it.  With
>> all the options available in slrn, it's hard to believe this has been 
>> left out.

>> Any idea how to correctly do this - if possible?  I'd write a macro - if
>> I could...but I'm macro-challenged...

> The five variations listed in the manual are the defaults. There are no
> settings in .slrnrc by default. Adding one with a continuation of the
> number scheme showed in tha manual (starting at 5) will allow you to
> cycle through new ones after you make it through 0-4. I chose to create
> a NEW 0 in my slrnrc as I have no need to cycle through formats so when
> I open slrn, the headers are displayed as I like them.

> Hope this wasnt to convoluted.

If it was, lemme summarize for OP: essentially, the zero sets the default.
Notice the zero in the line I copied from my own .slrnrc in my other
response in the thread. No toggling; when I open slrn that happens.

-- 
Blinky         Linux Registered User 297263
Killing all Usenet posts from Google Groups
Info:   http://blinkynet.net/comp/uip5.html
Re: SLRN how to set default header_display_format
#166483
Author: Crashdamage
Date: Sun, 08 May 2005 18:20
34 lines
2707 bytes
On Sun, 08 May 2005 18:04:14 GMT, SINNER
 <99nesorjd@gates_of_hell.invalid> wrote:
> * Crashdamage wrote in news.software.readers:
>> This might be a dumb question, but I can't find how to do it.  I'd like
>> to change the default header display format in the article display.
>> Maybe I'm missing it, but the slrn manual apparently doesn't list an
>> option to set the default display format, it only talks about a limit of
>> 10 variations and using 'esc a' to toggle formats.

> The five variations listed in the manual are the defaults. There are no
> settings in .slrnrc by default. Adding one with a continuation of the
> number scheme showed in tha manual (starting at 5) will allow you to
> cycle through new ones after you make it through 0-4. 

Yeah, I got all that...but I'm kinda slow sometimes...

> I chose to create a NEW 0 in my slrnrc as I have no need to cycle through
> formats so when I open slrn, the headers are displayed as I like them.

Duh.  Why didn't I think of that? (whacks head with a cartoon hammer)
I just added this line to my .slrnrc:

 header_display_format 0 "%F%B%-5S [%10r]:%t%49s %-19g[%17d]"

...and all is well.

> Hope this wasnt to convoluted.

Only to the dull-minded like me...I should've thought of that before
wasting people's time...

But thanks to those who answered!
-- 
Registered Linux user #266531
Re: SLRN how to set default header_display_format
#166484
Author: W. Citoan
Date: Sun, 08 May 2005 18:28
31 lines
2189 bytes
Crashdamage wrote:
>  On Sun, 08 May 2005 16:16:05 -0000, W. Citoan
>  <wcitoan@NOSPAM-yahoo.com> wrote:
> >>  
> > header_display_format 
>  
> > See:
> > http://slrn.sourceforge.net/manual/slrn-manual-5.html#header_display_format
>  
>  Thanks, but I already read that - it's straight from the slrn file
>  manual.txt.  It explains the formatting, notes a limit of 10
>  variations and the 'esc a' toggle function, etc., but doesn't say
>  (far as I can tell) how to set the default header_display_format that
>  slrn starts with when viewing article headers.

Hmm, the manual does seem to be missing a key bit of information (i.e.
that 0 is the default display format).  That's a bit of an oversight
that I can see causing your confusion...

>  In my case, I'd like it to open with #4 from the manual's list of
>  default formats included with slrn:
>  
>  header_display_format 4 "%F%B%-5S [%10r]:%t%49s %-19g[%17d]"

As the others pointed out, make the formating you want number 0.

- W. Citoan
-- 
I have no trouble with my enemies. But my Goddam friends, they are the ones
that keep me walking the floor nights.
-- Warren G. Harding
Re: SLRN how to set default header_display_format
#166485
Author: SINNER
Date: Sun, 08 May 2005 18:44
16 lines
1572 bytes
* Crashdamage wrote in news.software.readers:

[...]

> I just added this line to my .slrnrc:

>  header_display_format 0 "%F%B%-5S [%10r]:%t%49s %-19g[%17d]"

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

Since we're comparing ;)

-- 
David
Short people get rained on last.
Re: SLRN how to set default header_display_format
#166486
Author: Crashdamage
Date: Sun, 08 May 2005 19:33
21 lines
2003 bytes
On Sun, 08 May 2005 18:44:38 GMT, SINNER
<99nesorjd@gates_of_hell.invalid> wrote:
> * Crashdamage wrote in news.software.readers:

> [...]

>> I just added this line to my .slrnrc:

>>  header_display_format 0 "%F%B%-5S [%10r]:%t%49s %-19g[%17d]"

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

> Since we're comparing ;)

Ahhh...Nice!  I gave it a slight tweak ([%15r] to [%10r]) to give a bit
more room for the subject in the small aterm I run slrn in, and I like 
it better than what I was using.  A keeper.

Thanks!
-- 
Registered Linux user #266531
Re: SLRN how to set default header_display_format
#166554
Author: Mike
Date: Tue, 10 May 2005 15:13
27 lines
1901 bytes
On Sun, 08 May 2005 19:33:25 GMT, Crashdamage wrote:
> On Sun, 08 May 2005 18:44:38 GMT, SINNER
><99nesorjd@gates_of_hell.invalid> wrote:
>> * Crashdamage wrote in news.software.readers:

>> [...]

>>> I just added this line to my .slrnrc:

>>>  header_display_format 0 "%F%B%-5S [%10r]:%t%49s %-19g[%17d]"

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

>> Since we're comparing ;)

> Ahhh...Nice!  I gave it a slight tweak ([%15r] to [%10r]) to give a bit
> more room for the subject in the small aterm I run slrn in, and I like 
> it better than what I was using.  A keeper.

Where are the default displays defined that one sees with ESC a? I looked in
~.slrnrc and /etc/slrn.rc but did not find them. I'd like to get both the
number of messages in the thread and the message length included in the above
definition.

-- 
  Thanks, Mike.
Re: SLRN how to set default header_display_format
#166555
Author: SINNER
Date: Tue, 10 May 2005 15:30
40 lines
2763 bytes
* Mike Wrote in news.software.readers:

> On Sun, 08 May 2005 19:33:25 GMT, Crashdamage wrote:
>> On Sun, 08 May 2005 18:44:38 GMT, SINNER
>><99nesorjd@gates_of_hell.invalid> wrote:
>>> * Crashdamage wrote in news.software.readers:
> 
>>> [...]
> 
>>>> I just added this line to my .slrnrc:
> 
>>>>  header_display_format 0 "%F%B%-5S [%10r]:%t%49s %-19g[%17d]"
> 
>>> header_display_format 0 "%F%-5S [%15r]%?C?%-4c&%-4l?
>>> %T%50s%-19g[%D]" 
> 
>>> Since we're comparing ;)
> 
>> Ahhh...Nice!  I gave it a slight tweak ([%15r] to [%10r]) to give
>> a bit more room for the subject in the small aterm I run slrn in,
>> and I like it better than what I was using.  A keeper.
> 
> Where are the default displays defined that one sees with ESC a?

As discussed in this thread, there are 4 programatic defaults that do 
not show up in any configs. TO override/change the exisitng ones, 
create a new one and add it to your .slrnrc. Using 0 will make it the 
default. 

> I
> looked in ~.slrnrc and /etc/slrn.rc but did not find them. I'd
> like to get both the number of messages in the thread and the
> message length included in the above definition.

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.

-- 
David
Re: SLRN how to set default header_display_format
#166575
Author: Crashdamage
Date: Wed, 11 May 2005 03:47
35 lines
2915 bytes
On Tue, 10 May 2005 15:30:53 GMT, SINNER <arcade.master@googlemail.net> wrote:
> * Mike Wrote in news.software.readers:

>>>>> I just added this line to my .slrnrc:
>> 
>>>>>  header_display_format 0 "%F%B%-5S [%10r]:%t%49s %-19g[%17d]"
>> 
>>>> header_display_format 0 "%F%-5S [%15r]%?C?%-4c&%-4l?
>>>> %T%50s%-19g[%D]" 
>> 
>>>> Since we're comparing ;)
>> 
>>> Ahhh...Nice!...A keeper.
>> 
>> Where are the default displays defined that one sees with ESC a?

> As discussed in this thread, there are 4 programatic defaults that do 
> not show up in any configs. TO override/change the exisitng ones, 
> create a new one and add it to your .slrnrc. Using 0 will make it the 
> default. 

>> I looked in ~.slrnrc and /etc/slrn.rc but did not find them. I'd
>> like to get both the number of messages in the thread and the
>> message length included in the above definition.

> 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.

And that little trick is what got me.  That and how it cleans up the
time and day listings over the one above I was using, one of the slrn 
defaults.
Thanks again.
-- 
Registered Linux user #266531
Re: SLRN how to set default header_display_format
#166574
Author: SINNER
Date: Wed, 11 May 2005 04:25
35 lines
2492 bytes
* Crashdamage wrote in news.software.readers:
> On Tue, 10 May 2005 15:30:53 GMT, SINNER <arcade.master@googlemail.net> wrote:

[...]

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

>>>>> Since we're comparing ;)

>>>> Ahhh...Nice!...A keeper.

[...]

>> 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.

> And that little trick is what got me.

I wish I could take credit but it is mentioned in the manual :)

> That and how it cleans up the
> time and day listings over the one above I was using, one of the slrn 
> defaults.

That one *is* mine ;)

> Thanks again.

NP!
-- 
David
If the rich could pay the poor to die for them, what a living the poor
could make!
Re: SLRN how to set default header_display_format
#166686
Author: Mike
Date: Fri, 13 May 2005 18:08
70 lines
3587 bytes
On Tue, 10 May 2005 15:30:53 GMT, SINNER wrote:
> * Mike Wrote in news.software.readers:

>> On Sun, 08 May 2005 19:33:25 GMT, Crashdamage wrote:
>>> On Sun, 08 May 2005 18:44:38 GMT, SINNER
>>><99nesorjd@gates_of_hell.invalid> wrote:
>>>> * Crashdamage wrote in news.software.readers:

>>>> [...]

>>>>> I just added this line to my .slrnrc:

>>>>>  header_display_format 0 "%F%B%-5S [%10r]:%t%49s %-19g[%17d]"

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

>>>> Since we're comparing ;)

>>> Ahhh...Nice!  I gave it a slight tweak ([%15r] to [%10r]) to give
>>> a bit more room for the subject in the small aterm I run slrn in,
>>> and I like it better than what I was using.  A keeper.

>> Where are the default displays defined that one sees with ESC a?

> As discussed in this thread, there are 4 programatic defaults that do 
> not show up in any configs. TO override/change the exisitng ones, 
> create a new one and add it to your .slrnrc. Using 0 will make it the 
> default. 

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.

>> I
>> looked in ~.slrnrc and /etc/slrn.rc but did not find them. I'd
>> like to get both the number of messages in the thread and the
>> message length included in the above definition.

> 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.



-- 
  Thanks, Mike.
Re: SLRN how to set default header_display_format
#166695
Author: SINNER
Date: Fri, 13 May 2005 23:55
60 lines
4050 bytes
* 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.
-- 
David
Assembly language experience is [important] for the maturity
and understanding of how computers work that it provides.
		-- D. Gries
Re: SLRN how to set default header_display_format
#166736
Author: 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.
Re: SLRN how to set default header_display_format
#166745
Author: SINNER
Date: Sat, 14 May 2005 18:55
23 lines
2233 bytes
* Mike wrote in news.software.readers:

[...]

> 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] ? 

The %D is defined by overview_date_format, here is the corresponding
entry in my .slrnrc

set overview_date_format "%b %d][%H:%M"

-- 
David
Parkinson's Fifth Law:
	If there is a way to delay in important decision, the good
	bureaucracy, public or private, will find it.
Re: SLRN how to set default header_display_format
#166764
Author: Crashdamage
Date: Sat, 14 May 2005 22:58
21 lines
2477 bytes
On Sat, 14 May 2005 18:55:53 GMT, SINNER
<99nesorjd@gates_of_hell.invalid> wrote:
> The %D is defined by overview_date_format, here is the corresponding
> entry in my .slrnrc

> set overview_date_format "%b %d][%H:%M"

After some more fiddling around, I've settled on using these:

  set overview_date_format "%b %d %H:%M

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

You might notice that those are exactly the same as yours, but with the 
brackets removed.  I just like the clean look it gives and it's still 
easy to read.

Asking a dumb question has ended up giving slrn a nice tune-up in my
header display.  I'll might have to get stupid more often...
-- 
Registered Linux user #266531
Re: SLRN how to set default header_display_format
#166796
Author: SINNER
Date: Sun, 15 May 2005 12:15
28 lines
2570 bytes
* Crashdamage wrote in news.software.readers:
> On Sat, 14 May 2005 18:55:53 GMT, SINNER
><99nesorjd@gates_of_hell.invalid> wrote:
>> The %D is defined by overview_date_format, here is the corresponding
>> entry in my .slrnrc

>> set overview_date_format "%b %d][%H:%M"

> After some more fiddling around, I've settled on using these:

>   set overview_date_format "%b %d %H:%M

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

> You might notice that those are exactly the same as yours, but with the 
> brackets removed.  I just like the clean look it gives and it's still 
> easy to read.

> Asking a dumb question has ended up giving slrn a nice tune-up in my
> header display.  I'll might have to get stupid more often...

Stupid is as stupid does :)

Glad it was helpful.

-- 
David
  Goes (Went) over like a lead balloon.
Re: SLRN how to set default header_display_format
#166808
Author: Mike
Date: Sun, 15 May 2005 14:58
24 lines
1917 bytes
On Sat, 14 May 2005 18:55:53 GMT, SINNER wrote:
> * Mike wrote in news.software.readers:

> [...]

>> 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] ? 

> The %D is defined by overview_date_format, here is the corresponding
> entry in my .slrnrc

> set overview_date_format "%b %d][%H:%M"

Neat. I added %y to give the year as well.

-- 
  Thanks, Mike.
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