Path: utzoo!attcan!uunet!lll-winken!sun-barr!apple!uokmax!occrsh!att!dptg!ulysses!andante!alice!doug From: doug@alice.att.com (Doug McIlroy) Newsgroups: comp.sys.mac.misc Subject: How do you enter EOF (naive question)? Keywords: Think C Message-ID: <11467@alice.att.com> Date: 11 Oct 90 00:29:03 GMT Organization: AT&T Bell Laboratories, Murray Hill NJ Lines: 16 Absolutely trivial question to which the indexes of Inside the Mac and of Think C users' guide seem to give no clue: How, when you run a C program with input from stdin, do you enter an end of file from the keyboard? (Cognitive dissonance with the recent remarks about "Unix is horrible" - if you can't write and run an ordinary program, what on earth good is the system?) Please answer to address below. Doug McIlroy Bell Labs doug@research.att.com