🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.programmer
Article #1283

Formatted text from a COM port

#1283
From: Rajiv Sarathy
Date: Tue, 20 Feb 1990 16:52
23 lines
1410 bytes
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
Technical Details
Message-ID: <1990Feb20.165257.21884@gpu.utcs.utoronto.ca>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!snorkelwacker!bloom-beacon!mcgill-vision!clyde.concordia.ca!jarvis.csri.toronto.edu!utgpu!sarathy

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!snorkelwacker!bloom-beacon!mcgill-vision!clyde.concordia.ca!jarvis.csri.toronto.edu!utgpu!sarathy
From: sarathy@gpu.utcs.utoronto.ca (Rajiv Sarathy)
Newsgroups: comp.sys.ibm.pc.programmer,comp.sys.ibm.pc
Subject: Formatted text from a COM port
Summary: Asked before, but poster didn't summarize
Message-ID: <1990Feb20.165257.21884@gpu.utcs.utoronto.ca>
Date: 20 Feb 90 16:52:57 GMT
Followup-To: comp.sys.ibm.pc.programmer
Organization: UTCS Public Access
Lines: 23