Path: utzoo!attcan!uunet!dino!ux1.cso.uiuc.edu!uwm.edu!rutgers!cbmvax!grr From: grr@cbmvax.commodore.com (George Robbins) Newsgroups: comp.unix.ultrix Subject: Re: Novice question Keywords: redirected input Message-ID: <13275@cbmvax.commodore.com> Date: 18 Jul 90 14:04:39 GMT References: <2100@cernvax.UUCP> Reply-To: grr@cbmvax (George Robbins) Organization: Commodore, West Chester, PA Lines: 13 In article <2100@cernvax.UUCP> peterb@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@cbmvax.commodore.com Commodore, Engineering Department phone: 215-431-9349 (only by moonlite)