🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
9 messages
9 total messages Started by Sven Guckes Thu, 26 Feb 1998 00:00
slrn - group menu - show all groups within newsrc
#39164
Author: Sven Guckes
Date: Thu, 26 Feb 1998 00:00
14 lines
1291 bytes
slrn-0.9.4.3:
Is there a command to show the *unsubscribed* newsgroups within my newsrc, too?

I often unsubscribe to a group for a while, using 'u' within the group menu.
But sometimes I'd like to resubscribe to them for further reading.
But I am too lazy to "add" them manually with 'L'.
I'd just like to see them in the group menu and press 's' to resubscribe.
Ming you, I just want to see the unsubscribed newsgroups that are already
within my newsrc already - not all of the active newsgroups on my server.

Sven

Re: slrn - group menu - show all groups within newsrc
#39136
Author: Paul Kimoto
Date: Thu, 26 Feb 1998 00:00
14 lines
1131 bytes
In article <slrn6fb7aj.380.guckes@rudin.math.fu-berlin.de>, Sven Guckes wrote:
>slrn-0.9.4.3:
> Is there a command to show the *unsubscribed* newsgroups within my newsrc,
> too?

Does "L * [RET]" do what you want?

-- 
|||    "It was not granted you to complete the task, and           |||
|||     yet you may not give it up."      --Rabbi Tarfon           |||
|  Paul Kimoto                     <kimoto@spacenet.tn.cornell.edu>  |

Re: slrn - group menu - show all groups within newsrc
#39138
Author: Sven Guckes
Date: Thu, 26 Feb 1998 00:00
16 lines
1340 bytes
kimoto@spacenet.tn.cornell.edu (Paul Kimoto):
> > Is there a command to show the *unsubscribed* newsgroups within my newsrc?
> Does "L * [RET]" do what you want?

No.  "L * [RET]" will query the newsserver for *all* newsgroups it has and
add all of these to my newsrc when it gets written.  I do *not* want this.

I just want to get the *unsubscribed* newsgroups within my *current* newsrc.
No more, no less.

Anyone?  JED?

Sven

Re: slrn wish - change_group_list
#39188
Author: Sven Guckes
Date: Fri, 27 Feb 1998 00:00
38 lines
2492 bytes
kimoto@spacenet.tn.cornell.edu (Paul Kimoto):
> > No.  "L * [RET]" will query the newsserver for *all* newsgroups it has and
> > add all of these to my newsrc when it gets written.  I do *not* want this.
> I have _neither_ of "set read_active 1" and "set use_xgtitle 1"
> in my .slrnrc, so for me "L * [RET]" does the desired task.

Yes, this works.  But as you cannot change variable values "on the fly"
you have to decide what you want *before* startup.

Actually, what I want is the full flexibility.
I'd rather have the command "change_group_list"
and get a prompt for this:

Type	Slrn's Prompt/Response
Level1: Chose kind of change to current list
L	"Change Newsgroup List (aAd):"
	a	"Add newsgroup from newsrc (asu):"
	A	"Add newsgroup from newsserver (asu):"
	d	"Delete newsgroup from current list (<regexpr>):"
	
Level2: Chose status of newsgroup:
a	"Add newsgroup from newsrc (asu):"
	a	"Add newsgroup from newsrc (<regexpr>):"
	u	"Add subscribed newsgroup from newsrc (<regexpr>):"
	u	"Add unsubscribed newsgroup from newsrc (<regexpr>):"

Level3:  Enter the newsgroup as a regexpr.
	Matching newsgroups will be added after current list item (group).

I know this adds quite much - but then I expect that this makes it
superfluous to know the value of several variables within the setup.  ;-)

Anyone else want this?  Or are there any objections to this idea?

Sven

Re: slrn - group menu - show all groups within newsrc
#39200
Author: Paul Kimoto
Date: Fri, 27 Feb 1998 00:00
18 lines
1527 bytes
In article <slrn6fbrsm.3m5.guckes@rudin.math.fu-berlin.de>, Sven Guckes wrote:
> No.  "L * [RET]" will query the newsserver for *all* newsgroups it has and
> add all of these to my newsrc when it gets written.  I do *not* want this.

Aha.  I have _neither_ of "set read_active 1" and "set use_xgtitle 1"
in my .slrnrc, so for me "L * [RET]" does the desired task.  Might
there be an SLang way to unset these variables?  (I don't know SLang
at all.)

(ref: SLRN FAQ, http://space.mit.edu/~davis/slrn-FAQ.html)

-- 
|||    "It was not granted you to complete the task, and           |||
|||     yet you may not give it up."      --Rabbi Tarfon           |||
|  Paul Kimoto                     <kimoto@spacenet.tn.cornell.edu>  |

Re: slrn - group menu - show all groups within newsrc
#39201
Author: Marc D. Williams
Date: Fri, 27 Feb 1998 00:00
23 lines
1455 bytes
On 26 Feb 1998 22:41:27 GMT, Sven Guckes <guckes@math.fu-berlin.de> wrote:
>kimoto@spacenet.tn.cornell.edu (Paul Kimoto):
>> > Is there a command to show the *unsubscribed* newsgroups within my newsrc?
>> Does "L * [RET]" do what you want?
>
>No.  "L * [RET]" will query the newsserver for *all* newsgroups it has and
>add all of these to my newsrc when it gets written.  I do *not* want this.
>
>I just want to get the *unsubscribed* newsgroups within my *current* newsrc.
>No more, no less.
>

Not sure if this'll work but start slrn with the name of your newsrc
(slrn -f newsrcfile).

Then "L * [RET]" may work without polling a news server.

I only use slrn offline (with slrnpull) so I'm unsure.

Marc

Re: slrn wish - change_group_list
#39203
Author: Ian T Zimmerman
Date: Fri, 27 Feb 1998 00:00
22 lines
1715 bytes
In article <slrn6fdbeu.42f.guckes@rudin.math.fu-berlin.de>,
Sven Guckes <guckes@math.fu-berlin.de> writes:
>  kimoto@spacenet.tn.cornell.edu (Paul Kimoto):
> > > No.  "L * [RET]" will query the newsserver for *all* newsgroups
> > > it has and add all of these to my newsrc when it gets written.
> > > I do *not* want this.
> > I have _neither_ of "set read_active 1" and "set use_xgtitle 1" in
> > my .slrnrc, so for me "L * [RET]" does the desired task.
>  Yes, this works.  But as you cannot change variable values "on the
> fly" you have to decide what you want *before* startup.

Within a slang script, can't you save the old values of the variables,
do the thing you want, then restore the saved values?

-- 
Ian T Zimmerman                        <itz@rahul.net>
I came to the conclusion that what was wrong about the guillotine
was that the condemned man had no chance at all, absolutely none.
Albert Camus, _The Outsider_

Re: slrn - group menu - show all groups within newsrc
#39212
Author: John E. Davis
Date: Sat, 28 Feb 1998 00:00
28 lines
1879 bytes
On 26 Feb 1998 16:50:27 GMT, Sven Guckes <guckes@math.fu-berlin.de>
wrote:
>I often unsubscribe to a group for a while, using 'u' within the group menu.
>But sometimes I'd like to resubscribe to them for further reading.
>But I am too lazy to "add" them manually with 'L'.
>I'd just like to see them in the group menu and press 's' to resubscribe.
>Ming you, I just want to see the unsubscribed newsgroups that are already
>within my newsrc already - not all of the active newsgroups on my server.

If you have `read_active' set to 1, then `L' will show all groups
matching a pattern that slrn has in its memory.  This may or may not
reflect what you have in your .newsrc file since that is determined by
the value of your write_newsrc_flags.

If you have `read_active' set to 0, the what `L' does depends upon the
value of `use_xgtitle'.  If `use_xgtitle' is 0, then `L' will show
only what is in your .newsrc file, otherwise it will query the server.

So, if `read_active' is 0 all you need to do is write a macro that
sets `use_xgtitle' to 0, and then calls the `L' function.  If
`read_active' is non-zero, then it is more tricky.  You may have to
write a macro that reads your .newsrc file and pops up a box showing
the unsubscribed groups.

--John

Re: slrn - group menu - show all groups within newsrc
#39258
Author: Sven Guckes
Date: Tue, 03 Mar 1998 00:00
33 lines
2172 bytes
davis@space.mit.edu (John E. Davis):
> If you have `read_active' set to 1, then `L' will show all groups
> matching a pattern that slrn has in its memory.  This may or may not
> reflect what you have in your .newsrc file since that is determined by
> the value of your write_newsrc_flags.
> 
> If you have `read_active' set to 0, the what `L' does depends upon the
> value of `use_xgtitle'.  If `use_xgtitle' is 0, then `L' will show
> only what is in your .newsrc file, otherwise it will query the server.
> 
> So, if `read_active' is 0 all you need to do is write a macro that
> sets `use_xgtitle' to 0, and then calls the `L' function.  If
> `read_active' is non-zero, then it is more tricky.  You may have to
> write a macro that reads your .newsrc file and pops up a box showing
> the unsubscribed groups.

I suggest to add that macro to the FAQ right away.

Looks like this command will cause all sorts of
trouble when you have to know about two variables
and write a macro just to be able to add/remove
some groups to/from the group menu.  *sigh*

What is the rationale to keep it the way it is?  Binary size?

Sven

-- 
"yeah, I know - patience patience patience.
 But I want to be a KungFu fighter *now*."

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