๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
14 messages
14 total messages Started by The Ohmster Sun, 21 Aug 2005 00:04
PING Blinky
#171845
Author: The Ohmster
Date: Sun, 21 Aug 2005 00:04
40 lines
2434 bytes
Blinky,

Thanks for finding the right place in the manual to find the header
display stuff. I read and re-read this stuff and it is under the section
about configuration files for slrn, e.g.: ~/.slrnrc, but I cannot put
that string in there where slrn accepts it. If I mess up the .slrnrc
file, slrn will not even start and bitches about the .slrnrc file and
what line is the culprit.

I see the various formats"

header_display_format 0
header_display_format 1
header_display_format 2
header_display_format 3
header_display_format 4

...and am not sure which is the one I want so I put a line like this:

header_display_format 0

or this:

set header_display_format 0

...into ~/.slrnrc and thought that I would then fire up slrn and try all
the numbers until I found the one I want. No dice, slrn does not like
this and won't run. I think that this manual is describing the various
combinations that you will get when you press ESC a. I just want to set
a default header display format so that slrn comes up the way I want it
to.

Did you set yours this way and if so, can you show me the pertinent
section of your ~/.slrnrc file where this is done?

Thanks.
-- 
~Ohmster
"Read Ohmster" in subject, bypass spam filter.
ohmster /a/t/ newsguy dot com
Re: PING Blinky
#171851
Author: SINNER
Date: Sun, 21 Aug 2005 00:30
55 lines
3046 bytes
* The Ohmster wrote in news.software.readers:
> Blinky,

> Thanks for finding the right place in the manual to find the header
> display stuff. I read and re-read this stuff and it is under the section
> about configuration files for slrn, e.g.: ~/.slrnrc, but I cannot put
> that string in there where slrn accepts it. If I mess up the .slrnrc
> file, slrn will not even start and bitches about the .slrnrc file and
> what line is the culprit.

> I see the various formats"

> header_display_format 0
> header_display_format 1
> header_display_format 2
> header_display_format 3
> header_display_format 4

You can cycle through these while in slrn. When slrn starts it is using
the one labled 0.

> ...and am not sure which is the one I want so I put a line like this:

> header_display_format 0

> or this:

> set header_display_format 0

You have to define it when you declare it.

> ...into ~/.slrnrc and thought that I would then fire up slrn and try all
> the numbers until I found the one I want. No dice, slrn does not like
> this and won't run. I think that this manual is describing the various
> combinations that you will get when you press ESC a. I just want to set
> a default header display format so that slrn comes up the way I want it
> to.

> Did you set yours this way and if so, can you show me the pertinent
> section of your ~/.slrnrc file where this is done?

You REALLY need to go back ans check out that tinyurl I gave you. It
explains this very well.

Here is mine:

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

The %D at the end is taken care of by this:

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

-- 
David
O elefante รฉ o รบnico animal com quatro joelhos.
Re: PING Blinky
#171853
Author: Blinky the Shark
Date: Sun, 21 Aug 2005 00:46
32 lines
1951 bytes
The Ohmster wrote:

> Did you set yours this way and if so, can you show me the pertinent
> section of your ~/.slrnrc file where this is done?

Exactly as it appears in my rc:

<q>

%% 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%-6l:[%19r]%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"

</q>

I don't know if that gap in the last one is an error or not.

-- 
Blinky                                     Linux Registered User 297263

Killing All Posts from GG:         http://blinkynet.net/comp/uip5.html
End Of The Good GG Archive GUI:    http://blinkynet.net/comp/gggui.html
Re: PING Blinky
#171856
Author: The Ohmster
Date: Sun, 21 Aug 2005 01:34
51 lines
3092 bytes
On 2005-08-21, Blinky the Shark <no.spam@box.invalid> wrote:
> The Ohmster wrote:
>
>> Did you set yours this way and if so, can you show me the pertinent
>> section of your ~/.slrnrc file where this is done?
>
> Exactly as it appears in my rc:
>
><q>
>
> %% 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%-6l:[%19r]%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"
>
></q>
>
> I don't know if that gap in the last one is an error or not.
>

