Interesting. An Expect-like approach had not occurred to me, but it sounds like it would be a good way to attack a program like top that is *usually* interactive (though I was hoping to side-step all the terminal-ish issues w/ the
-b flag of top.
<sigh>
Thanks,
./ddd