The following message is a courtesy copy of an article
that has been posted as well.
Hi, just a quick note to let everybody know how I got my BBDB database
into Phone.
First off I don't have a PC so I can't use the connectivity kit even
though I own it. So my host system is a NeXT connected to my HP200LX
via the MAC cable.
Right. Well with kermit I download a newly created .pdb file in
Hhone. I load bbdb in Emacs and use Mohsen Banan bbdb-filters
(bbdb-hp200lx.el) to write out the comma delimeted file. I've edited
bbdb-hp200lx.el to remove the following lines.
(insert (format "\"%s\"," (boh-maybe-truncate name 86)))
;; HP 200LX first name field (maxlen ??) -- unused
;;(insert ",")
;; HP 200LX middle name field (maxlen ??) -- unused
;;
;;(insert ",")
I don't believe the above two fields (first name and middle name) is
included in a standard .pdb file so I've commented the two insert lines out.
Having saved the comma delimeted buffer created by M-x
bbdb-hp200lx-output to the file /tmp/bb-phone.cdf
I then used Chris Paynes DBUSRC also known as DBUTIL tools, gdbload and
gdbdump to build the pdb file.
First you need to get the field names for the blank database with the
following..
gdbdump blank.pdb
you then get.
robert:/tmp>gdbdump blank.pdb 23:23
"Na&me ","&Business","H&ome","&Alternate","Fa&x","T&itle ","Cate&gory","Com&pany
","Address&1","Address&2","&City ","Sta&te","&Zip","&Note"
this becomes the first line of the comma delimeted file.
As this is the formst used by Phone this could quite easily be
produced by bbdb-hp200lx-output
then you simply use gdbload thus
cp blank.pdb friends.pdb
gdbload friends.pdb bb-phone.cdf
Then load the file back on the HP with kermit.
Email if you have any queries.