Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!ames!ucbcad!ucbvax!cbosgd!ihnp4!ihlpm!leder From: leder@ihlpm.ATT.COM (Leder) Newsgroups: comp.sys.ibm.pc Subject: Re: Turboc and Indirection Message-ID: <1155@ihlpm.ATT.COM> Date: Wed, 3-Jun-87 11:26:39 EDT Article-I.D.: ihlpm.1155 Posted: Wed Jun 3 11:26:39 1987 Date-Received: Sun, 7-Jun-87 05:15:31 EDT References: <2157@husc6.UUCP> <2898@cit-vax.Caltech.Edu> <4062@amd.UUCP> Organization: AT&T Bell Laboratories - Naperville, Illinois Lines: 24 Keywords: Disks Summary: are you sure In article <4062@amd.UUCP>, markg@amd.UUCP (Mark Gorlinsky) writes: > 1. enter this program in via your editor. (call it sample.c) > > 2. go into TurboC with the following command line. > > tc sample.c Are you sure that tc did not ignore stdin and just look at the name on the command line and load that program? This seems like a more reasonable explanation, particularly since BORLAND is not noted for using stdin for getting keyboard characters and instead using INT 9 (I think that's the keyboard, but I am too lazy to look it up). > > 3. you will notice that the file sample.c is displayed on the screen and > Turbo C is waiting for you to press any key. > > NOTE: This only works once. You will have to exit and retype ... > This is greater proof of the loading of the file named on the command line. This is the same thing that Wordstar will do if a file name is mentioned on the command line. Bob Leder