🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
1 messages
1 total messages Started by Paul D. Anderson Sat, 23 Mar 1991 04:25
Hackin' NN code (for distributing bulletins)
#1497
Author: 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 *
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads