Thanks very much to Jonathan Kamens and Rich Salz who provided some sample code, to Chip Rosenthal and Rich Stevens who recommended Rich Stevens' book, and to Dan Bernstein who pointed me toward the source of his pty program. -- Christopher