Decode barcodes using DTML
Just to show why DTML should not be used for serious programming, I'm pleased to present a translator from the raw output of a cuecat barcode-reader into an isbn.
http://www.zope.org/Members/stevea/barcode_to_amazon
It is written in pure DTML. The source is linked from the page.
Simply ensure the keyboard focus is in the text box, then use your cuecat to swipe the barcode on a book. Seconds later, read all about that book on Amazon.com.
Be sure to check that you aren't pre-processing your cue-cat's output with a linux kernel module, or any such thing.
There's also available a much simpler external method to do the same job.