Now I've ported the script to NetBSD 5.0.2. My serial device is "/dev/ttyU0" and my script fails. No data I received. You should perhaps be opening dtyU0 instead. See tty(4).
Attachment: pgpFNuVytJxAa.pgp Description: PGP signature