Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!nr3m From: nr3m@unix.cis.pitt.edu (Matthew A Henry) Newsgroups: comp.lang.c Subject: stdin and UNIX pipes Message-ID: <92993@unix.cis.pitt.edu> Date: 18 Feb 91 03:11:51 GMT Reply-To: nr3m@unix.cis.pitt.edu (Matthew A Henry) Distribution: na Organization: University of Pittsburgh, CIS Lines: 13 Hi, I am writing a C program in a UNIX environment that will receive input from other programs through a pipe, causing the shell to change the default assignment of stdin. At some point in the program I would like to request input from the original stdin (keyboard). Any thoughts on how I could do this, e-mailed or posted, would be greatly appreciated. Thanks, Matt Henry nr3m@unix.cis.pitt.edu