Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!sri-unix!sri-spam!ames!amdcad!amd!markg From: markg@amd.UUCP Newsgroups: comp.sys.ibm.pc Subject: Re: Turboc and Indirection Message-ID: <4076@amd.UUCP> Date: Thu, 4-Jun-87 14:00:08 EDT Article-I.D.: amd.4076 Posted: Thu Jun 4 14:00:08 1987 Date-Received: Sat, 6-Jun-87 08:47:39 EDT References: <2157@husc6.UUCP> <2898@cit-vax.Caltech.Edu> <4062@amd.UUCP> <1155@ihlpm.ATT.COM> Reply-To: markg@amd.UUCP (Mark Gorlinsky) Organization: Advanced Micro Devices Lines: 28 Keywords: Disks In article <1155@ihlpm.ATT.COM> leder@ihlpm.ATT.COM (Leder) writes: -In article <4062@amd.UUCP>, markg@amd.UUCP (Mark Gorlinsky) writes: -> 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). Sorry you misunderstood. The sample.c program will read stdin, tc will not. That's why it worked. Try using a different file for the indirection. You will see that that file will be displayed and not sample.c. >> >> 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 ... >> -- Mark Gorlinsky - AMD Processor Products Division/APPS SQA UUCP: {decwrl,ihnp4,allegra}!amd!markg AT&T: (408) 982-7811 DISCLAIMER: My opinions are mine, not my employers.