🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #5134

NNTP client setup... how to set DB_DIRECTORY in config.h?

#5134
From: Preston Craig Smith
Date: Sat, 04 Dec 1993 04:01
39 lines
2307 bytes
This part of the config.h file confuses me any ideas?  I wish to access
a remote machine via nntp.

/**************************** DATABASE LOCATION **************************
 *
 *	Specify where the nn database should be installed.
 *
 *	If none of the following symbols are defined, the database will
 *	be contained in the NEWS_DIRECTORY in a separate .nn directory for
 *	master files and in files named .nnx and .nnd in each group's
 *	spool directory.  To use this scheme, the OWNER specified above
 *	must have write permission on the news spool directories.
 *
 *	If you access news via NNTP, you will probably always have to
 *	give the database directory explicitly through DB_DIRECTORY
 *	(and DB_DATA_DIRECTORY), since the normal news spool directories 
 *	are probably not available on the local system.

How do I explicitly give the database directory if it is on a remote system?
Do I have to know the name of the directory on the remote system?  Is there
a standard directory for this?  Do I indicate the host in this name?

 *	The exception may be if nnmaster runs directly on the nntp server.
 *
 *	To change the default behaviour, you can define the following
 *	symbols:
 *
 *	DB_DIRECTORY	   - the directory containing the master files.
 *
 *	DB_DATA_DIRECTORY  - the directory containing the per-group files
 *			     (default is DB_DIRECTORY/DATA if undefined).
 *
 *	DB_LONG_NAMES	   - use group's name rather than number when
 *			     building file names in DB_DATA_DIRECTORY.
 *	     (The file system must support long file names!!)
 */


Any guidance would be gratefully received.  Thanks.
Technical Details
Message-ID: <2dp234$asj@vixen.cso.uiuc.edu>
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!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!vixen.cso.uiuc.edu!uxa.cso.uiuc.edu!pcsg8264

Show Full Headers
Complete Article Headers
Message-ID: <2dp234$asj@vixen.cso.uiuc.edu>
Subject: NNTP client setup... how to set DB_DIRECTORY in config.h?
Date: Sat, 04 Dec 1993 04:01:40 +0000
From: pcsg8264@uxa.cso.uiuc.edu (Preston Craig Smith)
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!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!vixen.cso.uiuc.edu!uxa.cso.uiuc.edu!pcsg8264
Newsgroups: news.software.nn
Organization: University of Illinois at Urbana
Lines: 40
NNTP-Posting-Host: uxa.cso.uiuc.edu