Index of /tcl/ftparchive/sorted/packages-7.6/databases/TclGdbmWrapper-0.1pl1
Name Last modified Size Description
Parent Directory 18-Dec-99 07:01 -
README 22-Jan-97 03:07 2k
TclGdbmWrapper-0.1pl1..22-Jan-97 04:03 23k
tcl+gdbm-1.0/ 29-Jan-99 12:24 -
README for tcl_gdbm_wrapper
Author: Mario Weilguni <mweilguni@sime.com>
Current version: 0.1
What is it
----------
tcl_gdbm_wrapper is a package which allows you to connect ("attach") a
GDBM database to a array variable. You do not need to write any
database access command, this is done for you by tcl_gdbm_wrapper.tcl.
What do you need
----------------
Either you need a tclsh (itclsh, itkwish, tixwish...) which supports
the "gdbm" command or a version of Tcl >= 7.5 and a dynamic library
"libtclgdbm-0.1.so" in any appropriate directory.
I've included a slighly modified "tcl+gdbm" package in the directory
tcl+gdbm-0.1. It allows you to create a shared library by typing
"make shared". It works under Linux ELF with gcc 2.7.2. I've modified
the Makefile and gdbmcmd-shared.c (which is a copy of gdbmcmd.c except
for this modification). It shoult also work with "tcl+ndbm", but then
you have to modify the line
>> set DBM(DB) "gdbm"
to
>> set DBM(DB) "ndbm"
You can get the original "tcl+gdbm" package at
ftp://ftp.neosoft.com/pub/tcl/alcatel/extensions/tcl+gdbm-0.1.tar.gz
and a package of "tcl+ndbm" from:
ftp://ftp.neosoft.com/pub/tcl/alcatel/extensions/tcl+ndbm-0.1.tar.gz
How it works
------------
It's really simple. Just take a look into demo.tcl.
License
-------
This package is published under the GNU GPL (GNU General Public License).
See file LICENSE for details. The directory "tcl+gdbm-0.1" (and for all
other version numbers) is NOT covered by this license but by the
original authors license. See file COPYRIGHT in this directory for details.
Feedback
--------
I'd appreciate feedback (patches, comments...).
Mail to <mweilguni@sime.com>, and please use a subject like
"GDBM_WRAPPER: I have a new patch".