🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #9630

Problems with trn macros (used to be 6 questions)

#9630
From: Maxim Spivak
Date: Mon, 20 Jun 1994 22:34
57 lines
2628 bytes
Hello!

Several months ago there was a post which asked how to perform the 
following operation:
	
	-Enter selector
	-Mark several articles
	-Kill all the other articles (both for this instance and forever)
	-Start reading the selected articles

Wayne Davidson suggested the following macros:

	^A^F %(%m=t?%(%Z=^0?::M^J)/\^/\:Tj^Jq:)
	^A^A %(%m=t?%(%Z=^0?::M^J)/\^/\:Tj^J%(%Z%M=^00?q:Y\^):)
	^A^R %(%m=t?%(%Z=^0?::M^J)/\^/\:Tj^J%(%Z%M=^00?q:YZ):)

However, there are two problems with this solution:
	
1. I've been using the ^A^A macro. When I call it, it seems to kill the 
unselected articles and display the selected ones. However, when I 
reenter the group several days later, the replies to the 
previously-killed articles are back!  

I checked the KILL file, and the thread reference numbers do appear there
(excerpt)
	....
	<Cr08rt.IL7yuma.acns.colostate.edu> TJ
	<1994Jun20.023144.24954@rosevax.rosemound.com> TJ
	<1994Jun10.191117.18514@rosevax.rosemound.com> TJ
	<2tbs2u$fu2@u.cc.utah.edu> TJ
	....
However, after reading the kill-file FAQ, I got the impression that each 
thread should end with `Tj', not 'TJ'. Is this the problem?

2.  Assuming that it needs `Tj', I decided to fix the macro. However, I'm 
kinda stuck with the syntax. In trying the parse the ^A^A macro, I came 
up with these questions:
	-what is `^0'?
	-what does `/\^/\' do?
	-what is `^J'?
	-what is the logical progression of the macro (in other words:
	 what is the pseudocode/logic that makes it work?)
	-why doesn't the macro work? It seems to to a `Tj' on a set of
	 articles?

Anyway, if someone could help me out I'd be very grateful. Also, the man 
page could treat the macros a bit better if it showed a complicated macro 
and stepped through it.

Are there any other macro-related trn docs? I've already seen the 
excellent trn intro by Jon Bell.

Thanks,

Max
--
Max Spivak, Ext 7420
Technical Details
Message-ID: <2u55gs$ii2@overload.lbl.gov>
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!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!library.ucla.edu!ihnp4.ucsd.edu!dog.ee.lbl.gov!overload.lbl.gov!peru.lbl.gov!maxims

Show Full Headers
Complete Article Headers
Message-ID: <2u55gs$ii2@overload.lbl.gov>
Subject: Problems with trn macros (used to be 6 questions)
Date: Mon, 20 Jun 1994 22:34:04 +0000
From: maxims@peru.lbl.gov (Maxim Spivak)
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!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!library.ucla.edu!ihnp4.ucsd.edu!dog.ee.lbl.gov!overload.lbl.gov!peru.lbl.gov!maxims
Newsgroups: news.software.readers
Organization: Lawrence Berkeley Laboratory
Lines: 57
NNTP-Posting-Host: peru.lbl.gov