Thread View: news.software.readers
13 messages
13 total messages
Started by Gerfried Fuchs
Fri, 30 Oct 1998 00:00
[slrn] servers & new groups
Author: Gerfried Fuchs
Date: Fri, 30 Oct 1998 00:00
Date: Fri, 30 Oct 1998 00:00
25 lines
1498 bytes
1498 bytes
Hi!
I have 2 questions:
In my .slrnrc file I have specified 2 server lines (server "host1"
".newsrc1" and server "host2" ".newsrc2"). But I don't want to start
slrn all the time new with "slrn -h host1/2". Is it possible to 'switch'
the server?
And about new news-groups: I found out that I can mark them
unsubscribed as default - but it would be much better to have them not
even listed. Is this possible? Or is there a keybinding to 'kick'
unsubscribed out of the list? If not - is there a possibility to have
them appended to the end of the list rather than at the start?
TIA
--
.------------------------. _.---. |\__/,| (`\
| Gerfried "Alfie" Fuchs | /' | | |o o |__ _) )
| alfie@innocent.com | `-.|___| _.( T ) ` /
| http://come.to/alfie | .--'-`-. _((_ `^--' /_< \
`------------------------' .+|______|__.-||__)`-'(((/ (((/
Re: [slrn] servers & new groups
Author: Heikki Kantola
Date: Fri, 30 Oct 1998 00:00
Date: Fri, 30 Oct 1998 00:00
32 lines
2147 bytes
2147 bytes
Gerfried Fuchs <alfie@innocent.com> informed news.software.readers with the following: > In my .slrnrc file I have specified 2 server lines (server "host1" >".newsrc1" and server "host2" ".newsrc2"). But I don't want to start >slrn all the time new with "slrn -h host1/2". Is it possible to 'switch' >the server? Unfortunately not within Slrn. However, I would suggest creating couple shell aliases/functions to start slrn with different news servers. > And about new news-groups: I found out that I can mark them >unsubscribed as default - but it would be much better to have them not >even listed. Is this possible? Or is there a keybinding to 'kick' >unsubscribed out of the list? If not - is there a possibility to have >them appended to the end of the list rather than at the start? Start slrn with option "-n" to disable new groups check. And unfortunately there's no .slrnrc equivalent for that. And personally I wish there was some kind of intermediate mode between show all/none of the new groups, I mean that it would be nice I could hide new groups in certain hierarchies (eg. ones in languages you can't understand). -- Heikki "Hezu" Kantola, <Heikki.Kantola@IKI.FI> L�hett�m�ll� mainoksia tai muuta asiatonta s�hk�postia yll� olevaan osoitteeseen sitoudut maksamaan oikolukupalvelusta FIM500 alkavalta tunnilta.
Re: [slrn] servers & new groups
Author: Sylvan Butler
Date: Fri, 30 Oct 1998 00:00
Date: Fri, 30 Oct 1998 00:00
21 lines
1433 bytes
1433 bytes
In article <slrn73j1ik.mh1.alfie@skater.htu.tuwien.ac.at>, Gerfried Fuchs wrote:
> And about new news-groups: I found out that I can mark them
>unsubscribed as default - but it would be much better to have them not
>even listed. Is this possible? Or is there a keybinding to 'kick'
I wondered about that.
>unsubscribed out of the list? If not - is there a possibility to have
Seems like 'G' (look for new news) works.
sdb
--
| Sylvan Butler | Not speaking for Hewlett-Packard | sbutler-boi.hp.com |
| Watch out for my e-mail address. Thank UCE. #### change ^ to @ #### |
They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety. --Benjamin Franklin, 1755
"Don't Tread On Me!"
Re: [slrn] servers & new groups
Author: Sylvan Butler
Date: Fri, 30 Oct 1998 00:00
Date: Fri, 30 Oct 1998 00:00
17 lines
1418 bytes
1418 bytes
In article <slrn73jbpd.8hl.hezu@tuuri.ling.helsinki.fi>, Heikki Kantola wrote:
>And personally I wish there was some kind of intermediate mode between
>show all/none of the new groups, I mean that it would be nice I could
>hide new groups in certain hierarchies (eg. ones in languages you
>can't understand).
Such as support for tin's AUTO[UN]SUBSCRIBE variables.
sdb
--
| Sylvan Butler | Not speaking for Hewlett-Packard | sbutler-boi.hp.com |
| Watch out for my e-mail address. Thank UCE. #### change ^ to @ #### |
They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety. --Benjamin Franklin, 1755
"Don't Tread On Me!"
Re: [slrn] servers & new groups
Author: Dawn Owens-Nicholson
Date: Fri, 30 Oct 1998 00:00
Date: Fri, 30 Oct 1998 00:00
10 lines
1191 bytes
1191 bytes
Sylvan Butler wrote: > Such as support for tin's AUTO[UN]SUBSCRIBE variables. It won't *hide* groups, but if you want to automatically subscribe to or unsubscribe from certain new groups, there is a slrn macro available that will let you do this. See <slrn6vthe7.11g.bluemoon@ux6.cso.uiuc.edu>. I don't know how Tin's environment variables work, but I can talk to the macro's author to add support for them if you really want them.
Re: [slrn] servers & new groups
Author: Heikki Kantola
Date: Mon, 02 Nov 1998 00:00
Date: Mon, 02 Nov 1998 00:00
50 lines
3267 bytes
3267 bytes
Dawn Owens-Nicholson <bluemoon@ux6.cso.uiuc.edu> informed news.software.readers with the following: >Sylvan Butler wrote: >> Such as support for tin's AUTO[UN]SUBSCRIBE variables. > >It won't *hide* groups, but if you want to automatically subscribe to or >unsubscribe from certain new groups, there is a slrn macro available that >will let you do this. See <slrn6vthe7.11g.bluemoon@ux6.cso.uiuc.edu>. I >don't know how Tin's environment variables work, but I can talk to the >macro's author to add support for them if you really want them. Tin (some 1.3-unoff version) man page explains these variables followingly: AUTOSUBSCRIBE tin interprets this variable similarly to rn. It contains a list of patterns, separated by commas and possibly prefixed with exclamation points. A new group is checked against the list of patterns; if it matches, tin subscribes the user to the group without further query. An exclamation point negates the meaning of a match on this pattern, and can be used to cancel certain matches. For example, setting AUTOSUBSCRIBE=comp.os.unix.*,talk.*,!talk.politics.* will automatically subscribe the user to all new groups in the comp.os.unix hierarchy, and all talk groups other than talk.politics groups (which will be queried for as usual.) AUTOUNSUBSCRIBE tin interprets this variable similarly to rn. It is handled like the AUTOSUBSCRIBE variable, but groups matching the list are unsubscribed from without further query. For example, setting AUTOUNSUBSCRIBE=alt.flame.*,u*,!uk.* will automatically unsubscribe the user from all new alt.flame groups and all groups starting with u (university groups) other than UK groups (which will be queried for as usual.) As you read from above, there's one fundamental difference between tin's and rn-family's and slrn's new group subscribing procedure, tin/*rn asks what to do with each new group separately while slrn shows all new groups at once, but I think it would be quite nice if also Slrn could "skip the question" in case of totally uninteresting groups... -- Heikki "Hezu" Kantola, <Heikki.Kantola@IKI.FI> L�hett�m�ll� mainoksia tai muuta asiatonta s�hk�postia yll� olevaan osoitteeseen sitoudut maksamaan oikolukupalvelusta FIM500 alkavalta tunnilta.
Automatically (un)subscribing from/to newsgroups
Author: Dawn Owens-Nicholson
Date: Mon, 02 Nov 1998 00:00
Date: Mon, 02 Nov 1998 00:00
30 lines
2075 bytes
2075 bytes
First, thanks for the info. I'll talk to the author of the macro in <slrn6vthe7.11g.bluemoon@ux6.cso.uiuc.edu> about adding support for these environment variables. Heikki Kantola wrote: > AUTOSUBSCRIBE [...] A new group is checked against the list of patterns; > if it matches, tin subscribes the user to the group without further query. > > AUTOUNSUBSCRIBE [...] It is handled like the AUTOSUBSCRIBE variable, but > groups matching the list are unsubscribed from without further query. This makes me wonder what happens if the user sets both variables to the same thing: AUTOUNSUBSCRIBE=news.* AUTOSUBSCRIBE=news.* Which variable gets precedence; in this example would new news.* groups be subscribed or unsubscribed? > [...] tin/*rn asks what to do with each new group separately while slrn > shows all new groups at once, but I think it would be quite nice if also > Slrn could "skip the question" in case of totally uninteresting groups... Would you elaborate on letting slrn "skip the question"--do you mean, for instance, that groups which match the "!" wildmats, slrn should do what it would normally do (obey the unsubscribe_new_groups slrn.rc setting)? Or something else?
Re: Automatically (un)subscribing from/to newsgroups
Author: Jan Hlavacek
Date: Tue, 03 Nov 1998 00:00
Date: Tue, 03 Nov 1998 00:00
22 lines
2246 bytes
2246 bytes
On 3 Nov 1998 21:01:03 GMT, Dawn Owens-Nicholson
<bluemoon@ux6.cso.uiuc.edu> wrote:
> Personally, I don't think such variables are a good way to go for slrn--the
> macro works well if you think of the slrnrc unsubscribe_new_groups setting
> as the way you want to treat most new groups and use the macro to work on a
> list of exceptions (for instance, if you want to unsubscribe from most new
> groups except news.*, set the slrnrc setting to 1 and put "^news\." in the
> list the macro maintains). Also, regexes are more powerful than NNTP
> wildmats, so you can specify more complex rules (as S-Lang regexes become
> more powerful, this may obviate the need for "!" exceptions).
How about a "new_group_hook"? It would get the name of the group as an
argument, and return -1 to automatically unsubscribe, 1 to subscribe,
and 0 to unsubscribe but show.
--
Jan Hlav\'{a}\v{c}ek
lahvak@math.mps.ohio-state.edu (Blind Carbon Copies will bounce)
www: http://www.math.ohio-state.edu/~lahvak/
Re: Automatically (un)subscribing from/to newsgroups
Author: Heikki Kantola
Date: Tue, 03 Nov 1998 00:00
Date: Tue, 03 Nov 1998 00:00
42 lines
2826 bytes
2826 bytes
Dawn Owens-Nicholson <bluemoon@ux6.cso.uiuc.edu> informed news.software.readers with the following: >Heikki Kantola wrote: >> AUTOSUBSCRIBE [...] A new group is checked against the list of patterns; >> if it matches, tin subscribes the user to the group without further query. >> >> AUTOUNSUBSCRIBE [...] It is handled like the AUTOSUBSCRIBE variable, but >> groups matching the list are unsubscribed from without further query. > >This makes me wonder what happens if the user sets both variables to the >same thing: > > AUTOUNSUBSCRIBE=news.* > AUTOSUBSCRIBE=news.* > >Which variable gets precedence; in this example would new news.* groups >be subscribed or unsubscribed? Interesting question, might be that effect of such conflict is that default behaviour (ask whether to subscribe or not) is applied. I really don't know for sure, perhaps I should try that one day... >> [...] tin/*rn asks what to do with each new group separately while slrn >> shows all new groups at once, but I think it would be quite nice if also >> Slrn could "skip the question" in case of totally uninteresting groups... > >Would you elaborate on letting slrn "skip the question"--do you mean, for >instance, that groups which match the "!" wildmats, slrn should do what it >would normally do (obey the unsubscribe_new_groups slrn.rc setting)? Or >something else? Something along those lines, I meant that I would love that I could hide certain new groups (with possible exceptions) and rest would be shown (with my setup as unsubscribed) in the list as usual. -- Heikki "Hezu" Kantola, <Heikki.Kantola@IKI.FI> L�hett�m�ll� mainoksia tai muuta asiatonta s�hk�postia yll� olevaan osoitteeseen sitoudut maksamaan oikolukupalvelusta FIM500 alkavalta tunnilta.
Re: Automatically (un)subscribing from/to newsgroups
Author: Dawn Owens-Nicholson
Date: Tue, 03 Nov 1998 00:00
Date: Tue, 03 Nov 1998 00:00
28 lines
2528 bytes
2528 bytes
Heikki Kantola wrote:
> [...] I meant that I would love that I could hide certain new groups (with
> possible exceptions) and rest would be shown (with my setup as unsubscribed)
> in the list as usual.
The author of the macro tells me there is currently no way to hide
newsgroups without unsubscribing from them or marking all the articles in
the group as read then call("toggle_hidden"). This will only work if the
set of groups you want to hide are unsubscribed or contain no articles.
Unfortunately, this can't be counted on.
However, support for parsing AUTOSUBSCRIBE/AUTOUNSUBSCRIBE environment
variables and wildmats will be added as per those manual page snippets, and
some resolution to the problem raised (setting both variables to the same
thing) will be made. If you have definate info on what tin and the *rn
newsreaders do in that situation, the info would be appreciated. Setting up
and testing these newsreaders just to find this out is a lot of hassle.
Personally, I don't think such variables are a good way to go for slrn--the
macro works well if you think of the slrnrc unsubscribe_new_groups setting
as the way you want to treat most new groups and use the macro to work on a
list of exceptions (for instance, if you want to unsubscribe from most new
groups except news.*, set the slrnrc setting to 1 and put "^news\." in the
list the macro maintains). Also, regexes are more powerful than NNTP
wildmats, so you can specify more complex rules (as S-Lang regexes become
more powerful, this may obviate the need for "!" exceptions).
Re: Automatically (un)subscribing from/to newsgroups
Author: Dawn Owens-Nicholson
Date: Wed, 04 Nov 1998 00:00
Date: Wed, 04 Nov 1998 00:00
45 lines
2291 bytes
2291 bytes
Jan Hlavacek wrote:
> How about a "new_group_hook"? It would get the name of the group as an
> argument, and return -1 to automatically unsubscribe, 1 to subscribe,
> and 0 to unsubscribe but show.
I'd much rather have a way to specify what to hide and run a hide function.
I don't think it's wise to make the hiding-group functionality only good
with new newsgroups.
Also, a new_group_hook isn't really needed because new newsgroups are added
once at the top of the group list. All you need to do is test the top
newsgroup when you start slrn (slrn no longer adds new newsgroups when
checking for new news).
define new_group_hook_substitute ()
{
variable starting_group = current_newsgroup ();
call ("bob");
if (get_group_flags () & GROUP_NEW_GROUP_FLAG)
{
% there is at least one new newsgroup
}
else
{
% there are no new newsgroups
}
while (current_newsgroup () != starting_group)
() = group_search (starting_group);
}
define group_mode_startup_hook ()
{
.
.
new_group_hook_substitute ();
.
.
}
(So long as you don't hide or remove the group you started on, the while()
will work fine).
Tin and new groups (was: [slrn] servers & new groups)
Author: Greg Berigan
Date: Wed, 04 Nov 1998 00:00
Date: Wed, 04 Nov 1998 00:00
21 lines
1862 bytes
1862 bytes
hezu@iki.fi (Heikki Kantola) wrote:
> Tin (some 1.3-unoff version)
:
> As you read from above, there's one fundamental difference between
> tin's and rn-family's and slrn's new group subscribing procedure,
> tin/*rn asks what to do with each new group separately while slrn
> shows all new groups at once,
Maybe that version. The current version will present new groups at the
top of the list of groups, flagged as new. If you do nothing with them,
they disappear the next time you run tin (they stay unsubscribed), unless
you subscribe to them manually.
--
,=<#)-=# <http://incolor.inetnebr.com/wotw/> (The War of the Worlds)
,_--//--_,
_-~_-(####)-_~-_ "Did you see that Parkins boy's body in the tunnels?" "Just
(#>_--'~--~`--_<#) the photos. Worst thing I've ever seen; kid had no face."
A temporary fix
Author: Dawn Owens-Nicholson
Date: Fri, 06 Nov 1998 00:00
Date: Fri, 06 Nov 1998 00:00
42 lines
2880 bytes
2880 bytes
Because regexes are more powerful than wildmats, the AUTO(UN)SUBSCRIBE
documentation doesn't fully describe what happens (putting the same string
in both environment variables is not described) and "asking" about new
groups doesn't exist in slrn, the author of the AutoSubUnsub slrn macro asks
people to do the following until AutoSubUnsub is revised to handle
tin/*rn-style AUTO(UN)SUBSCRIBE environment variables:
1. Decide if the majority of new groups should be subscribed or unsubscribed.
If you want to subscribe to the majority of new groups, set the slrnrc
unsubscribe_new_groups setting to 0, otherwise set it to 1.
2. Download and install the AutoSubUnsub macro posted in
<slrn6vthe7.11g.bluemoon@ux6.cso.uiuc.edu> according to the directions
therein (available via DejaNews if your spool doesn't have it). These
links might work for a while:
http://www.dejanews.com/getdoc.xp?AN=391457192&fmt=raw
http://www.dejanews.com/getdoc.xp?AN=391457192
(That AN= index looks temporary)
3. Make a list of regular expressions that describe the /exceptions/ to the
decision you made in step 1. For example, if you decided you wanted to
subscribe to most new groups except all groups in the "alt" and
"comp.sys." hierarchies, add the following to a file:
^alt\.
^comp\.sys\.
Converting wildmats to regexes isn't too hard to do by hand:
"alt.*" becomes "^alt\." (or "^alt\..*$" for a literal translation)
"*news*" becomes "news" (or "^.*news.*$")
"new[ts]" remains "new[ts]"
"new\s" remains "new\s" (or "news" since `s' isn't a regex metachar)
"new[*?]" becomes "new[\*\?]" (or "new[*?]" if * and ? aren't metas here)
4. Save the file as .slrn-auto_sub_unsub_list in your homedir. If you don't
want to use that filename, save it as anything you wish and set the
AUTOSUBUNSUB environment variable to the pathname of the file.
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