reported by Manuel Bouyer.
loop forever (consuming a lot of CPU) if the parent process (e.g. shell) were to suddenly die -- rtty was not properly checking for the EOF condition. Patch from Andrew Flury <aflury@zembu.com>.