Path: utzoo!attcan!uunet!olivea!decwrl!elroy.jpl.nasa.gov!usc!zaphod.mps.ohio-state.edu!magnus.ircc.ohio-state.edu!tut.cis.ohio-state.edu!n8emr!bluemoon!dddean From: dddean@bluemoon.uucp (David D. Dean) Newsgroups: comp.unix.programmer Subject: Input from another tty Message-ID: Date: 27 Jan 91 15:38:58 GMT Sender: bbs@bluemoon.uucp (BBS Login) Organization: Blue Moon BBS ((614) 868-9980/2/4) Lines: 27 Hello :-) I was wondering if there was a special command that I had to use to have a program of mine - when I run it - accept input from another terminal? I have tried many times with different forms of: read ANW < /dev/dk??? while (true) do cat (filename) done& (then have the other terminal write to (filename) I think that what I'll have to do, is to setup a sub-routine to always check a set file for new input and then grep the info in that file. If anyone can understand this mad reasoning.... any input would be appreciated! Thanks! David D. Dean, President Explorer Post 891 AT&T Bell Laboratories dddean@bluemoon.uucp