$ 0 0 Hi, instead of waiting on stdin to pause the script, you can do while {![eof $fid]} { ... suspend } Then type resume to continue with the loop.