Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm Sender: cygwin-owner@sourceware.cygnus.com List-Unsubscribe: List-Archive: List-Help: , Delivered-To: mailing list cygwin@sourceware.cygnus.com Date: Thu, 5 Aug 1999 13:04:05 -0400 (EDT) From: Hans - Dulimarta X-Sender: dulimart@scully To: cygwin@sourceware.cygnus.com Subject: Accessing serial port. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII I am porting my C codes from DJGPP to Cygwin. One of the modules has several lines which read and write to COM1. I rewrite the code using open ("/dev/com1"), read (....), write (....), etc. However, the code seems to hang. The exact same code works fine under Linux by replacing "/dev/com1" to "/dev/ttyS0". Could somebody please help me out. Thanks. Hans Dulimarta, Ph.D. [dulimart@egr.msu.edu, dulimart@computer.org] Visiting Research Associate Department of Electrical & Computer Engineering (517) 432-7589 Michigan State University, East Lansing, Michigan 48824 -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe@sourceware.cygnus.com