Got it now, thanks Blinky. I tried your settings and I do not get any
errors when slrn starts. For some reason, this does not affect the
startup headers list layout at all, no matter what line I uncomment.
Then I tried the ones from the manual as now I know how to do it. Same
thing, the header layout remains the same no matter what line is
uncommented in ~/.slrnrc. I still have to hit ESC a to toggle to the
layout I want.

Hmmm, oh well, this is not a terribly big deal at all and I do
appreciate your sticking with this. I will just let it go for now but I
see how to tackle it when I decide to try it again. There are probably
several sample slrnrc files out on the net to explore, I will go have a
look. Lots of people love to show off their configs, especially when
they work on it and produce something to be proud of. Not saying that
yours is no good or even if what I want to do is possible, but will have
a look around now.

Thanks Blinky.
-- 
~Ohmster
"Read Ohmster" in subject, bypass spam filter.
ohmster /a/t/ newsguy dot com
Re: PING Blinky
#171860
Author: SINNER
Date: Sun, 21 Aug 2005 02:40
44 lines
2829 bytes
* The Ohmster wrote in news.software.readers:
> On 2005-08-21, Blinky the Shark <no.spam@box.invalid> wrote:
>> The Ohmster wrote:

>>> Did you set yours this way and if so, can you show me the pertinent
>>> section of your ~/.slrnrc file where this is done?

>> Exactly as it appears in my rc:

>><q>

>> %% 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%-6l:[%19r]%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"

>></q>

>> I don't know if that gap in the last one is an error or not.


> Got it now, thanks Blinky. I tried your settings and I do not get any
> errors when slrn starts. For some reason, this does not affect the
> startup headers list layout at all, no matter what line I uncomment.
> Then I tried the ones from the manual as now I know how to do it. Same
> thing, the header layout remains the same no matter what line is
> uncommented in ~/.slrnrc. I still have to hit ESC a to toggle to the
> layout I want.

Not true. any layout designated 0 (ZERO) in the slrnrc is the default, it must
be declared and defined but it works. I use it.

-- 
David
Optimization hinders evolution.
Re: PING Blinky
#171870
Author: The Ohmster
Date: Sun, 21 Aug 2005 03:48
48 lines
3322 bytes
On 2005-08-21, SINNER <99nesorjd@gates_of_hell.invalid> wrote:

>> Got it now, thanks Blinky. I tried your settings and I do not get any
>> errors when slrn starts. For some reason, this does not affect the
>> startup headers list layout at all, no matter what line I uncomment.
>> Then I tried the ones from the manual as now I know how to do it. Same
>> thing, the header layout remains the same no matter what line is
>> uncommented in ~/.slrnrc. I still have to hit ESC a to toggle to the
>> layout I want.
>
> Not true. any layout designated 0 (ZERO) in the slrnrc is the default, it must
> be declared and defined but it works. I use it.
>

Duuuuuuuuuude, you are *so* onto something here! I did what you said and
this time I swapped the first 0 for a 1 and on the second like, I
swapped the 1 for a 0. Since you say that zero always comes first and I
have to hit ESC a once to get the layout that I want, it stands to
reason that swapping the order of layouts 1 and 2 would do it.

It did, it worked, you rock man. :)

Blinky was trying to tell me all of this but he did not mention that the
display options were presented in order and that zero was first. That
was the key.

So thank you very much Blinky, for getting so aggravated with trying to
show me something that was not in my manual, or at least not where I
looked for it, and making sure that I finally got it and thanks Dave for
making this crystal clear.

I love it when a plan comes together!

This is what I ended up using in my ~/.slrnrc file:

%% 8. Some preferences for the article pager (see the manual for more)

% This sets how the article headers are presented.
% 0 will always come first.
header_display_format 1 "%F%B%-5S%G%-5l:[%12r]%t%s"
header_display_format 0 "%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]"
-- 
~Ohmster
"Read Ohmster" in subject, bypass spam filter.
ohmster /a/t/ newsguy dot com
Re: PING Blinky
#171875
Author: Blinky the Shark
Date: Sun, 21 Aug 2005 04:20
54 lines
3323 bytes
The Ohmster wrote:

