Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Wed, 12 Sep 2001 17:02:08 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: serial interface Message-ID: <20010912170208.A25291@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.21i On Wed, Sep 12, 2001 at 02:32:56PM -0500, Wang, Robert -AES wrote: >After I have downloaded the gnu compiler and etc, I could not locate /dev >directory. I am trying to develop serial interface program that will pass >data through a null modem cable via the serial port, ttyS0. In the Linux OS >one can find the /dev directory. If there is such a directory, where can I >access it? /dev is internal to cygwin only. There is no /dev directory, like on linux. However, certain /dev devices are recognized by cygwin. The com ports are referenced via '/dev/com0', '/dev/com1', etc. You should also be able to use '/dev/ttyS0'. It should be an alias for '/dev/com0'. Be advised that the tcset* settings for com ports is not fully implemented. This probably won't affect you unless you're trying to attach an interactive shell to a com port. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/