🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #89086

Re: Ready-to-use installation of a news server

#89086
From: Grant Taylor
Date: Sun, 16 Jan 2022 03:41
35 lines
2488 bytes
On 1/15/22 1:18 PM, meff wrote:
> To make everyone gag a little more, we used m4 to do a lot of the 
> templating. I have a soft spot for m4 heh.

Surprisingly, or not, m4 actually makes me like the idea more.  ;-)

I've written some things that I consider to be both quite interesting in 
m4.  The most recent was an rwhois data management system that was 
object oriented, e.g.:

	router(
		name(`r1a.example.net`)
		ip(`192.0.2.1/24`)
		ip(`198.51.100.2/24`)
		ip(`203.0.113.3/24`)
	)

name() was required as it identified the router.
ip() was required at least one time but could exist an indefinite number 
of times.  ip() also calculated the network and broadcast based on the 
IP & subnet mask.

I think there were other options for router(), I don't remember off 
hand.  There were also other things besides rotuer().  I think I had 
created network() and server().

I also has some other things that could set some defaults that could be 
used if unspecified in smaller contexts, however the smaller context 
would override the default if set in the context.



-- 
Grant. . . .
unix || die
Technical Details
Message-ID: <ss0455$grh$1@tncsrv09.home.tnetconsulting.net>
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: <sr6b9t$1ejhd$1@news.trigofacile.com> <srsqet$1gdm$1@gioia.aioe.org> <srt311$a3$1@tncsrv09.home.tnetconsulting.net> <srt50i$jmv$1@dont-email.me> <874k657r3z.fsf@hope.eyrie.org> <srt6vq$jmv$2@dont-email.me> <87tue56b03.fsf@hope.eyrie.org> <srtacs$biu$2@dont-email.me> <srv510$5vt$1@tncsrv09.home.tnetconsulting.net> <srva5u$pmq$2@dont-email.me>

Show Full Headers
Complete Article Headers
Message-ID: <ss0455$grh$1@tncsrv09.home.tnetconsulting.net>
Subject: Re: Ready-to-use installation of a news server
Date: Sat, 15 Jan 2022 20:41:28 -0700
From: Grant Taylor <gtaylor@tnetconsulting.net>
References: <sr6b9t$1ejhd$1@news.trigofacile.com> <srsqet$1gdm$1@gioia.aioe.org> <srt311$a3$1@tncsrv09.home.tnetconsulting.net> <srt50i$jmv$1@dont-email.me> <874k657r3z.fsf@hope.eyrie.org> <srt6vq$jmv$2@dont-email.me> <87tue56b03.fsf@hope.eyrie.org> <srtacs$biu$2@dont-email.me> <srv510$5vt$1@tncsrv09.home.tnetconsulting.net> <srva5u$pmq$2@dont-email.me>
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: TNet Consulting
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 16 Jan 2022 03:41:25 -0000 (UTC)
Injection-Info: tncsrv09.home.tnetconsulting.net; posting-host="alpha.home.tnetconsulting.net:198.18.18.251"; logging-data="17265"; mail-complaints-to="newsmaster@tnetconsulting.net"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0
In-Reply-To: <srva5u$pmq$2@dont-email.me>
Content-Language: en-US
Lines: 34