🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #9839

Re: one user install

#9839
From: Bernd Felsche
Date: Wed, 08 Aug 2001 11:49
72 lines
3794 bytes
Gerald Koenig <glk@hagbard.io.com> writes:

>OK, recently my isp io.com stopped supporting nn. Maybe because of a
>linux upgrade problem, I notice that the screens were scrambled and lost
>formatting. Anyway I want to run nn from my own binary directory in my
>shell. I dl'd 6.5.6 and put it there. The install looks too daunting
>for me. Especially since the install info may not apply to 6.5.6. The

6.6b2 (yep, the beta) was an easier install for me than 6.5.6.

IIRC, there is one files to edit for configuration:

config.h; make sure it indicates the correct machine and os config.

Here's what I had #included and #defined. I'm running SuSE Linux
(7.1) with leafnode. Check that the settings make sense for you; the
comments in config.h are very instructive.

If you use exactly the same settings as mine; I'll have to beat you
to death with a small dental hammer.

Set your own BIN_DIRECTORY, LIB_DIRECTORY and DOMAIN. Also
NEWS_LIB_DIRECTORY and INEWS_PATH .. as these will contain some od
files and programs. For personal setup, OWNER and GROUP will
probably work set up to yourself; but make sure the installation
doesn't setuid anything!

If you're installing man pages; change those settings as well.

#include "s-linux.h"
#include "m-i80386.h"

#define NOV
#define DO_NOV_DIGEST
#define NNTP
#define NNTP_SERVER     "/etc/nntpserver"
#define NNTP_POST
#define NNTP_PATH_HOSTNAME      "not4mail"      /* */
#define      DOMAIN  "innovative.iinet.net.au" /* */
#define HIDDENNET
#define DEFAULT_PAGER           "/usr/bin/less"                 /* bsd */
#define DEFAULT_PRINTER "/usr/bin/lp -s"                        /* System V */
#define OWNER   "news"
#define GROUP   "news"
#define BIN_DIRECTORY   "/usr/bin"
#define LIB_DIRECTORY   "/usr/lib/nn"
#define NEWS_DIRECTORY  "/var/spool/news"
#define NEWS_LIB_DIRECTORY      "/var/lib/news"
#define INEWS_PATH      "/usr/bin/inews"
#define DONT_COUNT_LINES
#define REC_MAIL        "/usr/lib/sendmail -t"          /* sendmail */
#define HAVE_ROUTING
#define APPEND_SIGNATURE
#define BUG_REPORT_ADDRESS      "mtpins@nndev.org"
#define USER_MAN_DIR    "/usr/share/man/man1"
#define USER_MAN_SECTION        "1"
#define SYS_MAN_DIR     "/usr/share/man/man1"
#define SYS_MAN_SECTION         "1m"
#define DAEMON_MAN_DIR  "/usr/share/man/man8"
#define DAEMON_MAN_SECTION      "8"
#define FOLDER_DIRECTORY        "~/News"
#define NAME_LENGTH     18
#define INEWS_IS_FAST   /* comment out for C-News */
#define SYNCHRONOUS_POSTING     /* comment out for C-News */
#define PUT_TIMESTAMP_IN_SCRIPTS

-- 
 /"\  Bernd Felsche - Innovative Reckoning, Perth, Western Australia
 \ /      ASCII ribbon campaign | I'm a .signature virus!       |
  X       against HTML mail     | Copy me into your ~/.signature|
 / \      and postings          | to help me spread!            |
Technical Details
Message-ID: <qv8rk9.1o.ln@innovative.iinet.net.au>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-hog.berkeley.edu!ucberkeley!enews.sgi.com!harbinger.cc.monash.edu.au!news.mel.connect.com.au!news.per.connect.com.au!newsfeed.iinet.net.au!news.iinet.net.au!not-for-mail
References: <IV3c7.101717$%7.684970@news6.giganews.com>

Show Full Headers
Complete Article Headers
Message-ID: <qv8rk9.1o.ln@innovative.iinet.net.au>
Subject: Re: one user install
Date: Wed, 8 Aug 2001 19:49:14 +0800
From: Bernd Felsche <bernie@innovative.iinet.net.au>
References: <IV3c7.101717$%7.684970@news6.giganews.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-hog.berkeley.edu!ucberkeley!enews.sgi.com!harbinger.cc.monash.edu.au!news.mel.connect.com.au!news.per.connect.com.au!newsfeed.iinet.net.au!news.iinet.net.au!not-for-mail
Newsgroups: news.software.nn
User-Agent: nn/6.6.beta2
Lines: 71
NNTP-Posting-Host: innovative.iinet.net.au
X-Trace: news.iinet.net.au 997271384 1618 203.59.144.24