X-Spam-Check-By: sourceware.org From: "Dave Korn" To: 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 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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 Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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/