🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Robert A. Yetman Thu, 20 Jun 1996 00:00
history files / DBM / NDBM / DBZ diffs?
#8665
Author: Robert A. Yetman
Date: Thu, 20 Jun 1996 00:00
20 lines
1169 bytes
I am the maintainer of suck, and and am re-writing it to use
the autoconf suite from GNU.  I am trying to figure out how
to set up autoconf so that it will automatically figure out
if your history file (/usr/lib/news/history.*) is a flat file,
or in DBM /NDBM / DBZ file, and where the libraries exist.

My problem is that I don't know enuf about the various DB formats,
and how to distinguish which is used for the history.  Is there
a unique file naming convention for each type, or some other way to tell,
that will work on just about an *IX system?

Any help in these directions would be appreciated.

-- 
boby@pixi.com



Re: history files / DBM / NDBM / DBZ diffs?
#8659
Author: Joe Greco
Date: Thu, 20 Jun 1996 00:00
29 lines
1777 bytes
In news.software.nntp article <4qaamk$3j@pixi.com>, boby@pixi.com wrote:
:I am the maintainer of suck, and and am re-writing it to use
:the autoconf suite from GNU.  I am trying to figure out how
:to set up autoconf so that it will automatically figure out
:if your history file (/usr/lib/news/history.*) is a flat file,
:or in DBM /NDBM / DBZ file, and where the libraries exist.
:
:My problem is that I don't know enuf about the various DB formats,
:and how to distinguish which is used for the history.  Is there
:a unique file naming convention for each type, or some other way to tell,
:that will work on just about an *IX system?
:
:Any help in these directions would be appreciated.

In this day and age, anyone using anything other than DBZ is crazy or
stupid, IMHO  :-)

For DBZ...  note that there are three files.  Look at the smallest of the
three files and you will find an easy way to tell that the database is a DBZ
database  :-)

... Joe

-------------------------------------------------------------------------------
Joe Greco - Systems Administrator			      jgreco@ns.sol.net
Solaria Public Access UNIX - Milwaukee, WI			   414/546-7968

Re: history files / DBM / NDBM / DBZ diffs?
#8681
Author: Rich Salz
Date: Fri, 21 Jun 1996 00:00
15 lines
1020 bytes
In <4qaamk$3j@pixi.com> boby@pixi.com writes:
>to set up autoconf so that it will automatically figure out
>if your history file (/usr/lib/news/history.*) is a flat file,
>or in DBM /NDBM / DBZ file, and where the libraries exist.

Don't waste your time -- spend it on more productive things.

Assume that /foo/bar/history is the text file, and that /foo/bar/history.dir
and /foo/bar/history.pag are the DBZ files.

Anything else is either wildly obsolete or bizarre.
	/r$

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