[ Usenet FAQs | Search | Web FAQs | Documents | RFC Index ]
    Search the FAQ Archives

Part1 - Part2 - Single Page

Top Document: [news.software.readers] trn newsreader FAQ, part 2: Advanced
Previous Document: MPAS: How do I write a macro to easily reply to the current article with some canned piece of text (e.g., instructions for getting FAQs)?
Next Document: INLS: Is it possible to build trn so that it can use either nntp or a local spool depending on the newsgroup concerned?


ADCU: In rn-compatibility mode, trn dumps core when I Unread killed subjects.


Contributors:
Steven M. Schultz <sms@WLV.IIPO.GTEGSC.COM>,
Wayne Davison <trn@clari.net>

> Here's the scenario:
>
>       rn  # which is a hard link to trn 3.6
>       (enter a group)
>       =
>       read an article
>       k   # to kill the subject
>       U   # oops, I changed my mind
>       (get the "+tasn" prompt)
>       t
>       <dump!>
>
>The "SIGSEGV, restoring .newsrc" message is given.

The "Ut" command erroneously assumes that the group is threaded.  Tell
your rn users to be brave and start running "rn -X -x" or "rn -X +x" and
all will be well.  :-)

Alternatively, the following patch should fix the problem (the line number
may well be wrong -- this is based on something newer than 3.6):

Index:ng.c
@@ -540,5 +540,8 @@
 	    return AS_ASK;
 	else if (*buf == 't' && u_help_thread != nullstr) {
-	    unkill_thread(artp->subj->thread);
+	    if (artp->subj->thread)
+		unkill_thread(artp->subj->thread);
+	    else
+		unkill_subject(artp->subj);
 	    if ((artp = first_art(artp->subj)) != NULL)
 		art = article_num(artp);



Top Document: [news.software.readers] trn newsreader FAQ, part 2: Advanced
Previous Document: MPAS: How do I write a macro to easily reply to the current article with some canned piece of text (e.g., instructions for getting FAQs)?
Next Document: INLS: Is it possible to build trn so that it can use either nntp or a local spool depending on the newsgroup concerned?

Part1 - Part2 - Single Page


[ Usenet FAQs | Search | Web FAQs | Documents | RFC Index ]

Send corrections/additions to the FAQ Maintainer:
@tigerden.com (Peter J. Kappesser)

Last Update August 30 2008 @ 00:14 AM

© 2008 FAQS.ORG. All rights reserved.