🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
18 messages
18 total messages Started by andrew Fri, 11 Apr 2008 12:34
[slrn] group_display_format problem
#219097
Author: andrew
Date: Fri, 11 Apr 2008 12:34
15 lines
1616 bytes
Hi,

I have a slightly puzzling problem with group_display_format with slrn
pre0.9.9-102/mm (patched with Thomas Wiegner's multipart patch).
Although I can toggle through the different group displays with Esc a
the following setting in my .slrnrc file has no effect:

group_display_format 2 "  %F%-5u [%-6t]  %n"

I have a deep suspicion that I am missing something simple here?

    Andrew

-- 
http://www.andrews-corner.org
Re: [slrn] group_display_format problem
#219099
Author: Tom Newton
Date: Fri, 11 Apr 2008 15:41
31 lines
1594 bytes
On 2008-04-11, in <20080411222815.267@ilium.andrews-corner.org>
andrew <andrew@ilium.invalid> wrote:


Hey Andrew,
> Hi,
>
> I have a slightly puzzling problem with group_display_format with slrn
> pre0.9.9-102/mm (patched with Thomas Wiegner's multipart patch).
> Although I can toggle through the different group displays with Esc a
> the following setting in my .slrnrc file has no effect:
>
> group_display_format 2 "  %F%-5u [%-6t]  %n"
>
> I have a deep suspicion that I am missing something simple here?
>
>
> http://www.andrews-corner.org

set group_dis...

??

Otherwise, it looks okay to me.

Tom

-- 
The Truth will set you free:
http://www.sethcenter.com
Re: [slrn] group_display_format problem
#219112
Author: Adam Funk
Date: Fri, 11 Apr 2008 20:04
25 lines
1882 bytes
On 2008-04-11, andrew wrote:

> I have a slightly puzzling problem with group_display_format with slrn
> pre0.9.9-102/mm (patched with Thomas Wiegner's multipart patch).
> Although I can toggle through the different group displays with Esc a
> the following setting in my .slrnrc file has no effect:
>
> group_display_format 2 "  %F%-5u [%-6t]  %n"
>
> I have a deep suspicion that I am missing something simple here?


I have [1] in my ~/.slrn/macros.sl; I think what you want in ~/.slrnrc
is [2], with "set" at the beginning.

[1]
set_group_display_format(0, "  %F %-5u [%-6t] %45n (H%-9h)");

[2]
set group_display_format 2 "  %F%-5u [%-6t]  %n"


-- 
Two of the most famous products of Berkeley are LSD and Unix.
I don't think that this is a coincidence.         [anonymous]
Re: [slrn] group_display_format problem
#219113
Author: Troy Piggins
Date: Fri, 11 Apr 2008 20:15
29 lines
2690 bytes
* andrew wrote:
> Hi,
>
> I have a slightly puzzling problem with group_display_format with slrn
> pre0.9.9-102/mm (patched with Thomas Wiegner's multipart patch).
> Although I can toggle through the different group displays with Esc a
> the following setting in my .slrnrc file has no effect:
>
> group_display_format 2 "  %F%-5u [%-6t]  %n"
>
> I have a deep suspicion that I am missing something simple here?

No idea.  I added that exact line to my .slrnrc and it worked
fine.  I don't use the mm patch.  Perhaps try it on an install
without the patch to see if there's something screwy going on
there?  Can't see how they're related, though.

You don't have another line starting with group_display_format 2
xxxx on it elsewhere in your rc's?

Hang on - you haven't commented out the default one and added
this line, have you?  What did you use to comment it out?
# or %?

-- 
Troy Piggins | http://piggo.com/~troy/slrn                    ___  |   __   __
                                                             |___  | |/   |/  |
                                                              ___| | |    |   |
                                                                         
Re: [slrn] group_display_format problem
#219114
Author: Troy Piggins
Date: Fri, 11 Apr 2008 20:29
34 lines
2755 bytes
* Adam Funk wrote:
> On 2008-04-11, andrew wrote:
>
>> I have a slightly puzzling problem with group_display_format with slrn
>> pre0.9.9-102/mm (patched with Thomas Wiegner's multipart patch).
>> Although I can toggle through the different group displays with Esc a
>> the following setting in my .slrnrc file has no effect:
>>
>> group_display_format 2 "  %F%-5u [%-6t]  %n"
>>
>> I have a deep suspicion that I am missing something simple here?
>
>
> I have [1] in my ~/.slrn/macros.sl; I think what you want in ~/.slrnrc
> is [2], with "set" at the beginning.
>
> [1]
> set_group_display_format(0, "  %F %-5u [%-6t] %45n (H%-9h)");
>
> [2]
> set group_display_format 2 "  %F%-5u [%-6t]  %n"

No.  Get rid of the "set".  It's a config command, not a
variable.

If you have the same command in several different sourced files,
try commenting them out and gradually introduce them to narrow it
down maybe?

-- 
Troy Piggins | http://piggo.com/~troy/slrn                    ___  |   __   __
                                                             |___  | |/   |/  |
                                                              ___| | |    |   |
                                                                         
Re: [slrn] group_display_format problem
#219115
Author: Adam Funk
Date: Fri, 11 Apr 2008 20:34
29 lines
2023 bytes
On 2008-04-11, Troy Piggins wrote:

>> I have [1] in my ~/.slrn/macros.sl; I think what you want in ~/.slrnrc
>> is [2], with "set" at the beginning.
>>
>> [1]
>> set_group_display_format(0, "  %F %-5u [%-6t] %45n (H%-9h)");
>>
>> [2]
>> set group_display_format 2 "  %F%-5u [%-6t]  %n"
>
> No.  Get rid of the "set".  It's a config command, not a
> variable.

Oops, sorry!

> If you have the same command in several different sourced files,
> try commenting them out and gradually introduce them to narrow it
> down maybe?

I only use [1] --- [2] came from (dodgy) reasoning by analogy.
:-(


-- 
Whereas a calculator like the Eniac is equipped with 18,000 
vacuum tubes and weighs 30 tons, computers in the future may
have only 1,000 tubes and perhaps only weigh one and a half 
tons.               (Popular Mechanics, 1949; in Stoll 1995)
Re: [slrn] group_display_format problem
#219116
Author: andrew
Date: Fri, 11 Apr 2008 20:43
27 lines
1988 bytes
On 2008-04-11, Adam Funk <a24061@ducksburg.com> wrote:

> I have [1] in my ~/.slrn/macros.sl; I think what you want in ~/.slrnrc
> is [2], with "set" at the beginning.
>
> [1]
> set_group_display_format(0, "  %F %-5u [%-6t] %45n (H%-9h)");
>
> [2]
> set group_display_format 2 "  %F%-5u [%-6t]  %n"

Unfortunately I have 3 situations:

1. group_display_format 2 "  %F%-5u [%-6t]  %n"
   Fails without error message.

2./home/andrew/news/.slrnrc: Error encountered processing line 170
  set group_display_format 2 "  %F%-5u [%-6t]  %n"

3./home/andrew/news/.slrnrc: Error encountered processing line 170
  set_group_display_format 2 "  %F%-5u [%-6t]  %n"

Exasperating to say the least.

         Andrew
-- 
http://www.andrews-corner.org
Re: [slrn] group_display_format problem
#219122
Author: andrew
Date: Fri, 11 Apr 2008 22:14
37 lines
2526 bytes
On 2008-04-11, Troy Piggins <usenet-0804@piggo.com> wrote:
> * andrew wrote:
>> I have a slightly puzzling problem with group_display_format with slrn
>> pre0.9.9-102/mm (patched with Thomas Wiegner's multipart patch).
>> Although I can toggle through the different group displays with Esc a
>> the following setting in my .slrnrc file has no effect:
>>
>> group_display_format 2 "  %F%-5u [%-6t]  %n"

> No idea.  I added that exact line to my .slrnrc and it worked
> fine.  I don't use the mm patch.  Perhaps try it on an install
> without the patch to see if there's something screwy going on
> there?  Can't see how they're related, though.

Hmmm... I shall shed all my patches and try again.

> You don't have another line starting with group_display_format 2
> xxxx on it elsewhere in your rc's?

I have just ransacked the file and found nothing.

> Hang on - you haven't commented out the default one and added
> this line, have you?  What did you use to comment it out?
> # or %?

Well oddly enough I don't recall having ever seen a default setting
for group_display_format in the slrn.rc file. Could be I am missing
something here.

Anyway I shall try without my alphabet soup of patches :-)

     Andrew



-- 
http://www.andrews-corner.org
Re: [slrn] group_display_format problem
#219123
Author: andrew
Date: Fri, 11 Apr 2008 22:36
12 lines
1640 bytes
On 2008-04-11, andrew <andrew@ilium.invalid> wrote:

> Anyway I shall try without my alphabet soup of patches :-)

Hmmmm.... no difference. So I cannot point the finger at the patches,
it must be something stupid I am doing. Just a second while I put the
patches back on :-)

    Andrew

-- 
http://www.andrews-corner.org
Re: [slrn] group_display_format problem
#219125
Author: andrew
Date: Fri, 11 Apr 2008 23:00
29 lines
2191 bytes
On 2008-04-11, Troy Piggins <usenet-0804@piggo.com> wrote:
> * andrew wrote:

>> I have a deep suspicion that I am missing something simple here?
>
> No idea.  I added that exact line to my .slrnrc and it worked
> fine.  I don't use the mm patch.  Perhaps try it on an install
> without the patch to see if there's something screwy going on
> there?  Can't see how they're related, though.
>
> You don't have another line starting with group_display_format 2
> xxxx on it elsewhere in your rc's?
>
> Hang on - you haven't commented out the default one and added
> this line, have you?  What did you use to comment it out?
> # or %?

The problem must be in my .slrnrc file as the problem persisted with a
vanilla slrn. I have posted the offending file:

http://www.andrews-corner.org/faulty_slrnrc

and I would be grateful to have my nose rubbed in the offending line
or set of errors.

         Andrew

-- 
http://www.andrews-corner.org
Re: [slrn] group_display_format problem
#219131
Author: Troy Piggins
Date: Fri, 11 Apr 2008 23:23
44 lines
3163 bytes
* andrew wrote:
> On 2008-04-11, Troy Piggins <usenet-0804@piggo.com> wrote:
>> * andrew wrote:
>
>>> I have a deep suspicion that I am missing something simple here?
>>
>> No idea.  I added that exact line to my .slrnrc and it worked
>> fine.  I don't use the mm patch.  Perhaps try it on an install
>> without the patch to see if there's something screwy going on
>> there?  Can't see how they're related, though.
>>
>> You don't have another line starting with group_display_format 2
>> xxxx on it elsewhere in your rc's?
>>
>> Hang on - you haven't commented out the default one and added
>> this line, have you?  What did you use to comment it out?
>> # or %?
>
> The problem must be in my .slrnrc file as the problem persisted with a
> vanilla slrn. I have posted the offending file:
>
> http://www.andrews-corner.org/faulty_slrnrc
>
> and I would be grateful to have my nose rubbed in the offending line
> or set of errors.

No idea - looks right.  Only thing I can suggest next is to add:

group_display_format 0 "xxxx"
group_display_format 1 "yyyy"

first to see if that helps somehow?

FYI the defaults are:

group_display_format 0 "  %F%-5u  %n%45g%d"
group_display_format 1 "  %F%-5u  %n%50g%-8l-%h"
group_display_format 2 "  %F%-5u [%-6t]  %n"

-- 
Troy Piggins | http://piggo.com/~troy/slrn                    ___  |   __   __
                                                             |___  | |/   |/  |
                                                              ___| | |    |   |
                                                                         
Re: [slrn] group_display_format problem
#219135
Author: andrew
Date: Sat, 12 Apr 2008 00:21
36 lines
2406 bytes
On 2008-04-11, Troy Piggins <usenet-0804@piggo.com> wrote:
> * andrew wrote:

[...]
>> The problem must be in my .slrnrc file as the problem persisted with a
>> vanilla slrn. I have posted the offending file:
>>
>> http://www.andrews-corner.org/faulty_slrnrc
>>
>> and I would be grateful to have my nose rubbed in the offending line
>> or set of errors.
>
> No idea - looks right.  Only thing I can suggest next is to add:
>
> group_display_format 0 "xxxx"
> group_display_format 1 "yyyy"
>
> first to see if that helps somehow?

No difference. Doh!!! Just to be clear though: I can toggle between
the various formats in the group display with no problems (and no
entries to this effect in ~/.slrnrc mind you), my problem is that I
want :

group_display_format 2 "  %F%-5u [%-6t]  %n"

to be the default when I open slrn. In this I am failing. I shall mull
this over for a day or so before slinking to slrn-users with my tail
between my legs. Mind you the default must be set in the source
somewhere .....

           Andrew


-- 
http://www.andrews-corner.org
Re: [slrn] group_display_format problem
#219136
Author: Troy Piggins
Date: Sat, 12 Apr 2008 00:42
44 lines
3260 bytes
* andrew wrote:
> On 2008-04-11, Troy Piggins <usenet-0804@piggo.com> wrote:
>> * andrew wrote:
>
> [...]
>>> The problem must be in my .slrnrc file as the problem persisted with a
>>> vanilla slrn. I have posted the offending file:
>>>
>>> http://www.andrews-corner.org/faulty_slrnrc
>>>
>>> and I would be grateful to have my nose rubbed in the offending line
>>> or set of errors.
>>
>> No idea - looks right.  Only thing I can suggest next is to add:
>>
>> group_display_format 0 "xxxx"
>> group_display_format 1 "yyyy"
>>
>> first to see if that helps somehow?
>
> No difference. Doh!!! Just to be clear though: I can toggle between
> the various formats in the group display with no problems (and no
> entries to this effect in ~/.slrnrc mind you), my problem is that I
> want :
>
> group_display_format 2 "  %F%-5u [%-6t]  %n"
>
> to be the default when I open slrn. In this I am failing. I shall mull
> this over for a day or so before slinking to slrn-users with my tail
> between my legs. Mind you the default must be set in the source
> somewhere ...

Ooooooohhhh!  Can I ask a dumb question?  Did you try changing
the format you want as the default to "0":

group_display_format 0 "  %F%-5u [%-6t]  %n"

Hope that helps.

-- 
Troy Piggins | http://piggo.com/~troy/slrn                    ___  |   __   __
                                                             |___  | |/   |/  |
                                                              ___| | |    |   |
                                                                         
Re: [slrn] group_display_format problem
#219141
Author: andrew
Date: Sat, 12 Apr 2008 02:36
32 lines
2467 bytes
On 2008-04-12, Troy Piggins <usenet-0804@piggo.com> wrote:
> * andrew wrote:

>>              [...] Just to be clear though: I can toggle between
>> the various formats in the group display with no problems (and no
>> entries to this effect in ~/.slrnrc mind you), my problem is that I
>> want :
>>
>> group_display_format 2 "  %F%-5u [%-6t]  %n"
>>
>> to be the default when I open slrn. In this I am failing. I shall mull
>> this over for a day or so before slinking to slrn-users with my tail
>> between my legs. Mind you the default must be set in the source
>> somewhere ...
>
> Ooooooohhhh!  Can I ask a dumb question?  Did you try changing
> the format you want as the default to "0":
>
> group_display_format 0 "  %F%-5u [%-6t]  %n"

You have as usual hit the nail on the head Troy! Thank you very much
for this solution which now has the group window exactly as I want. It
is perfectly logical when you look at it that way, obviously my brain
works a different way :-)

  Thanks again,

    Andrew


-- 
http://www.andrews-corner.org
Re: [slrn] group_display_format problem
#219149
Author: Troy Piggins
Date: Sat, 12 Apr 2008 04:36
33 lines
3105 bytes
* andrew wrote:
> On 2008-04-12, Troy Piggins <usenet-0804@piggo.com> wrote:
>> * andrew wrote:
>
>>>              [...] Just to be clear though: I can toggle between
>>> the various formats in the group display with no problems (and no
>>> entries to this effect in ~/.slrnrc mind you), my problem is that I
>>> want :
>>>
>>> group_display_format 2 "  %F%-5u [%-6t]  %n"
>>>
>>> to be the default when I open slrn. In this I am failing. I shall mull
>>> this over for a day or so before slinking to slrn-users with my tail
>>> between my legs. Mind you the default must be set in the source
>>> somewhere ...
>>
>> Ooooooohhhh!  Can I ask a dumb question?  Did you try changing
>> the format you want as the default to "0":
>>
>> group_display_format 0 "  %F%-5u [%-6t]  %n"
>
> You have as usual hit the nail on the head Troy! Thank you very much
> for this solution which now has the group window exactly as I want. It
> is perfectly logical when you look at it that way, obviously my brain
> works a different way :-)

No worries mate :)

-- 
Troy Piggins | http://piggo.com/~troy/slrn                    ___  |   __   __
                                                             |___  | |/   |/  |
                                                              ___| | |    |   |
                                                                         
Re: [slrn] group_display_format problem
#219162
Author: Adam Funk
Date: Sat, 12 Apr 2008 13:15
36 lines
2137 bytes
On 2008-04-11, andrew wrote:

> On 2008-04-11, Adam Funk <a24061@ducksburg.com> wrote:
>
>> I have [1] in my ~/.slrn/macros.sl; I think what you want in ~/.slrnrc
>> is [2], with "set" at the beginning.
>>
>> [1]
>> set_group_display_format(0, "  %F %-5u [%-6t] %45n (H%-9h)");
>>
>> [2]
>> set group_display_format 2 "  %F%-5u [%-6t]  %n"
>
> Unfortunately I have 3 situations:
>
> 1. group_display_format 2 "  %F%-5u [%-6t]  %n"
>    Fails without error message.
>
> 2./home/andrew/news/.slrnrc: Error encountered processing line 170
>   set group_display_format 2 "  %F%-5u [%-6t]  %n"

That's derived from my stupid & incorrect suggestion.


> 3./home/andrew/news/.slrnrc: Error encountered processing line 170
>   set_group_display_format 2 "  %F%-5u [%-6t]  %n"

Try something like my [1] above, but in an interpreted s-lang file
rather than .slrnrc itself?

I have to admit, the differences between s-lang and .slrnrc
configuration confuse me sometimes.


-- 
NO CARRIER
Re: [slrn] group_display_format problem
#219174
Author: andrew
Date: Sat, 12 Apr 2008 20:49
42 lines
2550 bytes
On 2008-04-12, Adam Funk <a24061@ducksburg.com> wrote:
> On 2008-04-11, andrew wrote:

>> Unfortunately I have 3 situations:
>>
>> 1. group_display_format 2 "  %F%-5u [%-6t]  %n"
>>    Fails without error message.
>>
>> 2./home/andrew/news/.slrnrc: Error encountered processing line 170
>>   set group_display_format 2 "  %F%-5u [%-6t]  %n"
>
> That's derived from my stupid & incorrect suggestion.
>
>
>> 3./home/andrew/news/.slrnrc: Error encountered processing line 170
>>   set_group_display_format 2 "  %F%-5u [%-6t]  %n"
>
> Try something like my [1] above, but in an interpreted s-lang file
> rather than .slrnrc itself?

Troy has suggested the solution which was the following in the
.slrnrc:


%========== New Order ====================== =====

group_display_format 0 "  %F%-5u [%-6t]  %n"
group_display_format 1 "  %F%-5u  %n%50g%-8l-%h"
group_display_format 2 "  %F%-5u  %n%45g%d"

%====== Old Default order =======================

% group_display_format 0 "  %F%-5u  %n%45g%d"
% group_display_format 1 "  %F%-5u  %n%50g%-8l-%h"
% group_display_format 2 "  %F%-5u [%-6t]  %n"


I could kick myself for not seeing this solution myself :-)

            Andrew
-- 
http://www.andrews-corner.org
Re: [slrn] group_display_format problem
#219208
Author: Adam Funk
Date: Sun, 13 Apr 2008 19:37
26 lines
2005 bytes
On 2008-04-12, andrew wrote:

> Troy has suggested the solution which was the following in the
> .slrnrc:
>
>
> %========== New Order ====================== =====
>
> group_display_format 0 "  %F%-5u [%-6t]  %n"
> group_display_format 1 "  %F%-5u  %n%50g%-8l-%h"
> group_display_format 2 "  %F%-5u  %n%45g%d"
>
> %====== Old Default order =======================
>
> % group_display_format 0 "  %F%-5u  %n%45g%d"
> % group_display_format 1 "  %F%-5u  %n%50g%-8l-%h"
> % group_display_format 2 "  %F%-5u [%-6t]  %n"
>
>
> I could kick myself for not seeing this solution myself :-)

That's OK, I could kick myself for my dumb suggestion.

-- 
Two of the most famous products of Berkeley are LSD and Unix.
I don't think that this is a coincidence.         [anonymous]
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