Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!wuarchive!mit-eddie!bloom-beacon!eru!luth!sunic!mcsun!cernvax!peterb From: peterb@cernvax.UUCP (peter beckmann) Newsgroups: comp.unix.ultrix Subject: Novice question Keywords: redirected input Message-ID: <2100@cernvax.UUCP> Date: 18 Jul 90 07:41:29 GMT Organization: CERN, Geneva, Switzerland Lines: 13 Hi Netlanders, i have a program that does prompted read, e.g. a user enters Prog and it responds with Input> so the user can type some commands. Now i have a question: if the user generates input from a file or a pipe ,e.g. Prog < some.stuff, is there a way to figure out if the input is coming NOT from the terminal. (i want to disable the prompting in this case). Peter Beckmann