I'm running into a problem where new Tcl commands that BerkeleyDB
makes in init.tcl are not available in adp interpreters.
Specifically, if I do something like this in init.tcl:
> berkdb open -create -btree a.db
a new command "db0" is now in the tcl interpreter, and [info
commands] shows it (but not [info procs])
However, [info commands] when run on and ADP page shows that the ADP
pages don't contain this "db0" command: they don't inherit commands
that were created in init.tcl, just procs.
It seems that only procs from init.tcl are inherited. Is this a bug?
Or is there some way to register commands created in init.tcl so that
they're present in ADP interpreters?
-john
ps: I know about the aolserver/berkeley-db library, but want to use
the native tcl library provided by BerkeleyDB instead.
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]>
with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject:
field of your email blank.