Novice question

George Robbins grr at cbmvax.commodore.com
Thu Jul 19 00:04:39 AEST 1990


In article <2100 at cernvax.UUCP> peterb at cernvax.UUCP (peter beckmann) writes:
>
> 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).

type "man 3 isatty"...

-- 
George Robbins - now working for,     uucp:   {uunet|pyramid|rutgers}!cbmvax!grr
but no way officially representing:   domain: grr at cbmvax.commodore.com
Commodore, Engineering Department     phone:  215-431-9349 (only by moonlite)



More information about the Comp.unix.ultrix mailing list