> latex <filename> >/dev/null > dvips -Ppdf -G0 <filename>.dvi >/dev/null 2>&1 Step one should be to stop redirecting stdout (and stderr!) to /dev/null and instead send them to a file and read it. --jhawk