delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
From: | "Dave Korn" <dave DOT korn AT artimi DOT com> |
To: | <cygwin AT cygwin DOT com> |
Subject: | RE: serial ports |
Date: | Sun, 23 Apr 2006 15:40:01 +0100 |
Message-ID: | <037b01c666e3$cd3e0140$a501a8c0@CAM.ARTIMI.COM> |
MIME-Version: | 1.0 |
X-Mailer: | Microsoft Office Outlook 11 |
In-Reply-To: | <444B8E77.8030007@gmail.com> |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
On 23 April 2006 15:26, Alexander J. Herrmann wrote: > And what is the final answer? Is there a > > /dev/ttySx > in Cygwin which can be used in Perl or C, even if I can not see it with ls? > Alex Oh, blimey, didn't you see that! Igor already answered it: the answer is yes, the /dev directory is a bit funny because it's virtual, but you can see it by entering "ls -la /dev/ttyS0" explicitly; the mapping is that windows COM port N is dev/ttyS N minus one; and although "ls -la /dev/ttyS.." will work for more serial ports than there actually are, you'll get ENOENT if you try and use one that doesn't correspond to an actual windows COMx device. See http://cygwin.com/ml/cygwin/2006-04/msg00553.html cheers, DaveK -- Can't think of a witty .sigline today.... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |