🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #1497

Hackin' NN code (for distributing bulletins)

#1497
From: Paul D. Anderson
Date: Sat, 23 Mar 1991 04:25
31 lines
2146 bytes
Background:  I run a public access Unix system in Atlanta, GA, USA.

We have found NN to be about the easiest reader to teach folks how
to use, on first startup.  Because of this, we have standardized on
it and recommend it to all our new users on the system.

One of the big problems of running a multiuser system is the posting
of bulletins and making sure everyone reads them and has access to
them.

To accomplish this here, I decided that "It sure would be great to be
able to read and re-read bulletins, just like the NN online Manual".

A quick grope through the nn source revealed that in init.c, the routine
to put man pages up was about 14 lines of code.  A quick duplication
of the code and changing the command name and data file ':man' opens
was all it took.  The last step was to put our bulletins in a standard 
format (so that they would look like a digest).

Voila!  In about 20 minutes TOTAL, I have a mechanism for keeping all my
system bulletins easily accessible and maintainable.  (I'm wondering
how many other things I may clean up in a similar fashion).

If I get any requests for the hack, then I'll post the diffs and other
sundry files here.  But really, folks, it's trivially easy.  Take the
time to scan the code - Kim has done a super job.  It is real clean
code and easy to work with.  Some nice macro's, too.

-paul
-- 
* Paul Anderson * Dixie Communications * (404) 578-9547 * pda@dixie.com *
Technical Details
Message-ID: <8599@rsiatl.Dixie.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.nn.mbox.zip!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!lll-winken!elroy.jpl.nasa.gov!usc!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!emory!rsiatl!pda

Show Full Headers
Complete Article Headers
Message-ID: <8599@rsiatl.Dixie.Com>
Subject: Hackin' NN code (for distributing bulletins)
Date: Sat, 23 Mar 1991 04:25:19 +0000
From: pda@Dixie.Com (Paul D. Anderson)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!lll-winken!elroy.jpl.nasa.gov!usc!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!emory!rsiatl!pda
Newsgroups: news.software.nn
Reply-To: pda@Dixie.Com (Paul D. Anderson)
Organization: Dixie Communications Services
Lines: 31