🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #27663

Re: slrn: Another feature request....

#27663
From: John E. Davis
Date: Tue, 12 Nov 1996 00:00
40 lines
1501 bytes
On 12 Nov 1996 13:55:53 GMT, Joe Smulowicz <joes@hpwaroh.an.hp.com>
wrote:
>    Can search be changed so it doesn't look threads but only  the  top  level
>    article? 

Use a macro such as:

variable Last_Search_Str = "";
define re_subject_search_forward ()
{
   variable str;

   ERROR_BLOCK
     {
	() = header_up (1);
     }

   !if (header_down (1))
     return;
   
   str = read_mini ("Subject re-search fwd: ", Last_Search_Str);
   
   !if (strlen (str))
     return;
   
   Last_Search_Str = str;
   !if (re_fsearch_subject (str))
     error ("Not found.");
}

definekey ("re_subject_search_forward", "s", "article");   

This macro preforms a regular expression search.
-- 
John E. Davis                   Center for Space Research/AXAF Science Center
617-258-8119                    MIT 37-662c, Cambridge, MA 02139
http://space.mit.edu/~davis

Technical Details
Message-ID: <slrn58ha7c.ueg.davis@aluche.mit.edu>
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: <slrn58h1cv.bir.joes@hpwaroh.an.hp.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrn58ha7c.ueg.davis@aluche.mit.edu>
Subject: Re: slrn: Another feature request....
Date: Tue, 12 Nov 1996 00:00:00 +0000
From: davis@space.mit.edu (John E. Davis)
References: <slrn58h1cv.bir.joes@hpwaroh.an.hp.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
X-Deja-AN: 196076268
Organization: Center for Space Research
Reply-to: davis@space.mit.edu
Newsgroups: news.software.readers