> So thank you very much Blinky, for getting so aggravated with trying to
> show me something that was not in my manual, or at least not where I
> looked for it, and making sure that I finally got it and thanks Dave for
> making this crystal clear.
>
> I love it when a plan comes together!
>
> This is what I ended up using in my ~/.slrnrc file:
>
> %% 8. Some preferences for the article pager (see the manual for more)
>
> % This sets how the article headers are presented.
> % 0 will always come first.
> header_display_format 1 "%F%B%-5S%G%-5l:[%12r]%t%s"
> header_display_format 0 "%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]"

So apparently you did find a copy of manual.txt?  Or did you find the
above in your sample slrnrc?  (I note that it's in Part 8 (not Part 7,
where it was in my slrnrc -- perhaps that, too, is a ramification of 
my personal slrnrc being from back in 0.9.7.4 days.)

<q current manual.txt>

 5.3.6.  header_display_format

  Usage: header_display_format number format-string

  This command can be used to customize the way article headers are
  presented in the header overview in article mode. You can specify up
  to 10 different formats and switch among them using
  ``toggle_header_formats'' (default binding: ESC a). This command may
  also be used with a prefix argument to select a particular format,
  e.g., ESC 0 ESC a will select the 0th format.

  Here are slrn's default settings:

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

</q>

-- 
Blinky                                     Linux Registered User 297263

Killing All Posts from GG:         http://blinkynet.net/comp/uip5.html
End Of The Good GG Archive GUI:    http://blinkynet.net/comp/gggui.html
Re: PING Blinky
#171881
Author: The Ohmster
Date: Sun, 21 Aug 2005 04:46
58 lines
3955 bytes
On 2005-08-21, Blinky the Shark <no.spam@box.invalid> wrote:

> So apparently you did find a copy of manual.txt?  Or did you find the
> above in your sample slrnrc?  (I note that it's in Part 8 (not Part 7,
> where it was in my slrnrc -- perhaps that, too, is a ramification of 
> my personal slrnrc being from back in 0.9.7.4 days.)

Yes, I have manual.txt that came with slrn. I did not know what to look
for in it about the layout of the article window and you sent me off to
a certain section where this information was supposed to be but you
discovered that in my version of slrn, they moved that section to 5.3.6.
header_display_format in the manual. I did not have any of this in my
~/.slrnrc file but added it to section 8 because that was a likely place
to put it. Copied from the manual.txt right to ~/.slrnrc, section 8.

><q current manual.txt>
>
>  5.3.6.  header_display_format
>
>   Usage: header_display_format number format-string
>
>   This command can be used to customize the way article headers are
>   presented in the header overview in article mode. You can specify up
>   to 10 different formats and switch among them using
>   ``toggle_header_formats'' (default binding: ESC a). This command may
>   also be used with a prefix argument to select a particular format,
>   e.g., ESC 0 ESC a will select the 0th format.
>
>   Here are slrn's default settings:
>
>           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]"
>
></q>
>

Now to make this work the way I wanted, I copied the settings with the 0
and 1 reversed and it gave me the default layout that I wanted.


>           header_display_format 1 "%F%B%-5S%G%-5l:[%12r]%t%s"
>           header_display_format 0 "%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]"

And that worked out so darned good, you helped a lot, Blinky. Everything
you said was correct but after finding what you were telling me, I did
not know that slrn would load them in numerical order, starting with 0
as Dave pointed out. Changing the first two line format numbers is what
gave me the desired layout. :)
-- 
~Ohmster
"Read Ohmster" in subject, bypass spam filter.
ohmster /a/t/ newsguy dot com
Re: PING Blinky
#171883
Author: Blinky the Shark
Date: Sun, 21 Aug 2005 06:03
65 lines
4066 bytes
The Ohmster wrote:
> On 2005-08-21, Blinky the Shark <no.spam@box.invalid> wrote:
>
>> So apparently you did find a copy of manual.txt?  Or did you find the
>> above in your sample slrnrc?  (I note that it's in Part 8 (not Part 7,
>> where it was in my slrnrc -- perhaps that, too, is a ramification of 
>> my personal slrnrc being from back in 0.9.7.4 days.)
>
> Yes, I have manual.txt that came with slrn. I did not know what to look

