From: Dan Hensley Newsgroups: comp.os.msdos.djgpp Subject: How to open COM port in DJGPP? Date: Mon, 11 Jan 1999 17:41:06 -0700 Organization: University of Colorado at Boulder Lines: 15 Message-ID: <369A9A22.9AF7AB2A@juno.com> NNTP-Posting-Host: tele-anx0312.colorado.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-User: root X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.36 i686) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hello all, How does DJGPP handle serial port access? Specifically, how can I open a COM port? I need to use the open() function, and I've tried COM1, /dev/com1/, /dev/tty00, /dev/ttyS0, and /dev/cua0--none of them work. I need to use open() because my code uses tcgetattr(), tcsetattr(), and select(). I've looked at bcsio, but I'd like to be able to compile my Unix code as-is, if possible. I'm in the process of looking at dzcomm. I'm also searching through the old posts, but so far I haven't found anything promising. Thanks for any input, Dan