🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #11252

trn 3.5 _C command small fix

#11252
From: Olaf Titz
Date: Tue, 06 Sep 1994 16:07
33 lines
1879 bytes
Characterset switching with _C is broken in trn 3.5. Here's a fix:

--- ng.c.orig	Tue Sep  6 18:01:54 1994
+++ ng.c	Tue Sep  6 17:58:13 1994
@@ -105,6 +105,7 @@
     char oldmode = mode;
 #ifdef CHARSUBST
     char *whatnext = "%s%sWhat next? [%s]";
+    charsubst = charsets;
 #else
     char *whatnext = "%sWhat next? [%s]";
 #endif
@@ -182,9 +183,6 @@
     do_fseek = FALSE;			/* start 1st article at top */
     for (; art<=lastart+1; ) {		/* for each article */
 	mode = 'a';
-#ifdef CHARSUBST
-	charsubst = charsets;
-#endif
 
 	/* do we need to "grow" the newsgroup? */
 

Another quirk: Scanning through articles leaving them unread with "m"
"n" alternating does not work anymore, it starts at the same thread
over and over. Is that intentional?

Olaf
-- 
___     olaf@bigred.ka.sub.org - uknf@rz.uni-karlsruhe.de
__ o      <a href="http://rzstud1.rz.uni-karlsruhe.de/~uknf/">click</a>
__/<_     also: s_titz@ira.uka.de - uknf@dkauni2.bitnet - praetorius@irc
_)>(_)_________  "now i find that most of the time love's not enough in itself"
Technical Details
Message-ID: <34i43f$n8q@nz12.rz.uni-karlsruhe.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!nntp.gmd.de!Germany.EU.net!netmbx.de!zrz.TU-Berlin.DE!zib-berlin.de!news.uni-ulm.de!rz.uni-karlsruhe.de!rzstud1.rz.uni-karlsruhe.de!uknf

Show Full Headers
Complete Article Headers
Message-ID: <34i43f$n8q@nz12.rz.uni-karlsruhe.de>
Subject: trn 3.5 _C command small fix
Date: Tue, 06 Sep 1994 16:07:11 +0000
From: uknf@rzstud1.rz.uni-karlsruhe.de (Olaf Titz)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!nntp.gmd.de!Germany.EU.net!netmbx.de!zrz.TU-Berlin.DE!zib-berlin.de!news.uni-ulm.de!rz.uni-karlsruhe.de!rzstud1.rz.uni-karlsruhe.de!uknf
Newsgroups: news.software.readers
Organization: Fachschaft math/inf, Uni Karlsruhe, FRG
Lines: 33
NNTP-Posting-Host: rzstud1.rz.uni-karlsruhe.de
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit