Path: utzoo!mnetor!uunet!husc6!purdue!umd5!cvl!liuqing From: liuqing@cvl.umd.edu (Larry Liuqing Huang) Newsgroups: comp.unix.wizards Subject: Redirect Output in the Middle of a Program?? Message-ID: <2841@cvl.umd.edu> Date: 25 Apr 88 17:21:47 GMT References: <13085@brl-adm.ARPA> <3571@gryphon.CTS.COM> Reply-To: liuqing@cvl.UUCP (Larry Liuqing Huang) Organization: Center for Automation Research, Univ. of Md. Lines: 13 Summary: Unix, c, shell, redirect Now more people are dialing into a system via telephone lines. It is not unusual that the connection died out in the middle of a big C program which you hate to start running from the beginning again. Is it possible for the C program or Shell to detect the line problem? If so, is it possible to redirect all standard output and error messages to a designated file from the POINT where the problem is detected and continue running? Any hints highly appreciated. liuqing@cvl.umd.edu