🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #6172

Re: Tin 1.22 bug(?) and fix

#6172
From: 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
Technical Details
Message-ID: <CEG27y.Ht@csn.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.sources.d.mbox.zip!gmd.de!xlink.net!howland.reston.ans.net!math.ohio-state.edu!sdd.hp.com!col.hp.com!csn!teal.csn.org!swcxt
References: <CE6MKD.ABx@csn.org> <CEEu7I.B8s@stortek.com>

Show Full Headers
Complete Article Headers
Message-ID: <CEG27y.Ht@csn.org>
Subject: Re: Tin 1.22 bug(?) and fix
Date: Tue, 5 Oct 1993 21:55:09 GMT
From: swcxt@teal.csn.org (Shane Castle)
References: <CE6MKD.ABx@csn.org> <CEEu7I.B8s@stortek.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.sources.d.mbox.zip!gmd.de!xlink.net!howland.reston.ans.net!math.ohio-state.edu!sdd.hp.com!col.hp.com!csn!teal.csn.org!swcxt
Newsgroups: news.software.readers,alt.sources.d
Sender: news@csn.org (news)
Nntp-Posting-Host: teal.csn.org
Organization: Boulder County Tech Services, Boulder CO
X-Newsreader: TIN [version 1.2 PL2]
Lines: 57