🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #90302

Re: working with cnfs

#90302
From: Richard
Date: Mon, 17 Apr 2023 17:08
31 lines
2312 bytes
[Please do not mail me a copy of your followup]

Nigel Reed <sysop@endofthelinebbs.com> spake the secret code
<20230417103454.440dbdc0@wibble.sysadmininc.com> thusly:

>me get back up on and running by converting to CNFS.

Hey!  I learned something today :).  I was previously unfamiliar with
CNFS, but it makes perfect sense.  I've been hacking on trn and
thinking of a similar in-memory data structure for all the text that
comes back to the news reader.

>If I'm looking for something in particular, I could just go into the
>spoo/aritlces directory and start grepping. This isn't possible with
>cnfs. So the questions is:
>
>1. How can I search the entire spool for a given phrase.
>
>2. How can I search a given hierarchy recursively for a given phrase.
>
>I'm sure I'm not the first person who wants to do this so hopeful
>someone has a solution.

This could be done with some shell scripts and netcat talking to your
news server's nntp port.  I imagine there's probably something better
by now though.
-- 
"The Direct3D Graphics Pipeline" free book <http://tinyurl.com/d3d-pipeline>
            The Terminals Wiki <http://terminals-wiki.org>
     The Computer Graphics Museum <http://computergraphicsmuseum.org>
  Legalize Adulthood! (my blog) <http://legalizeadulthood.wordpress.com>
Technical Details
Message-ID: <u1jueo$2gjli$1@news.xmission.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <20230417103454.440dbdc0@wibble.sysadmininc.com>

Show Full Headers
Complete Article Headers
Message-ID: <u1jueo$2gjli$1@news.xmission.com>
Subject: Re: working with cnfs
Date: Mon, 17 Apr 2023 17:08:40 +0000
From: legalize+jeeves@mail.xmission.com (Richard)
References: <20230417103454.440dbdc0@wibble.sysadmininc.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: news.software.nntp
Organization: multi-cellular, biological
Sender: legalize+jeeves@mail.xmission.com
Reply-To: (Richard) legalize+jeeves@mail.xmission.com
Injection-Date: Mon, 17 Apr 2023 17:08:40 -0000 (UTC)
Injection-Info: news.xmission.com; posting-host="shell.xmission.com:2607:fa18:0:beef::4"; logging-data="2641586"; mail-complaints-to="abuse@xmission.com"
X-Reply-Etiquette: No copy by email, please
Mail-Copies-To: never
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: legalize@shell.xmission.com (Richard)