🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
3 messages
3 total messages Started by Shane Castle Thu, 30 Sep 1993 19:38
Tin 1.22 bug(?) and fix
#6099
Author: Shane Castle
Date: Thu, 30 Sep 1993 19:38
29 lines
1773 bytes
To all on news.software.readers and alt.sources.d:

I have found an irritating behavior in Tin 1.22 that is probably a
bug, as it didn't work this way in 1.21, to wit: when a group's 
threads are displayed, entering a number for the next thread you
want to see instead pressing tab or the spacebar will frequently
exit you from the group if there are no unread articles left in the
group.  This is completely counterintuitive behavior.  The included
patch below will make it work the same way it did in 1.21.

To apply, use Gnu patch.

Shane Castle			<swcxt@boco.co.gov, swcxt@csn.org>
Boulder County Info Svcs
Boulder CO

--------------------------8<----cut here----8<----------------------------
--- group.c	Mon Sep 27 09:56:33 1993
+++ group.c.new	Thu Sep 30 12:54:56 1993
@@ -138,7 +138,7 @@
 
 		if (ch > '0' && ch <= '9') {	/* 0 goes to basenote */
 			if (prompt_subject_num (ch, group)) {
-				goto group_tab_pressed;
+				goto group_read_basenote;
 			}
 			continue;
 		} 
--------------------------8<----cut here----8<----------------------------
Re: Tin 1.22 bug(?) and fix
#6163
Author: Paul Gilmartin
Date: Tue, 05 Oct 1993 06:04
21 lines
1882 bytes
Shane Castle (swcxt@csn.org) wrote:
: I have found an irritating behavior in Tin 1.22 that is probably a
: bug, as it didn't work this way in 1.21, to wit: when a group's 
: threads are displayed, entering a number for the next thread you
: want to see instead pressing tab or the spacebar will frequently
: exit you from the group if there are no unread articles left in the
: group.  This is completely counterintuitive behavior.  The [ ... ]
: patch [ ... ] will make it work the same way it did in 1.21.

FWIW, I enthusiastically support Shane's patch.  In fact I'd go further:

If I enter the command (e.g) "/bug(?) and fix", tin positions me at
the corresponding threads menu line, but does not enter the article --
I like this behavior.  If I enter the command "aShane Castle" or the
command "<arabic number of thread>", tin enters the corresponding
article (at least if Shane's patch is applied -- if not, it enters
the next unread article or exits the group !?!).  I'd opt for bringing
the "a" and <number> commands into conformance with "/"

Thanks,
gil
Re: Tin 1.22 bug(?) and fix
#6172
Author: Shane Castle
Date: Tue, 05 Oct 1993 21:55
57 lines
2796 bytes
The reason for the <number> going directly into the thread is the way
that Iain changed this behavior for 1.22.  Apparently he decided that
when a number was entered his users always would want the press Enter
afterward to read that thread.  For myself, this is not true very often,
so I would indeed like the <number> to work the same as "/", both for
the group screen and the group selection screen, that is, when the
newsgroups are displayed rather than the threads.

To that end, I hacked the code a little more and came up with the
patches below.  Note that these are patches to the ORIGINAL 1.22 files,
not to any files that have my patch already applied.

WHAT THESE PATCHES DO:  These patches will change the behavior of
Tin when a number is entered on the group selection panel or on the
thread selection panel so that the current group cursor/arrow or the
current thread cursor/arrow is moved to the line for the group/thread
that corresonds to the entered number and then does NOT enter the
group/thread.

Shane Castle			swcxt@boco.co.gov, swcxt@csn.org
Boulder County Info Svcs	Phone: 303-441-3953
Boulder CO			FAX:   303-441-3983

--------------------------8<----cut here----8<-------------------------
--- group.c.orig	Sat Sep 25 08:30:12 1993
+++ group.c	Tue Oct  5 14:19:53 1993
@@ -137,9 +137,7 @@
 		ch = ReadCh ();
 
 		if (ch > '0' && ch <= '9') {	/* 0 goes to basenote */
-			if (prompt_subject_num (ch, group)) {
-				goto group_tab_pressed;
-			}
+			prompt_subject_num (ch, group);
 			continue;
 		} 
 		switch (ch) {
--- select.c.orig	Sat Sep 25 08:30:29 1993
+++ select.c	Tue Oct  5 14:19:53 1993
@@ -70,9 +70,7 @@
 #endif
 
 		if (ch > '0' && ch <= '9') {
-			if (prompt_group_num (ch)) {
-				goto select_read_group;
-			}
+			prompt_group_num (ch);
 			continue;
 		}
 		switch (ch) {
--------------------------8<----cut here----8<-------------------------


--
Shane Castle			<swcxt@boco.co.gov, swcxt@csn.org>
Boulder County Info Svcs
Boulder CO
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