scsh-users
[Top] [All Lists]

How to get dbm working with scsh?

To: Fred Milhorn <fm2@earthlink.net>
Subject: How to get dbm working with scsh?
From: Brian D. Carlstrom <bdc@martigny.ai.mit.edu>
Date: Sun, 14 Sep 1997 13:40:56 -0700
Cc: scsh-list@martigny.ai.mit.edu
Reply-to: "Brian D. Carlstrom" <bdc@ai.mit.edu>
Fred Milhorn writes:
 > I've tried to get dbm or db working with scsh without much success.
 > There's some code for it in the distribution, but its not quite right, 
 > apparently.

That was written before the original release in 1995. It either didn't
work quite right or wasn't entirely well thought out so it was turned
off. Olin and I were not the authors so I don't know how much help we
would be in getting it working.

The Makefile has some references to C files named DBOPEN scsh/dbm.c
scsh/dbm1.c. There were some Scheme files named scsh/dbm.scm db.scm
ndbm.scm. db.scm and ndbm.scm seem to be in the scsh directory now.
DBOPEN seems to refer to either the scsh/bdbmo.c scsh/ndbmo.c files,
which are for Berkely dbm or for vanilla ndbm support. configure.in
should have been modified to set DBOPEN based on arguments or just what
was found. there are some other files scsh/*db*.* to look at as well in
piecing it all together. Obviously, gdbm support would be good but maybe
its interface is compatible with bdbm or ndbm so it wasn't seperately
supported. 

-bri

<Prev in Thread] Current Thread [Next in Thread>