Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site lasspvax.UUCP Path: utzoo!watmath!clyde!cbosgd!ihnp4!houxm!vax135!cornell!lasspvax!goon From: goon@lasspvax.UUCP (Jonny Goon) Newsgroups: net.unix,net.unix-wizards,net.lang.f77 Subject: pipe breaking Message-ID: <629@lasspvax.UUCP> Date: Mon, 28-Oct-85 13:36:24 EST Article-I.D.: lasspvax.629 Posted: Mon Oct 28 13:36:24 1985 Date-Received: Wed, 30-Oct-85 05:38:38 EST Reply-To: goon@lasspvax.UUCP (Jon Goon) Organization: LASSP, Cornell University Lines: 24 Xref: watmath net.unix:6068 net.unix-wizards:15501 net.lang.f77:402 References: {} Hello, I am a relatively inexperienced UNIX user, and I would appreciate any advice on the following problem: 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. |----------------------------------------------------------------------------| | J. Goon | | Center for Applied Math. | | Cornell U. | | Ithaca, N.Y. 14853 | | {decvax,ihnp4,cmcl2,vax135}!cornell!amvax!goon (USENET) | | goon%amvax@CRNLCS.BITNET (Bitnet) | | goon@amvax.tn.cornell.edu (ARPANET) | |----------------------------------------------------------------------------|