🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #4936

[t]rn macro/kill questions

#4936
From: Mark Bergman
Date: Thu, 15 Jul 1993 07:58
40 lines
1908 bytes
Is there any way to instruct [t]rn to ignore case when
processing KILL files? I've currently got lines that look
like:

	/[Ww][Ii][Nn][Dd][Oo][Ww][Ss]-[Nn][Tt]/j

to cover all possible cases of "Windows-NT". Yuck.

Is there any way to put the current article number or current subject
into a macro? Any way to return to a specific article from within a
macro? I'm using a macro while reading an article, to kill all
precceding articles and search for the next article with the same
subject:

	Z ?.?j\nP^N

[Junk everything previous, go to the previously read article, do a
subject search]. The problem is in the case where there are killed
articles:

KILLED=>	10 Windows-NT is the greatest
KILLED=>	11 Re: Windows-NT is the greatest
		12 Unix is Best
KILLED=>	13 Re: Windows-NT is the greatest
KILLED=>	14 Re: Windows-NT is the greatest
		15 Re: Unix is Best
		16 Windows Stinks
KILLED=>	17 Re: Windows-NT is the greatest
		18 Up With VMS
KILLED=>	19 Re: Windows-NT is the greatest

For example, if I'm on article #12 (Unix is Best) and I execute the Z
macro, the search is made on the subject "Windows-NT is the greatest".

----
Mark Bergman    Biker, IATSE #1 Stagehand, (former) Unix user support grunt
718-855-9148

bergman@panix.com
{cmcl2,uunet}!panix!bergman
Technical Details
Message-ID: <2232n7$ppe@panix.com>
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!gmd.de!newsserver.jvnc.net!darwin.sura.net!udel!news.intercon.com!panix!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <2232n7$ppe@panix.com>
Subject: [t]rn macro/kill questions
Date: Thu, 15 Jul 1993 07:58:31 +0000
From: bergman@panix.com (Mark Bergman)
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!gmd.de!newsserver.jvnc.net!darwin.sura.net!udel!news.intercon.com!panix!not-for-mail
Newsgroups: news.software.readers
Organization: Panix Public Access Internet & Unix, NYC
Lines: 40
NNTP-Posting-Host: panix.com