🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #44156

Re: Expand all threads in TIN?

#44156
From: jxfaultl
Date: Fri, 30 Oct 1998 00:00
26 lines
1681 bytes
Michael Mauch <michael.mauch@gmx.de> wrote:
> Hmm, but the `u' key makes the screen/cursor jump away from the article
> I was reading.

Yes, that's annoying. Here's a patch:

diff -Nur tin-981002/src/group.c temp/src/group.c
--- tin-981002/src/group.c	Fri Aug 14 16:18:33 1998
+++ temp/src/group.c	Fri Oct 30 12:38:17 1998
@@ -931,8 +931,11 @@
 
 				CURR_GROUP.attribute->thread_arts = (CURR_GROUP.attribute->thread_arts + 1) % (THREAD_MAX + 1);
 				if (index_point >= 0) {
+					i = base[index_point];								/* Save a copy of current thread */
 					make_threads (&CURR_GROUP, TRUE);
 					find_base (&CURR_GROUP);
+					if ((index_point = which_thread(i)) < 0)			/* Restore current position in group */
+						index_point = 0;
 				}
 
 				show_group_page ();

-- 
Jason.

Technical Details
Message-ID: <F1n4rs.Etr@bechtel.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
References: <70lgsp$h2l@bgtnsc03.worldnet.att.net> <70m5kt$d90$1@news.rz.uni-karlsruhe.de> <70ol9m$d7h@bgtnsc02.worldnet.att.net> <70om3c$nsh@bgtnsc02.worldnet.att.net> <f3fa17.pq2.ln@ElMicha.uni-duisburg.de>

Show Full Headers
Complete Article Headers
Message-ID: <F1n4rs.Etr@bechtel.com>
Subject: Re: Expand all threads in TIN?
Date: Fri, 30 Oct 1998 00:00:00 +0000
From: jxfaultl@bbechtel.com
References: <70lgsp$h2l@bgtnsc03.worldnet.att.net> <70m5kt$d90$1@news.rz.uni-karlsruhe.de> <70ol9m$d7h@bgtnsc02.worldnet.att.net> <70om3c$nsh@bgtnsc02.worldnet.att.net> <f3fa17.pq2.ln@ElMicha.uni-duisburg.de>
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: 406660801
Sender: Jason <jason@lnl39.bechtel.com>
X-Nntp-Posting-Host: 147.1.64.39
Organization: Bechtel Corporation
User-Agent: tin/pre-1.4-981002 ("Phobia-hacked") (UNIX) (Linux/2.1.126 (i586))
Reply-To: jxfaultl@bechtel.com
Newsgroups: news.software.readers