Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site ttrdc.UUCP Path: utzoo!watmath!clyde!cbosgd!ihnp4!mgnetp!ltuxa!ttrdc!levy From: levy@ttrdc.UUCP (Daniel R. Levy) Newsgroups: net.unix,net.unix-wizards Subject: Re: pipe breaking Message-ID: <581@ttrdc.UUCP> Date: Sun, 17-Nov-85 21:28:30 EST Article-I.D.: ttrdc.581 Posted: Sun Nov 17 21:28:30 1985 Date-Received: Tue, 19-Nov-85 04:09:24 EST References: <629@lasspvax.UUCP> <1832@hao.UUCP> <478@sdcc12.UUCP> Organization: AT&T, Computer Systems Division, Skokie, IL Lines: 24 Xref: watmath net.unix:6273 net.unix-wizards:15769 In article <478@sdcc12.UUCP>, np42pf@sdcc12.UUCP (Pierre Flament) writes: >The following construct (sub-shell, see sh(1)) >will allow redirection of the input to >the terminal after finding the eof without any special code in >the program: > >(ccat file;cat) | plotting_program > >A ^D should be send to end the keyboard input Good idea. Maybe (ccat file; echo Keyboard input started > /dev/tty; cat -) | plotting-program would be even better to let the user know when to begin typing (if what is typed depends on what came out of the program and couldn't necessarily be typed ahead). -- ------------------------------- Disclaimer: The views contained herein are | dan levy | yvel nad | my own and are not at all those of my em- | an engihacker @ | ployer or the administrator of any computer | at&t computer systems division | upon which I may hack. | skokie, illinois | -------------------------------- Path: ..!ihnp4!ttrdc!levy