[comp.sys.ibm.pc] Formatted text from a COM port

sarathy@gpu.utcs.utoronto.ca (Rajiv Sarathy) (02/21/90)

Over the last couple of months several people have asked how to read/write
from PC serial ports in C.  However, none of the posters summarized any
info they received.  

Since I have no record of who the posters were, and postings are cleared every
week on this machine, I would like to either see a summary, or have someone
help me.

I need to read formatted text from the serial port.  Unfortunately, fopen
doesn't open "com1:", so I can't see how to use fscanf.

This problem has definitely been tackled several times before by users of
digitizers, etc.  Please help!

If it matters, I can use any of MSC5.1, QC2 with MASM, MASM5.1

Thanks in advance.

-- 

 Rajiv Partha Sarathy  	      _  _ /^\    INTERNET sarathy@gpu.utcs.utoronto.ca
 ................ooooooooOOOO(_)(_)\_/      BITNET sarathy@utorgpu.bitnet
 University Of Toronto Computing Services     UUCP sarathy@utgpu.uucp