Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!convex!usenet From: tchrist@convex.COM (Tom Christiansen) Newsgroups: comp.unix.wizards Subject: Re: writing to stdin Message-ID: <1991May06.223823.13444@convex.com> Date: 6 May 91 22:38:23 GMT References: <74654@brunix.UUCP> Sender: usenet@convex.com (news access account) Reply-To: tchrist@convex.COM (Tom Christiansen) Organization: CONVEX Software Development, Richardson, TX Lines: 17 Nntp-Posting-Host: pixel.convex.com From the keyboard of dga@cs.brown.edu (Daniel Gerardo Aliaga): :Is there any way for a process to write a string to its stdin, such that it :can later be read again ? : :For example, the following code does the job on SunOS: [BSD TIOCSTI example deleted]. You're not stuffing to stdin -- you're doing it to the tty. Not the same thing, you know. I don't think you can do what you want to do generically. --tom -- Tom Christiansen tchrist@convex.com convex!tchrist "So much mail, so little time."