Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!labrea!rocky!stergios From: stergios@rocky.UUCP Newsgroups: comp.lang.c,comp.sys.ibm.pc Subject: Re: C code for opening a communications file Message-ID: <803@rocky.STANFORD.EDU> Date: Sat, 5-Dec-87 02:02:26 EST Article-I.D.: rocky.803 Posted: Sat Dec 5 02:02:26 1987 Date-Received: Wed, 9-Dec-87 20:06:13 EST References: <621@umbc3.UMD.EDU> Reply-To: stergios@rocky.UUCP (Stergios Marinopoul) Organization: Stanford University Computer Science Department Lines: 20 Xref: utgpu comp.lang.c:5422 comp.sys.ibm.pc:9248 In article <621@umbc3.UMD.EDU> dipto@umbc3.umd.edu (Dipto Chakravarty) writes: > >Expertise needed to open a communications file (COM1) on an IBM PC !!!!!! > >My fellow C-pals, I need your help to get an equivalent of the following rest of basic stuff deleted. look in the stdio.h file (I think, its been awhile) You should see some references to: "stdprt" and "stdser" (again, I maybe off on the names). Just fprintf(stdser,"%c", 'A') to send this out to the serial port with the appropriate settings chosen from the dos setup command. Stergios Marinopoulos -- % Stergios Marinopoulos % GO: Wall Street % UUCP: !sun!rocky!stergios % DECNET: star::stergios % ARPA: f.flex@macbeth.stanford.edu % BELL: (415) 321-7678 % USnail: S. Marinopoulos Crothers Memorial #690, Stanford, CA. 94305