>Are dup2 and friends yet to be added to Ruby, or am I missing something?

of course, i was missing something. :-)
thanks to reimer and guy for pointing out #reopen --- the exact functionality
i needed.

regards,
raja