MEMO for tb2
kazuro furukawa

=====
Aug.10.2008. k.f

make realclean
make -k gcc |&tee make-darwinx86-v21d.log
error on libsc (ignored)
mv libtb2.a /control/lib/
strip tb2chk tb2key tb2list
mv tb2chk tb2key tb2list /control/bin
make realclean
(make install | & tee -a make-darwin-v21d.log)

=====
Aug.9.2005. k.f

v21c

; on mandarin darwin 7.9 macosx 10.3.9
make gcc |&tee make-darwin-v21c2.log
did not work, move to v21d

v21d

; on mandarin darwin 7.9 macosx 10.3.9
modified 
 /usr/users/control/src/tbllib2/v21d/dhtvalue.h
 /usr/users/control/src/sclib2/v24a/server/servmain.c
 /usr/users/control/src/tbllib2/v21d/dht.c
make realclean
make -k gcc |&tee make-darwin-v21d.log
error on libsc (ignored)
mv libtb2.a /control/lib/
strip tb2chk tb2key tb2list
mv tb2chk tb2key tb2list /control/bin
make realclean
(make install | & tee -a make-darwin-v21d.log)

cd .. ; rm current ; ln -s v21d current

=====
Oct.8.2004. k.f

v21c

fix tb2_read.c to ignore null line, check keyword before entries

; on orange
make dec |& tee make-osf-v21c2.log
make install | & tee -a make-osf-v21c2.log
mv /control/lib/libtb2.a.old /control/lib/libtb2.a.v21c

make realclean

; on parsley rh8
make linux |&tee make-linux-v21c2.log
make install | & tee -a make-linux-v21c2.log
mv /control/lib/libtb2.a.old /control/lib/libtb2.a.v21c

=====
Mar.11.2004. k.f

v21c
added tb2_param

on parsley rh8
make linux |&tee make-linux-v21c.log
make strip
mv /control/lib/libtb2.a /control/lib/libtb2.a.v21b
cp -p libtb2.a /control/lib/

on orange
make dec |& tee make-osf-v21c.log
mv /control/lib/libtb2.a /control/lib/libtb2.a.v21b
cp -p libtb2.a /control/lib/

=====
Aug.12.2002. k.f
modify tb2chk.c to be slightly informative (v2.1.0)
make dec
make strip
cp -p tb2chk /control/bin/
make linux 
make strip
cp -p tb2chk /control/bin/

=====
May.8.2002. k.f
in v21b on logsrv1 (linux-2.2.14)
make linux
make strip
make install

=====
Sep.2.1999.
in v21b
slightly modified tb2.h and Makefile
make
make install

=====
Feb.1997.
new version of dynhash - dht
see ~furukawa/src/dynhash

=====
Dec.1996.
installed on several platforms by k.f

for dec
make realclean
make dec
make install

for hp
make realclean
make hp
make install

for hp (ahsad0)
make realclean
make install INCD=/users/furukawa/include \
 LIBD=/users/furukawa/lib/HP-UX BIND=/users/furukawa/bin/HP-UX

for sun (sun1pf)
make realclean
make sun "C=/home/lctl/furukawa"
make install "C=/home/lctl/furukawa"

for linux
make realclean
make linux
make install

=====
Nov.1996.
libtb2 is the second version of tbllib written by n.kamikubota for 
linac equipment database.

since the first version had several features lacking, the new 
version was developed. 

in version 1.

maximum table width was 18. 
maximum table length was defined in tbl.h, which was normally 256. 
number of string (%s) variable was 2. 
no long, float, double.
number of table was 1.
first serial number was 0.
search was sequential and slow.

in version 2.

maximum table width is unlimited.
maximum table length is unlimited.
number of string (%s) variable is unlimited.
support for long, float and double.
number of table is unlimited.
first serial number is 1. (it's a bug)
search is hash and fast.
no method table deletion.

in version 2.1.

first serial number sould be 0.  (TBL_FIRST_SERIAL)
support for table deletion.

