Thread View: news.software.readers
3 messages
3 total messages
Started by Bob Kaser
Thu, 13 Feb 1992 14:44
RN 4.4.3 bug ?
Author: Bob Kaser
Date: Thu, 13 Feb 1992 14:44
Date: Thu, 13 Feb 1992 14:44
43 lines
2626 bytes
2626 bytes
Hello all you rn experts. I have just compiles rn-4.4.3 on a SUN 4/490 running SunOS 4.1.1. I have compiled it both as rn and rrn ( 2 different compiles) to check the following bug/feature that I have found and it shows up in both versions. The symptoms of the bug are as follows. After starting rn it asks it you want to read a group and I would say 'n' to a couple groups. Then I realize that I want to read a group that I passed so I type 'P' and go back one group. Then I notice that I went back one to far and do an 'n' to go to the correct group and I find that I am stuck in that group. I can not go to any other group until I first read all the articles in this group. Example: kaser 1% rn Unread news in comp.protocols.appletalk 7 articles Unread news in comp.binaries.mac 7 articles Unread news in comp.periphs.scsi 12 articles Unread news in comp.unix.programmer 5 articles etc. ******** 7 unread articles in comp.protocols.appletalk--read now? [ynq] n ******** 7 unread articles in comp.binaries.mac--read now? [ynq] n ******** 12 unread articles in comp.periphs.scsi--read now? [ynq] n ******** 5 unread articles in comp.unix.programmer--read now? [ynq] n ******** 0 unread articles in ceas.seminar--read now? [ynq] P ******** 0 unread articles in ceas.config--read now? [ynq] P ******** 0 unread articles in ceas.general--read now? [ynq] P ******** 13 unread articles in comp.unix.admin--read now? [ynq] n ******** 13 unread articles in comp.unix.admin--read now? [ynq] n ******** 5 unread articles in comp.unix.admin--read now? [ynq] q kaser 2% Has any one else seen this behavior before. Is this a known bug? Any help would be greatly appreciated. -- Bob Kaser System Programmer Univ of Rochester Dept of Elect. Eng.
Re: RN 4.4.3 bug ?
Author: William Kucharski
Date: Thu, 13 Feb 1992 18:56
Date: Thu, 13 Feb 1992 18:56
31 lines
2005 bytes
2005 bytes
While reading article <1992Feb13.144424.14206@ee.rochester.edu>, I noticed that
kaser@ee.rochester.edu (Bob Kaser) said the following:
>The symptoms of the bug are as follows. After starting rn it asks
>it you want to read a group and I would say 'n' to a couple groups.
>Then I realize that I want to read a group that I passed so I type 'P'
>and go back one group. Then I notice that I went back one to far and
>do an 'n' to go to the correct group and I find that I am stuck in
>that group. I can not go to any other group until I first read all
>the articles in this group.
This patch has been sent to Stan; it's not official and may not even be
logically correct, but it does fix the problem you describe:
*** rn.c.orig Tue Feb 4 16:34:11 1992
--- rn.c Tue Feb 4 16:34:24 1992
***************
*** 240,245 ****
--- 240,246 ----
#ifdef VERIFY
printcmd();
#endif
+ direction = 1; /* reset direction we're going */
switch (*buf) {
case 'P': /* goto previous newsgroup */
special = TRUE; /* don't skip it if toread==0 */
--
| William Kucharski, Solbourne Computer, Inc. | Opinions expressed above
| Internet: kucharsk@solbourne.com Ham: N0OKQ | are MINE alone, not those
| Snail Mail: 1900 Pike Road, Longmont, CO 80501 | of Solbourne Computer, Inc.
| President, "Just the Ten of Us" Fan Club | "It's Night 9 with D2 Dave!"
Re: RN 4.4.3 bug ?
Author: Wayne Davison
Date: Thu, 13 Feb 1992 19:03
Date: Thu, 13 Feb 1992 19:03
39 lines
1870 bytes
1870 bytes
Bob Kaser (kaser@ee.rochester.edu) wrote:
> [...] I type 'P' and go back one group. Then I notice that I went back
> one to far and do an 'n' to go to the correct group and I find that I
> am stuck in that group.
There was one very important line that was omitted from my recent fixes
to trn (I'm not sure if I failed to send it to Stan or if he missed it
when applying my patches -- it doesn't really matter). The fix is to
set the default direction for most commands to forward motion. Also
included is a freebie fix from a not-yet-released trn patch that fixes
a 'g' to an unsubscribed group after using 'N' in response to an add-group
prompt:
Index: rn.c
***************
*** 237,242 ****
--- 237,244 ----
#ifdef VERIFY
printcmd();
#endif
+ direction = 1; /* default to forward motion */
+ addnewbydefault = 0;
switch (*buf) {
case 'P': /* goto previous newsgroup */
special = TRUE; /* don't skip it if toread==0 */
***************
*** 478,484 ****
notincl("a");
goto reask_newsgroup;
#else
- addnewbydefault = 0;
/* FALL THROUGH */
#endif
case 'o':
--- 480,485 ----
--
\ /| / /|\/ /| /(_) Wayne Davison
(_)/ |/ /\|/ / |/ \ davison@borland.com
(W A Y N e)
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