Thread View: news.software.readers
29 messages
29 total messages
Started by Jack Gostl
Fri, 19 Apr 1996 00:00
slrn bugs
Author: Jack Gostl
Date: Fri, 19 Apr 1996 00:00
Date: Fri, 19 Apr 1996 00:00
12 lines
837 bytes
837 bytes
I'm running on slrn version 0.8.6.1. I frequently bring up slrn, and I find myself subscribed to several news groups that I know I didn't select. Is this a known bug? Is there an upgrade I should go to? Thanks - Jack -- Jack Gostl gostl@argoscomp.com
Re: slrn bugs
Author: Jack Gostl
Date: Fri, 19 Apr 1996 00:00
Date: Fri, 19 Apr 1996 00:00
36 lines
1962 bytes
1962 bytes
In article <slrn4nftmh.49u.evenh@storm.stud.unit.no>, evenh@storm.stud.unit.no wrote: >In article <slrn4nfogg.2npg.gostl@argos.argoscomp.com>, Jack Gostl wrote: >>I'm running on slrn version 0.8.6.1. I frequently bring up slrn, and I >>find myself subscribed to several news groups that I know I didn't >>select. Is this a known bug? Is there an upgrade I should go to? >> > >When you are starting slrn it connects to a news server, and it receives >notification of new groups. You are automatic subscribed to these new >groups. So this is not a bug, but slrn way of handling new groups. > >Two questions regarding new groups: > Is it possible not to subscribe to new groups? > Is it possible to get questions whether you want to subscribe to the > new groups as they come? (With possibility to skip them all) > I don't think I made myself clear in the foriginal message. When slrn comes up, I will see a number of groups with "N" in front of them, but I will also see one or more groups with NOTHING in front of them, even though I hadn't subscribed to them in the first place. Some are pretty persistent. I unsubscribed from one for the third time today. >-- >Even Holen (evenh@stud.unit.no) > -- Jack Gostl gostl@argoscomp.com
Re: slrn bugs
Author: evenh
Date: Fri, 19 Apr 1996 00:00
Date: Fri, 19 Apr 1996 00:00
20 lines
1353 bytes
1353 bytes
In article <slrn4nfogg.2npg.gostl@argos.argoscomp.com>, Jack Gostl wrote:
>I'm running on slrn version 0.8.6.1. I frequently bring up slrn, and I
>find myself subscribed to several news groups that I know I didn't
>select. Is this a known bug? Is there an upgrade I should go to?
>
When you are starting slrn it connects to a news server, and it receives
notification of new groups. You are automatic subscribed to these new
groups. So this is not a bug, but slrn way of handling new groups.
Two questions regarding new groups:
Is it possible not to subscribe to new groups?
Is it possible to get questions whether you want to subscribe to the
new groups as they come? (With possibility to skip them all)
--
Even Holen (evenh@stud.unit.no)
Re: slrn bugs
Author: John E. Davis
Date: Fri, 19 Apr 1996 00:00
Date: Fri, 19 Apr 1996 00:00
22 lines
1439 bytes
1439 bytes
On Fri, 19 Apr 1996 18:57:23 GMT, Jack Gostl <gostl@argos.argoscomp.com> wrote: : I'm running on slrn version 0.8.6.1. I frequently bring up slrn, and I : find myself subscribed to several news groups that I know I didn't : select. Is this a known bug? Is there an upgrade I should go to? 0.8.7 is the latest version (ftp://space.mit.edu/pub/davis/slrn/). You should press `l' to list all newsgroups that you are subscribed to and then unsubscribe from the ones you do not want. Then, only new newsgroups will appear in the future. If you want to automatically unsubscribe from them, add: set unsubscribe_new_groups 1 to your .slrnrc file. -- John E. Davis Center for Space Research/AXAF Science Center 617-258-8119 MIT 37-662c, Cambridge, MA 02139 http://space.mit.edu/~davis
Re: slrn bugs
Author: John E. Davis
Date: Sat, 20 Apr 1996 00:00
Date: Sat, 20 Apr 1996 00:00
30 lines
1886 bytes
1886 bytes
On Fri, 19 Apr 1996 23:46:44 GMT, Jack Gostl <gostl@argos.argoscomp.com> wrote: : In article <slrn4nftmh.49u.evenh@storm.stud.unit.no>, evenh@storm.stud.unit.no w : rote: : > Is it possible not to subscribe to new groups? Yes. See my previous response. : > Is it possible to get questions whether you want to subscribe to the : > new groups as they come? (With possibility to skip them all) Sort of. The `N' (see below) indicates that the group is new. If you press `u', you unsubscribe. You can think of the `N' in flag as meaning ``If you want to unsubscribe from this group, press `u'.'' Note also that `ESC 1 u' will permit you to unsubscribe from groups matching a pattern. : I don't think I made myself clear in the foriginal message. When slrn : comes up, I will see a number of groups with "N" in front of them, but I : will also see one or more groups with NOTHING in front of them, even : though I hadn't subscribed to them in the first place. Some are pretty : persistent. I unsubscribed from one for the third time today. This behavior has never been reported to me before. If you can duplicate it, please let me know. Thanks, --John
Re: slrn bugs
Author: Jack Gostl
Date: Sat, 20 Apr 1996 00:00
Date: Sat, 20 Apr 1996 00:00
36 lines
2223 bytes
2223 bytes
In article <slrn4ngk7g.nps.davis@wiwaxia.mit.edu>, John E. Davis wrote: >On Fri, 19 Apr 1996 23:46:44 GMT, Jack Gostl <gostl@argos.argoscomp.com> >wrote: > : In article <slrn4nftmh.49u.evenh@storm.stud.unit.no>, evenh@storm.stud.unit.no w > : rote: > : > Is it possible not to subscribe to new groups? > >Yes. See my previous response. > > : > Is it possible to get questions whether you want to subscribe to the > : > new groups as they come? (With possibility to skip them all) > >Sort of. The `N' (see below) indicates that the group is new. If you press >`u', you unsubscribe. You can think of the `N' in flag as meaning ``If you >want to unsubscribe from this group, press `u'.'' Note also that `ESC 1 u' >will permit you to unsubscribe from groups matching a pattern. > > : I don't think I made myself clear in the foriginal message. When slrn > : comes up, I will see a number of groups with "N" in front of them, but I > : will also see one or more groups with NOTHING in front of them, even > : though I hadn't subscribed to them in the first place. Some are pretty > : persistent. I unsubscribed from one for the third time today. > >This behavior has never been reported to me before. If you can duplicate >it, please let me know. Duplication is easy. Some days it happens every time I bring up slrn. Trouble is that I haven't been able to find a pattern yet. -- Jack Gostl gostl@argoscomp.com
Re: slrn bugs
Author: Ray Chow
Date: Sat, 20 Apr 1996 00:00
Date: Sat, 20 Apr 1996 00:00
14 lines
1075 bytes
1075 bytes
On 19 Apr 1996 20:25:54 GMT, evenh@storm.stud.unit.no <evenh@storm.stud.unit.no> wrote: >Two questions regarding new groups: > Is it possible not to subscribe to new groups? Yes. Use the "-n" option. > Is it possible to get questions whether you want to subscribe to the > new groups as they come? (With possibility to skip them all) I don't know. I'm running the OS/2 version right now and don't have the manual page.
Re: slrn bugs
Author: David Mears
Date: Mon, 22 Apr 1996 00:00
Date: Mon, 22 Apr 1996 00:00
26 lines
1444 bytes
1444 bytes
John E. Davis (davis@space.mit.edu) wrote: > should press `l' to list all newsgroups that you are subscribed to and then > unsubscribe from the ones you do not want. Then, only new newsgroups will > appear in the future. If you want to automatically unsubscribe from them, > add: > set unsubscribe_new_groups 1 > > to your .slrnrc file. I would much prefer to have behavior similar to the way tin handles new groups. That is, new groups would prompt whether or not to be included in the subscription. Most of the time, I don't want any of the new groups, and I don't want them showing up in my list. However, one or two groups per year are of interest, and I don't want to never see them because new groups are automatically unsubscribed. David B. Mears Hewlett-Packard Cupertino CA mears@cup.hp.com
Re: slrn bugs
Author: John E. Davis
Date: Tue, 23 Apr 1996 00:00
Date: Tue, 23 Apr 1996 00:00
40 lines
2159 bytes
2159 bytes
On 23 Apr 1996 18:17:16 GMT, Heikki Kantola <hkantola@cc.Helsinki.FI>
wrote:
: Um, did you actually try that slrn setting at all? Slrn happens to
: always show the new groups appended to the beginning of the group list,
: the setting just controls whether the groups are subscribed or not by
: default. I think it's quite good behaviour although it would be perfect
: if slrn would understand AUTOSUBSCRIBE and AUTOUNSUBSCRIBE enviroment
: variables (comma-separated list of groupname regexps) like atleast tin
: 1.3 and [s]trn does. Or actually I would wish the AUTOUNSUBSCRIBE-envvar
: in combination of unsubscribe by default would hide the newsgroup
: hierarchies which I would never ever want to subscribe...
I was not aware of these variables but it is easy to implement. Is this the
correct implementation?
--- slrn.c~ Mon Apr 15 03:45:34 1996
+++ slrn.c Tue Apr 23 18:48:09 1996
@@ -476,7 +476,12 @@
#ifdef VMS
SLdefine_for_ifdef ("VMS");
#endif
-
+
+ if (NULL != getenv ("AUTOSUBSCRIBE"))
+ Slrn_Unsubscribe_New_Groups = 0;
+ if (NULL != getenv ("AUTOUNSUBSCRIBE"))
+ Slrn_Unsubscribe_New_Groups = 1;
+
for (i = 1; i < argc; i++)
{
if (!strcmp ("-create", argv[i])) create_flag = 1;
--
John E. Davis Center for Space Research/AXAF Science Center
617-258-8119 MIT 37-662c, Cambridge, MA 02139
http://space.mit.edu/~davis
Re: slrn bugs
Author: Heikki Kantola
Date: Tue, 23 Apr 1996 00:00
Date: Tue, 23 Apr 1996 00:00
40 lines
2559 bytes
2559 bytes
David Mears <mears@cup.hp.com> provided the following for the eyes of news.software.readers: >John E. Davis (davis@space.mit.edu) wrote: > >> should press `l' to list all newsgroups that you are subscribed to and then >> unsubscribe from the ones you do not want. Then, only new newsgroups will >> appear in the future. If you want to automatically unsubscribe from them, >> add: > >> set unsubscribe_new_groups 1 >> >> to your .slrnrc file. > >I would much prefer to have behavior similar to the way tin handles new >groups. That is, new groups would prompt whether or not to be included >in the subscription. > >Most of the time, I don't want any of the new groups, and I don't want >them showing up in my list. However, one or two groups per year are of >interest, and I don't want to never see them because new groups are >automatically unsubscribed. Um, did you actually try that slrn setting at all? Slrn happens to always show the new groups appended to the beginning of the group list, the setting just controls whether the groups are subscribed or not by default. I think it's quite good behaviour although it would be perfect if slrn would understand AUTOSUBSCRIBE and AUTOUNSUBSCRIBE enviroment variables (comma-separated list of groupname regexps) like atleast tin 1.3 and [s]trn does. Or actually I would wish the AUTOUNSUBSCRIBE-envvar in combination of unsubscribe by default would hide the newsgroup hierarchies which I would never ever want to subscribe... -- Heikki Kantola aka Hezu@IRC, /// Ihmisel�m� ei ole ollenkaan Computer Linguistics Student /// niin monimutkaista kuin milt� at the University of Helsinki \\\/// se n�ytt�� - se on paljon E-Mail: Heikki.Kantola@Helsinki.FI\/// monimutkaisempaa.
Re: slrn bugs
Author: Reality is a point of view
Date: Tue, 23 Apr 1996 00:00
Date: Tue, 23 Apr 1996 00:00
26 lines
1773 bytes
1773 bytes
+---- mears@cup.hp.com wrote (22 Apr 1996 16:00:30 GMT):
| I would much prefer to have behavior similar to the way tin handles new
| groups. That is, new groups would prompt whether or not to be included
| in the subscription.
If this happens I hope it is optional. I like the, um, non
assertive style of newgroups as it is in slrn. Sort of like the
non assertive pulls it does from the NNTP server(s). If I want
something I can have it otherwise it is, er, optimized away.
| Most of the time, I don't want any of the new groups, and I don't want
| them showing up in my list. However, one or two groups per year are of
| interest, and I don't want to never see them because new groups are
| automatically unsubscribed.
+----
You can always peek in the .jnewsrc file. Or grep it. Or use
the L key to do a wild card search in slrn, such as L *hp*.
--
Gary Johnson "There's no union called the AFL-CIA is there?"
gjohnson@season.com <a href="http://www.efm.org">Walk The Talk</a>
CAMPAIGN '96: Juck 'em if they can't fake a toke.
Re: slrn bugs
Author: John E. Davis
Date: Wed, 24 Apr 1996 00:00
Date: Wed, 24 Apr 1996 00:00
31 lines
1888 bytes
1888 bytes
On Wed, 24 Apr 1996 00:45:33 GMT, Jack Gostl <gostl@argos.argoscomp.com> wrote: : In article <slrn44nq7iq.cpt.hkantola@vesuri.Helsinki.FI>, Heikki Kantola wrote: [...] : >>> set unsubscribe_new_groups 1 [...] : > : >Um, did you actually try that slrn setting at all? Slrn happens to : >always show the new groups appended to the beginning of the group list, [...] : I am running with that setting now, and I still periodically find myself : subscribed to groups I have never heard of. I have no idea why you would be presented with new subscribed groups unless your server is putting them in the active file without updating its new groups file. Hmmm.... Do these mysterious groups appear on lines with a `U' in the left margin? If so, slrn is telling you that this is a new group but you are not subscribed to it. You problems should go away if you always start slrn up using the -n flag, e.g., unix-prompt> slrn -n -- John E. Davis Center for Space Research/AXAF Science Center 617-258-8119 MIT 37-662c, Cambridge, MA 02139 http://space.mit.edu/~davis
Re: slrn bugs
Author: Jack Gostl
Date: Wed, 24 Apr 1996 00:00
Date: Wed, 24 Apr 1996 00:00
42 lines
2543 bytes
2543 bytes
In article <slrn44nq7iq.cpt.hkantola@vesuri.Helsinki.FI>, Heikki Kantola wrote: >David Mears <mears@cup.hp.com> provided the following >for the eyes of news.software.readers: >>John E. Davis (davis@space.mit.edu) wrote: >> >>> should press `l' to list all newsgroups that you are subscribed to and then >>> unsubscribe from the ones you do not want. Then, only new newsgroups will >>> appear in the future. If you want to automatically unsubscribe from them, >>> add: >> >>> set unsubscribe_new_groups 1 >>> >>> to your .slrnrc file. >> >>I would much prefer to have behavior similar to the way tin handles new >>groups. That is, new groups would prompt whether or not to be included >>in the subscription. >> >>Most of the time, I don't want any of the new groups, and I don't want >>them showing up in my list. However, one or two groups per year are of >>interest, and I don't want to never see them because new groups are >>automatically unsubscribed. > >Um, did you actually try that slrn setting at all? Slrn happens to >always show the new groups appended to the beginning of the group list, >the setting just controls whether the groups are subscribed or not by >default. I think it's quite good behaviour although it would be perfect >if slrn would understand AUTOSUBSCRIBE and AUTOUNSUBSCRIBE enviroment >variables (comma-separated list of groupname regexps) like atleast tin >1.3 and [s]trn does. Or actually I would wish the AUTOUNSUBSCRIBE-envvar >in combination of unsubscribe by default would hide the newsgroup >hierarchies which I would never ever want to subscribe... I am running with that setting now, and I still periodically find myself subscribed to groups I have never heard of. -- Jack Gostl gostl@argoscomp.com
Re: slrn bugs
Author: David Mears
Date: Wed, 24 Apr 1996 00:00
Date: Wed, 24 Apr 1996 00:00
39 lines
2394 bytes
2394 bytes
Heikki Kantola (hkantola@cc.Helsinki.FI) wrote: > David Mears <mears@cup.hp.com> provided the following > >I would much prefer to have behavior similar to the way tin handles new > >groups. That is, new groups would prompt whether or not to be included > >in the subscription. > >Most of the time, I don't want any of the new groups, and I don't want > >them showing up in my list. However, one or two groups per year are of > >interest, and I don't want to never see them because new groups are > >automatically unsubscribed. > Um, did you actually try that slrn setting at all? I will be honest here and admit that I haven't had much time yet to actually use slrn. Until I do, I'm sure many people will not take my thoughts as being very valuable. However, I'm quite familiar with the way tin prompts for new groups, and I know I prefer that behavior. I get to see the groups as they're created, but never again if I don't want them. It's easy to say `no' I don't want them, because I just have to hit the <RETURN> key over and over. And my group list isn't filled with lots of groups I don't want to see there. (They go away when exiting and rerunning slrn, but I just don't want to see them at all once I know I don't want them.) I've been told that even when you auto-unsubscribe to new groups in slrn, slrn will still add them to the .jnewsrc file as unsubscribed. With the sheer colume of junk alt.* groups that come through, this would make the .jnewsrc file grow very quickly with mostly junk in it. Yes, I can always go hand edit it to remove the junk. I don't think I should have to. David B. Mears Hewlett-Packard Cupertino CA mears@cup.hp.com
Re: slrn bugs
Author: Felix von Leitner
Date: Wed, 24 Apr 1996 00:00
Date: Wed, 24 Apr 1996 00:00
11 lines
1138 bytes
1138 bytes
On Wed, 24 Apr 1996 00:45:33 GMT, Jack Gostl <gostl@argos.argoscomp.com> wrote: > I am running with that setting now, and I still periodically find myself > subscribed to groups I have never heard of. Then you were subscribed to them all the time but they didn�t have any postings in them. Felix
Re: slrn bugs
Author: Heikki Kantola
Date: Thu, 25 Apr 1996 00:00
Date: Thu, 25 Apr 1996 00:00
21 lines
1658 bytes
1658 bytes
David Mears <mears@cup.hp.com> provided the following for the eyes of news.software.readers: > >I've been told that even when you auto-unsubscribe to new groups in >slrn, slrn will still add them to the .jnewsrc file as unsubscribed. >With the sheer colume of junk alt.* groups that come through, this >would make the .jnewsrc file grow very quickly with mostly junk in >it. Yes, I can always go hand edit it to remove the junk. I don't >think I should have to. Um, slrn doesn't fill newsrc-files with unsubscribed groups. -- Heikki Kantola aka Hezu@IRC, /// Ihmisel�m� ei ole ollenkaan Computer Linguistics Student /// niin monimutkaista kuin milt� at the University of Helsinki \\\/// se n�ytt�� - se on paljon E-Mail: Heikki.Kantola@Helsinki.FI\/// monimutkaisempaa.
Re: slrn bugs
Author: John Caruso
Date: Thu, 25 Apr 1996 00:00
Date: Thu, 25 Apr 1996 00:00
30 lines
2020 bytes
2020 bytes
I posted this list a few days ago but didn't see any response...since John seems to be following this thread I'll try once more. These are a few bugs in slrn 0.8.7.1, some long-standing: 1) If I mark a few articles in a group unread and cancel all others in that group, then go back to the group later, I'll often see only new articles (i.e. the ones I marked unread previously are not in the list). But if I open the group a second time the old articles show up again. 2) If I cancel all articles in a group and then exit the group, it will often show a non-zero number of articles; selecting the group again will usually clear this number to zero (this was reported by another person as well, but I didn't see any response). 3) Percentages (during group initialization) are still broken. 4) I often see status messages like "Read 50/43 lines so far...". 5) "a" command with an invalid group gives "Group <blah> is bogus.^M". 6) "j" command doesn't allow <RETURN> to abort. -- John Caruso, Senior Technical Consultant ADP Claims Solutions Group Phone: (800) 366-4237 x2102 2010 Crow Canyon Place FAX : (510) 866-4839 San Ramon, CA 94583 (USA) Email: jcaruso@sr.csg.com
Re: slrn bugs
Author: John E. Davis
Date: Thu, 25 Apr 1996 00:00
Date: Thu, 25 Apr 1996 00:00
29 lines
1901 bytes
1901 bytes
On 24 Apr 1996 15:28:18 GMT, David Mears <mears@cup.hp.com>
wrote:
: I've been told that even when you auto-unsubscribe to new groups in
: slrn, slrn will still add them to the .jnewsrc file as unsubscribed.
: With the sheer colume of junk alt.* groups that come through, this
: would make the .jnewsrc file grow very quickly with mostly junk in
: it. Yes, I can always go hand edit it to remove the junk. I don't
: think I should have to.
0.8.8 will feature a new configuration variable called `write_newsrc_flags'.
This variable only affects unsubscribed-unread groups. It can have one of
three values:
% If 0, save all groups when writing newsrc file
% if 1, do not save any unread-unsubscribed groups
% if 2, do not save any NEW unread-unsubscribed groups
set write_newsrc_flags 0
The default value is 0. Perhaps I should make it 1 but that would not be
backward compatible.
I hope to release 0.8.8 this weekend if time permits.
--
John E. Davis Center for Space Research/AXAF Science Center
617-258-8119 MIT 37-662c, Cambridge, MA 02139
http://space.mit.edu/~davis
Re: slrn bugs
Author: John Caruso
Date: Fri, 26 Apr 1996 00:00
Date: Fri, 26 Apr 1996 00:00
73 lines
4275 bytes
4275 bytes
John E. Davis <davis@space.mit.edu> wrote:
>
> : 1) If I mark a few articles in a group unread and cancel all others in that
> : group, then go back to the group later, I'll often see only new articles
> : (i.e. the ones I marked unread previously are not in the list). But if I
> : open the group a second time the old articles show up again.
>
>This is due to an optimization that I have made. I will look into trying to
>fix it while keeping the optimization.
For me the fix is more important than the optimization--the current behavior
is broken, and it makes it very difficult to keep several key articles for
old threads around and track new responses as they come in.
> : 2) If I cancel all articles in a group and then exit the group, it will
> : often show a non-zero number of articles; selecting the group again will
> : usually clear this number to zero (this was reported by another person
> : as well, but I didn't see any response).
>
>I thought I responded to it, perhaps in private email. This is due to the
>fact that the server only reports min/max article numbers which means that
>there would appear to be max - min + 1 articles available. When slrn enters
>the group the first time, this is all the information available to it. When
>it enters the second time, it has much more information available because it
>has already visited the group. The alternative is to fetch all max-min+1
>articles the first time through.
This might be a better approach. Right now it's always necessary to enter
a group twice to actually see all of the current articles for the group...
this is conjunction with 1) makes slrn's group/article handling appear to
be broken, albeit benignly.
> : 3) Percentages (during group initialization) are still broken.
>
>Please elaborate.
Many versions of slrn ago the percentage code changed from counting by 10s
(10%, 20%...) to a "continuous" count. It hasn't worked correctly since
then--the percentages no longer have any relationship to how long the wait
actually will be. Usually I'll see it count slowly to 30% or so, then the
group list appears. Often I'll see it count just 1%, then 2%, then the group
list appears...frequently there's no percentage display at all. Rarely
if ever does it reach 100% or anything even close. I'd posted about this
once before and you replied that you planning to address it, but it still
behaves this way.
> : 5) "g" command with an invalid group gives "Group <blah> is bogus.^M".
> :
> : 6) "j" command doesn't allow <RETURN> to abort.
>
>I will look into these but because of lack of time and other priorities, I
>cannot promise anything.
??? I can't imagine these would take long to fix. Item 5) (which should
say "a", not "g") is a one line change to group.c:
slrn_error ("Group %s is bogus.\r\n", g->name);
Just take out the \r. 6) should also be a one-line change, if that. Other
prompts in slrn allow the user to abort by hitting <RETURN>, and it's not
consistent (and it's a hassle) to have to type a 0 to get out of that one.
Obviously these aren't huge problems; I'm just reporting them because the
slrn docs say that you want to know about any bugs in the code.
--
John Caruso, Senior Technical Consultant
ADP Claims Solutions Group Phone: (800) 366-4237 x2102
2010 Crow Canyon Place FAX : (510) 866-4839
San Ramon, CA 94583 (USA) Email: jcaruso@sr.csg.com
Re: slrn bugs
Author: John E. Davis
Date: Sat, 27 Apr 1996 00:00
Date: Sat, 27 Apr 1996 00:00
75 lines
4226 bytes
4226 bytes
On 26 Apr 1996 20:39:16 GMT, John Caruso <jcaruso@sr.csg.com>
wrote:
: John E. Davis <davis@space.mit.edu> wrote:
: >
: > : 1) If I mark a few articles in a group unread and cancel all others in that
: > : group, then go back to the group later, I'll often see only new articles
: > : (i.e. the ones I marked unread previously are not in the list). But if I
: > : open the group a second time the old articles show up again.
: >
: >This is due to an optimization that I have made. I will look into trying to
: >fix it while keeping the optimization.
:
: For me the fix is more important than the optimization--the current behavior
: is broken, and it makes it very difficult to keep several key articles for
: old threads around and track new responses as they come in.
I have been unable to duplicate the behavior that you have described. When
I first read your description I thought that it referred to something else.
Can you reproduce the effect and if so, exactly what are the sequence of
events that lead to it?
: > : 3) Percentages (during group initialization) are still broken.
: >
: >Please elaborate.
:
: Many versions of slrn ago the percentage code changed from counting by 10s
: (10%, 20%...) to a "continuous" count. It hasn't worked correctly since
: then--the percentages no longer have any relationship to how long the wait
: actually will be. Usually I'll see it count slowly to 30% or so, then the
: group list appears. Often I'll see it count just 1%, then 2%, then the group
: list appears...frequently there's no percentage display at all. Rarely
: if ever does it reach 100% or anything even close. I'd posted about this
: once before and you replied that you planning to address it, but it still
: behaves this way.
I have not experienced this either. All the percentages appear accurate to
me. Does your server implement XOVER? If not, slrn fakes it and the
problem that you are reporting may lie here.
:
: > : 5) "g" command with an invalid group gives "Group <blah> is bogus.^M".
: > :
: > : 6) "j" command doesn't allow <RETURN> to abort.
: >
: >I will look into these but because of lack of time and other priorities, I
: >cannot promise anything.
:
: ??? I can't imagine these would take long to fix. Item 5) (which should
: say "a", not "g") is a one line change to group.c:
:
: slrn_error ("Group %s is bogus.\r\n", g->name);
:
: Just take out the \r. 6) should also be a one-line change, if that. Other
Unfortuately, it is not as simple as that. slrn_error behaves differently
depending upon whether or not the screen management routines have been
initialized. That particular line of code can be called when the screen
management routines have not been initialized and, in that context, the \r
serves a purpose. As a result, fixing the ^M requires additional thought.
The easy fix would be to do:
if (Slrn_TT_Initialized == 0)
slrn_error ("Group %s is bogus.\r\n", g->name);
else
slrn_error ("Group %s is bogus.\n", g->name);
I do not like the looks of such code although, for now, I will use it.
--
John E. Davis Center for Space Research/AXAF Science Center
617-258-8119 MIT 37-662c, Cambridge, MA 02139
http://space.mit.edu/~davis
Re: slrn bugs
Author: Dominik Wujastyk
Date: Sun, 28 Apr 1996 00:00
Date: Sun, 28 Apr 1996 00:00
23 lines
1808 bytes
1808 bytes
On 27 Apr 1996 06:20:07 GMT, John E. Davis <davis@space.mit.edu> wrote: > On 26 Apr 1996 20:39:16 GMT, John Caruso <jcaruso@sr.csg.com> > wrote: > : > : 3) Percentages (during group initialization) are still broken. [...] > : Usually I'll see it count slowly to 30% or so, then the > : group list appears. Often I'll see it count just 1%, then 2%, then the group > : list appears...frequently there's no percentage display at all. Rarely > : if ever does it reach 100% or anything even close. > I have not experienced this either. All the percentages appear accurate to > me. Does your server implement XOVER? If not, slrn fakes it and the > problem that you are reporting may lie here. I can confirm seeing the puzzling percentages, using Jay Maynard's OS/2 slrn port over a modem line. I hadn't really paid attention until the above posting pointed it out, but it's definitely a phenomenon. Dominik
Re: slrn bugs
Author: John E. Davis
Date: Mon, 29 Apr 1996 00:00
Date: Mon, 29 Apr 1996 00:00
48 lines
3073 bytes
3073 bytes
On 29 Apr 1996 16:46:24 GMT, John Caruso <jcaruso@sr.csg.com> wrote: : On 27 Apr 1996 06:20:07 GMT, John E. Davis <davis@space.mit.edu> wrote: : > : >Can you reproduce the effect and if so, exactly what are the sequence of : >events that lead to it? : : 1) Run slrn and enter a newsgroup. : 2) Preserve a specific group G of articles with "*". : 3) Cancel the rest of the articles with "c" and exit the newsgroup. : 4) Run slrn and enter the same newsgroup again later, perhaps the next day; : the articles in group G may or may not be listed. If they are, go back : to step 2), otherwise continue. : 5) Cancel all articles with "c" and exit the newsgroup. : 6) Immediately re-enter the same newsgroup; the articles in group G will now : be displayed--even though they were missing from the listing in step 4). : : It usually takes 2-3 days of preserving a specific set of articles for this : to start happening. It seems to happen more often if the group receives a : fairly high volume of postings (>100 per day). Ok, try this experiment which should be equivalent and tell me what happens. If it is not equivalent, please point out where the equivalence breaks down. 1) run slrn. 2) Select a high volume newsgroup, e.g., comp.lang.c. There should be several thousand articles here. 3) Enter the newsgroup via `ESC 1 RETURN RETURN'. This will cause slrn to load all the headers for the group. 4) Turn off sorting (ESC s and select NONE). The headers will be arranged in the order in which the server received them-- from oldest to newest. 5) press `c' to mark all articles as read. 6) Now unmark as read the first 3 and the last 3. In other words, mark the oldest 3 articles as unread as well as the newest 3. 7) Exit group 8) slrn should show that there are 6 unread articles for the group. 7) Exit slrn 8) restart slrn 9) enter group used above. You should see those 6 articles. -- John E. Davis Center for Space Research/AXAF Science Center 617-258-8119 MIT 37-662c, Cambridge, MA 02139 http://space.mit.edu/~davis
Re: slrn bugs
Author: John Caruso
Date: Mon, 29 Apr 1996 00:00
Date: Mon, 29 Apr 1996 00:00
46 lines
3118 bytes
3118 bytes
On 27 Apr 1996 06:20:07 GMT, John E. Davis <davis@space.mit.edu> wrote: > >Can you reproduce the effect and if so, exactly what are the sequence of >events that lead to it? 1) Run slrn and enter a newsgroup. 2) Preserve a specific group G of articles with "*". 3) Cancel the rest of the articles with "c" and exit the newsgroup. 4) Run slrn and enter the same newsgroup again later, perhaps the next day; the articles in group G may or may not be listed. If they are, go back to step 2), otherwise continue. 5) Cancel all articles with "c" and exit the newsgroup. 6) Immediately re-enter the same newsgroup; the articles in group G will now be displayed--even though they were missing from the listing in step 4). It usually takes 2-3 days of preserving a specific set of articles for this to start happening. It seems to happen more often if the group receives a fairly high volume of postings (>100 per day). >:Many versions of slrn ago the percentage code changed from counting by 10s >:(10%, 20%...) to a "continuous" count. It hasn't worked correctly since >:then--the percentages no longer have any relationship to how long the wait >:actually will be. Usually I'll see it count slowly to 30% or so, then the >:group list appears. Often I'll see it count just 1%, then 2%, then the group >:list appears...frequently there's no percentage display at all. Rarely >:if ever does it reach 100% or anything even close. > >I have not experienced this either. All the percentages appear accurate to >me. Does your server implement XOVER? If not, slrn fakes it and the >problem that you are reporting may lie here. The server I'm reading from runs INN 1.4 and supports XOVER. Again, when I originally started using slrn and it counted by 10s the percentages were always completely accurate; since the change to continuous percentages, the count rarely gets anywhere close to 100%--maybe one time out of twenty. So the problem must have come from that change. -- John Caruso, Senior Technical Consultant ADP Claims Solutions Group Phone: (800) 366-4237 x2102 2010 Crow Canyon Place FAX : (510) 866-4839 San Ramon, CA 94583 (USA) Email: jcaruso@sr.csg.com
Re: slrn bugs
Author: John E. Davis
Date: Tue, 30 Apr 1996 00:00
Date: Tue, 30 Apr 1996 00:00
23 lines
1550 bytes
1550 bytes
On 29 Apr 1996 16:46:24 GMT, John Caruso <jcaruso@sr.csg.com>
wrote:
: >:Many versions of slrn ago the percentage code changed from counting by 10s
: >:(10%, 20%...) to a "continuous" count. It hasn't worked correctly since
I found one obvious bug in the routine art.c:get_headers. Here is a patch:
}
nntp_close_xover ();
+ total -= (max - expected_num) + 1;
+
slrn_set_suspension (0);
*totalp = total;
--
John E. Davis Center for Space Research/AXAF Science Center
617-258-8119 MIT 37-662c, Cambridge, MA 02139
http://space.mit.edu/~davis
Re: slrn bugs
Author: John Caruso
Date: Wed, 01 May 1996 00:00
Date: Wed, 01 May 1996 00:00
95 lines
5199 bytes
5199 bytes
On 30 Apr 1996 04:41:10 GMT, John E. Davis <davis@space.mit.edu> wrote:
>
>:Many versions of slrn ago the percentage code changed from counting by 10s
>:(10%, 20%...) to a "continuous" count. It hasn't worked correctly since
>
>I found one obvious bug in the routine art.c:get_headers. Here is a patch:
>
> }
> nntp_close_xover ();
>
>+ total -= (max - expected_num) + 1;
>+
> slrn_set_suspension (0);
> *totalp = total;
Unfortunately this patch didn't seem to fix the percentages.
Regarding the "disappearing postings" problem, you'd suggested:
>Ok, try this experiment which should be equivalent and tell me what happens.
>If it is not equivalent, please point out where the equivalence breaks down.
>
>1) run slrn.
>2) Select a high volume newsgroup, e.g., comp.lang.c. There should be
> several thousand articles here.
>3) Enter the newsgroup via `ESC 1 RETURN RETURN'. This will cause slrn to
> load all the headers for the group.
>4) Turn off sorting (ESC s and select NONE). The headers will be arranged
> in the order in which the server received them-- from oldest to newest.
>5) press `c' to mark all articles as read.
>6) Now unmark as read the first 3 and the last 3. In other words, mark the
> oldest 3 articles as unread as well as the newest 3.
>7) Exit group
>8) slrn should show that there are 6 unread articles for the group.
>9) Exit slrn
>10) restart slrn
>11) enter group used above. You should see those 6 articles.
This isn't quite equivalent. Here's a modified version, which does make
the bug reproducible for me:
1) run slrn.
2) Select a high volume newsgroup, e.g., comp.lang.c. There should be
several thousand articles here.
3) Enter the newsgroup via `ESC 1 RETURN RETURN'. This will cause slrn to
load all the headers for the group.
4) Turn off sorting (ESC s and select NONE). The headers will be arranged
in the order in which the server received them-- from oldest to newest.
5) press `c' to mark all articles as read.
6) Now unmark as read the first 3 and the last 100. In other words, mark the
oldest 3 articles as unread as well as the newest 100.
7) Exit group
8) slrn should show that there are 103 unread articles for the group.
9) Exit slrn
10) restart slrn
11) Wait about 10-15 minutes to allow new postings to come in for the target
group (you can read other groups, but don't enter the target group yet)
12) enter group used above. The 3 oldest articles in the group will not
be listed.
13) press 'c' to mark all articles as read
14) Exit group
15) Immediately re-enter the group
16) The 3 oldest articles will now be listed (along with any new articles),
even though they were not listed in step 12 above
The important differences are the number of recent articles marked unread
in step 6 and the wait time in step 11. Basically, you need to have about
100 newer articles in addition to the old articles...I stopped testing to
find out what the lower bound on this number is, but 100 appears to work
reliably (I have no idea why this makes a difference, but it does).
You then also need to hold off on selecting the group until new articles
have arrived which slrn doesn't know about--that's the reason for the 10-15
minute wait in step 11. It may actually be longer or shorter, depending
on the group...10-15 minutes usually worked with comp.lang.c, but with
misc.jobs.offered it usually took just a minute or two.
This might seem like a very specific set of circumstances but it's actually
quite common. I'll often save some old set of key articles for threads I'm
following, then the next day I'll run slrn and there'll be over 100 new
articles in those groups, but for various reasons I won't read those groups
for at least 10-15 minutes (because of meetings, phone calls, I'm reading
other groups first, or whatever). When I do read them, the threads I was
following have temporarily disappeared.
--
John Caruso, Senior Technical Consultant
ADP Claims Solutions Group Phone: (800) 366-4237 x2102
2010 Crow Canyon Place FAX : (510) 866-4839
San Ramon, CA 94583 (USA) Email: jcaruso@sr.csg.com
Re: slrn bugs
Author: Olly Betts
Date: Wed, 01 May 1996 00:00
Date: Wed, 01 May 1996 00:00
30 lines
1869 bytes
1869 bytes
In article <slrn4ob6f6.dpg.davis@aluche.mit.edu>, John E. Davis <davis@space.mit.edu> wrote: >[Problems with percentage counts on entering a newsgroup] > >I found one obvious bug in the routine art.c:get_headers. Here is a patch: > >[snip] >+ total -= (max - expected_num) + 1; I've applied this (to slrn 0.8.7.1) and it doesn't improve the pessimistic percentages. A quick sprinkling of debug code reveals that slrn is always getting the article it expects (i.e. the one with article number expected_num), so total isn't being adjusted here or above. It would therefore appear that total is an overestimate. A factor of 3 off is common (i.e. percentage count reaches 33% or so). I'm not sure if it has a bearing, but get_headers is being called quite a lot of times, presumably once for each range of unread articles. I was testing on this group, which has about 40 ranges of read articles in my .newsrc. It's not a critical bug, but I imagine it's annoying on a slow connection. Anyway, I hope this helps track it down. Olly -- cool wet grass cool wet grass cool wet grass cool wet grass cool wet grass
Re: slrn bugs
Author: John E. Davis
Date: Thu, 02 May 1996 00:00
Date: Thu, 02 May 1996 00:00
23 lines
1820 bytes
1820 bytes
On 1 May 1996 20:03:16 GMT, John Caruso <jcaruso@sr.csg.com> wrote: : Unfortunately this patch didn't seem to fix the percentages. For 0.8.8.1, I have done away with the percentages and replaced them by ratios. In some sense your are seeing an effect of granularity. Now, you will see: ... read XXX/YYY lines... You will even get to set the number of lines read in between updates of the progress display. I hope to resolve this issue once and for all. : Regarding the "disappearing postings" problem, you'd suggested: I will try your experiment later tonight. I made some changes for 0.8.8.1 that should fix this too. -- John E. Davis Center for Space Research/AXAF Science Center 617-258-8119 MIT 37-662c, Cambridge, MA 02139 http://space.mit.edu/~davis
Re: slrn bugs
Author: John E. Davis
Date: Fri, 03 May 1996 00:00
Date: Fri, 03 May 1996 00:00
49 lines
2139 bytes
2139 bytes
On 1 May 1996 12:19:29 +0100, Olly Betts <olly@mantis.co.uk>
wrote:
: It's not a critical bug, but I imagine it's annoying on a slow connection.
: Anyway, I hope this helps track it down.
I fixed it a few days ago. I will release sometime 0.8.8.1 during the
weekend. Here is what you can expect:
Changes since 0.8.8.0
0. Bug fixes (hangup, connection aborts, article/header percentage counts,
etc..)
1. Oops. Forgot to provide a way to turn off video attributes. Now you can
use `none', e.g.,
mono headers none
2. New variable for group descriptions: group_dsc_start_column
set group_dsc_start_column 40
causes descriptions to start in column 40.
3. Now possible to color descriptions via:
color description blue white
mono description bold
4. ^G abort of header retrieval.
5. New variable:
set lines_per_update 50
sets the granularity of slrn's percentage meters.
6. Spoiler support provided by Olly Betts (olly@mantis.co.uk). The .slrnrc
variable `spoiler_char' may be used to specify the character used to
hide the text. The default is '*':
set spoiler_char '*'
--
John E. Davis Center for Space Research/AXAF Science Center
617-258-8119 MIT 37-662c, Cambridge, MA 02139
http://space.mit.edu/~davis
Re: slrn bugs
Author: Steve Lamb
Date: Fri, 03 May 1996 00:00
Date: Fri, 03 May 1996 00:00
21 lines
1558 bytes
1558 bytes
On 24 Apr 1996 15:28:18 GMT, David Mears <mears@cup.hp.com> wrote:
>I've been told that even when you auto-unsubscribe to new groups in
>slrn, slrn will still add them to the .jnewsrc file as unsubscribed.
>With the sheer colume of junk alt.* groups that come through, this
>would make the .jnewsrc file grow very quickly with mostly junk in
>it. Yes, I can always go hand edit it to remove the junk. I don't
>think I should have to.
There is a new option in 0.8.8 which takes care of this. When set it
does not save unsubscribed newsgroups to the .jnewsrc or .newsrc file.
--
---- = ----
Steve C. Lamb...
"Yeah, I remember her saying... "I'm already dead...
"I'm already dead... "I'm already dead... "I'm already dead...
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