Ok, all fixed, rxvt is happy happy happy. Joyful Joyful JoyFul. Seems that fixup_after_fork thinks that tty's should inherit their handles. So making the handles inheritable fixes everything. Rob