This is the mail archive of the email@example.com
mailing list for the Cygwin project. See the Cygwin
home page for more information.
Re: help with serial ports
- To: Steve Horne <firstname.lastname@example.org>
- Subject: Re: help with serial ports
- From: Chris Faylor <email@example.com>
- Date: Fri, 16 Apr 1999 14:59:04 -0400
- Cc: firstname.lastname@example.org
- References: <199904160246.WAA12179@diamond.astex.com>
Try the January 15th snapshot.
On Thu, Apr 15, 1999 at 10:46:59PM -0400, Steve Horne wrote:
>I'm using Beta 20.1 from
>running on w95. I'm trying to talk to the serial port
>from what I hoped would be a simple C program.
>I have been looking through the archives, FAQS & etc and
>have not yet figured out how to access a serial port.
>Neither open("COM1:"...) (or 2, with or without colon) or
>seems to work. (The call returns failure.)
>Also, "cat /dev/com1" from the bash shell
>gives a file protection error of some sort.
> (sorry, I'm not at work & don't have exact text)
>I used version 19 successfully for another project (with no serial port I/O)
> but it had the same problems as V 20. I had hoped upgrading would help,
>but no luck.
>If someone could send me a code fragment that has worked for
>them I would be grateful.
Want to unsubscribe from this list?
Send a message to email@example.com