Great!

> for in it about the layout of the article window and you sent me off to
> a certain section where this information was supposed to be but you
> discovered that in my version of slrn, they moved that section to 5.3.6.

Remember all that. It was just a few hours ago.  :)

> header_display_format in the manual. I did not have any of this in my
> ~/.slrnrc file but added it to section 8 because that was a likely place
> to put it. Copied from the manual.txt right to ~/.slrnrc, section 8.

Gotcha!

That it's in Part 7 of slrnrc here may also be (like the difference in
the manual.txt files) a difference between my old slrn and the newer ones.
I've been working under the assumption that header-list formatting is in
my Part 7 because that's where it appeared in my first (0.9.7.4) slrn;
but perhaps it wasn't there *anywhere* and I plugged it in like you
just did, and I happened to put it in 7.  Doesn't really matter where
it goes; location is just a convenience thing.

<chomp>

> Now to make this work the way I wanted, I copied the settings with the 0
> and 1 reversed and it gave me the default layout that I wanted.

>>           header_display_format 1 "%F%B%-5S%G%-5l:[%12r]%t%s"
>>           header_display_format 0 "%F%B%G%-5l:[%12r]%t%s"

So that's the one you like.  Gotcha.

>>           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]"
>
> And that worked out so darned good, you helped a lot, Blinky. Everything
> you said was correct but after finding what you were telling me, I did

It took us a while to get on the same page -- literally.  :)

> not know that slrn would load them in numerical order, starting with 0
> as Dave pointed out. Changing the first two line format numbers is what
> gave me the desired layout. :)

I only have the 0 one.  The rest are remmed out.  I just wanted to say
"remmed" because I haven't used that word since The Windows Decade.  :)

(Despite that, Esc-a still cycles through a few different displays.)

-- 
Blinky                                     Linux Registered User 297263

Killing All Posts from GG:         http://blinkynet.net/comp/uip5.html
End Of The Good GG Archive GUI:    http://blinkynet.net/comp/gggui.html
Re: PING Blinky
#171925
Author: Matt-the-Hoople
Date: Sun, 21 Aug 2005 18:41
7 lines
1261 bytes
Quoth % in news.software.readers

Had to share - I just read the topic as 'BING: Plinky ... twice!

Time to shut this thing off for a while.  :-P
-- 
Got lint?
Re: PING Blinky
#171929
Author: Blinky the Shark
Date: Sun, 21 Aug 2005 19:39
14 lines
1439 bytes
Matt-the-Hoople wrote:
> Quoth % in news.software.readers
>
> Had to share - I just read the topic as 'BING: Plinky ... twice!
>
> Time to shut this thing off for a while.  :-P

Step  away  from  the  bong .  :)

-- 
Blinky                                     Linux Registered User 297263

Killing All Posts from GG:         http://blinkynet.net/comp/uip5.html
End Of The Good GG Archive GUI:    http://blinkynet.net/comp/gggui.html
PING Jimmy Hoffa (was: Re: PING Blinky)
#171940
Author: Tim Hammerquist
Date: Sun, 21 Aug 2005 20:03
3 lines
1161 bytes
What the hell.  It's worth a try, right?

Tim
Re: PING Jimmy Hoffa
#171939
Author: Jimmy Hoffa
Date: Sun, 21 Aug 2005 20:38
3 lines
1536 bytes
Please, I have to get back to Giants Stadium.  What can I do for you?

Now playing: "Danny Elfman - Main Title Deconstruction"
Re: PING Jimmy Hoffa
#172111
Author: evadnikufesin
Date: Wed, 24 Aug 2005 04:44
10 lines
1950 bytes
On Sun, 21 Aug 2005 13:38:40 -0700, Jimmy Hoffa wrote:

> Please, I have to get back to Giants Stadium.  What can I do for you?
> 
> Now playing: "Danny Elfman - Main Title Deconstruction"

LOL!!!!

-- 
Thanks to Google Groups - I now MISS AOL users... :(
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