Article View: news.software.readers
Article #20986Re: slrn bugs
From: 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
Technical Details
Message-ID:
<slrn4o3f4n.dmj.davis@wiwaxia.mit.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<slrn4nfogg.2npg.gostl@argos.argoscomp.com> <slrn4ng5hf.nmb.davis@wiwaxia.mit.edu> <4lgaeu$nia@hpindda.cup.hp.com> <slrn44nq7iq.cpt.hkantola@vesuri.Helsinki.FI> <slrn4nqubf.1f7d.gostl@argos.argoscomp.com> <slrn4nralq.1m1.davis@wiwaxia.mit.edu> <slrn4o2d5t.t4.jcaruso@raptor.sr.csg.com>Show Full Headers
Complete Article Headers
Message-ID: <slrn4o3f4n.dmj.davis@wiwaxia.mit.edu> Subject: Re: slrn bugs Date: Sat, 27 Apr 1996 00:00:00 +0000 From: davis@space.mit.edu (John E. Davis) References: <slrn4nfogg.2npg.gostl@argos.argoscomp.com> <slrn4ng5hf.nmb.davis@wiwaxia.mit.edu> <4lgaeu$nia@hpindda.cup.hp.com> <slrn44nq7iq.cpt.hkantola@vesuri.Helsinki.FI> <slrn4nqubf.1f7d.gostl@argos.argoscomp.com> <slrn4nralq.1m1.davis@wiwaxia.mit.edu> <slrn4o2d5t.t4.jcaruso@raptor.sr.csg.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 151671958 Organization: Center for Space Research Reply-to: davis@space.mit.edu Newsgroups: news.software.readers