Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ukma!gatech!udel!udccvax1!conan From: conan@vax1.acs.udel.EDU (Robert B Carroll) Newsgroups: comp.unix.wizards Subject: unix question about stdin Message-ID: <3398@udccvax1.acs.udel.EDU> Date: 22 Apr 89 00:49:10 GMT Reply-To: conan@vax1.acs.udel.EDU (Robert B Carroll) Organization: University of Delaware Lines: 17 Once stdin is closed, how do you open it up again so that all the stdio functions(scanf, gets etc. etc. etc.) will work via a terminal keyboard? to explain it in more detail, my C program: 1) reads user info typed in from keyboard 2) does a freopen and acts like a file is now standard input 3) then i need to 'make' standard input be the keyboard so that i can get info typed in from the keyboard again. I'm an 'end-user', so i can't do any super user calls. any help would be most appreciated. i haven't solved step 3 yet. please send responses via email: -- conan@vax1.acs.udel.edu CONAN THE BARBARIAN