Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!sdd.hp.com!mips!cs.uoregon.edu!ogicse!zephyr.ens.tek.com!videovax!dougs From: dougs@videovax.tv.tek.com (the man) Newsgroups: comp.os.msdos.programmer Subject: Re: Serial port control? Summary: Please restore com port state! Message-ID: <6353@videovax.tv.tek.com> Date: 10 Apr 91 23:36:38 GMT References: <1991Apr8.044312.29004@hubcap.clemson.edu> <4790@gumby.Altos.COM> <4793@gumby.Altos.COM> Distribution: na Organization: Tektronix TV Measurement Systems, Beaverton OR Lines: 7 In article <4793@gumby.Altos.COM>, jerry@gumby.Altos.COM (Jerry Gardner) writes: > ... No com program should ever make assumptions about the > prior state of the modem control lines when it starts up. It should > always explicitly assert whatever lines it needs asserted. To which I would add: when a com program finishes, it should restore the state of the port as closely as possible to what it was before the program ran.