delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/12/17:08:34

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <cygwin AT cygwin DOT com>
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: <F54F1E97B3FAD31186FA009027DCBE290191F497 AT RESTON-EXCHANGE>
Mime-Version: 1.0
In-Reply-To: <F54F1E97B3FAD31186FA009027DCBE290191F497@RESTON-EXCHANGE>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019