Plan 9 from Bell Labs’s /usr/web/sources/contrib/pac/sys/doc/netpbm/ms/ddbugtopbm.ms

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


.TL
Ddbugtopbm User Manual
.SH 1
ddbugtopbm
.LP
Updated: 21st August, 2002
.br
Table Of Contents
.SH 2
NAME
.LP
ddbugtopbm - convert Diddle or DiddleBug sketches to PBM files
.SH 2
SYNOPSIS
.LP
\fBddbugtopbm\fR
.SH 2
EXAMPLES
.LP
.DS L
\fBddbugtopbm </path/to/palm/backup/dir/DiddleBugDB.pdb\fR
\fBddbugtopbm </path/to/palm/backup/dir/DiddleDB.pdb\fR
\fBddbugtopbm </path/to/palm/backup/dir/DiddleIDB.pdb\fR
.DE
.SH 2
DESCRIPTION
.LP
.LP
This program is part of Netpbm.
.LP
\fBddbugtopbm\fR converts all sketches present in a database used
by the PalmOS programs \fBDiddle\fR or \fBDiddleBug\fR into
appropriately-named PBM files.  The backup copy of DiddleBug's
database you should use as this program's input is usually called
\fBDiddleBugDB.pdb\fR.  Or if you use the original Diddle, it has two
separate DBs - \fBDiddleDB.pdb\fR, containing unnamed `scratch'
sketches, and \fBDiddleIDB.pdb\fR, containing the saved (and named)
sketches which are listed by its `index' option.  You can feed this
program any of these three on standard input.
.SH 2
USING THE PROGRAM
.LP
.LP
I recommend you not run \fBddbugtopbm\fR from your Palm
backup directory, i.e. don't run it from the directory the DB will
normally be in.  Instead, run it from some other directory (perhaps you
could make a directory purely to hold the PBM files, just to keep
things simple) and use an absolute or relative path to the DB.
.LP
The filenames used for the output PBMs are based on the names given
to each sketch; if you have an unnamed sketch, it's given a name along
the lines of \fBsketch-0123.pbm\fR.
.LP
While the named sketches will overwrite any existing PBM file with
the same name, the unnamed ones won't - they'll just try using another
filename.  (I think this is probably the right approach, as you can't
really tell the unnamed sketches apart.)
.SH 2
BUGS
.LP
.LP
The DiddleBug DB reader is only known to work with DBs from
DiddleBug version 2.50. But it should probably work on later versions,
and I think it'll work on DBs from version 2.15 as well.
.LP
It might fall over if fed an empty database, and doesn't do much
(if any) checking of the input.
.SH 2
AUTHOR
.LP
Russell Marks (rus@svgalib.org).
.LP
Mitch Blevins's decompression code is directly from DiddleBug
itself, which like ddbugtopbm is distributed under the terms of the
GNU GPL.
.SH 2
SEE ALSO
.LP
.LP
palmtopnm,
pbm
.LP
Jens-Chr. Heyer's `didcon' script does something similar.
.SH 2
HISTORY
.LP
.LP
\fBddbugtopbm\fR was new in Netpbm 10.18 (August 2003).  It was written
and independently distributed in August 2002.
.br
\l'5i'
.SH 2
Table Of Contents
.LP
.IP \(bu
NAME
.IP \(bu
SYNOPSIS
.IP \(bu
EXAMPLES
.IP \(bu
DESCRIPTION
.IP \(bu
USING THE PROGRAM
.IP \(bu
BUGS
.IP \(bu
AUTHOR
.IP \(bu
SEE ALSO
.LP

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.