Novice question
peter beckmann
peterb at cernvax.UUCP
Wed Jul 18 17:41:29 AEST 1990
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
More information about the Comp.unix.ultrix
mailing list