DISCLAIMER
This software can cause severe damage to your OnHand PC. Use at your own risk.
Since October 16, 2005 by Huidae Cho
libonhand/libonhand-0.0.1a.tar.gz
libonhand is a library used to read and write various OnHand PC data formats under UN*X like operating systems. Supported file formats are as follows:
Utilities compiled together with the library are mainly used for rewriting PIM data files. The OnHand PC does not actually delete or overwrite PIM data entries in the file when they are modified, which means that the file size will continuously increase whatever you do unless the corresponding PC software rewrites the file and syncs with the watch. *_rewrite.sh scripts will compact PIM data files.
Using *_print and *_scan, you can also modify existing data or create a new file with a simple text format from the PC. When you have a bunch of data to input, it will save you a lot of time. Simply feed a PIM file to *_print to see what the syntax looks like.
Note that each field has one line, so ENTER characters will be substituted with TABs since there is no way to input TAB from the watch. Each record should be followed by a blank line and this rule is also applied to the last record.
All programs do not read any argument from the command line, instead, they use only stdin and stdout like the following:
adr_rewrite.sh < old.adr > new.adr adr_print < old.adr | adr_scan > new.adr
make install PREFIX=/usr/local
The default PREFIX will be your $HOME directory.