Com ports & environment space
- Posted by John Kinne <JDKINNE at MIAMIU.BITNET> Oct 25, 1996
- 1704 views
Hello All, I am trying to use Euphoria to write to a COM port, and I would like to determine how much DOS environment space is present on a computer. Environment space: I could have the program look in the CONFIG.SYS for a SHELL statement with an /e specification. Is there a more elegant way? My INSTALL program has had problems on some user's machines when the environment space is exhausted. Many users have no idea what com port their modem is on. I would like my installer to be able to look for a modem (issue an ati command and see if there is a response). The E. doc for open says I can open COM1 (I presume I can open COM 2 3 & 4). I am looking for any hints on how to get started. Can I just puts and gets to & from a COM port, or do I have to worry about single spacing the characters. Can I work with the IRQs? Thanks John Kinne