Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: $Revision: 1.6.2.16 $; site haddock.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!decvax!yale!haddock!lee From: lee@haddock.UUCP Newsgroups: net.unix-wizards Subject: Re: Orphaned Response Message-ID: <96300002@haddock.UUCP> Date: Thu, 31-Oct-85 18:53:00 EST Article-I.D.: haddock.96300002 Posted: Thu Oct 31 18:53:00 1985 Date-Received: Sat, 23-Nov-85 01:54:30 EST References: <629@lasspvax.UUCP> Lines: 16 Nf-ID: #R:lasspvax:-62900:haddock:96300002:000:807 Nf-From: haddock!lee Oct 31 18:53:00 1985 I have some rather large data files stored on disk in compacted form. I use ccat and a pipe to feed the data file to a plotting program. This fortran program accepts the uncompacted data from standard input via an unformatted read statement and plots it; it exits from the plotting loop when an EOF condition is detected. At this point I want the program to accept input from the keyboard; however, it continues to read from the pipe. Do you have any advice on how I can redirect the input once the EOF is reached? Thanks for your support. If you do not have access to the source of the Fortran program, the following would work on SystemV: ccat packedfile | cat - /dev/tty | fortranprogram Cat, yes it can be used for something other than printing files! :-)